X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fgold%2FREADME.txt;h=a906a9083ec4c9c563219029f8fd94fe6acd6efe;hb=a75ce9f5d2236d93c117e861e60e6f3f748c9555;hp=92ee3d16afb4b665dbf2dacccd355217ca850787;hpb=1845d990411933f6bf6f92b28913cc7383a66835;p=oota-llvm.git diff --git a/tools/gold/README.txt b/tools/gold/README.txt index 92ee3d16afb..a906a9083ec 100644 --- a/tools/gold/README.txt +++ b/tools/gold/README.txt @@ -14,8 +14,8 @@ Then build binutils with "make all-gold". To build the LLVMgold plugin, configure LLVM with the option --with-binutils-include=/path/to/binutils/src/include/ --enable-pic. To use the -plugin, run "ld-new --plugin /path/to/libLLVMgold.so". -Without PIC libLTO and libLLVMgold are not being built (because they would fail +plugin, run "ld-new --plugin /path/to/LLVMgold.so". +Without PIC libLTO and LLVMgold are not being built (because they would fail link on x86-64 with a relocation error: PIC and non-PIC can't be combined). As an alternative to passing --enable-pic, you can use 'make ENABLE_PIC=1' in your entire LLVM build.