ld.so: Ignore DTPMOD, DTPOFF rather than bailing

This commit is contained in:
K. Lange 2022-03-21 09:34:46 +09:00
parent 5caf43d90a
commit c13c241c3b

View File

@ -522,6 +522,10 @@ static int object_relocate(elf_t * object) {
}
memcpy((void *)(table->r_offset + object->base), &x, sizeof(uintptr_t));
break;
case R_X86_64_DTPMOD64:
break;
case R_X86_64_DTPOFF64:
break;
#elif defined(__aarch64__)
case 1024: /* COPY */
memcpy((void *)(table->r_offset + object->base), (void *)x, sym->st_size);