On Thu, Jul 13, 2006 at 09:33:25AM -0400, Vivek Goyal wrote:
> Everything else seems to be ok if I link with option "-pie -Bsymbolic"
> except the fact that relocations of type R_386_RELATIVE are being
> generated for absolute symbols.
Yes, this is a rather sorry result of historical mistakes.
On Thu, Jul 13, 2006 at 10:45:34AM +0200, Peter S. Mazinger wrote:
> On Wed, 12 Jul 2006, Vivek Goyal wrote:
>
> > On Mon, Jun 26, 2006 at 03:20:53PM -0700, Ian Lance Taylor wrote:
> > > Amit Gud <[EMAIL PROTECTED]> writes:
> > >
> > > > I'm compiling the GNU/Linux kernel as a shared library and
On Wed, 12 Jul 2006, Vivek Goyal wrote:
> On Mon, Jun 26, 2006 at 03:20:53PM -0700, Ian Lance Taylor wrote:
> > Amit Gud <[EMAIL PROTECTED]> writes:
> >
> > > I'm compiling the GNU/Linux kernel as a shared library and I've found
> > > that relocation entries are created even for absolute symbols.
On Mon, Jun 26, 2006 at 03:20:53PM -0700, Ian Lance Taylor wrote:
> Amit Gud <[EMAIL PROTECTED]> writes:
>
> > I'm compiling the GNU/Linux kernel as a shared library and I've found
> > that relocation entries are created even for absolute symbols. Is
> > there any work-around for this, or is it a
Amit Gud <[EMAIL PROTECTED]> writes:
> I'm compiling the GNU/Linux kernel as a shared library and I've found
> that relocation entries are created even for absolute symbols. Is
> there any work-around for this, or is it a known bug?
That is correct behaviour if the symbol is globally visible. In
I'm compiling the GNU/Linux kernel as a shared library and I've found
that relocation entries are created even for absolute symbols. Is there
any work-around for this, or is it a known bug?
AG
--
May the source be with you.
http://www.cis.ksu.edu/~gud
___