[uClinux-dev] arm uclinux toolchain - source code?
khassounah at yahoo.com
Wed Nov 14 04:42:31 EST 2001
A fully relocatable code is code in which all the location-dependent
addresses are listed in a relocation table that is appeneded to the code
itself. Initially, all the addresses are relevant to an origin of zero. When
the executable is loaded into memory, all the location-dependent addresses
that have entries in the appended table are adjusted to reflect the new
As for elf vs flat, Greg Ungerer's answer in the uclinux archives answers
your question elegantly
I know the m68k elf compiler is capable of producing both fully relocatable
and pic binaries.
If you want to read about this in more detail, you can check this document
----- Original Message -----
From: "Fabrice Gautier" <Fabrice_Gautier at sdesigns.com>
To: <uclinux-dev at uclinux.org>
Sent: Wednesday, November 14, 2001 1:24 AM
Subject: RE: [uClinux-dev] arm uclinux toolchain - source code?
> > -----Original Message-----
> > From: Erwin Authried [mailto:eauth at softsys.co.at]
> > Sent: Thursday, November 08, 2001 1:54 AM
> > Subject: Re: [uClinux-dev] arm uclinux toolchain - source code?
> > gcc-2.95.3 made a much more stable impression, although
> > David's elf2flt
> > tools can't handle PIC code. Fully relocatable code with gcc-2.95.3
> > works fine.
> Do you mean, gcc-2.95.3 release from gnu website? Or with some patch?
> And fully relocatable code means what exactly?
> Binary Flat, no PIC, GOT? (and XIP)?
> And btw why is it not possible to use elf format instead of binary flat?
> (My ultimate goal is to have an arm compiler, able to compile uclinux
> and glibc)
> Fabrice Gautier,
> Fabrice_Gautier at sdesigns.com
> This message resent by the uclinux-dev at uclinux.org list server
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/
More information about the uClinux-dev