]> granicus.if.org Git - llvm/commitdiff
Remove an incorrect fixme.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Jun 2014 19:45:25 +0000 (19:45 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 19 Jun 2014 19:45:25 +0000 (19:45 +0000)
dynamic-no-pic is just another output type. If gnu ld gets support for MachO,
it should also add something like LDPO_DYN_NO_PIC to the plugin interface.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211305 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gold/gold-plugin.cpp

index 371574f26156255286f400f71d8f629649e4853d..a056c61817cf3d20f19f8ac659a6af3cbaa746a3 100644 (file)
@@ -169,8 +169,6 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
                        tv->tv_u.tv_val);
             return LDPS_ERR;
         }
-        // TODO: add an option to disable PIC.
-        //output_type = LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC;
         break;
       case LDPT_OPTION:
         options::process_plugin_option(tv->tv_u.tv_string);