[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gas/arm
From: |
Sebastian Kienzl |
Subject: |
gas/arm |
Date: |
Sat, 2 Feb 2002 12:49:50 +0100 |
hi,
that's what i'm using:
GNU assembler 2.11.2
configured for arm (using it on an arm7tdmi).
now that's my problem:
.text
.arm
.align
ldr r0, =__sp_thread
.end
works.
.section .iwram, "xw"
.arm
.align
ldr r0, =__sp_thread
.end
gives me:
Error: Literal referenced across section boundary (Implicit dump?)
__sp_thread's address is 0x3007f00.
imho this doesn't make any sense, does it?
the first code assembles fine, it puts the address i want right after
the code and loads it pc-relatively from there.
why wouldn't this work in another section which is really no
different?
if this isn't a bug how do i work around this?
thanks for your time,
sebastian kienzl
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gas/arm,
Sebastian Kienzl <=