This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: Problem with linking static lib text into specific section


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@gmail.com> 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@google.com> wrote:
>> Elad Yosef <elad.yosef@gmail.com> 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


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