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. --- opcodes/ChangeLog | 14 ++++++++++++++ opcodes/aarch64-dis.c | 2 +- opcodes/aarch64-dis.h | 2 +- opcodes/aarch64-opc.c | 2 +- opcodes/avr-dis.c | 2 +- opcodes/csky-dis.c | 2 +- opcodes/nds32-asm.c | 2 +- opcodes/nds32-dis.c | 2 +- opcodes/nfp-dis.c | 2 +- opcodes/riscv-dis.c | 2 +- opcodes/s12z-dis.c | 2 +- opcodes/wasm32-dis.c | 2 +- 12 files changed, 25 insertions(+), 11 deletions(-) (limited to 'opcodes') diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 7179187..ae4dea9 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,17 @@ +2021-03-31 Alan Modra + + * 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. + 2021-03-30 Jan Beulich * i386-opc.c (cs, ds, ss, es, fs, gs): Delete. diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c index 349d7ea..1472f7d 100644 --- a/opcodes/aarch64-dis.c +++ b/opcodes/aarch64-dis.c @@ -19,7 +19,7 @@ see . */ #include "sysdep.h" -#include "bfd_stdint.h" +#include #include "disassemble.h" #include "libiberty.h" #include "opintl.h" diff --git a/opcodes/aarch64-dis.h b/opcodes/aarch64-dis.h index 5bb546a..9704511 100644 --- a/opcodes/aarch64-dis.h +++ b/opcodes/aarch64-dis.h @@ -20,7 +20,7 @@ #ifndef OPCODES_AARCH64_DIS_H #define OPCODES_AARCH64_DIS_H -#include "bfd_stdint.h" +#include #include "aarch64-opc.h" /* Lookup opcode WORD in the opcode table. diff --git a/opcodes/aarch64-opc.c b/opcodes/aarch64-opc.c index c4397bc..1f04aad 100644 --- a/opcodes/aarch64-opc.c +++ b/opcodes/aarch64-opc.c @@ -22,7 +22,7 @@ #include #include #include -#include "bfd_stdint.h" +#include #include #include diff --git a/opcodes/avr-dis.c b/opcodes/avr-dis.c index b58958f..06f8a0c 100644 --- a/opcodes/avr-dis.c +++ b/opcodes/avr-dis.c @@ -25,7 +25,7 @@ #include "disassemble.h" #include "opintl.h" #include "libiberty.h" -#include "bfd_stdint.h" +#include struct avr_opcodes_s { diff --git a/opcodes/csky-dis.c b/opcodes/csky-dis.c index 399c180..45af88c 100644 --- a/opcodes/csky-dis.c +++ b/opcodes/csky-dis.c @@ -22,7 +22,7 @@ #include "sysdep.h" #include "config.h" #include -#include "bfd_stdint.h" +#include #include #include "disassemble.h" #include "elf-bfd.h" diff --git a/opcodes/nds32-asm.c b/opcodes/nds32-asm.c index d2f41f5..f641c60 100644 --- a/opcodes/nds32-asm.c +++ b/opcodes/nds32-asm.c @@ -22,7 +22,7 @@ #include "sysdep.h" -#include "bfd_stdint.h" +#include #include #include "safe-ctype.h" diff --git a/opcodes/nds32-dis.c b/opcodes/nds32-dis.c index 96c3f38..25bb475 100644 --- a/opcodes/nds32-dis.c +++ b/opcodes/nds32-dis.c @@ -27,7 +27,7 @@ #include "symcat.h" #include "libiberty.h" #include "opintl.h" -#include "bfd_stdint.h" +#include #include "hashtab.h" #include "nds32-asm.h" #include "opcode/nds32.h" diff --git a/opcodes/nfp-dis.c b/opcodes/nfp-dis.c index 4f79581..39ded66 100644 --- a/opcodes/nfp-dis.c +++ b/opcodes/nfp-dis.c @@ -33,7 +33,7 @@ #include "opintl.h" #include "elf-bfd.h" #include "bfd.h" -#include "bfd_stdint.h" +#include #define _NFP_ERR_STOP -1 #define _NFP_ERR_CONT -8 diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c index cc80d90..7ef4d4d 100644 --- a/opcodes/riscv-dis.c +++ b/opcodes/riscv-dis.c @@ -29,7 +29,7 @@ #include "elf/riscv.h" #include "cpu-riscv.h" -#include "bfd_stdint.h" +#include #include static enum riscv_spec_class default_priv_spec = PRIV_SPEC_CLASS_NONE; diff --git a/opcodes/s12z-dis.c b/opcodes/s12z-dis.c index 6645297..4616bc8 100644 --- a/opcodes/s12z-dis.c +++ b/opcodes/s12z-dis.c @@ -20,7 +20,7 @@ #include "sysdep.h" #include -#include "bfd_stdint.h" +#include #include #include diff --git a/opcodes/wasm32-dis.c b/opcodes/wasm32-dis.c index 6926661..f3fde32 100644 --- a/opcodes/wasm32-dis.c +++ b/opcodes/wasm32-dis.c @@ -27,7 +27,7 @@ #include "elf-bfd.h" #include "elf/internal.h" #include "elf/wasm32.h" -#include "bfd_stdint.h" +#include #ifdef HAVE_LIMITS_H #include -- cgit v1.1