This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] MIPS gas: More flexible $gp handling
At Tue, 28 May 2002 18:23:03 +0000 (UTC), "Thiemo Seufer" wrote:
> Good point. I updated my patch accordingly.
Uh, it would seem that should be "mostly updated."
Current binutils fails to compile:
../../src/gas/config/tc-mips.c: In function `load_address':
../../src/gas/config/tc-mips.c:3828: `dbl' undeclared (first use in this function)
../../src/gas/config/tc-mips.c:3828: (Each undeclared identifier is reported only once
../../src/gas/config/tc-mips.c:3828: for each function it appears in.)
It looks like there are a bunch of bogus uses of GP still too.
E.g. see the sequence of code starting on line 4942.
Also, what's the rationale for using GP vs. mips_gp_register? E.g.,
there's a lot of code conditional on SVR4_PIC which uses GP rather
than mips_gp_register... but there are at least some SVR4_PIC places
(line 5744, 5795, ...) which do use mips_gp_register...
cgd