aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
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 /ld/ldlang.h
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 'ld/ldlang.h')
0 files changed, 0 insertions, 0 deletions