summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/README.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-02 01:24:34 +0000
committerChris Lattner <sabre@nondot.org>2009-07-02 01:24:34 +0000
commitc4b0b400b0546aab03be16b8fe1dd27e2fbb041c (patch)
treee3f290e04c2bb3566bfd552f045bee7e8c1afb67 /lib/Target/PowerPC/README.txt
parentaf4550f8265885bdf99b3b3f129f3e6fd24a41e5 (diff)
downloadllvm-c4b0b400b0546aab03be16b8fe1dd27e2fbb041c.tar.gz
llvm-c4b0b400b0546aab03be16b8fe1dd27e2fbb041c.tar.bz2
llvm-c4b0b400b0546aab03be16b8fe1dd27e2fbb041c.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/README.txt')
-rw-r--r--lib/Target/PowerPC/README.txt9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Target/PowerPC/README.txt b/lib/Target/PowerPC/README.txt
index 1341c66f26..6e9e6c74e8 100644
--- a/lib/Target/PowerPC/README.txt
+++ b/lib/Target/PowerPC/README.txt
@@ -183,9 +183,10 @@ void bar() { struct foo R = { 1.0, 2.0 }; xxx(R); }
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 @@ which only computes the address of bar once (instead of each time through the
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: