]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 23 Dec 2016 12:11:12 +0000 (12:11 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Fri, 23 Dec 2016 19:14:17 +0000 (19:14 +0000)
commit9e76c212e6311abaee4d02473473f7d6dcad972f
tree25b247c7de7d40bd22ad8ae3d7b0bd681d9e0d3c
parent5b362f04b2a56d446b024027963be52d61f939cb
opcodes: Use autoconf to check for `bfd_mips_elf_get_abiflags' in BFD

Fix a regression introduced with commit 5e7fc731f80e ("MIPS/opcodes:
Also set disassembler's ASE flags from ELF structures"), further updated
with commit 4df995c77118 ("MIPS/opcodes: Also set disassembler's ASE
flags from ELF structures"), and use autoconf to check for the presence
of `bfd_mips_elf_get_abiflags' in BFD.

opcodes/
* mips-dis.c (set_default_mips_dis_options): Use
HAVE_BFD_MIPS_ELF_GET_ABIFLAGS rather than BFD64 to guard the
call to `bfd_mips_elf_get_abiflags'.
* configure.ac: Check for `bfd_mips_elf_get_abiflags' in BFD.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add `libbfd.la'.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.in: Regenerate.
* Makefile.in: Regenerate.
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/aclocal.m4
opcodes/config.in
opcodes/configure
opcodes/configure.ac
opcodes/mips-dis.c