This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]