- To: Ian Lance Taylor <iant@xxxxxxxxxx>
- Subject: Re: Problem with linking static lib text into specific section
- From: Elad Yosef <elad.yosef@xxxxxxxxx>
- Date: Tue, 6 Mar 2012 11:36:54 +0200
- Authentication-results: mr.google.com; spf=pass (google.com: domain of elad.yosef@xxxxxxxxx designates 10.68.219.130 as permitted sender) smtp.mail=elad.yosef@xxxxxxxxx; dkim=pass header.i=elad.yosef@xxxxxxxxx
- Cc: gcc-help@xxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1331631435; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Received-SPF:Received:MIME-Version:Received:Received:In-Reply-To: References:Date:Message-ID:Subject:From:To:Cc:Content-Type: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=EtWpS39QOp1UauvrsSZe o1o8loU=; b=gWrtYKE+XIys1dtXEgIQWOWuFohouTjht//cPKqZEz7dRkZ9VQ5X paHZkkMEfDcvfbvACPZPhae/55TZxVQXJtFWHWAW5czme8G4BbzdmG7Bl7ArvOiA IH++AtnvSQU6tRyLrr2D/J4ZOvHVwHmizct5bfgVcRR77ICdyJCWoRw=
- In-reply-to: <CAOFa9c0VqYvSAwCo7UUTgK21Mika1bqT1UyDAjZauBk3VUch7w@mail.gmail.com>
Hi,
Don't ask me how but somehow it works now
The original ld file with your fix
Thank you very much
Elad
On Tue, Mar 6, 2012 at 7:43 AM, Elad Yosef <elad.yosef@xxxxxxxxx> wrote:
> Hi,
> I checked that by increasing the ram region size and found that both
> libs text and rodata is linked in the wrong place.
> It is linked into the ram region and not into my section.
>
> Thanks
>
> Elad
>
> On Tue, Mar 6, 2012 at 12:17 AM, Ian Lance Taylor <iant@xxxxxxxxxx> wrote:
>> Elad Yosef <elad.yosef@xxxxxxxxx> writes:
>>
>>> I have tried changing the exclude rule as suggested but still the same error.
>>> Does my new section rules are O.K?
>>
>> Time to use the -M option to generate a map file to confirm that the
>> data is going where you want it to.
>>
>> If your data is going where you want, and your memory region is
>> overflowing, then you need to make your region larger or make your code
>> smaller.
>>
>> Ian
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]