2006-08-18 Paul Brook <paul@codesourcery.com>binutils-csl-renesas-4_1-8
commit5ecbfcd00d0c117c3546b93e1be8692942bc9aee
authorPaul Brook <paul@codesourcery.com>
Fri, 18 Aug 2006 15:01:16 +0000 (18 15:01 +0000)
committerPaul Brook <paul@codesourcery.com>
Fri, 18 Aug 2006 15:01:16 +0000 (18 15:01 +0000)
treec677d2fee0f8f4c51e23698123eedd6b223086d7
parent67c0fbbebcfae623b3142c13a7b827052b15db28
2006-08-18  Paul Brook  <paul@codesourcery.com>

Backport from mainline.
bfd/
* elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
(elf32_arm_link_hash_newfunc): Initialize export_glue.
(record_arm_to_thumb_glue): Return stub symbol.
(elf32_arm_create_thumb_stub): New function.
(elf32_arm_to_thumb_stub): Use it.
(elf32_arm_to_thumb_export_stub): New function.
(elf32_arm_begin_write_processing): New function.
(allocate_dynrelocs): Allocate Arm stubs.
(elf_backend_begin_write_processing): Define.
(elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
Call elf32_arm_begin_write_processing.

ld/
* emultempl/armelf.em (arm_elf_before_allocation): Call
gld${EMULATION_NAME}_before_allocation after setting interworking bfd.

ld/testsuite/
* ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so.  Add
-use-blx to mixed-lib.so
* ld-arm/armthumb-lib.d: New file.
* ld-arm/armthumb-lib.sym: New file.
ChangeLog.csl
bfd/elf32-arm.c
ld/emultempl/armelf.em
ld/testsuite/ld-arm/arm-elf.exp
ld/testsuite/ld-arm/armthumb-lib.d [new file with mode: 0644]
ld/testsuite/ld-arm/armthumb-lib.sym [new file with mode: 0644]