https://gcc.gnu.org/g:2fc7611e0cb7aeaa650e1b93b30e834ad408d0bd

commit r17-2442-g2fc7611e0cb7aeaa650e1b93b30e834ad408d0bd
Author: Rainer Orth <[email protected]>
Date:   Thu Jul 16 10:21:24 2026 +0200

    Remove netbsd_link_ld_elf_so spec
    
    The netbsd_link_ld_elf_so spec is unused, probably due to the removal of
    NetBSD a.out support, so this patch removes it.
    
    Bootstrapped without regressions on amd64-pc-netbsd10.1.
    
    2026-07-15  Rainer Orth  <[email protected]>
    
            gcc:
            * config/netbsd-elf.h (NETBSD_LINK_LD_ELF_SO_SPEC): Remove.
            (NETBSD_SUBTARGET_EXTRA_SPECS): Remove netbsd_link_ld_elf_so.

Diff:
---
 gcc/config/netbsd-elf.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/gcc/config/netbsd-elf.h b/gcc/config/netbsd-elf.h
index 213ea3891395..8a41aee7d7fe 100644
--- a/gcc/config/netbsd-elf.h
+++ b/gcc/config/netbsd-elf.h
@@ -73,9 +73,6 @@ along with GCC; see the file COPYING3.  If not see
 
    Target-specific code must provide the %(netbsd_entry_point) spec.  */
 
-#define NETBSD_LINK_LD_ELF_SO_SPEC \
-  "%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}"
-
 #define NETBSD_LINK_SPEC_ELF \
   "%{assert*} %{R*} %{rpath*} \
    %{shared:-shared} \
@@ -92,7 +89,6 @@ along with GCC; see the file COPYING3.  If not see
 
 /* Provide the standard list of subtarget extra specs for NetBSD targets.  */
 #define NETBSD_SUBTARGET_EXTRA_SPECS \
-  { "netbsd_link_ld_elf_so",    NETBSD_LINK_LD_ELF_SO_SPEC }, \
   { "netbsd_cpp_spec",          NETBSD_CPP_SPEC }, \
   { "netbsd_link_spec",         NETBSD_LINK_SPEC_ELF }, \
   { "netbsd_entry_point",       NETBSD_ENTRY_POINT }, \

Reply via email to