[LLVMdev] LLVM ERROR: expected relocatable expression
eli.friedman at gmail.com
Sun Sep 22 14:30:40 PDT 2013
On Sun, Sep 22, 2013 at 12:23 PM, Sid Manning <sidneym at codeaurora.org>wrote:
> On 09/20/2013 06:00 PM, Eli Friedman wrote:
>> On Fri, Sep 20, 2013 at 2:50 PM, Sid Manning <sidneym at codeaurora.org
>> <mailto:sidneym at codeaurora.org**>> wrote:
>> This example generates the following error:
>> .word (.Ltmp5-.Ltmp3)-.Ltmp13
>> ./llvm-mc ex.s -filetype=obj
>> LLVM ERROR: expected relocatable expression when using:
>> Umm, isn't this equivalent to the following? What do you expect LLVM to
>> do with it?
>> .word -.Ltmp13
> I removed the target specific assembly to produce a simple generic example.
Then you must have reduced it too much; your example is simply invalid
(although the compiler's error message isn't great).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev