[LLVMbugs] [Bug 5797] New: msp430 backend: possible assembly generation error

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Dec 15 22:14:45 PST 2009


           Summary: msp430 backend: possible assembly generation error
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: asl at math.spbu.ru, llvmbugs at cs.uiuc.edu

Clang can turn the attached .i file into msp430 assembly, but then this can't
be linked into an elf file.

regehr at john-home:~$ clang -ccc-host-triple msp430-generic-generic
-ccc-clang-archs msp430 -x c foo.i -w -S -Os

regehr at john-home:~$ msp430-gcc -Os -mmcu=msp430x1611 foo.s -o foo.elfmsp430-ld:
section .rodata [0000466c -> 0000466d] overlaps section .data [0000466c ->

regehr at john-home:~$ msp430-gcc -v
Reading specs from /usr/bin/../lib/gcc-lib/msp430/3.2.3/specs
Configured with:
Thread model: single
gcc version 3.2.3

regehr at john-home:~$ msp430-ld -v
GNU ld version 2.17
regehr at john-home:~$

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