aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-01-16 11:50:28 +1030
committerAlan Modra <amodra@gmail.com>2014-01-16 11:56:50 +1030
commitb75d42bce5609effad86fb8b5d902f4c337e0cf9 (patch)
treea3ab5df94d585120feaccb242f426507e806d98c /bfd/ChangeLog
parentab7f45ba10d0a1a636a5ce7b4784a1d6ce3e94a3 (diff)
downloadgdb-b75d42bce5609effad86fb8b5d902f4c337e0cf9.zip
gdb-b75d42bce5609effad86fb8b5d902f4c337e0cf9.tar.gz
gdb-b75d42bce5609effad86fb8b5d902f4c337e0cf9.tar.bz2
Fix mips segfault on GOT access of absolute symbol
When a symbol is absolute, this code in mips_elf_record_got_page_entry entry = bfd_zalloc (sec->owner, sizeof (*entry)); segfaults. sec == bfd_abs_section_ptr and sec->owner == NULL. * elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a mips_elf_traverse_got_arg* rather than mips_got_info*. Adjust caller. Alloc on output_bfd rather than symbol section owner.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0bf7665..6e1e334 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2014-01-16 Alan Modra <amodra@gmail.com>
+
+ * elfxx-mips.c (mips_elf_record_got_page_entry): Pass in a
+ mips_elf_traverse_got_arg* rather than mips_got_info*.
+ Adjust caller. Alloc on output_bfd rather than symbol section
+ owner.
+
2014-01-15 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_allocate_dynrelocs): Revert the last