aboutsummaryrefslogtreecommitdiff
path: root/bfd/targets.c
diff options
context:
space:
mode:
authorFrancois H. Theron <francois.theron@netronome.com>2018-05-15 13:28:06 +0100
committerNick Clifton <nickc@redhat.com>2018-05-15 13:28:06 +0100
commit1678bd35a35a3bace2d4aee39b64d96c638651f0 (patch)
tree020a655f6d696b6d97015042aa513839af577fa1 /bfd/targets.c
parent293b4d4fe9f8a9624531fdd37f365d1b683d4623 (diff)
downloadgdb-1678bd35a35a3bace2d4aee39b64d96c638651f0.zip
gdb-1678bd35a35a3bace2d4aee39b64d96c638651f0.tar.gz
gdb-1678bd35a35a3bace2d4aee39b64d96c638651f0.tar.bz2
Fix error messages in the NFP sources when building for 32-bit targets.
bfd * targets.c: Wrap nfp_elf64_vec in BFD64 ifdef. include * opcode/nfp.h: Use uint64_t instead of bfd_vma. opcodes * nfp-dis.c: Use uint64_t for instruction variables, not bfd_vma.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r--bfd/targets.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c
index 230048a..5d78f57 100644
--- a/bfd/targets.c
+++ b/bfd/targets.c
@@ -1108,7 +1108,9 @@ static const bfd_target * const _bfd_target_vector[] =
&nds32_elf32_linux_be_vec,
&nds32_elf32_linux_le_vec,
+#ifdef BFD64
&nfp_elf64_vec,
+#endif
&nios2_elf32_be_vec,
&nios2_elf32_le_vec,