Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(193)

Side by Side Diff: nacl/dyn-link/ldscripts/elf64_nacl.x

Issue 22527004: Drop section rewriting and format fixes. (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: fixes Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « elf/nacl_fixup_ldso.py ('k') | nacl/dyn-link/ldscripts/elf64_nacl.xs » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Default linker script, for normal executables */ 1 /* Default linker script, for normal executables */
2 OUTPUT_FORMAT("elf64-nacl", "elf64-nacl", 2 OUTPUT_FORMAT("elf64-nacl", "elf64-nacl",
3 "elf64-nacl") 3 "elf64-nacl")
4 OUTPUT_ARCH(i386:x86-64) 4 OUTPUT_ARCH(i386:x86-64)
5 ENTRY(_start) 5 ENTRY(_start)
6 SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib"); 6 SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
7 PHDRS 7 PHDRS
8 { 8 {
9 seg_interp PT_INTERP FLAGS(4) ; /* read */ 9 seg_interp PT_INTERP FLAGS(4) ; /* read */
10 seg_code PT_LOAD FLAGS(5) ; /* read + execute */ 10 seg_code PT_LOAD FLAGS(5) ; /* read + execute */
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 PROVIDE (etext = .); 47 PROVIDE (etext = .);
48 48
49 . = 0x11000000; 49 . = 0x11000000;
50 .interp : { *(.interp) } :seg_rodata :seg_interp 50 .interp : { *(.interp) } :seg_rodata :seg_interp
51 .note.gnu.build-id : 51 .note.gnu.build-id :
52 { 52 {
53 PROVIDE_HIDDEN (__note_gnu_build_id_start = .); 53 PROVIDE_HIDDEN (__note_gnu_build_id_start = .);
54 *(.note.gnu.build-id) 54 *(.note.gnu.build-id)
55 PROVIDE_HIDDEN (__note_gnu_build_id_end = .); 55 PROVIDE_HIDDEN (__note_gnu_build_id_end = .);
56 } :seg_rodata :seg_note 56 } :seg_rodata :seg_note
57 .dummy : {} : seg_rodata 57 /* :seg_rodata is on .dummy rather than on .hash to avoid breaking the linker
58 script munging that glibc's Makerules does using sed. */
59 .dummy : {} : seg_rodata
58 .hash : { *(.hash) } 60 .hash : { *(.hash) }
59 .gnu.hash : { *(.gnu.hash) } 61 .gnu.hash : { *(.gnu.hash) }
60 .dynsym : { *(.dynsym) } 62 .dynsym : { *(.dynsym) }
61 .dynstr : { *(.dynstr) } 63 .dynstr : { *(.dynstr) }
62 .gnu.version : { *(.gnu.version) } 64 .gnu.version : { *(.gnu.version) }
63 .gnu.version_d : { *(.gnu.version_d) } 65 .gnu.version_d : { *(.gnu.version_d) }
64 .gnu.version_r : { *(.gnu.version_r) } 66 .gnu.version_r : { *(.gnu.version_r) }
65 .rel.init : { *(.rel.init) } 67 .rel.init : { *(.rel.init) }
66 .rela.init : { *(.rela.init) } 68 .rela.init : { *(.rela.init) }
67 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) } 69 .rel.text : { *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*) }
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 .debug_typenames 0 : { *(.debug_typenames) } 240 .debug_typenames 0 : { *(.debug_typenames) }
239 .debug_varnames 0 : { *(.debug_varnames) } 241 .debug_varnames 0 : { *(.debug_varnames) }
240 /* DWARF 3 */ 242 /* DWARF 3 */
241 .debug_pubtypes 0 : { *(.debug_pubtypes) } 243 .debug_pubtypes 0 : { *(.debug_pubtypes) }
242 .debug_ranges 0 : { *(.debug_ranges) } 244 .debug_ranges 0 : { *(.debug_ranges) }
243 .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) } 245 .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
244 /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) } 246 /DISCARD/ : { *(.note.GNU-stack) *(.gnu_debuglink) }
245 /DISCARD/ : { *(.note.ABI-tag) } 247 /DISCARD/ : { *(.note.ABI-tag) }
246 /DISCARD/ : { *(.interp) } 248 /DISCARD/ : { *(.interp) }
247 } 249 }
OLDNEW
« no previous file with comments | « elf/nacl_fixup_ldso.py ('k') | nacl/dyn-link/ldscripts/elf64_nacl.xs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698