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: unassig...@sourceware.org

        ReportedBy: tro...@redhat.com

    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-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to