summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-10 20:38:38 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-10 20:38:38 +0000
commit256d839eedfac03008ccec99add2df5ad07184f7 (patch)
tree7827ab51598a627a2b4cd1ec7f9e06a432449503 /tools
parenta40b3522c82f5684a8a2c59a631b8c445288f6e1 (diff)
downloadllvm-256d839eedfac03008ccec99add2df5ad07184f7.tar.gz
llvm-256d839eedfac03008ccec99add2df5ad07184f7.tar.bz2
llvm-256d839eedfac03008ccec99add2df5ad07184f7.tar.xz
Fix an old FIXME. LDPO_PIE is available since 2.23, realeased 2012-10-22.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/gold/gold-plugin.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/gold/gold-plugin.cpp b/tools/gold/gold-plugin.cpp
index e194038b7d..b48617f109 100644
--- a/tools/gold/gold-plugin.cpp
+++ b/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