OLD | NEW |
1 /* Default linker script, for normal executables */ | 1 /* Default linker script, for normal executables */ |
2 OUTPUT_FORMAT("elf32-nacl", "elf32-nacl", | 2 OUTPUT_FORMAT("elf32-nacl", "elf32-nacl", |
3 "elf32-nacl") | 3 "elf32-nacl") |
4 OUTPUT_ARCH(i386) | 4 OUTPUT_ARCH(i386) |
5 ENTRY(_start) | 5 ENTRY(_start) |
6 SEARCH_DIR("=/usr/local/lib32"); SEARCH_DIR("=/lib32"); SEARCH_DIR("=/usr/lib32"
); | 6 SEARCH_DIR("=/usr/local/lib32"); SEARCH_DIR("=/lib32"); SEARCH_DIR("=/usr/lib32"
); |
7 SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib"); | 7 SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib"); |
8 PHDRS | 8 PHDRS |
9 { | 9 { |
10 seg_interp PT_INTERP FLAGS(4) ; /* read */ | 10 seg_interp PT_INTERP FLAGS(4) ; /* read */ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 PROVIDE (etext = .); | 48 PROVIDE (etext = .); |
49 | 49 |
50 . = 0x11000000; | 50 . = 0x11000000; |
51 .interp : { *(.interp) } :seg_rodata :seg_interp | 51 .interp : { *(.interp) } :seg_rodata :seg_interp |
52 .note.gnu.build-id : | 52 .note.gnu.build-id : |
53 { | 53 { |
54 PROVIDE_HIDDEN (__note_gnu_build_id_start = .); | 54 PROVIDE_HIDDEN (__note_gnu_build_id_start = .); |
55 *(.note.gnu.build-id) | 55 *(.note.gnu.build-id) |
56 PROVIDE_HIDDEN (__note_gnu_build_id_end = .); | 56 PROVIDE_HIDDEN (__note_gnu_build_id_end = .); |
57 } :seg_rodata :seg_note | 57 } :seg_rodata :seg_note |
58 .dummy : {} :seg_rodata | 58 /* :seg_rodata is on .dummy rather than on .hash to avoid breaking the linker |
| 59 script munging that glibc's Makerules does using sed. */ |
| 60 .dummy : {} :seg_rodata |
59 .hash : { *(.hash) } | 61 .hash : { *(.hash) } |
60 .gnu.hash : { *(.gnu.hash) } | 62 .gnu.hash : { *(.gnu.hash) } |
61 .dynsym : { *(.dynsym) } | 63 .dynsym : { *(.dynsym) } |
62 .dynstr : { *(.dynstr) } | 64 .dynstr : { *(.dynstr) } |
63 .gnu.version : { *(.gnu.version) } | 65 .gnu.version : { *(.gnu.version) } |
64 .gnu.version_d : { *(.gnu.version_d) } | 66 .gnu.version_d : { *(.gnu.version_d) } |
65 .gnu.version_r : { *(.gnu.version_r) } | 67 .gnu.version_r : { *(.gnu.version_r) } |
66 .rel.init : { *(.rel.init) } | 68 .rel.init : { *(.rel.init) } |
67 .rela.init : { *(.rela.init) } | 69 .rela.init : { *(.rela.init) } |
68 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } | 70 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 .debug_typenames 0 : { *(.debug_typenames) } | 241 .debug_typenames 0 : { *(.debug_typenames) } |
240 .debug_varnames 0 : { *(.debug_varnames) } | 242 .debug_varnames 0 : { *(.debug_varnames) } |
241 /* DWARF 3 */ | 243 /* DWARF 3 */ |
242 .debug_pubtypes 0 : { *(.debug_pubtypes) } | 244 .debug_pubtypes 0 : { *(.debug_pubtypes) } |
243 .debug_ranges 0 : { *(.debug_ranges) } | 245 .debug_ranges 0 : { *(.debug_ranges) } |
244 .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } | 246 .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } |
245 /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) } | 247 /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) } |
246 /DISCARD/ : { *(.note.ABI-tag) } | 248 /DISCARD/ : { *(.note.ABI-tag) } |
247 /DISCARD/ : { *(.interp) } | 249 /DISCARD/ : { *(.interp) } |
248 } | 250 } |
OLD | NEW |