[LLVMdev] LLVM ERROR: expected relocatable expression
shankare at codeaurora.org
Sun Sep 22 21:43:48 PDT 2013
Slightly changed the example :-
The GNU assembler properly handles the above.
$as -c x.s -o x.o
$readelf -x 4 x.o
Hex dump of section 'somedata':
NOTE: This section has relocations against it, but these have NOT been
applied to this dump.
0x00000000 64003c00 28000000 d.<.(...
^^^^ (Calculated properly too!)
$ llvm-mc -filetype=obj x.s -o x.o
LLVM ERROR: expected relocatable expression
Looks like llvm-mc is more restrictive ?
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev