aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m68k.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-11-01 22:57:23 +0000
committerAlan Modra <amodra@gmail.com>2005-11-01 22:57:23 +0000
commit966972ec70998a7ad2063d9511d9f5cb4929533e (patch)
tree46129470be4729587151b0df402148b9b11120b8 /bfd/elf32-m68k.c
parentf5aecab85d670ae338556b5ef702787502796759 (diff)
downloadfsf-binutils-gdb-966972ec70998a7ad2063d9511d9f5cb4929533e.zip
fsf-binutils-gdb-966972ec70998a7ad2063d9511d9f5cb4929533e.tar.gz
fsf-binutils-gdb-966972ec70998a7ad2063d9511d9f5cb4929533e.tar.bz2
PR ld/1775
* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): Add required parentheses.
Diffstat (limited to 'bfd/elf32-m68k.c')
-rw-r--r--bfd/elf32-m68k.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index 589dccf..fec2bbb 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. */