Date: Fri, 22 Feb 2002 01:10:19 +0100 From: Bernd Walter <ticso@cicely8.cicely.de> To: Terry Lambert <tlambert2@mindspring.com> Cc: Andrew Gallatin <gallatin@cs.duke.edu>, Doug Rabson <dfr@nlsystems.com>, peter@FreeBSD.ORG, jdp@FreeBSD.ORG, freebsd-alpha@FreeBSD.ORG Subject: Re: alpha klds and the new linker Message-ID: <20020222001019.GH56929@cicely8.cicely.de> In-Reply-To: <3C7586F6.4D54B103@mindspring.com> References: <15477.3715.6908.110667@grasshopper.cs.duke.edu> <Pine.BSF.4.33.0202211623290.89657-100000@herring.nlsystems.com> <15477.29709.908299.287618@grasshopper.cs.duke.edu> <3C757D63.73B903C9@mindspring.com> <20020221231258.GG56929@cicely8.cicely.de> <3C7586F6.4D54B103@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 21, 2002 at 03:47:02PM -0800, Terry Lambert wrote: > Bernd Walter wrote: > > > I think this is backwards; I think the "*where" is missing > > > in the reference location. Don't ask me how to figure it > > > out without keeping a linked list of ELF things lying around > > > and traversing it twice, though. 8-(. > > > > At least it's identic to the i386 variant: > > case R_386_RELATIVE: /* B + A */ > > addr = relocbase + addend; > > if (*where != addr) > > *where = addr; > > break; > > Well, if no one is complaining there, then never mind. 8-). > > I think there are still some assumptions in the relative > positioning of segments and data that may break with a > future binutils, just like the recent update broke some > of the other assumptions that were lying around. I have mixed feelings about that code too, but I don't know much about elf. This part was explicitly added in rev 1.3 to work around some problem. The history has shown that there are many bugs lying around to be triggered by a simple change. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020222001019.GH56929>