Re: Problem with linking static lib text into specific section

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


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]

Add to Google