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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


#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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to