diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-31 10:07:02 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-31 10:49:23 +1030 |
commit | 3dfb1b6d34ec74160735230f606b1df55c917f9d (patch) | |
tree | f57dd7b40fa1c58c7faa28759de43ca12ca48910 /ld/testsuite | |
parent | 57ae980e3290c0c1a9fb4a93144cc5b24457f05a (diff) | |
download | gdb-3dfb1b6d34ec74160735230f606b1df55c917f9d.zip gdb-3dfb1b6d34ec74160735230f606b1df55c917f9d.tar.gz gdb-3dfb1b6d34ec74160735230f606b1df55c917f9d.tar.bz2 |
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.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ld-elf/mbind2b.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr18718.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr18720a.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25749-1.c | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25749-1a.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25749-1b.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25749-1c.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25749-1d.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25749-2.c | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25754-1a.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25754-2a.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25754-3a.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25754-4a.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25754-5a.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/pr25754-6a.c | 2 |
15 files changed, 17 insertions, 17 deletions
diff --git a/ld/testsuite/ld-elf/mbind2b.c b/ld/testsuite/ld-elf/mbind2b.c index 10922a1..7e1367d 100644 --- a/ld/testsuite/ld-elf/mbind2b.c +++ b/ld/testsuite/ld-elf/mbind2b.c @@ -1,6 +1,6 @@ #include <stdio.h> #include <stdlib.h> -#include <bfd_stdint.h> +#include <stdint.h> 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 426f46a..bbf8e03 100644 --- a/ld/testsuite/ld-elf/pr18718.c +++ b/ld/testsuite/ld-elf/pr18718.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> 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 b4a3369..fec4cf9 100644 --- a/ld/testsuite/ld-elf/pr18720a.c +++ b/ld/testsuite/ld-elf/pr18720a.c @@ -1,4 +1,4 @@ -#include <bfd_stdint.h> +#include <stdint.h> 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 12d0574..249d80f 100644 --- a/ld/testsuite/ld-elf/pr25749-1.c +++ b/ld/testsuite/ld-elf/pr25749-1.c @@ -1,12 +1,12 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> 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 775623b..657d29d 100644 --- a/ld/testsuite/ld-elf/pr25749-1a.c +++ b/ld/testsuite/ld-elf/pr25749-1a.c @@ -1,4 +1,4 @@ -#include <bfd_stdint.h> +#include <stdint.h> 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 f02a408..328b47c 100644 --- a/ld/testsuite/ld-elf/pr25749-1b.c +++ b/ld/testsuite/ld-elf/pr25749-1b.c @@ -1,4 +1,4 @@ -#include <bfd_stdint.h> +#include <stdint.h> 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 f2847d7..3203624 100644 --- a/ld/testsuite/ld-elf/pr25749-1c.c +++ b/ld/testsuite/ld-elf/pr25749-1c.c @@ -1,4 +1,4 @@ -#include <bfd_stdint.h> +#include <stdint.h> 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 33b869d..361d74c 100644 --- a/ld/testsuite/ld-elf/pr25749-1d.c +++ b/ld/testsuite/ld-elf/pr25749-1d.c @@ -1,4 +1,4 @@ -#include <bfd_stdint.h> +#include <stdint.h> 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 3ef6f0c..9a1b2b8 100644 --- a/ld/testsuite/ld-elf/pr25749-2.c +++ b/ld/testsuite/ld-elf/pr25749-2.c @@ -1,12 +1,12 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> 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 2b048ec..bc65c17 100644 --- a/ld/testsuite/ld-elf/pr25754-1a.c +++ b/ld/testsuite/ld-elf/pr25754-1a.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> extern uintptr_t bar; diff --git a/ld/testsuite/ld-elf/pr25754-2a.c b/ld/testsuite/ld-elf/pr25754-2a.c index 7c9f581..7c7fb28 100644 --- a/ld/testsuite/ld-elf/pr25754-2a.c +++ b/ld/testsuite/ld-elf/pr25754-2a.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> extern uintptr_t bar; diff --git a/ld/testsuite/ld-elf/pr25754-3a.c b/ld/testsuite/ld-elf/pr25754-3a.c index 2d4f02a..e57dfe2 100644 --- a/ld/testsuite/ld-elf/pr25754-3a.c +++ b/ld/testsuite/ld-elf/pr25754-3a.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> extern uintptr_t bar; diff --git a/ld/testsuite/ld-elf/pr25754-4a.c b/ld/testsuite/ld-elf/pr25754-4a.c index e2c2f8d..1148eca 100644 --- a/ld/testsuite/ld-elf/pr25754-4a.c +++ b/ld/testsuite/ld-elf/pr25754-4a.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> 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 cb791dd..8ddfccd 100644 --- a/ld/testsuite/ld-elf/pr25754-5a.c +++ b/ld/testsuite/ld-elf/pr25754-5a.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> 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 59633a3..b8e7ade 100644 --- a/ld/testsuite/ld-elf/pr25754-6a.c +++ b/ld/testsuite/ld-elf/pr25754-6a.c @@ -1,5 +1,5 @@ #include <stdio.h> -#include <bfd_stdint.h> +#include <stdint.h> extern uintptr_t *get_bar (void); |