diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2011-03-14 15:53:57 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2011-03-14 15:53:57 +0000 |
commit | e3ac86ceaa067dfd19d0954986c1c6591bfd570e (patch) | |
tree | 5d3586476bd0a0a594c35a93ee0eaeef91f6f734 /ld/emultempl | |
parent | 868c08dea4c2f3c7ba2f36eff7bc072c5a733bd0 (diff) | |
download | binutils-redhat-e3ac86ceaa067dfd19d0954986c1c6591bfd570e.tar.gz |
bfd/
* elf32-arm.c (elf32_arm_check_relocs): Always assign a dynobj.
(elf32_arm_finish_dynamic_sections): Move sgot != NULL assertion
into the PLT block.
ld/
* emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
instead of dynamic_sections_created.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/armelf.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em index 6c4c78d504..bfc57cac7b 100644 --- a/ld/emultempl/armelf.em +++ b/ld/emultempl/armelf.em @@ -67,7 +67,7 @@ arm_elf_before_allocation (void) /* We should be able to set the size of the interworking stub section. We can't do it until later if we have dynamic sections, though. */ - if (! elf_hash_table (&link_info)->dynamic_sections_created) + if (elf_hash_table (&link_info)->dynobj == NULL) { /* Here we rummage through the found bfds to collect glue information. */ LANG_FOR_EACH_INPUT_STATEMENT (is) |