From: H.J. Lu Date: Fri, 29 Sep 2006 13:24:11 +0000 (+0000) Subject: 2006-09-29 H.J. Lu X-Git-Tag: gdb_6_6-2006-11-15-branchpoint~365 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4dba4b2419ccdbf48fd016edb7e0e10016897827;p=external%2Fbinutils.git 2006-09-29 H.J. Lu PR ld/3283 * elf64-x86-64.c (elf64_x86_64_relocate_section): Don't ignore relocation overflow on branches to undefweaks. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 91641f9..e9dc06f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2006-09-29 H.J. Lu + + 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 * po/BLD-POTFILES.in: Regenerate. diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 6d1e4c8..23dee16 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -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,