Sanity checking 04f77881d0

This commit is contained in:
no name
2020-07-18 19:13:50 +00:00
committed by oddcoder
parent 4d982f86b2
commit 40acadc7d5
+5 -1
View File
@@ -694,7 +694,11 @@ impl Linker {
set_u64(tm as u64);
}
reloc::R_X86_64_DTPOFF64 => {
set_u64((s - b) as u64);
if s != 0 {
set_u64((s - b) as u64);
} else {
set_u64(s as u64);
}
}
reloc::R_X86_64_GLOB_DAT | reloc::R_X86_64_JUMP_SLOT => {
set_u64(s as u64);