[binutils-gdb] gas: don't duplicate include of config.h

Alan Modra via Binutils-cvs <[email protected]>
Newsgroups gmane.comp.gnu.binutils.cvs
Message-ID <[email protected]>
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ca00826680b93ebf19c037c21f5dd7e0a502667a

commit ca00826680b93ebf19c037c21f5dd7e0a502667a
Author: Alan Modra <[email protected]>
Date:   Tue Mar 10 09:46:56 2026 +1030

    gas: don't duplicate include of config.h
    
    The header is included by as.h, don't include it again.

Diff:
---
 gas/config/tc-loongarch.c | 1 -
 gas/config/tc-mips.c      | 1 -
 gas/config/tc-riscv.c     | 1 -
 gas/config/tc-score7.c    | 1 -
 4 files changed, 4 deletions(-)

diff --git a/gas/config/tc-loongarch.c b/gas/config/tc-loongarch.c
index 3c9cb7329d2..7e501404ed7 100644
--- a/gas/config/tc-loongarch.c
+++ b/gas/config/tc-loongarch.c
@@ -27,7 +27,6 @@
 #include "opcode/loongarch.h"
 #include "obj-elf.h"
 #include "bfd/elfxx-loongarch.h"
-#include "config.h"
 #include <stdlib.h>
 #include <string.h>
 #include <stdio.h>
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 4440fb7cafb..afe8e1a6918 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -23,7 +23,6 @@
    02110-1301, USA.  */
 
 #include "as.h"
-#include "config.h"
 #include "subsegs.h"
 #include "safe-ctype.h"
 
diff --git a/gas/config/tc-riscv.c b/gas/config/tc-riscv.c
index 1227a719571..17205db68b2 100644
--- a/gas/config/tc-riscv.c
+++ b/gas/config/tc-riscv.c
@@ -21,7 +21,6 @@
    see <http://www.gnu.org/licenses/>.  */
 
 #include "as.h"
-#include "config.h"
 #include "subsegs.h"
 #include "safe-ctype.h"
 
diff --git a/gas/config/tc-score7.c b/gas/config/tc-score7.c
index 032e6ed16b3..41c1790bc72 100644
--- a/gas/config/tc-score7.c
+++ b/gas/config/tc-score7.c
@@ -23,7 +23,6 @@
    MA 02110-1301, USA.  */
 
 #include "as.h"
-#include "config.h"
 #include "subsegs.h"
 #include "safe-ctype.h"
 #include "opcode/score-inst.h"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.