mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
* i386.cc (Relocate::relocate): Fix typos for R_386_PC16 and
R_386_PC8 relocations.
This commit is contained in:
parent
f6829a452a
commit
d09e9154cf
@ -1,3 +1,8 @@
|
||||
2008-04-28 Cary Coutant <ccoutant@google.com>
|
||||
|
||||
* i386.cc (Relocate::relocate): Fix typos for R_386_PC16 and
|
||||
R_386_PC8 relocations.
|
||||
|
||||
2008-04-23 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* object.cc (Sized_relobj::include_section_group): Check for
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user