Add sh4a support to the SH port

Alexandre Oliva aoliva@redhat.com
Thu Jul 29 13:10:00 GMT 2004


On Jul 28, 2004, Joern Rennecke <joern.rennecke@superh.com> wrote:

> I suppose ADA is not a problem at the moment, because... it doesn't
> build properly in the first place... but what if it gets fixed?
> Are the ada libraries free of nested functions?

Aah, good point, I'd forgotten about Ada.

FWIW, I originally had separate multilibs for all m4a variants, just
like we do for SH4, but I thought it was mostly overkill and changed
my mind just before contributing the patch.  This would solve the
problem, at the expense of significant build time and disk space
increase.  Would you mind that?

FWIW, I'm about to contribute SH2a support, and that brings in the
need for at least two new multilibs, and possibly 4 if we refrain from
using SH2 libs for -m2a and SH2e for -m2a-single-only.  Comments?

> At any rate, user libraries cant be multilibbed sh4a-safe the same way
> the gcc libraries are multilibbed if they contain nested functions.

Yup.

-- 
Alexandre Oliva             http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer   aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist  oliva@{lsd.ic.unicamp.br, gnu.org}



More information about the Gcc-patches mailing list