summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-11-01 22:57:23 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-11-01 22:57:23 +0000
commit697553d8b653b4f9bc86c2cda314fff5abe97318 (patch)
treeb550edb0f0c05c94f2222f548da115e16e7ac187
parentdcf78f18a0ffee6be816637557cba3506a00daa2 (diff)
downloadbinutils-redhat-gdb_6_4-2005-11-01-branchpoint.tar.gz
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required parentheses.
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf32-m68k.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index db253d2c94..f4549c3045 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-02 Alan Modra <amodra@bigpond.net.au>
+
+ PR ld/1775
+ * elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required
+ parentheses.
+
2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 589dccfb35..fec2bbb460 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -1871,7 +1871,7 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
+ got_offset
- (splt->output_section->vma
+ h->plt.offset
- + CFV4E_FLAG (output_bfd) ? 8 : 2),
+ + (CFV4E_FLAG (output_bfd) ? 8 : 2)),
splt->contents + h->plt.offset + plt_off1);
bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
@@ -1884,7 +1884,7 @@ elf_m68k_finish_dynamic_symbol (output_bfd, info, h, sym)
(splt->output_section->vma
+ splt->output_offset
+ h->plt.offset
- + CFV4E_FLAG (output_bfd) ? 12 : 8),
+ + (CFV4E_FLAG (output_bfd) ? 12 : 8)),
sgot->contents + got_offset);
/* Fill in the entry in the .rela.plt section. */