Displaying 2 results from an estimated 2 matches for "0122c7e7".
2013 Sep 23
0
[LLVMdev] LLVM ERROR: expected relocatable expression
On Sun, Sep 22, 2013 at 9:43 PM, Shankar Easwaran
<shankare at codeaurora.org>wrote:
> Hi Eli,
>
> Slightly changed the example :-
>
> .section somedata
> .Ltmpa:
> .word 100
> .Ltmpb:
> .word 60
> .Ltmpc:
> .word 40
> .Ltmpd:
> .word (.Ltmpa-.Ltmpb)-.Ltmpc
>
> The GNU assembler properly handles the above.
>
> $as -c x.s -o x.o
>
2013 Sep 23
2
[LLVMdev] LLVM ERROR: expected relocatable expression
Hi Eli,
Slightly changed the example :-
.section somedata
.Ltmpa:
.word 100
.Ltmpb:
.word 60
.Ltmpc:
.word 40
.Ltmpd:
.word (.Ltmpa-.Ltmpb)-.Ltmpc
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