This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC patch for MIPS multi-got support in the linker
On Jan 14, 2003, Daniel Jacobowitz <drow@mvista.com> wrote:
> [Can you get your mailer to use inline attachments? It makes
> responding to your patches awkward.]
Err... What I sent was not an attachment, but it is definitely
marked as inline.
> I recommend fixing:
> +1: .set reoder\n\
Sure thing. Doh! I've now moved the .set reorder that was two lines
below atop of this broken .set. Retesting... /me wonders why the
assembler didn't choke on this..
> Hmm, and I assume this is only an issue if you're using the new
> binutils with multi-GOT support; best-case scenario from a
> compatibility perspective. Whew.
Yup, and it's only an issue if you actually need multi-got
functionality, which means linking would probably have failed before.
Of course, the IRIX linker has supported multi-got for a long time and
nobody ever tripped into a problem like this, so... It's very, very
unlikely that crti and crtbegin end up using different GOTs.
> I have the feeling I should buy you a beer or something for doing all
> this :)
:-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer