]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
PR 25611, PR 25614: GAS: Remove a double inclusion of "bignum.h"
authorMaciej W. Rozycki <macro@linux-mips.org>
Tue, 31 Mar 2020 22:01:36 +0000 (23:01 +0100)
committerMaciej W. Rozycki <macro@linux-mips.org>
Tue, 31 Mar 2020 22:01:36 +0000 (23:01 +0100)
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".

gas/ChangeLog
gas/dwarf2dbg.c

index 3ebe2819d1e06301869389c6188bae6adf53f865..673d03fe10779e824febb5ea13c98e506796e712 100644 (file)
@@ -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.
index d9d517a2998dd07164a749b1c39256de760bec5c..6a66225b54a8b57906c1e48db2141034115eadc5 100644 (file)
@@ -30,7 +30,6 @@
 
 #include "as.h"
 #include "safe-ctype.h"
-#include "bignum.h"
 
 #ifdef HAVE_LIMITS_H
 #include <limits.h>