From 876678f05e70235ed71d5b9ec63e4f6db1ec76e4 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Tue, 31 Mar 2020 23:01:36 +0100 Subject: [PATCH] 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". --- gas/ChangeLog | 6 ++++++ gas/dwarf2dbg.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 3ebe2819d1..673d03fe10 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2020-03-31 Maciej W. Rozycki + + PR 25611 + PR 25614 + * dwarf2dbg.c: Do not include "bignum.h". + 2020-03-30 Nelson Chu * testsuite/gas/riscv/alias-csr.d: Move this to priv-reg-pseudo. diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index d9d517a299..6a66225b54 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 -- 2.34.1