From: Alan Modra Date: Tue, 26 Nov 2024 22:12:06 +0000 (+1030) Subject: Re: nios2: Remove binutils support for Nios II target X-Git-Tag: gdb-16-branchpoint~289 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7a55d8e4df2ead7f71706459adc708da2691fd5b;p=thirdparty%2Fbinutils-gdb.git Re: nios2: Remove binutils support for Nios II target Remove a now unused config file, regenerate POTFILES to remove nios2 refs, and modify config.bfd to report the target is obsolete. --- diff --git a/bfd/config.bfd b/bfd/config.bfd index e2b09a2a92e..f8482d717e1 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -151,6 +151,7 @@ case $targ in mips*-sgi-* | \ mips*el-*-rtems* | \ m32c-*-rtems* | \ + nios2*-*-* | \ ns32k-*-netbsd* | \ openrisc-*-* | \ or32-*-* | \ diff --git a/bfd/po/SRC-POTFILES.in b/bfd/po/SRC-POTFILES.in index ccc2dcbe54d..54b078b8295 100644 --- a/bfd/po/SRC-POTFILES.in +++ b/bfd/po/SRC-POTFILES.in @@ -92,7 +92,6 @@ cpu-msp430.c cpu-mt.c cpu-nds32.c cpu-nfp.c -cpu-nios2.c cpu-ns32k.c cpu-or1k.c cpu-pdp11.c @@ -199,8 +198,6 @@ elf32-msp430.c elf32-mt.c elf32-nds32.c elf32-nds32.h -elf32-nios2.c -elf32-nios2.h elf32-or1k.c elf32-pj.c elf32-ppc.c diff --git a/config/mt-nios2-elf b/config/mt-nios2-elf deleted file mode 100644 index 1dee7c6439e..00000000000 --- a/config/mt-nios2-elf +++ /dev/null @@ -1,5 +0,0 @@ -# We build library code with -mno-gpopt so that it can be linked with -# larger executables with small-data sections that exceed the 16-bit -# offset range for GP-relative addressing. -CFLAGS_FOR_TARGET += -mno-gpopt -CXXFLAGS_FOR_TARGET += -mno-gpopt diff --git a/gas/po/POTFILES.in b/gas/po/POTFILES.in index 820b7cd7193..c600b179e43 100644 --- a/gas/po/POTFILES.in +++ b/gas/po/POTFILES.in @@ -122,8 +122,6 @@ config/tc-mt.c config/tc-mt.h config/tc-nds32.c config/tc-nds32.h -config/tc-nios2.c -config/tc-nios2.h config/tc-ns32k.c config/tc-ns32k.h config/tc-or1k.c diff --git a/ld/po/BLD-POTFILES.in b/ld/po/BLD-POTFILES.in index b346e203aa8..10cef1571fe 100644 --- a/ld/po/BLD-POTFILES.in +++ b/ld/po/BLD-POTFILES.in @@ -270,8 +270,6 @@ ends32belf_linux.c ends32elf.c ends32elf16m.c ends32elf_linux.c -enios2elf.c -enios2linux.c ens32knbsd.c epc532macha.c epdp11.c diff --git a/opcodes/po/POTFILES.in b/opcodes/po/POTFILES.in index 2db6e1c58ee..c8f83622734 100644 --- a/opcodes/po/POTFILES.in +++ b/opcodes/po/POTFILES.in @@ -153,8 +153,6 @@ mt-opc.h nds32-asm.c nds32-dis.c nfp-dis.c -nios2-dis.c -nios2-opc.c ns32k-dis.c or1k-asm.c or1k-desc.c