diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-07 12:45:29 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-07 12:45:29 +0000 |
commit | 87e226ce8138ef1f7707fda1667c0d64e242b7f0 (patch) | |
tree | ce68b6270b011421fe46d4bc34314fb3e1e9f9df /bfd | |
parent | b46c169191253cf4e2ca32ca4be9ad4b019e2a24 (diff) | |
download | gdb-87e226ce8138ef1f7707fda1667c0d64e242b7f0.zip gdb-87e226ce8138ef1f7707fda1667c0d64e242b7f0.tar.gz gdb-87e226ce8138ef1f7707fda1667c0d64e242b7f0.tar.bz2 |
* elf64-ppc.c: Comment typo fixes.
(ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-ppc.c | 13 |
2 files changed, 12 insertions, 6 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index c852a28..d97edd2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-11-07 Alan Modra <amodra@bigpond.net.au> + + * elf64-ppc.c: Comment typo fixes. + (ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input. + 2002-11-07 Nick Clifton <nickc@redhat.com> * po/da.po: Updated Danish translation. diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index da7c53f..e92c997 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -1658,6 +1658,7 @@ ppc64_elf_merge_private_bfd_data (ibfd, obfd) { /* Check if we have the same endianess. */ if (ibfd->xvec->byteorder != obfd->xvec->byteorder + && ibfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN && obfd->xvec->byteorder != BFD_ENDIAN_UNKNOWN) { const char *msg; @@ -1785,19 +1786,19 @@ struct ppc_dyn_relocs ppc_stub_plt_branch: Similar to the above, but a 24 bit branch in the stub section won't reach its destination. - . addis %r12,%r2,xxx@ha - . ld %r11,xxx@l(%r12) + . addis %r12,%r2,xxx@toc@ha + . ld %r11,xxx@toc@l(%r12) . mtctr %r11 . bctr ppc_stub_plt_call: Used to call a function in a shared library. - . addis %r12,%r2,xxx@ha + . addis %r12,%r2,xxx@toc@ha . std %r2,40(%r1) - . ld %r11,xxx+0@l(%r12) - . ld %r2,xxx+8@l(%r12) + . ld %r11,xxx+0@toc@l(%r12) + . ld %r2,xxx+8@toc@l(%r12) . mtctr %r11 - . ld %r11,xxx+16@l(%r12) + . ld %r11,xxx+16@toc@l(%r12) . bctr */ |