OSDN Git Service

ld/
authorAlan Modra <amodra@bigpond.net.au>
Fri, 15 May 2009 14:22:36 +0000 (14:22 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 15 May 2009 14:22:36 +0000 (14:22 +0000)
commit8975a21a7dd588439cd7ddec37ad48b9f9cefcce
tree55ba836587398c8118a519a8516ab925f835828b
parentc23804ade222363195ff5f145929fd4a570f214d
ld/
* ldlang.c (lang_output_section_statement_lookup): Add function
comment.  Make "name" non-const.  Ensure duplicate entries use
the same string, allowing simple comparison in hash bucket loop.
Tweak constraint check.
(next_matching_output_section_statement): New function.
* ldlang.h (lang_output_section_statement_lookup): Update.
(next_matching_output_section_statement): Declare.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
combine orphan sections when input sections flags differ in
alloc or load.
* emultempl/pe.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
* emultempl/pep.em: Formatting throughout.
(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
ld/testsuite/
* ld-elf/orphan3.d, * ld-elf/orphan3a.s, * ld-elf/orphan3b.s,
* ld-elf/orphan3c.s, * ld-elf/orphan3d.s, * ld-elf/orphan3e.s,
* ld-elf/orphan3f.s: New test.
* ld-pe/orphan.d, * ld-pe/orphana.s, * ld-pe/orphanb.s,
* ld-pe/orphand.s, * ld-pe/orphane.s: New test.
* ld-pe/direct.exp: Use is_pecoff_format.
* ld-pe/longsecn.exp: Delete.
* ld-pe/pe.exp: Run new test and longsecn tests.
22 files changed:
ld/ChangeLog
ld/emultempl/elf32.em
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/ldlang.c
ld/ldlang.h
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/orphan3.d [new file with mode: 0644]
ld/testsuite/ld-elf/orphan3a.s [new file with mode: 0644]
ld/testsuite/ld-elf/orphan3b.s [new file with mode: 0644]
ld/testsuite/ld-elf/orphan3c.s [new file with mode: 0644]
ld/testsuite/ld-elf/orphan3d.s [new file with mode: 0644]
ld/testsuite/ld-elf/orphan3e.s [new file with mode: 0644]
ld/testsuite/ld-elf/orphan3f.s [new file with mode: 0644]
ld/testsuite/ld-pe/direct.exp
ld/testsuite/ld-pe/longsecn.exp [deleted file]
ld/testsuite/ld-pe/orphan.d [new file with mode: 0644]
ld/testsuite/ld-pe/orphana.s [new file with mode: 0644]
ld/testsuite/ld-pe/orphanb.s [new file with mode: 0644]
ld/testsuite/ld-pe/orphand.s [new file with mode: 0644]
ld/testsuite/ld-pe/orphane.s [new file with mode: 0644]
ld/testsuite/ld-pe/pe.exp