1*9880d681SAndroid Build Coastguard WorkerThe LLVM Gold LTO Plugin 2*9880d681SAndroid Build Coastguard Worker======================== 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard WorkerThis directory contains a plugin that is designed to work with binutils 5*9880d681SAndroid Build Coastguard Workergold linker. At present time, this is not the default linker in 6*9880d681SAndroid Build Coastguard Workerbinutils, and the default build of gold does not support plugins. 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard WorkerSee docs/GoldPlugin.html for complete build and usage instructions. 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard WorkerNOTE: libLTO and LLVMgold aren't built without PIC because they would fail 11*9880d681SAndroid Build Coastguard Workerto link on x86-64 with a relocation error: PIC and non-PIC can't be combined. 12*9880d681SAndroid Build Coastguard WorkerAs an alternative to passing --enable-pic, you can use 'make ENABLE_PIC=1' in 13*9880d681SAndroid Build Coastguard Workeryour entire LLVM build. 14