diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2020-03-31 23:01:36 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2020-03-31 23:01:36 +0100 |
commit | 876678f05e70235ed71d5b9ec63e4f6db1ec76e4 (patch) | |
tree | 03d33993fdab2474944d8940554ce76ad686a897 | |
parent | 6f29a53415003fd958978471801c072b2fcc8f80 (diff) | |
download | fsf-binutils-gdb-876678f05e70235ed71d5b9ec63e4f6db1ec76e4.zip fsf-binutils-gdb-876678f05e70235ed71d5b9ec63e4f6db1ec76e4.tar.gz fsf-binutils-gdb-876678f05e70235ed71d5b9ec63e4f6db1ec76e4.tar.bz2 |
PR 25611, PR 25614: GAS: Remove a double inclusion of "bignum.h"
Correct an issue with commit 5496f3c635dc ("Add support for generating
DWARF-5 format directory and file name tables from the assembler.") and
remove a duplicate direct inclusion of "bignum.h" from dwarf2dbg.c that
causes a GAS compilation error:
In file included from .../gas/dwarf2dbg.c:33:
.../gas/bignum.h:42: error: redefinition of typedef 'LITTLENUM_TYPE'
.../gas/bignum.h:42: error: previous declaration of 'LITTLENUM_TYPE' was here
make[4]: *** [dwarf2dbg.o] Error 1
with some GCC versions, as this header has been already included via
"as.h" and then "flonum.h".
gas/
PR 25611
PR 25614
* dwarf2dbg.c: Do not include "bignum.h".
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/dwarf2dbg.c | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 3ebe281..673d03f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2020-03-31 Maciej W. Rozycki <macro@linux-mips.org> + + PR 25611 + PR 25614 + * dwarf2dbg.c: Do not include "bignum.h". + 2020-03-30 Nelson Chu <nelson.chu@sifive.com> * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo. diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index d9d517a..6a66225 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -30,7 +30,6 @@ #include "as.h" #include "safe-ctype.h" -#include "bignum.h" #ifdef HAVE_LIMITS_H #include <limits.h> |