Il giorno sab, 12/02/2011 alle 01.37 +1100, Erik Christiansen ha
scritto:

> Does your linker script still have the usual line:
> 
>    .data    : AT (ADDR (.text) + SIZEOF (.text))
> 
> That sets the LMA for .data to follow on from .text, so ld really ought
> to be checking that this also fits into the output section for .text
> (i.e. text) just as you expect.
Yes this line is present.

> As the hour is approaching 2 a.m. here, I may regret in the morning
> saying that it definitely is a bug, but it doesn't look good.
> 
> Do you have an old version of ld to hand, for comparison? The binutils
> maintainers should be able to be won over without a demonstrated
> regression, but it could possibly save some discussion.
> 
> It may possibly be avr-specific code which is the problem though, and
> that puts it back in our camp. (Though I can't immediately see a case
> for that.)

I have tried also with avr-gcc 2.19.1 with identical results.

best regards


_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to