Fix an old FIXME. LDPO_PIE is available since 2.23, realeased 2012-10-22.

llvm-svn: 201110
This commit is contained in:
Rafael Espindola 2014-02-10 20:38:38 +00:00
parent 20d93679c7
commit 76e376d30a
1 changed files with 1 additions and 2 deletions

View File

@ -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