This is the mail archive of the gcc@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]

Re: linking possibilities


On Tue, Jun 12, 2001 at 09:45:07AM +0200, Rafael Rodr?guez Velilla wrote:
> 
>   I'm sure that someone before me has used gcc to compile a "shared library"
> for an embedded system (stored in a ROM or a FLASH), and surely there's a
> neater way to use this library than what I'm doing (I have made a perl
> script that extracts the symbols of the executable and prepares a linker
> script using that information).
>   The information I need to know is, for example, what is the section
> .rel.got that gets generated when I use a global variable and compile with
> -fPIC switch?

Aha.  You need the ELF spec and the relevant parts of the ABI.  Start
at <http://www.sco.com/developer/gabi/>.  You'll want the ARM
processor-specific supplement as well.  That is probably on arm.com
somewhere, but that server seems to be down right now.

This should probably be linked off of <http://gcc.gnu.org/readings.html>.

-- 
zw              But the voices in my head are what keeps me sane.
                	-- Shweta Narayan


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