[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/14736] New: probable bug in elf32-microblaze.c:microblaze_elf_re
From: |
tromey at redhat dot com |
Subject: |
[Bug ld/14736] New: probable bug in elf32-microblaze.c:microblaze_elf_relax_section |
Date: |
Wed, 17 Oct 2012 18:26:07 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=14736
Bug #: 14736
Summary: probable bug in
elf32-microblaze.c:microblaze_elf_relax_section
Product: binutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: address@hidden
ReportedBy: address@hidden
Classification: Unclassified
I happened to build bfd with clang and it found this:
../../archer/bfd/elf32-microblaze.c:1744:21: warning: use of unary operator
that may be intended as compound assignment (-=)
isym->st_value =- calc_fixup (isym->st_value, sec);
^~
Based on other uses of calc_fixup, I think clang is correct and this
should be "-=" instead.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
- [Bug ld/14736] New: probable bug in elf32-microblaze.c:microblaze_elf_relax_section,
tromey at redhat dot com <=