OSDN Git Service

* ldemul.c (ldemul_place_orphan): Add "constraint" param.
authoramodra <amodra>
Sat, 4 Oct 2008 06:08:59 +0000 (06:08 +0000)
committeramodra <amodra>
Sat, 4 Oct 2008 06:08:59 +0000 (06:08 +0000)
commit417ee1214cf1de23ec8d58a7d4912c6d65be21af
treee00488f0ed44d7cb8532d335f4b498bd4359aee5
parent7baa89d6659fdaf5227df950b5679287a7c4506f
* ldemul.c (ldemul_place_orphan): Add "constraint" param.
* ldemul.h (ldemul_place_orphan): Update prototype.
(struct ld_emulation_xfer_struct <place_orphan>): Likewise add param.
* ldlang.c (unique_section_p): Make static.
(lang_output_section_statement_lookup): Optimise creation of SPECIAL
sections.
(lang_insert_orphan): Add "constraint" param.  Pass to
lang_enter_output_section_statement.
(init_os): Don't use an existing bfd section for SPECIAL sections.
(lang_place_orphans): Don't rename unique output sections, instead
mark their output section statements SPECIAL.
* ldlang.h (lang_insert_orphan): Update prototype.
(unique_section_p): Delete.
* emultempl/beos.em (place_orphan): Add "constraint" param.
* emultempl/elf32.em (place_orphan): Likewise.  Don't match existing
output sections if set.
* emultempl/pe.em (place_orphan): Likewise.
* emultempl/pep.em (place_orphan): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Update.
* emultempl/spuelf.em (spu_place_special_section): Update.
ld/ChangeLog
ld/emultempl/beos.em
ld/emultempl/elf32.em
ld/emultempl/mmo.em
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/emultempl/spuelf.em
ld/ldemul.c
ld/ldemul.h
ld/ldlang.c
ld/ldlang.h