aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2011-03-14 15:53:58 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2011-03-14 15:53:58 +0000
commitcbc704f39759a08018b92ff51dc00144ed718eb7 (patch)
tree56b70a4f314dba8fadbf6f558896e632896d5786 /ld
parentf6e32f6db5fd9c527d978a27dbeef9f2f36f212a (diff)
downloadgdb-cbc704f39759a08018b92ff51dc00144ed718eb7.zip
gdb-cbc704f39759a08018b92ff51dc00144ed718eb7.tar.gz
gdb-cbc704f39759a08018b92ff51dc00144ed718eb7.tar.bz2
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')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emultempl/armelf.em2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index cdc9198..7dd9abf 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
+
+ * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
+ instead of dynamic_sections_created.
+
2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
* plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
diff --git a/ld/emultempl/armelf.em b/ld/emultempl/armelf.em
index 6c4c78d..bfc57ca 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)