forked from Imagelibrary/binutils-gdb
Fix "PowerPC64 ELFv2 entry code" for big-endian
bfd/ * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch for big-endian. gold/ * powerpc.cc (relocate): Adjust last patch for big-endian.
This commit is contained in:
@@ -7727,7 +7727,7 @@ Target_powerpc<size, big_endian>::Relocate::relocate(
|
||||
&& preloc != NULL
|
||||
&& target->abiversion() >= 2
|
||||
&& !parameters->options().output_is_position_independent()
|
||||
&& rela.get_r_addend() == 4
|
||||
&& rela.get_r_addend() == d_offset + 4
|
||||
&& gsym != NULL
|
||||
&& strcmp(gsym->name(), ".TOC.") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user