[llvm-commits] CVS: llvm-gcc/gcc/config/rs6000/sysv4.h t-ppccomm

Chris Lattner lattner at cs.uiuc.edu
Fri Dec 23 09:29:33 PST 2005



Changes in directory llvm-gcc/gcc/config/rs6000:

sysv4.h updated: 1.1.1.2 -> 1.2
t-ppccomm updated: 1.1.1.1 -> 1.2
---
Log message:

get llvmgcc building on ppc-linux and ppc-linux64.  Thanks to 
Marco Matthies for the patch!


---
Diffs of the changes:  (+8 -8)

 sysv4.h   |    8 ++++----
 t-ppccomm |    8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)


Index: llvm-gcc/gcc/config/rs6000/sysv4.h
diff -u llvm-gcc/gcc/config/rs6000/sysv4.h:1.1.1.2 llvm-gcc/gcc/config/rs6000/sysv4.h:1.2
--- llvm-gcc/gcc/config/rs6000/sysv4.h:1.1.1.2	Tue Jan 13 10:49:54 2004
+++ llvm-gcc/gcc/config/rs6000/sysv4.h	Fri Dec 23 11:29:21 2005
@@ -978,7 +978,7 @@
   msim         : crtsavres.o%s        %(endfile_sim)         ; \
   mwindiss     :                      %(endfile_windiss)     ; \
   mcall-freebsd: crtsavres.o%s        %(endfile_freebsd)     ; \
-  mcall-linux  : crtsavres.o%s        %(endfile_linux)       ; \
+  mcall-linux  :                      %(endfile_linux)       ; \
   mcall-gnu    : crtsavres.o%s        %(endfile_gnu)         ; \
   mcall-netbsd : crtsavres.o%s        %(endfile_netbsd)      ; \
                : %(crtsavres_default) %(endfile_default)     }"
@@ -1071,17 +1071,17 @@
 #ifdef HAVE_LD_PIE
 #define	STARTFILE_LINUX_SPEC "\
 %{!shared: %{pg|p:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
-%{mnewlib:ecrti.o%s;:crti.o%s} \
+%{mnewlib:crti.o%s} \
 %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
 #else
 #define	STARTFILE_LINUX_SPEC "\
 %{!shared: %{pg|p:gcrt1.o%s;:crt1.o%s}} \
-%{mnewlib:ecrti.o%s;:crti.o%s} \
+%{mnewlib:crti.o%s} \
 %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
 #endif
 
 #define	ENDFILE_LINUX_SPEC "%{!shared:crtend.o%s} %{shared:crtendS.o%s} \
-%{mnewlib: ecrtn.o%s} %{!mnewlib: crtn.o%s}"
+%{mnewlib: } %{!mnewlib: crtn.o%s}"
 
 #define LINK_START_LINUX_SPEC ""
 


Index: llvm-gcc/gcc/config/rs6000/t-ppccomm
diff -u llvm-gcc/gcc/config/rs6000/t-ppccomm:1.1.1.1 llvm-gcc/gcc/config/rs6000/t-ppccomm:1.2
--- llvm-gcc/gcc/config/rs6000/t-ppccomm:1.1.1.1	Thu Jan  8 15:58:52 2004
+++ llvm-gcc/gcc/config/rs6000/t-ppccomm	Fri Dec 23 11:29:21 2005
@@ -16,10 +16,10 @@
 MULTILIB_MATCHES_SYSV	= mcall-sysv=mcall-sysv-eabi mcall-sysv=mcall-sysv-noeabi mcall-sysv=mcall-linux mcall-sysv=mcall-netbsd
 
 EXTRA_MULTILIB_PARTS = crtbegin$(objext) crtend$(objext) \
-  crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext) \
-  ecrti$(objext) ecrtn$(objext) \
-  ncrti$(objext) ncrtn$(objext) \
-  crtsavres$(objext)
+  crtbeginS$(objext) crtendS$(objext) crtbeginT$(objext)
+#  ecrti$(objext) ecrtn$(objext) \
+#  ncrti$(objext) ncrtn$(objext) \
+#  crtsavres$(objext)
 
 # We build {e,n}crti.o and {e,n}crtn.o, which serve to add begin and
 # end labels to all of the special sections used when we link using gcc.






More information about the llvm-commits mailing list