aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-11-27 08:42:06 +1030
committerAlan Modra <amodra@gmail.com>2024-11-27 10:34:08 +1030
commit7a55d8e4df2ead7f71706459adc708da2691fd5b (patch)
tree390623743bb9d6fe1f98da12f53887311a317d84
parentd641e2e2435bcfb63ef903c40743f7c4527cc5e8 (diff)
downloadbinutils-7a55d8e4df2ead7f71706459adc708da2691fd5b.zip
binutils-7a55d8e4df2ead7f71706459adc708da2691fd5b.tar.gz
binutils-7a55d8e4df2ead7f71706459adc708da2691fd5b.tar.bz2
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.
-rw-r--r--bfd/config.bfd1
-rw-r--r--bfd/po/SRC-POTFILES.in3
-rw-r--r--config/mt-nios2-elf5
-rw-r--r--gas/po/POTFILES.in2
-rw-r--r--ld/po/BLD-POTFILES.in2
-rw-r--r--opcodes/po/POTFILES.in2
6 files changed, 1 insertions, 14 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index e2b09a2..f8482d7 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 ccc2dcb..54b078b 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 1dee7c6..0000000
--- 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 820b7cd..c600b17 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 b346e20..10cef15 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 2db6e1c..c8f8362 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