Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit d308c35

Browse files
committed
Remove an incorrect fixme.
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
1 parent d06976a commit d308c35

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/gold/gold-plugin.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,6 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
169169
tv->tv_u.tv_val);
170170
return LDPS_ERR;
171171
}
172-
// TODO: add an option to disable PIC.
173-
//output_type = LTO_CODEGEN_PIC_MODEL_DYNAMIC_NO_PIC;
174172
break;
175173
case LDPT_OPTION:
176174
options::process_plugin_option(tv->tv_u.tv_string);

0 commit comments

Comments
 (0)