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

2006-01-03 Thread Chris Lattner

On Tue, 3 Jan 2006, Marco Matthies wrote:

Chris Lattner wrote:

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!


To my shame i found out over the holidays that when i compiled it on 
ppc64-linux it got compiled as a ppc32 executable.  I'll try and get it 
compiled and linked as a 64-bit executable to confirm if it also works on 
ppc64, though i cannot exactly tell when i'll get to it.


Note that the LLVM native code generator doesn't support PPC64 yet.  I 
don't know if that is something you're interested in.  PPC32 should be 
close to working, but may need some minor hacking on the asmprinter to 
emit ELF .s files.


-Chris

--
http://nondot.org/sabre/
http://llvm.org/

___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2006-01-03 Thread Marco Matthies

Chris Lattner wrote:

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!


To my shame i found out over the holidays that when i compiled it on 
ppc64-linux it got compiled as a ppc32 executable.  I'll try and get it 
compiled and linked as a 64-bit executable to confirm if it also works 
on ppc64, though i cannot exactly tell when i'll get to it.


Marco

___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


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

2005-12-23 Thread Chris Lattner


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
 #defineSTARTFILE_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
 #defineSTARTFILE_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
 
 #defineENDFILE_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.1Thu Jan  8 15:58:52 2004
+++ llvm-gcc/gcc/config/rs6000/t-ppccommFri 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.



___
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits