This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[lto] PATCH: disable name transformation of ltrans-driver


This patch from Diego removes the transformation of the ltrans-driver
program name.  This was breaking cross compilers by incorrectly
prefixing ltrans-driver with the target architecture.

Tested manually with a cross compiled compiler and submitted as "obvious."

Ollie


2008-10-14  Diego Novillo  <dnovillo@google.com>

       * Make-lang.in (LTRANS_DRIVER_INSTALL_NAME): Disable transformation
       of program name.
commit 56ec6fdb2483ebdf4c05185c1560a98c30a3eeb1
Author: aaw <aaw@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Tue Oct 14 22:21:47 2008 +0000

    gcc/lto/ChangeLog
    
    2008-10-14  Diego Novillo  <dnovillo@google.com>
    
    	* Make-lang.in (LTRANS_DRIVER_INSTALL_NAME): Disable transformation
    	of program name.
    
    
    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/lto@141119 138bc75d-0d04-0410-961f-82ee72b054a4

diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index d6fc084..c021146 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-14  Diego Novillo  <dnovillo@google.com>
+
+	* Make-lang.in (LTRANS_DRIVER_INSTALL_NAME): Disable transformation
+	of program name.
+
 2008-10-13  Ollie Wild  <aaw@google.com>
 
 	* lang-spec.h (@lto): Replace lto1_options with cc1_options.
diff --git a/gcc/lto/Make-lang.in b/gcc/lto/Make-lang.in
index 49f0343..ab3794e 100644
--- a/gcc/lto/Make-lang.in
+++ b/gcc/lto/Make-lang.in
@@ -31,8 +31,7 @@ LTO_OBJS = lto/lto-lang.o lto/lto.o lto/lto-elf.o \
 LTO_H = lto/lto.h lto-header.h $(LTO_SECTION_IN_H) $(LTO_SECTION_OUT_H) \
 	$(HASHTAB_H) $(TREE_H)
 
-LTRANS_DRIVER_INSTALL_NAME := $(shell echo ltrans-driver|\
-				      sed '$(program_transform_name)')
+LTRANS_DRIVER_INSTALL_NAME := ltrans-driver
 
 ########################################################################
 # Rules

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]