projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0ef99a
)
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Correct sign of
author
Alan Modra
<amodra@gmail.com>
Tue, 22 Jan 2002 09:05:07 +0000
(09:05 +0000)
committer
Alan Modra
<amodra@gmail.com>
Tue, 22 Jan 2002 09:05:07 +0000
(09:05 +0000)
TOC_BASE_OFF adjustment.
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf64-ppc.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index ab767b928475c224e0366fdb979b883c13f70f55..3dc7b9d1edb32816156d0265507c7e30adc64b6f 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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.
diff --git
a/bfd/elf64-ppc.c
b/bfd/elf64-ppc.c
index d6b75db74949f8b34c5ffea3f16ed5bb64af200c..17d6d0ad95342756a64fe089fb77b2c65f571a15 100644
(file)
--- a/
bfd/elf64-ppc.c
+++ b/
bfd/elf64-ppc.c
@@
-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. */