Displaying 2 results from an estimated 2 matches for "b084f5".
Did you mean:
0845
2014 Sep 20
2
[LLVMdev] ARM assembler bug on LLVM 3.5
Hi
I have the following ARM Linux program. The program detects if the
processor has division instruction, if it does, it uses it, otherwise it
uses slower library call.
The program works with gcc, but it doesn't work with clang. clang reports
error on the sdiv instruction in the assembler.
The problem is this - you either compile this program with
-mcpu=cortex-a9, then clang reports
2014 Sep 22
3
[LLVMdev] ARM assembler bug on LLVM 3.5
...e directives are used ".cpu
cortex-a15\n .fpu neon-vfpv4".
LLVM integrated assembler will choke on it and produce invalid object
file. You can try:
int main(void)
{
asm volatile (".cpu cortex-a15\n .fpu neon-vfpv4\n");
return 0;
}
/usr/bin/ld: Warning: /tmp/as-b084f5.o: Unknown EABI object attribute 488
/usr/bin/ld: /tmp/as-b084f5.o: Unknown mandatory EABI object attribute
8890
/usr/bin/ld: failed to merge target specific data of file /tmp/as-b084f5.o
Maybe, all you need to do is fix handling of these directives in the
integrated assembler.
> When that s...