[llvm-commits] [PATCH]: fixing clang Targets.cpp for PPC

Roman Divacky rdivacky at freebsd.org
Tue Oct 5 11:21:58 CDT 2010


hi,

the attached patch fixes two things

1) it defines the width/alignment of bool to be 32 (on Darwin)
   and 8 everywhere else

2) it changes the definition of va list declaration on ppc32
   for sysv/eabi ABIs

this patch was developed by FreeBSD PowerPC developer Nathan
Whitehorn and enabled him to compile most of FreeBSD.

fwiw - the only missing thing is va_arg() implementation


thank you for review, Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-targets.diff
Type: text/x-diff
Size: 3368 bytes
Desc: not available
Url : http://lists.cs.uiuc.edu/pipermail/llvm-commits/attachments/20101005/3eb946ac/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.cs.uiuc.edu/pipermail/llvm-commits/attachments/20101005/3eb946ac/attachment-0001.bin 


More information about the llvm-commits mailing list