From 3dfb1b6d34ec74160735230f606b1df55c917f9d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 31 Mar 2021 10:07:02 +1030 Subject: Remove bfd_stdint.h If we require C99 for binutils then stdint.h is available. bfd/ * .gitignore: Delete bfd_stdint.h entry. * Makefile.am (bfdinclude_HEADERS): Delete bfd_stdint.h. (BUILD_HFILES, LOCAL_H_DEPS): Likewise. * bfd-in.h: Include stdint.h in place of bfd_stdint.h. * configure.ac: Don't invoke GCC_HEADER_STDINT. * configure.com: Don't create bfd_stdint.h. * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * bfd-in2.h: Regenerate. * config.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. * po/BLD-POTFILES.in: Regenerate. binutils/ * coffdump.c: Include stdint.h in place of bfd_stdint.h. * dwarf.c: Likewise. gas/ * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h. * config/tc-crx.c: Likewise. * config/tc-nds32.h: Likewise. include/ * cgen/basic-modes.h: Include stdint.h in place of bfd_stdint.h. * elf/nfp.h: Likewise. * opcode/aarch64.h: Likewise. * opcode/cgen.h: Likewise. * opcode/nfp.h: Likewise. * opcode/ppc.h: Likewise. ld/ * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h. * emultempl/nds32elf.em: Likewise. * testsuite/ld-elf/mbind2b.c: Likewise. * testsuite/ld-elf/pr18718.c: Likewise. * testsuite/ld-elf/pr18720a.c: Likewise. * testsuite/ld-elf/pr25749-1.c: Likewise. * testsuite/ld-elf/pr25749-1a.c: Likewise. * testsuite/ld-elf/pr25749-1b.c: Likewise. * testsuite/ld-elf/pr25749-1c.c: Likewise. * testsuite/ld-elf/pr25749-1d.c: Likewise. * testsuite/ld-elf/pr25749-2.c: Likewise. * testsuite/ld-elf/pr25754-1a.c: Likewise. * testsuite/ld-elf/pr25754-2a.c: Likewise. * testsuite/ld-elf/pr25754-3a.c: Likewise. * testsuite/ld-elf/pr25754-4a.c: Likewise. * testsuite/ld-elf/pr25754-5a.c: Likewise. * testsuite/ld-elf/pr25754-6a.c: Likewise. opcodes/ * aarch64-dis.c: Include stdint.h in place of bfd_stdint.h. * aarch64-dis.h: Likewise. * aarch64-opc.c: Likewise. * avr-dis.c: Likewise. * csky-dis.c: Likewise. * nds32-asm.c: Likewise. * nds32-dis.c: Likewise. * nfp-dis.c: Likewise. * riscv-dis.c: Likewise. * s12z-dis.c: Likewise. * wasm32-dis.c: Likewise. --- gas/ChangeLog | 6 ++++++ gas/config/tc-aarch64.c | 2 +- gas/config/tc-crx.c | 2 +- gas/config/tc-nds32.h | 2 +- gas/config/tc-pru.c | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 354a14b..174cc86 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2021-03-31 Alan Modra + + * config/tc-aarch64.c: Include stdint.h in place of bfd_stdint.h. + * config/tc-crx.c: Likewise. + * config/tc-nds32.h: Likewise. + 2021-03-30 Jan Beulich * config/tc-i386.c (build_modrm_byte): Change return type. diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 6f782d0..9dd1def 100644 --- a/gas/config/tc-aarch64.c +++ b/gas/config/tc-aarch64.c @@ -22,7 +22,7 @@ #include "as.h" #include #include -#include "bfd_stdint.h" +#include #define NO_RELOC 0 #include "safe-ctype.h" #include "subsegs.h" diff --git a/gas/config/tc-crx.c b/gas/config/tc-crx.c index 52eebcb..a82acb5 100644 --- a/gas/config/tc-crx.c +++ b/gas/config/tc-crx.c @@ -23,7 +23,7 @@ MA 02110-1301, USA. */ #include "as.h" -#include "bfd_stdint.h" +#include #include "safe-ctype.h" #include "dwarf2dbg.h" #include "opcode/crx.h" diff --git a/gas/config/tc-nds32.h b/gas/config/tc-nds32.h index 7dbeb59..a74390a 100644 --- a/gas/config/tc-nds32.h +++ b/gas/config/tc-nds32.h @@ -22,7 +22,7 @@ #ifndef TC_NDS32 #define TC_NDS32 -#include "bfd_stdint.h" +#include /* Enum mapping symbol. */ enum mstate diff --git a/gas/config/tc-pru.c b/gas/config/tc-pru.c index 5c41fa0..139e28e 100644 --- a/gas/config/tc-pru.c +++ b/gas/config/tc-pru.c @@ -21,7 +21,7 @@ 02110-1301, USA. */ #include "as.h" -#include "bfd_stdint.h" +#include #include "opcode/pru.h" #include "elf/pru.h" #include "tc-pru.h" -- cgit v1.1