Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 1997 18:04:01 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Terry Lambert <terry@lambert.org>
Cc:        jdp@freebsd.org, current@freebsd.org
Subject:   Re: Minor fix to ld
Message-ID:  <Pine.BSF.3.95q.970425180308.17354D-100000@herring.nlsystems.com>
In-Reply-To: <199704251520.IAA03420@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Apr 1997, Terry Lambert wrote:

> > While I was writing my new kernel linker, I noticed that the
> > relocation_info structures for the members of linker sets had r_length set
> > to zero (indicating byte sized relocations) when the objects being
> > relocated were 32bit.  The code in ld.so has a hack (see the definition of
> > REL_SIZE in ld/i386/md.c) to work around this.  It would be nice to have
> > correct relocations though and I think this patch does the job:
> 
> Raising the object compatability red flag...

Since it only appears to happen for shared libraries and since ld.so has a
hack to make it completely ignore the r_length field, I am not too worried
about object compatability...

--
Doug Rabson				Mail:  dfr@nlsystems.com
Nonlinear Systems Ltd.			Phone: +44 181 951 1891




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970425180308.17354D-100000>