1 SECTIONS 2 { 3 .text : { 4 . = . + 4; 5 *(.plt) 6 } 7 .test : { 8 *(.text) 9 *(.got) 10 *(.got.plt) 11 *(.rodata) 12 *(.eh_frame) 13 *(.interp) 14 *(.data) 15 *(.bss) 16 } 17 18 /* For old binutils which otherwise complain about nonrepresentable 19 sections. */ 20 .dynsym : { *(.dynsym) } 21 .gnu.version : { *(.gnu.version) } 22 23 /DISCARD/ : { 24 *(.rela.text) 25 *(.rela.plt) 26 *(.rela.got.plt) 27 *(.rela.data) 28 *(.rela.rodata) 29 *(.rela.bss) 30 *(.rela.text) 31 *(.comment*) 32 *(.note*) 33 } 34 } 35