diff options
author | Jiong Wang <jiong.wang@arm.com> | 2015-05-14 12:46:31 +0100 |
---|---|---|
committer | Jiong Wang <jiong.wang@arm.com> | 2015-05-14 12:46:31 +0100 |
commit | fdc3b1b1ef461fb81a53c9ce95117e5f134fc828 (patch) | |
tree | ba744cf4fee4f5133b06da0ced75e9ca83406f07 /bfd/elfnn-aarch64.c | |
parent | fd1c42387bead88edbd6043440462ada755f8d6e (diff) | |
download | gdb-fdc3b1b1ef461fb81a53c9ce95117e5f134fc828.zip gdb-fdc3b1b1ef461fb81a53c9ce95117e5f134fc828.tar.gz gdb-fdc3b1b1ef461fb81a53c9ce95117e5f134fc828.tar.bz2 |
[AArch64] Remove BFD overflow check restrictions
bfd/
* elfnn-aarch64.c (elfNN_aarch64_relocate_section): Remove overflow
check restriction.
Diffstat (limited to 'bfd/elfnn-aarch64.c')
-rw-r--r-- | bfd/elfnn-aarch64.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index c252b13..ddca5dd 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -5635,15 +5635,9 @@ elfNN_aarch64_relocate_section (bfd *output_bfd, switch (r) { case bfd_reloc_overflow: - /* If the overflowing reloc was to an undefined symbol, - we have already printed one error message and there - is no point complaining again. */ - if ((!h || - h->root.type != bfd_link_hash_undefined) - && (!((*info->callbacks->reloc_overflow) - (info, (h ? &h->root : NULL), name, howto->name, - (bfd_vma) 0, input_bfd, input_section, - rel->r_offset)))) + if (!(*info->callbacks->reloc_overflow) + (info, (h ? &h->root : NULL), name, howto->name, (bfd_vma) 0, + input_bfd, input_section, rel->r_offset)) return FALSE; break; |