From d1b4f15e493b34f9664de09b3a7e9317762c4c65 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 12 Jan 2021 12:35:24 +0900 Subject: [PATCH] temporary --- mold.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mold.h b/mold.h index 0a7fd1b1..55843174 100644 --- a/mold.h +++ b/mold.h @@ -1013,7 +1013,7 @@ inline u64 Symbol::get_addr() const { return input_section->get_addr() + value; } - if (file && file->is_dso && copyrel_offset == -1) + if (file && file->is_dso) return get_plt_addr(); return value;