From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by sourceware.org (Postfix) with ESMTPS id B056D3858018 for ; Wed, 31 Mar 2021 00:23:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B056D3858018 Received: by mail-pj1-x1031.google.com with SMTP id kr3-20020a17090b4903b02900c096fc01deso310003pjb.4 for ; Tue, 30 Mar 2021 17:23:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QE9lBzzndsNSJITL3NcUJhk0YX15vrNzbotky1PRhSA=; b=hNHTfv+tSS9XDhmMZ3sy83um2Kk65OhJc79GCwGMA4gu0Fd6sppvS+kug7JjF/vYfa Q26YrYaI9Qe4wkeDUSsT8QDc09LsTGc11XJiwawKz+7IuqZzfR0qegQCDU//MsI08+sZ NBK+vaAy6AweRw0Mo0sV7XcUJfqzF33USAKbBDn8K+cUZuqH2WJWZp3Z25Lk/muFdZYK osskG1lQD9op+GIUXrpUUBRDvRY1G8Bfdavem4PUd0cDikglBF7BSSAfzASppR0W+fq4 kv37kHvbSFqb6GbCh0ELTrk1cyG38JlwKlrL1wGP2QyEbnCtlRQhaz6L3wti6drK360Z VxsA== X-Gm-Message-State: AOAM533ZDPq/wD59GzmlQUXUF2R11E1M2olzptSeviBwZ3gmmxaFyaOI ipr4J5DPP5CeXGpXXoq2+gHi2YqdH9qmhg== X-Google-Smtp-Source: ABdhPJzHpjmzkDgksMEjRsmJ9VJgifJAOWU9jzzL8e+upd4mxeEOTr9aQTNOlKoNSOXkSGEIRxCT6Q== X-Received: by 2002:a17:902:edc6:b029:e4:6dba:415e with SMTP id q6-20020a170902edc6b02900e46dba415emr775639plk.65.1617150236145; Tue, 30 Mar 2021 17:23:56 -0700 (PDT) Received: from bubble.grove.modra.org ([2406:3400:51d:8cc0:e9cd:b661:2c9f:5281]) by smtp.gmail.com with ESMTPSA id f20sm181209pfa.10.2021.03.30.17.23.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 17:23:55 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id B67C340272; Wed, 31 Mar 2021 10:53:51 +1030 (ACDT) Date: Wed, 31 Mar 2021 10:53:51 +1030 From: Alan Modra To: binutils@sourceware.org Subject: Remove bfd_stdint.h Message-ID: <20210331002351.GR5425@bubble.grove.modra.org> References: <20210329003539.GD5425@bubble.grove.modra.org> <43c77ac5-f8d4-5739-a3ae-64f6f3314a39@redhat.com> <20210331002012.GQ5425@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210331002012.GQ5425@bubble.grove.modra.org> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3039.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 00:24:02 -0000 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. diff --git a/bfd/.gitignore b/bfd/.gitignore index 33161338b05..0a5530d128a 100644 --- a/bfd/.gitignore +++ b/bfd/.gitignore @@ -1,6 +1,5 @@ /bfd-in3.h /bfd.h -/bfd_stdint.h /bfdver.h /elf32-ia64.c /elf32-target.h diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 3f143dc227b..ed2f701805d 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -33,7 +33,7 @@ bfdlibdir = @bfdlibdir@ bfdincludedir = @bfdincludedir@ bfdlib_LTLIBRARIES = libbfd.la bfdinclude_HEADERS = $(BFD_H) $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h \ - bfd_stdint.h $(INCDIR)/diagnostics.h $(INCDIR)/bfdlink.h + $(INCDIR)/diagnostics.h $(INCDIR)/bfdlink.h else !INSTALL_LIBBFD # Empty these so that the respective installation directories will not be created. bfdlibdir = @@ -700,7 +700,7 @@ SOURCE_HFILES = \ ## ... and .h files which are in the build tree, minus config.h and bfd.h BUILD_HFILES = \ - bfdver.h elf32-target.h elf64-target.h targmatch.h bfd_stdint.h + bfdver.h elf32-target.h elf64-target.h targmatch.h # Ensure they are built early: BUILT_SOURCES = $(BUILD_HFILES) @@ -863,7 +863,7 @@ pex64igen.c: peXXigen.c $(SED) -e s/XX/pex64/g < $< >> $@ BFD_H_DEPS= $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h $(INCDIR)/diagnostics.h -LOCAL_H_DEPS= libbfd.h sysdep.h config.h bfd_stdint.h +LOCAL_H_DEPS= libbfd.h sysdep.h config.h $(BFD32_LIBS) \ $(BFD64_LIBS) \ $(ALL_MACHINES) \ diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index f90f7180911..46a0fcd4417 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -34,7 +34,7 @@ extern "C" { #include "ansidecl.h" #include "symcat.h" -#include "bfd_stdint.h" +#include #include "diagnostics.h" #include #include diff --git a/bfd/configure.ac b/bfd/configure.ac index e9a07b8ff05..cb43ebcf6de 100644 --- a/bfd/configure.ac +++ b/bfd/configure.ac @@ -246,7 +246,6 @@ BFD_CC_FOR_BUILD AC_CHECK_HEADERS(alloca.h fcntl.h limits.h stddef.h stdlib.h string.h \ strings.h sys/file.h sys/resource.h sys/stat.h sys/time.h \ time.h unistd.h wchar.h wctype.h) -GCC_HEADER_STDINT(bfd_stdint.h) AC_HEADER_TIME AC_HEADER_DIRENT diff --git a/bfd/configure.com b/bfd/configure.com index cb93a65331d..33012fbc1ef 100644 --- a/bfd/configure.com +++ b/bfd/configure.com @@ -239,13 +239,6 @@ $DECK $ EOD $! $! -$! create bfd_stdint.h -$! -$ write sys$output "Generate `bfd_stdint.h'" -$ create []bfd_stdint.h -#include -$! -$! $! create targmatch.h $! $ write sys$output "Generate `targmatch.h'" diff --git a/binutils/coffdump.c b/binutils/coffdump.c index 5ce39859d56..dd40221b45d 100644 --- a/binutils/coffdump.c +++ b/binutils/coffdump.c @@ -26,7 +26,7 @@ #include "sysdep.h" #include "bfd.h" -#include "bfd_stdint.h" +#include #include "libiberty.h" #include "bucomm.h" diff --git a/binutils/dwarf.c b/binutils/dwarf.c index 23ee70510f7..476e3919d1f 100644 --- a/binutils/dwarf.c +++ b/binutils/dwarf.c @@ -21,7 +21,7 @@ #include "sysdep.h" #include "libiberty.h" #include "bfd.h" -#include "bfd_stdint.h" +#include #include "bucomm.h" #include "elfcomm.h" #include "elf/common.h" diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c index 6f782d057f8..9dd1defd09b 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 52eebcb7e94..a82acb5fa21 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 7dbeb591b58..a74390a57e7 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 5c41fa08f2a..139e28ecbae 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" diff --git a/include/cgen/basic-modes.h b/include/cgen/basic-modes.h index 3a476d4a1df..2d76594524c 100644 --- a/include/cgen/basic-modes.h +++ b/include/cgen/basic-modes.h @@ -24,12 +24,10 @@ /* This file doesn't contain all modes, just the basic/portable ones. - It also provides access to stdint.h (*1) so the includer doesn't have - to deal with the portability issues. - (*1): To the extent that bfd_stdint.h does for now. */ + It also provides access to stdint.h so the includer doesn't have + to deal with the portability issues. */ -/* IWBN to avoid unnecessary dependencies on bfd-anything. */ -#include "bfd_stdint.h" +#include typedef int8_t QI; typedef uint8_t UQI; diff --git a/include/elf/nfp.h b/include/elf/nfp.h index ae5f4f8e064..ca609c19967 100644 --- a/include/elf/nfp.h +++ b/include/elf/nfp.h @@ -24,7 +24,7 @@ #include "bfd.h" #include "elf/common.h" #include "elf/reloc-macros.h" -#include "bfd_stdint.h" +#include #ifdef __cplusplus extern "C" diff --git a/include/opcode/aarch64.h b/include/opcode/aarch64.h index e48bea6db6e..7a97fa837f6 100644 --- a/include/opcode/aarch64.h +++ b/include/opcode/aarch64.h @@ -23,7 +23,7 @@ #define OPCODE_AARCH64_H #include "bfd.h" -#include "bfd_stdint.h" +#include #include #include diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h index 0e68c85dfec..8b7d2a4b547 100644 --- a/include/opcode/cgen.h +++ b/include/opcode/cgen.h @@ -24,8 +24,7 @@ #include "symcat.h" #include "cgen/bitset.h" -/* ??? IWBN to replace bfd in the name. */ -#include "bfd_stdint.h" +#include #ifdef __cplusplus extern "C" { diff --git a/include/opcode/nfp.h b/include/opcode/nfp.h index 7f322a100ed..88c7d08f483 100644 --- a/include/opcode/nfp.h +++ b/include/opcode/nfp.h @@ -23,7 +23,7 @@ #define _NFP_H_ #include "bfd.h" -#include "bfd_stdint.h" +#include #include "elf/nfp.h" #ifdef __cplusplus diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index a5ee560aa17..1c5f383e209 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -22,7 +22,7 @@ #ifndef PPC_H #define PPC_H -#include "bfd_stdint.h" +#include #ifdef __cplusplus extern "C" { diff --git a/ld/elf-hints-local.h b/ld/elf-hints-local.h index 02dd019d491..9cdfa2f2981 100644 --- a/ld/elf-hints-local.h +++ b/ld/elf-hints-local.h @@ -25,7 +25,7 @@ #ifndef _ELF_HINTS_H_ #define _ELF_HINTS_H_ -#include "bfd_stdint.h" +#include /* Hints file produced by ldconfig. */ struct elfhints_hdr diff --git a/ld/emultempl/nds32elf.em b/ld/emultempl/nds32elf.em index 0ebdec95655..b00b7746cca 100644 --- a/ld/emultempl/nds32elf.em +++ b/ld/emultempl/nds32elf.em @@ -24,7 +24,7 @@ fragment < #include "elf32-nds32.h" static int relax_fp_as_gp = 1; /* --mrelax-omit-fp */ diff --git a/ld/testsuite/ld-elf/mbind2b.c b/ld/testsuite/ld-elf/mbind2b.c index 10922a1f046..7e1367d6b0f 100644 --- a/ld/testsuite/ld-elf/mbind2b.c +++ b/ld/testsuite/ld-elf/mbind2b.c @@ -1,6 +1,6 @@ #include #include -#include +#include extern char bss_in_mbind0; extern char data_in_mbind3; diff --git a/ld/testsuite/ld-elf/pr18718.c b/ld/testsuite/ld-elf/pr18718.c index 426f46a42cb..bbf8e037c13 100644 --- a/ld/testsuite/ld-elf/pr18718.c +++ b/ld/testsuite/ld-elf/pr18718.c @@ -1,5 +1,5 @@ #include -#include +#include extern void foo (void); extern void check_ptr_eq (void (*) (void), void (*) (void)); diff --git a/ld/testsuite/ld-elf/pr18720a.c b/ld/testsuite/ld-elf/pr18720a.c index b4a33696c6d..fec4cf902ff 100644 --- a/ld/testsuite/ld-elf/pr18720a.c +++ b/ld/testsuite/ld-elf/pr18720a.c @@ -1,4 +1,4 @@ -#include +#include extern void bar (void); extern void foo (void); diff --git a/ld/testsuite/ld-elf/pr25749-1.c b/ld/testsuite/ld-elf/pr25749-1.c index 12d0574a013..249d80fd169 100644 --- a/ld/testsuite/ld-elf/pr25749-1.c +++ b/ld/testsuite/ld-elf/pr25749-1.c @@ -1,12 +1,12 @@ #include -#include +#include extern intptr_t size (void); int main () { - if (size () == 303 /* size of this file */) + if (size () == 299 /* size of this file */) printf ("PASS\n"); #ifdef __GLIBC_PREREQ # if !__GLIBC_PREREQ (2, 28) diff --git a/ld/testsuite/ld-elf/pr25749-1a.c b/ld/testsuite/ld-elf/pr25749-1a.c index 775623b8c9c..657d29da5b1 100644 --- a/ld/testsuite/ld-elf/pr25749-1a.c +++ b/ld/testsuite/ld-elf/pr25749-1a.c @@ -1,4 +1,4 @@ -#include +#include extern void *_binary_pr25749_1_c_start; extern void *_binary_pr25749_1_c_end; diff --git a/ld/testsuite/ld-elf/pr25749-1b.c b/ld/testsuite/ld-elf/pr25749-1b.c index f02a4087004..328b47cf51f 100644 --- a/ld/testsuite/ld-elf/pr25749-1b.c +++ b/ld/testsuite/ld-elf/pr25749-1b.c @@ -1,4 +1,4 @@ -#include +#include extern void *_binary_pr25749_1_c_size; diff --git a/ld/testsuite/ld-elf/pr25749-1c.c b/ld/testsuite/ld-elf/pr25749-1c.c index f2847d7f623..3203624fb41 100644 --- a/ld/testsuite/ld-elf/pr25749-1c.c +++ b/ld/testsuite/ld-elf/pr25749-1c.c @@ -1,4 +1,4 @@ -#include +#include extern void *_binary_pr25749_1_c_size __attribute__ ((visibility("hidden"))); diff --git a/ld/testsuite/ld-elf/pr25749-1d.c b/ld/testsuite/ld-elf/pr25749-1d.c index 33b869deb5d..361d74c6c88 100644 --- a/ld/testsuite/ld-elf/pr25749-1d.c +++ b/ld/testsuite/ld-elf/pr25749-1d.c @@ -1,4 +1,4 @@ -#include +#include extern void *_binary_pr25749_1_c_start; extern void *_binary_pr25749_1_c_end; diff --git a/ld/testsuite/ld-elf/pr25749-2.c b/ld/testsuite/ld-elf/pr25749-2.c index 3ef6f0c6a7b..9a1b2b802f5 100644 --- a/ld/testsuite/ld-elf/pr25749-2.c +++ b/ld/testsuite/ld-elf/pr25749-2.c @@ -1,12 +1,12 @@ #include -#include +#include extern intptr_t size; int main () { - if (size == 293 /* size of this file */) + if (size == 289 /* size of this file */) printf ("PASS\n"); #ifdef __GLIBC_PREREQ # if !__GLIBC_PREREQ (2, 28) diff --git a/ld/testsuite/ld-elf/pr25754-1a.c b/ld/testsuite/ld-elf/pr25754-1a.c index 2b048ec09bb..bc65c174d05 100644 --- a/ld/testsuite/ld-elf/pr25754-1a.c +++ b/ld/testsuite/ld-elf/pr25754-1a.c @@ -1,5 +1,5 @@ #include -#include +#include extern uintptr_t bar; diff --git a/ld/testsuite/ld-elf/pr25754-2a.c b/ld/testsuite/ld-elf/pr25754-2a.c index 7c9f58116e7..7c7fb28f4d5 100644 --- a/ld/testsuite/ld-elf/pr25754-2a.c +++ b/ld/testsuite/ld-elf/pr25754-2a.c @@ -1,5 +1,5 @@ #include -#include +#include extern uintptr_t bar; diff --git a/ld/testsuite/ld-elf/pr25754-3a.c b/ld/testsuite/ld-elf/pr25754-3a.c index 2d4f02abe5a..e57dfe2cc2d 100644 --- a/ld/testsuite/ld-elf/pr25754-3a.c +++ b/ld/testsuite/ld-elf/pr25754-3a.c @@ -1,5 +1,5 @@ #include -#include +#include extern uintptr_t bar; diff --git a/ld/testsuite/ld-elf/pr25754-4a.c b/ld/testsuite/ld-elf/pr25754-4a.c index e2c2f8d54d0..1148ecae728 100644 --- a/ld/testsuite/ld-elf/pr25754-4a.c +++ b/ld/testsuite/ld-elf/pr25754-4a.c @@ -1,5 +1,5 @@ #include -#include +#include extern uintptr_t *get_bar (void); diff --git a/ld/testsuite/ld-elf/pr25754-5a.c b/ld/testsuite/ld-elf/pr25754-5a.c index cb791dd56f7..8ddfccd5bd0 100644 --- a/ld/testsuite/ld-elf/pr25754-5a.c +++ b/ld/testsuite/ld-elf/pr25754-5a.c @@ -1,5 +1,5 @@ #include -#include +#include extern uintptr_t *get_bar (void); diff --git a/ld/testsuite/ld-elf/pr25754-6a.c b/ld/testsuite/ld-elf/pr25754-6a.c index 59633a3b4dd..b8e7ade4c6d 100644 --- a/ld/testsuite/ld-elf/pr25754-6a.c +++ b/ld/testsuite/ld-elf/pr25754-6a.c @@ -1,5 +1,5 @@ #include -#include +#include extern uintptr_t *get_bar (void); diff --git a/opcodes/aarch64-dis.c b/opcodes/aarch64-dis.c index 349d7ea7ec0..1472f7da155 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 5bb546a6636..97045114a2e 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 c4397bc4301..1f04aad5f98 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 b58958fae7a..06f8a0c663b 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 399c180a8dd..45af88c8928 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 d2f41f5c00b..f641c60f68c 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 96c3f3829c1..25bb475d1ab 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 4f79581d60b..39ded6694ab 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 cc80d909457..7ef4d4df184 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 66452977595..4616bc82711 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 69266610ad3..f3fde3286e7 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 -- Alan Modra Australia Development Lab, IBM