a.c (287B)
1 /* GC root: SHF_GNU_RETAIN. The retain attribute marks the section 2 * containing kept_helper as exempt from --gc-sections, even though 3 * nothing in the live closure references it. */ 4 5 __attribute__((retain, used)) int kept_helper(void) { return 99; } 6 7 int test_main(void) { return 0; }