diff options
author | Cary Coutant <ccoutant@google.com> | 2008-04-28 23:09:21 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2008-04-28 23:09:21 +0000 |
commit | d09e9154cf11bb55dd6a758e86a264fa048e5046 (patch) | |
tree | e1ac0a8315c410029bc6390db0883c0fe2dc4273 /gold/i386.cc | |
parent | f6829a452ab53b0586b896251e4317527cbe480f (diff) | |
download | gdb-d09e9154cf11bb55dd6a758e86a264fa048e5046.zip gdb-d09e9154cf11bb55dd6a758e86a264fa048e5046.tar.gz gdb-d09e9154cf11bb55dd6a758e86a264fa048e5046.tar.bz2 |
* i386.cc (Relocate::relocate): Fix typos for R_386_PC16 and
R_386_PC8 relocations.
Diffstat (limited to 'gold/i386.cc')
-rw-r--r-- | gold/i386.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/i386.cc b/gold/i386.cc index dcd4c03..6fb096e 100644 --- a/gold/i386.cc +++ b/gold/i386.cc @@ -1663,7 +1663,7 @@ Target_i386::Relocate::relocate(const Relocate_info<32, false>* relinfo, if (gsym != NULL && gsym->type() == elfcpp::STT_FUNC) ref_flags |= Symbol::FUNCTION_CALL; if (should_apply_static_reloc(gsym, ref_flags, false)) - Relocate_functions<32, false>::pcrel32(view, object, psymval, address); + Relocate_functions<32, false>::pcrel16(view, object, psymval, address); } break; @@ -1678,7 +1678,7 @@ Target_i386::Relocate::relocate(const Relocate_info<32, false>* relinfo, if (gsym != NULL && gsym->type() == elfcpp::STT_FUNC) ref_flags |= Symbol::FUNCTION_CALL; if (should_apply_static_reloc(gsym, ref_flags, false)) - Relocate_functions<32, false>::pcrel32(view, object, psymval, address); + Relocate_functions<32, false>::pcrel8(view, object, psymval, address); } break; |