Properly install gold/ld as default cross linker.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 27 Apr 2010 16:05:54 +0000 (16:05 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 27 Apr 2010 16:05:54 +0000 (16:05 +0000)
gold/

2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (install-exec-local): Properly install gold as
default cross linker.
* Makefile.in: Regenerated.

ld/

2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.am (install-exec-local): Properly install ld as
default cross linker.
* Makefile.in: Regenerated.

gold/ChangeLog
gold/Makefile.am
gold/Makefile.in
ld/ChangeLog
ld/Makefile.am
ld/Makefile.in

index 714998b76c6a1b9a134785b99c15ea2a8a0d175a..979901f18f5d76313dc3e0bd5ba9cd50951e7660 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (install-exec-local): Properly install gold as
+       default cross linker.
+       * Makefile.in: Regenerated.
+
 2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
            Nick Clifton  <nickc@redhat.com>
 
index a24e185669ab4036e3d25c78435a25965e9cda28..df5e66c6b545ee7484e41b5770eaade17a944d62 100644 (file)
@@ -186,9 +186,10 @@ install-exec-local: ld-new$(EXEEXT)
          || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
        fi; \
        if test "x$(install_as_default)" = "xyes"; then \
-         rm -f $(DESTDIR)$(bindir)/ld$(EXEEXT); \
-         ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT) >/dev/null 2>/dev/null \
-         || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT); \
+         ld=`echo ld | sed '$(transform)'`; \
+         rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
+         ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \
+         || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
          if test "$(bindir)" != "$(tooldir)/bin"; then \
            rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
            ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
index 13c71cac96ddd5f76dd2dd87e5e8cdf4eddd1c0c..2fc2eca1f20ceaa345c3ead83ae4e55229a3d028 100644 (file)
@@ -1012,9 +1012,10 @@ install-exec-local: ld-new$(EXEEXT)
          || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
        fi; \
        if test "x$(install_as_default)" = "xyes"; then \
-         rm -f $(DESTDIR)$(bindir)/ld$(EXEEXT); \
-         ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT) >/dev/null 2>/dev/null \
-         || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT); \
+         ld=`echo ld | sed '$(transform)'`; \
+         rm -f $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
+         ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT) >/dev/null 2>/dev/null \
+         || $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$${ld}$(EXEEXT); \
          if test "$(bindir)" != "$(tooldir)/bin"; then \
            rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
            ln $(DESTDIR)$(bindir)/$${n}$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
index 36559b2e51c9b893edcebf8592d53790c810e4e3..ad61f059139e1b02e1a4ddc94e3cb23788fe6d5b 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (install-exec-local): Properly install ld as
+       default cross linker.
+       * Makefile.in: Regenerated.
+
 2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
            Nick Clifton  <nickc@redhat.com>
 
index 91349719a648d81cb47052bfbe44035f924c6bf9..3896fdadb896b2cc34cc32e63e6d7adea7bfab57 100644 (file)
@@ -2004,9 +2004,10 @@ install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
          || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
        fi; \
        if test "x$(install_as_default)" = "xyes"; then \
-         rm -f $(DESTDIR)$(bindir)/ld$(EXEEXT); \
-         ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT) >/dev/null 2>/dev/null \
-         || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT); \
+         ld=`echo ld | sed '$(transform)'`; \
+         rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
+         ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
+         || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
          if test "$(bindir)" != "$(tooldir)/bin"; then \
            rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
            ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \
index 3b53c905bdfd01163cc4a2699111c672122fd798..4c2f2bf272114a60476f39b50278c87455efcdb9 100644 (file)
@@ -3331,9 +3331,10 @@ install-exec-local: ld-new$(EXEEXT) install-binPROGRAMS
          || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(tooldir)/bin/$(installed_linker)$(EXEEXT); \
        fi; \
        if test "x$(install_as_default)" = "xyes"; then \
-         rm -f $(DESTDIR)$(bindir)/ld$(EXEEXT); \
-         ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT) >/dev/null 2>/dev/null \
-         || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/ld$(EXEEXT); \
+         ld=`echo ld | sed '$(transform)'`; \
+         rm -f $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
+         ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT) >/dev/null 2>/dev/null \
+         || $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) ld-new$(EXEEXT) $(DESTDIR)$(bindir)/$$ld$(EXEEXT); \
          if test "$(bindir)" != "$(tooldir)/bin"; then \
            rm -f $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT); \
            ln $(DESTDIR)$(bindir)/$$n$(EXEEXT) $(DESTDIR)$(tooldir)/bin/ld$(EXEEXT) >/dev/null 2>/dev/null \