[patch] Don't produce stubs on darwin x86

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Dec 3 07:28:04 PST 2013


The attached patches disable the production of stubs on darwin x86.
These were needed with older linkers, but Jim mentioned that using
older tools (about 6 years in this case I think) with current clang is
not supported.

The existing code also confuses the linker version with the OS being
targeted. My understanding is that with this patch it is still
possible to build code that will run on OS X 10.4, one just needs a
newer linker.

I have split the test is two to make it clear that there is no
functionality change with triples that use darwin9 and newer.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.patch
Type: application/octet-stream
Size: 8932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131203/26dc880a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code.patch
Type: application/octet-stream
Size: 7195 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131203/26dc880a/attachment-0001.obj>


More information about the llvm-commits mailing list