1 2 3 4 5 6 7 8 9
SECTIONS { . = SEGMENT_START("text-segment", 0) + SIZEOF_HEADERS; .rela.dyn : { *(.rela.*) } .text : { *(.text) } . = DATA_SEGMENT_ALIGN (CONSTANT (MAXPAGESIZE), CONSTANT (COMMONPAGESIZE)); .data : { *(.data) } /DISCARD/ : { *(.discard) } }