[LLVMbugs] [Bug 8278] New: MC-COFF: Incorrect relocations generated for string constants... again...

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 1 22:42:14 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8278

           Summary: MC-COFF: Incorrect relocations generated for string
                    constants... again...
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: bigcheesegs at gmail.com
        ReportedBy: bigcheesegs at gmail.com
                CC: llvmbugs at cs.uiuc.edu


#include <stdio.h>

int main(int argc, char **argv) {
  printf("First String\n");
  printf("Second String\n");
}

Prints:

First String
First String

Which is obviously wrong. There's a test almost identical to this in
test/MC/COFF/symbol-fragment-offset.ll that I thought tested this _exact_
problem. The aforementioned test currently passes, while this one currently
fails.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list