]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Re: nios2: Remove binutils support for Nios II target
authorAlan Modra <amodra@gmail.com>
Tue, 26 Nov 2024 22:12:06 +0000 (08:42 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 27 Nov 2024 00:04:08 +0000 (10:34 +1030)
Remove a now unused config file, regenerate POTFILES to remove nios2
refs, and modify config.bfd to report the target is obsolete.

bfd/config.bfd
bfd/po/SRC-POTFILES.in
config/mt-nios2-elf [deleted file]
gas/po/POTFILES.in
ld/po/BLD-POTFILES.in
opcodes/po/POTFILES.in

index e2b09a2a92e2a47b8ca1e36a31f2fd122720fcbd..f8482d717e192880c925ad252ae176bfb706bd95 100644 (file)
@@ -151,6 +151,7 @@ case $targ in
  mips*-sgi-* | \
  mips*el-*-rtems* | \
  m32c-*-rtems* | \
+ nios2*-*-* | \
  ns32k-*-netbsd* | \
  openrisc-*-* | \
  or32-*-* | \
index ccc2dcbe54d936bfd33ebcb833126ce0111879ce..54b078b8295ce1730b9445badfb4d2153f702f23 100644 (file)
@@ -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 (file)
index 1dee7c6..0000000
+++ /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
index 820b7cd7193b6e7dbd90ce4c9847f44cbec3d9ca..c600b179e43a5c7865398942badb0a8674a14964 100644 (file)
@@ -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
index b346e203aa862b54bc8820ecad8b0a82f3c17122..10cef1571fe0fa3dd7ad4443352882f6cedb7fa6 100644 (file)
@@ -270,8 +270,6 @@ ends32belf_linux.c
 ends32elf.c
 ends32elf16m.c
 ends32elf_linux.c
-enios2elf.c
-enios2linux.c
 ens32knbsd.c
 epc532macha.c
 epdp11.c
index 2db6e1c58eec44ccf102823da75733d076aa5dd8..c8f836227348d8b40460475827727d7223a17b93 100644 (file)
@@ -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