mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2013-01-31 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf64-ppc.c (build_plt_stub): Correct plt stub branch to glink.
|
||||||
|
|
||||||
2013-01-28 Alan Modra <amodra@gmail.com>
|
2013-01-28 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* elf64-ppc.c: Use %T to print symbols names and remove redundant
|
* elf64-ppc.c: Use %T to print symbols names and remove redundant
|
||||||
|
@ -9772,7 +9772,7 @@ build_plt_stub (struct ppc_link_hash_table *htab,
|
|||||||
{
|
{
|
||||||
bfd_put_32 (obfd, CMPLDI_R2_0, p), p += 4;
|
bfd_put_32 (obfd, CMPLDI_R2_0, p), p += 4;
|
||||||
bfd_put_32 (obfd, BNECTR_P4, p), p += 4;
|
bfd_put_32 (obfd, BNECTR_P4, p), p += 4;
|
||||||
bfd_put_32 (obfd, B_DOT + cmp_branch_off, p), p += 4;
|
bfd_put_32 (obfd, B_DOT | (cmp_branch_off & 0x3fffffc), p), p += 4;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
bfd_put_32 (obfd, BCTR, p), p += 4;
|
bfd_put_32 (obfd, BCTR, p), p += 4;
|
||||||
|
Reference in New Issue
Block a user