diff options
author | Andrew Pinski <apinski@cavium.com> | 2013-07-27 23:58:43 +0000 |
---|---|---|
committer | Andrew Pinski <apinski@cavium.com> | 2013-07-27 23:58:43 +0000 |
commit | 54757ed169780b965031861d5c6dd918545a88cf (patch) | |
tree | 4ff8c7450217ce99e7ad4e8adeee0b8297497ba1 /bfd | |
parent | f6518c488a569b2c32c062f16412ffbf869bbbe3 (diff) | |
download | gdb-54757ed169780b965031861d5c6dd918545a88cf.zip gdb-54757ed169780b965031861d5c6dd918545a88cf.tar.gz gdb-54757ed169780b965031861d5c6dd918545a88cf.tar.bz2 |
2013-07-27 Andrew Pinski <apinski@cavium.com>
* elfnn-aarch64.c (elfNN_aarch64_howto_from_bfd_reloc): Handle
BFD_RELOC_AARCH64_NONE explicitly.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfnn-aarch64.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index af1a0c6..7774474 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-07-27 Andrew Pinski <apinski@cavium.com> + + * elfnn-aarch64.c (elfNN_aarch64_howto_from_bfd_reloc): Handle + BFD_RELOC_AARCH64_NONE explicitly. + 2013-07-27 Maciej W. Rozycki <macro@linux-mips.org> * elf32-vax.c (elf_vax_finish_dynamic_sections): Don't set GOT's diff --git a/bfd/elfnn-aarch64.c b/bfd/elfnn-aarch64.c index 8e191cf..a219310 100644 --- a/bfd/elfnn-aarch64.c +++ b/bfd/elfnn-aarch64.c @@ -1465,6 +1465,9 @@ elfNN_aarch64_howto_from_bfd_reloc (bfd_reloc_code_real_type code) if (elfNN_aarch64_howto_table[code - BFD_RELOC_AARCH64_RELOC_START].type) return &elfNN_aarch64_howto_table[code - BFD_RELOC_AARCH64_RELOC_START]; + if (code == BFD_RELOC_AARCH64_NONE) + return &elfNN_aarch64_howto_none; + return NULL; } |