This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Question on gas difference between 2.19.1 and 2.20
- From: LluÃs Batlle <viriketo at gmail dot com>
- To: binutils at sourceware dot org
- Date: Tue, 3 Nov 2009 20:24:38 +0100
- Subject: Question on gas difference between 2.19.1 and 2.20
Hello,
I have some excerpt (in u-boot 3.4.19 for the sheevaplug, an armv5te
platform) that did assemble in binutils 2.19.1, but not anymore in
2.20.
Here is the part of the code:
---------------Part of the file jump.S
...
jumpStart:
.section ".reset_vector_sect",#alloc, #execinstr
/* Check if we booted from DRAM. If we did someone already */
/* initialize the DRAM controller */
adr r4, jumpStart /* r4 <- current position of
code */ /* line 62 of the source file */
mov r5, #~0xff
and r4, r4, r5
-------------
Assembling with binutils 2.20 gas, I get:
jump.S:62: Error: symbol .text is in a different section
Does anybody understand this behaviour? Maybe I am doing something
wrong? I don't understand the meaning of that message in this context.
Thank you in advance,
LluÃs.