Eric Botcazou <ebotca...@adacore.com> writes:
> Similarly to x86, PowerPC and SPARC, this enables the use of custom run-
> time descriptors in Ada, thus eliminating the need for trampolines and
> executable stack in presence of pointers to nested functions.
> 
> Unfortunately I don't have access to MIPS hardware any more, but the
> scheme was tested on the architecture at some point.  OK for the
> mainline?
> 
> 
> 2016-11-13  Eric Botcazou  <ebotca...@adacore.com>
> 
>         PR ada/67205
>       * config/mips/mips.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.

Hi Eric,

Thanks for the patch. I'm a bit concerned about the interaction this
will have with microMIPS which can (albeit not implemented today) use
2-byte alignment on function entry points.

Is the solution for other targets to mandate 4-byte alignment when
using function descriptors?

If so then I don't see a problem with this. We will have to account for
that when GCC allows 2-byte aligned microMIPS functions.

Thanks,
Matthew


Reply via email to