This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH]: gold sparc unaligned...
> After I finish GOTDATA_OP optimization support (will post the patch
> for that today) the only missing linker features should be the fortran
> data compression hacks. Are there any others you really need?
IIRC shared libraries on Solaris 10 contain special symbols that the GNU
linker cannot handle. There is probably a bugzilla ticket about it.
> I cooked up the following patch yesterday while looking
> into these issues. Want me to commit it?
Looks overkill too. :-) There is at the end of config/tc-sparc.c:
void
sparc_cfi_emit_pcrel_expr (expressionS *exp, unsigned int nbytes)
{
sparc_cons_special_reloc = "disp";
sparc_no_align_cons = 1;
emit_expr (exp, nbytes);
sparc_no_align_cons = 0;
sparc_cons_special_reloc = NULL;
}
so why doesn't gas generate the SPARC_UA* variants directly?
--
Eric Botcazou