OSDN Git Service

bfd/
authoramodra <amodra>
Fri, 3 Oct 2008 09:40:48 +0000 (09:40 +0000)
committeramodra <amodra>
Fri, 3 Oct 2008 09:40:48 +0000 (09:40 +0000)
commit4c033dcb6787f0cb695093c5a6f218a0d2682398
tree10daed4bb7703a4df55889f62f6658bcd4943935
parent3a131512e306fecf62593bec91be2fe8774aca45
bfd/
* elf.c (bfd_elf_set_group_contents): Assign sh_info for ld -r when
the signature symbol is global.
* elflink.c (elf_link_input_bfd): Ensure group signature symbol
is output when ld -r.  Set group sh_info when local.
* linker.c (default_indirect_link_order): Handle group sections
specially.
ld/
* ldemul.c (ldemul_place_orphan): Add "name" param.
* ldemul.h (ldemul_place_orphan): Update prototype.
(struct ld_emulation_xfer_struct <place_orphan>): Likewise.
* ldlang.c (lang_place_orphans): Generate unique section names here..
* emultempl/elf32.em (place_orphan): ..rather than here.  Don't
directly use an existing output section statement that has no
bfd section.
* emultempl/pe.em (place_orphan): Likewise.
* emultempl/pep.em (place_orphan): Likewise.
* emultempl/beos.em (place_orphan): Adjust.
* emultempl/spuelf.em (spu_place_special_section): Adjust
place_orphan call.
* emultempl/genelf.em (gld${EMULATION_NAME}_after_open): New function.
(LDEMUL_AFTER_OPEN): Define.
14 files changed:
bfd/ChangeLog
bfd/elf.c
bfd/elflink.c
bfd/linker.c
ld/ChangeLog
ld/emultempl/beos.em
ld/emultempl/elf32.em
ld/emultempl/genelf.em
ld/emultempl/pe.em
ld/emultempl/pep.em
ld/emultempl/spuelf.em
ld/ldemul.c
ld/ldemul.h
ld/ldlang.c