mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
2006-09-29 H.J. Lu <hongjiu.lu@intel.com>
PR ld/3283 * elf64-x86-64.c (elf64_x86_64_relocate_section): Don't ignore relocation overflow on branches to undefweaks.
This commit is contained in:
parent
aeb0c9c635
commit
4dba4b2419
@ -1,3 +1,9 @@
|
||||
2006-09-29 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/3283
|
||||
* elf64-x86-64.c (elf64_x86_64_relocate_section): Don't ignore
|
||||
relocation overflow on branches to undefweaks.
|
||||
|
||||
2006-09-29 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* po/BLD-POTFILES.in: Regenerate.
|
||||
|
@ -3017,12 +3017,6 @@ elf64_x86_64_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
|
||||
|
||||
if (r == bfd_reloc_overflow)
|
||||
{
|
||||
if (h != NULL
|
||||
&& h->root.type == bfd_link_hash_undefweak
|
||||
&& howto->pc_relative)
|
||||
/* Ignore reloc overflow on branches to undefweak syms. */
|
||||
continue;
|
||||
|
||||
if (! ((*info->callbacks->reloc_overflow)
|
||||
(info, (h ? &h->root : NULL), name, howto->name,
|
||||
(bfd_vma) 0, input_bfd, input_section,
|
||||
|
Loading…
Reference in New Issue
Block a user