[PATCH] ld: avoid install ldscripts/stamp

Zhongteng Gui <[email protected]> Wed, 29 Jul 2026 17:04:26 +0800
Newsgroups gmane.comp.gnu.binutils
Message-ID <SL2P216MB22712048BFD9787E6B385D59EFCA2@SL2P216MB2271.KORP216.PROD.OUTLOOK.COM>
This patch fixes a mistake from 07f9535fd97025705f17b65f39f6d7d6f0633add,
which actually failed to exclude ldscripts/stamp from install.

	* Makefile.am (install-data-local): Exclude ldscripts/stamp from
	install.
	* Makefile.in: Regenerate.

Signed-off-by: Zhongteng Gui <[email protected]>
---
  ld/Makefile.am | 2 +-
  ld/Makefile.in | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ld/Makefile.am b/ld/Makefile.am
index 3ae3d7f14f6..9c5f7aeb9af 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -798,7 +798,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
  	$(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
  	for f in ldscripts/* ; do \
  	  case $$f in \
-	    stamp) ;; \
+	    ldscripts/stamp) ;; \
  	    *) $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
  	  esac \
  	done
diff --git a/ld/Makefile.in b/ld/Makefile.in
index d879f04a17c..ac252c5b742 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -2461,7 +2461,7 @@ install-data-local: install-bfdpluginLTLIBRARIES
  	$(mkinstalldirs) $(DESTDIR)$(scriptdir)/ldscripts
  	for f in ldscripts/* ; do \
  	  case $$f in \
-	    stamp) ;; \
+	    ldscripts/stamp) ;; \
  	    *) $(INSTALL_DATA) $$f $(DESTDIR)$(scriptdir)/$$f ; \
  	  esac \
  	done
-- 
2.55.0.windows.3