This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: bfd 2.10.90: Handle R_MIPS_REL32 relocations correctly
- To: Ulf Carlsson <ulfc at calypso dot engr dot sgi dot com>
- Subject: Re: bfd 2.10.90: Handle R_MIPS_REL32 relocations correctly
- From: "Maciej W. Rozycki" <macro at ds2 dot pg dot gda dot pl>
- Date: Tue, 20 Jun 2000 14:54:17 +0200 (MET DST)
- cc: binutils at sourceware dot cygnus dot com
- Organization: Technical University of Gdansk
On Mon, 19 Jun 2000, Ulf Carlsson wrote:
> Thanks for the patch. Do you have a testcase for this as well? I do
> have ld crashes when I compile with gcc 2.96. It seems like it could
> be the same problem since it doesn't happen with shared libraries, but
> with executables. However, this patch doesn't solve it. I'll look at
> it myself now.
Basically any reference from executable's .data section to a .text object
defined within a shared library. For example:
#include <stdlib.h>
void (*myfree)(void *) = free;
int main(void)
{
return 0;
}
I use gcc 2.95.2, so your problem might actually be different.
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +