http://sourceware.org/bugzilla/show_bug.cgi?id=13803

             Bug #: 13803
           Summary: ld test-cases failing: arm-elf.exp "erratum 760522
                    fix"
           Product: binutils
           Version: 2.23 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassig...@sourceware.org
        ReportedBy: h...@sourceware.org
    Classification: Unclassified
            Target: arm-unknown-linux-gnueabi


Build binutils CVS HEAD of 2012-03-05 for target arm-unknown-linux-gnueabi. Do
"make check-ld".  Observe:
Running /home/hp/binutils/src/ld/testsuite/ld-arm/arm-elf.exp ...
FAIL: erratum 760522 fix (default for v6z)
FAIL: erratum 760522 fix (explicitly on at v6z)
FAIL: erratum 760522 fix (explicitly off at v6z)
FAIL: erratum 760522 fix (default for v5)
FAIL: erratum 760522 fix (default for v7-a)
FAIL: erratum 760522 fix (default for ARM1156)

That's all of the "erratum 760522" tests.  In ld.log, the log messages for
these failures look similar:

/home/hp/binutils/obj/a/ld/../binutils/objdump -d tmpdir/fix-arm1176-1
regexp_diff match failure
regexp "^ [0-9a-f]+:    00008000     .word    0x00008000$"
line   " 2001020:    00008074     .word    0x00008074"
FAIL: erratum 760522 fix (default for v6z)

All having .word 0x00008074 where .word    0x00008000 is expected.
Apparently this is the address of a function being called, which happens to be
located at 0x00008074 for arm-unknown-linux-gnueabi instead of the expected
0x00008000 (verified by looking at what's generated by a build targeted for
arm-eabi); when generalizing the test-case, this seems to have been overlooked.

-- 
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