1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-29 11:24:36 +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_32:
case R_X86_64_32S: case R_X86_64_32S:
rel_types[i] = R_ABS; rel_types[i] = R_ABS;
if (config.pie && sym.is_imported) if (sym.is_imported)
sym.flags |= is_code ? NEEDS_PLT : NEEDS_COPYREL; sym.flags |= is_code ? NEEDS_PLT : NEEDS_COPYREL;
break; break;
case R_X86_64_64: case R_X86_64_64: