projects
/
external
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee9e9e8
)
Adjust PLTOFF64 calculation.
author
Ian Lance Taylor
<iant@google.com>
Tue, 30 Oct 2007 04:23:19 +0000
(
04:23
+0000)
committer
Ian Lance Taylor
<iant@google.com>
Tue, 30 Oct 2007 04:23:19 +0000
(
04:23
+0000)
gold/x86_64.cc
patch
|
blob
|
history
diff --git
a/gold/x86_64.cc
b/gold/x86_64.cc
index
158090c
..
a90f8f4
100644
(file)
--- a/
gold/x86_64.cc
+++ b/
gold/x86_64.cc
@@
-1265,8
+1265,8
@@
Target_x86_64::Relocate::relocate(const Relocate_info<64, false>* relinfo,
|| gsym->final_value_is_known());
elfcpp::Elf_types<64>::Elf_Addr got_address;
got_address = target->got_section(NULL, NULL)->address();
-
Relocate_functions<64, false>::pcrela64(view, object, psymval, addend
,
-
- got_address);
+
Relocate_functions<64, false>::rela64(view, object, psymval
,
+
addend
- got_address);
}
case elfcpp::R_X86_64_GOT32: