1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-28 02:44:48 +03:00

temporary

This commit is contained in:
Rui Ueyama 2021-01-13 21:57:54 +09:00
parent cfb3416e68
commit 52dadcff3c

View File

@ -291,7 +291,7 @@ void InputSection::scan_relocations() {
case R_X86_64_32:
case R_X86_64_32S:
rel_types[i] = R_ABS;
if (config.pie && sym.is_imported)
if (sym.is_imported)
sym.flags |= is_code ? NEEDS_PLT : NEEDS_COPYREL;
break;
case R_X86_64_64: