mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-22 09:29:31 +00:00
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
This commit is contained in:
parent
a40b3522c8
commit
256d839eed
@ -153,8 +153,7 @@ ld_plugin_status onload(ld_plugin_tv *tv) {
|
|||||||
switch (tv->tv_u.tv_val) {
|
switch (tv->tv_u.tv_val) {
|
||||||
case LDPO_REL: // .o
|
case LDPO_REL: // .o
|
||||||
case LDPO_DYN: // .so
|
case LDPO_DYN: // .so
|
||||||
// FIXME: Replace 3 with LDPO_PIE once that is in a released binutils.
|
case LDPO_PIE: // position independent executable
|
||||||
case 3: // position independent executable
|
|
||||||
output_type = LTO_CODEGEN_PIC_MODEL_DYNAMIC;
|
output_type = LTO_CODEGEN_PIC_MODEL_DYNAMIC;
|
||||||
break;
|
break;
|
||||||
case LDPO_EXEC: // .exe
|
case LDPO_EXEC: // .exe
|
||||||
|
Loading…
Reference in New Issue
Block a user