This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Reloc BUG in as
- To: binutils at sources dot redhat dot com
- Subject: Re: Reloc BUG in as
- From: Mikulas Patocka <mikulas at artax dot karlin dot mff dot cuni dot cz>
- Date: Fri, 2 Mar 2001 16:57:13 +0100 (CET)
> This patch fixes it. It is the exact place where pcrel is lost.
>
> --- gas/write.c_ Fri Mar 2 15:33:45 2001
> +++ gas/write.c Fri Mar 2 15:34:53 2001
> @@ -2558,7 +2558,6 @@
> S_GET_VALUE (sub_symbolP);
>
> add_symbolP = NULL;
> - pcrel = 0; /* No further pcrel processing. */
>
> /* Let the target machine make the final determination
> as to whether or not a relocation will be needed to
>
>
The patch is bad because the output relocation is R_386_32, not
R_386_PC32...
Mikulas