1
1
mirror of https://github.com/rui314/mold.git synced 2024-12-25 17:34:02 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-11-18 11:02:43 +09:00
parent d8c7784078
commit 43d0450150
2 changed files with 2 additions and 1 deletions

View File

@ -41,6 +41,7 @@ void InputSection::copy_buf() {
switch (rel.getType(false)) {
case R_X86_64_NONE:
case R_X86_64_DTPOFF32:
break;
case R_X86_64_64:
*(u64 *)loc = S + A;
@ -127,6 +128,7 @@ void InputSection::scan_relocations() {
case R_X86_64_PC32:
case R_X86_64_PC64:
case R_X86_64_TPOFF32:
case R_X86_64_DTPOFF32:
break;
case R_X86_64_GOT32:
case R_X86_64_GOTPC32:

View File

@ -361,7 +361,6 @@ static void scan_rels() {
sym->reldyn_idx = reldyn_idx;
if (sym->flags & Symbol::NEEDS_GOT) {
llvm::outs() << "got=" << sym->name << "\n";
sym->got_idx = got_idx++;
if (!config.is_static) {