[patch] Don't produce stubs on darwin x86
Evan Cheng
evan.cheng at apple.com
Wed Dec 4 09:51:52 PST 2013
On Dec 3, 2013, at 7:28 AM, Rafael EspĂndola <rafael.espindola at gmail.com> wrote:
> 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.
The new compiler still needs to be able to produce code that deploys back to 10.5. The newer linker will synthesize the stubs. I think you are right that the code will still run. But it would be nice to be able to verify it.
Evan
>
> 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
> <tests.patch><code.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list