[llvm-commits] [llvm] r74682 - /llvm/trunk/lib/Target/PowerPC/README.txt

Chris Lattner sabre at nondot.org
Wed Jul 1 18:24:34 PDT 2009


Author: lattner
Date: Wed Jul  1 20:24:34 2009
New Revision: 74682

URL: http://llvm.org/viewvc/llvm-project?rev=74682&view=rev
Log:
clarify: stub emission depends on the version of the linker you use, it has nothing
to do with the target.  Also, the stub elimination optimization *requires* making the
stub explicit.

Modified:
    llvm/trunk/lib/Target/PowerPC/README.txt

Modified: llvm/trunk/lib/Target/PowerPC/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/README.txt?rev=74682&r1=74681&r2=74682&view=diff

==============================================================================
--- llvm/trunk/lib/Target/PowerPC/README.txt (original)
+++ llvm/trunk/lib/Target/PowerPC/README.txt Wed Jul  1 20:24:34 2009
@@ -183,9 +183,10 @@
 Darwin Stub removal:
 
 We still generate calls to foo$stub, and stubs, on Darwin.  This is not
-necessary on Leopard (10.5) or later, as stubs are generated by ld when
-necessary.  The choice should depend on the value of -mmacosx-version-min.
-x86-32 does this right, see its logic.
+necessary when building with the Leopard (10.5) or later linker, as stubs are
+generated by ld when necessary.  Parameterizing this based on the deployment
+target (-mmacosx-version-min) is probably enough.  x86-32 does this right, see
+its logic.
 
 ===-------------------------------------------------------------------------===
 
@@ -205,8 +206,6 @@
 stub).  This is Darwin specific and would have to be done in the code generator.
 Probably not a win on x86.
 
-Note that removing stubs altogether, as in the previous item, is better yet.
-
 ===-------------------------------------------------------------------------===
 
 Simple IPO for argument passing, change:





More information about the llvm-commits mailing list