* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
TOC_BASE_OFF adjustment.
This commit is contained in:
parent
c0ef99a773
commit
60ee0d4a8b
@ -1,5 +1,8 @@
|
||||
2002-01-22 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
|
||||
TOC_BASE_OFF adjustment.
|
||||
|
||||
* Makefile.am: Run "make dep-am".
|
||||
* Makefile.in: Regenerate.
|
||||
* po/SRC-POTFILES.in: Regenerate.
|
||||
|
@ -4384,7 +4384,7 @@ ppc64_elf_finish_dynamic_sections (output_bfd, info)
|
||||
/* Fill in the first entry in the global offset table.
|
||||
We use it to hold the link-time TOCbase. */
|
||||
bfd_put_64 (output_bfd,
|
||||
elf_gp (output_bfd) - TOC_BASE_OFF,
|
||||
elf_gp (output_bfd) + TOC_BASE_OFF,
|
||||
htab->sgot->contents);
|
||||
|
||||
/* Set .got entry size. */
|
||||
|
Loading…
Reference in New Issue
Block a user