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

           Summary: msp430 backend: warning: internal error: unsupported
                    relocation error
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


reg...@john-home:~/volatile/bugs/tmp249$ clang -Os -w -ccc-host-triple
msp430-elf -c small.c 

reg...@john-home:~/volatile/bugs/tmp249$ clang -ccc-host-triple msp430-elf
-Wl,-m,msp430x1611 -L/home/regehr/llvm-msp430/build/msp430/lib -L/home/regehr

/llvm-msp430/build/lib/msp430 -o small.elf small.o
small.o: In function `int324':
small.c:(.text+0xa): warning: internal error: unsupported relocation error

reg...@john-home:~/volatile/bugs/tmp249$ clang -v

clang version 1.1 (trunk 114)
Target: i386-pc-linux-gnu
Thread model: posix

reg...@john-home:~/volatile/bugs/tmp249$ cat small.c

typedef int int32_t;
typedef unsigned char uint8_t;
int32_t g_5;
int32_t *volatile g_4 = &g_5;
uint8_t g = 1;
int32_t g_38 = 1;
int324 (int32p_35)
{
  int32_t *l_39 = &g_38;
  *l_39 |= *g_4;
}


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