Commit | Line | Data |
---|---|---|
333d0055 JC |
1 | __attribute__((section(".data.a"))) |
2 | static int int_from_a_1 = 0x11223344; | |
3 | ||
4 | __attribute__((section(".data.rel.ro.a"))) | |
5 | int *p_int_from_a_2 = &int_from_a_1; | |
033bfb73 CC |
6 | |
7 | const char *hello (void); | |
8 | ||
9 | const char * | |
10 | hello (void) | |
11 | { | |
12 | return "XXXHello, world!" + 3; | |
ff174d3f | 13 | } |