summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2021-07-18 18:32:14 -0400
committerAlan Modra <amodra@gmail.com>2021-07-21 11:00:35 +0930
commite28a9225b85f2ee76760b4b93116a5630bdd0699 (patch)
treecac5bf3b41aa2544f0adf5723b657d8f004cc18d /ld
parent8258b1353c3bfabaf84be45c597d4277368b6bdf (diff)
downloadbinutils-gdb-e28a9225b85f2ee76760b4b93116a5630bdd0699.tar.gz
Remove `netbsdpe` support
netbsdpe was deprecated in c2ce831330e10dab4703094491f80b6b9a5c2289. Since then, a release has passed (2.37), and it was marked obselete in 5c9cbf07f3f972ecffe13d858010b3179df17b32. Unless I am mistaken, that means we can now remove support altogether. All branches in the "active" code are remove, and the target is additionally marked as obsolete next to the other removed ones for libbfd and gdb. Per [1] from the NetBSD toolchain list, PE/COFF support was removed a decade ago. Furthermore, the sole mention of this target in the binutils commit history was in 2002. Together, I'm led to believe this target hasn't seen much attention in quite a while. [1]: https://mail-index.netbsd.org/tech-toolchain/2021/06/16/msg003996.html bfd/ * config.bfd: Remove netbsdpe entry. binutils/ * configure.ac: Remove netbsdpe entry. * testsuite/lib/binutils-common.exp (is_pecoff_format): Likewise. * configure: Regenerate. gas/ * configure.tgt: Remove netbsdpe entry. gdb/ * configure.tgt: Add netbsdpe to removed targets. ld/ * configure.tgt: Remove netbsdpe entry. * testsuite/ld-bootstrap/bootstrap.exp: Likewise.
Diffstat (limited to 'ld')
-rw-r--r--ld/configure.tgt3
-rw-r--r--ld/testsuite/ld-bootstrap/bootstrap.exp3
2 files changed, 1 insertions, 5 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 6205d7c9872..6c535392183 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -347,9 +347,6 @@ i[3-7]86-*-openbsd*)
targ_emul=elf_i386
targ_extra_emuls="elf_iamcu"
;;
-i[3-7]86-*-netbsdpe*) targ_emul=i386pe
- targ_extra_ofiles="deffilep.o pe-dll.o"
- ;;
i[3-7]86-*-elfiamcu) targ_emul=elf_iamcu
targ_extra_emuls=elf_i386
;;
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp
index 9c27c5ff5d9..74582392010 100644
--- a/ld/testsuite/ld-bootstrap/bootstrap.exp
+++ b/ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -216,8 +216,7 @@ foreach flags $test_flags {
|| [istarget "*-*-winnt*"]
|| [istarget "*-*-mingw*"]
|| [istarget "*-*-interix*"]
- || [istarget "*-*-beospe*"]
- || [istarget "*-*-netbsdpe*"]} {
+ || [istarget "*-*-beospe*"]} {
# Trim off the date present in PE binaries by only looking
# at the ends of the files
# Although this works, a way to set the date would be better.