hare+libc.sc (274B)
1 SECTIONS { 2 .libc_init_array : { 3 PROVIDE(__libc_init_array_start = .); 4 KEEP(*(.init_array)) 5 PROVIDE(__libc_init_array_end = .); 6 } 7 .test_array : { 8 PROVIDE(__test_array_start = .); 9 KEEP(*(.test_array*)) 10 PROVIDE(__test_array_end = .); 11 } 12 } INSERT AFTER .dynamic;