1 ENTRY(_entry) 2 PHDRS 3 { 4 data PT_LOAD AT (0); 5 } 6 SECTIONS 7 { 8 . = 0x10000; 9 .foo : { *(.foo) } :data 10 11 . = 0x20000; 12 .bar : { *(.bar) } :data 13 14 /DISCARD/ : { *(*) } 15 16 _entry = 0x30000; 17 linker_symbol = 0x40000; 18 } 19