We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6654e49 commit 3bb01b2Copy full SHA for 3bb01b2
include/cdefs.h
@@ -15,7 +15,15 @@
15
#undef __aligned
16
#define __aligned(x) __attribute__((aligned(x)))
17
18
+/* Annotate variable to be put into text section. This should be used only on
19
+ * scalar variable if you want it to be accessed with PC-relative addressing.
20
+ * This saves 4 cycles / 2 bytes of instruction memory / 1 relocation. */
21
+#define __code __attribute__((section(".text")))
22
+/* Annotate initialized variable to be put into memory accessible
23
+ * by custom chipset. */
24
#define __data_chip __attribute__((section(".datachip")))
25
+/* Annotate uninitialized variable to be put into memory accessible
26
27
#define __bss_chip __attribute__((section(".bsschip")))
28
29
#if __GNUC_PREREQ__(4, 1)
0 commit comments