diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-10 20:38:38 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-02-10 20:38:38 +0000 |
commit | 76e376d30a299ef25bed79d19ac2f8ed434a3fef (patch) | |
tree | e13a889818e806403e9efb4633d49849ba66914a /llvm/tools | |
parent | 20d93679c75d35d37e3b8a819e8777c6e5c154e7 (diff) | |
download | bcm5719-llvm-76e376d30a299ef25bed79d19ac2f8ed434a3fef.tar.gz bcm5719-llvm-76e376d30a299ef25bed79d19ac2f8ed434a3fef.zip |
Fix an old FIXME. LDPO_PIE is available since 2.23, realeased 2012-10-22.
llvm-svn: 201110
Diffstat (limited to 'llvm/tools')
-rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index e194038b7d8..b48617f1096 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -153,8 +153,7 @@ ld_plugin_status onload(ld_plugin_tv *tv) { switch (tv->tv_u.tv_val) { case LDPO_REL: // .o case LDPO_DYN: // .so - // FIXME: Replace 3 with LDPO_PIE once that is in a released binutils. - case 3: // position independent executable + case LDPO_PIE: // position independent executable output_type = LTO_CODEGEN_PIC_MODEL_DYNAMIC; break; case LDPO_EXEC: // .exe |