diff options
author | Paul Brook <paul@codesourcery.com> | 2006-08-18 15:00:18 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-08-18 15:00:18 +0000 |
commit | a4fd1a8ee5a761bb9163bc7e1dacf14313860303 (patch) | |
tree | 4e44bf1c12d23e30329ddc7e37b6ee982b641d3c /ld/emultempl/armelf.em | |
parent | 2006-08-18 H.J. Lu <hongjiu.lu@intel.com> (diff) | |
download | binutils-gdb-a4fd1a8ee5a761bb9163bc7e1dacf14313860303.tar.gz binutils-gdb-a4fd1a8ee5a761bb9163bc7e1dacf14313860303.tar.bz2 binutils-gdb-a4fd1a8ee5a761bb9163bc7e1dacf14313860303.zip |
2006-08-18 Paul Brook <paul@codesourcery.com>
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.
Diffstat (limited to 'ld/emultempl/armelf.em')
-rw-r--r-- | ld/emultempl/armelf.em | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em index bd74ab5705b..17fc522c74b 100644 --- a/ld/emultempl/armelf.em +++ b/ld/emultempl/armelf.em @@ -103,9 +103,6 @@ arm_elf_before_allocation (void) { bfd *tem; - /* Call the standard elf routine. */ - gld${EMULATION_NAME}_before_allocation (); - if (link_info.input_bfds != NULL) { /* The interworking bfd must be the last one in the link. */ @@ -126,6 +123,9 @@ arm_elf_before_allocation (void) } /* We should be able to set the size of the interworking stub section. */ + /* Call the standard elf routine. */ + gld${EMULATION_NAME}_before_allocation (); + /* Here we rummage through the found bfds to collect glue information. */ /* FIXME: should this be based on a command line option? krk@cygnus.com */ { |