This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Rom based Shared Library


In refer to link below, you can create a script to tell ld how to arrange
your bin/so file
http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_mono/ld.html

----- Original Message ----- 
From: <johnmc@sidsa.es>
To: <crossgcc@sourceware.org>
Sent: Thursday, March 30, 2006 1:49 AM
Subject: Rom based Shared Library


> Hi
>
> I seemed to be stuck.
> I am developing a rom based shared library system.
>
> The .bss section needs to be copied to RAM from FLASH at initialisation
time.
> If I do this the .bss section will NOT be accessable as it is NOT
> referenced using the jump vectors in the GOT ( Globa Offset Tables).
>
> The .data section also needs to be copied to RAM. This is possible as it
> IS referenced using the Jump vectors in the GOT.
>
> Question:
>    Is it possible to force the compiler to put all global data in the
> .data section and to discard the .bss section.
>
> I have tried -fno-common but it does not work
>
> Target - arm-elf.
>
> thanks in advance .
>
>
> john mcwhinnie
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq


--
For unsubscribe information see http://sourceware.org/lists.html#faq


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