avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] linker builds file too big, is it a bug?


From: Massimiliano Cialdi
Subject: Re: [avr-chat] linker builds file too big, is it a bug?
Date: Fri, 11 Feb 2011 15:55:19 +0100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]