On Fri, Mar 04, 2011 at 03:50:48PM +0000, Joseph S. Myers wrote: > I'd certainly like to see the -mcall-* code that pretends to support > linking for one target using another target's compiler removed. That way > non-FreeBSD targets wouldn't need freebsd-spec.h, rs6000/sysv4.h wouldn't > need loads of specs that are really irrelevant to all but one target, and > you could probably make powerpc*-linux* use the toplevel gnu-user.h and > linux.h like almost all other Linux kernel targets. That these powerpc* > targets are doing things differently from all other architectures is a > nuisance when making changes across all targets (and I don't think what > they are doing is a useful intermediate step towards a multi-target > compiler).
I agree. The only -mcall option I've ever used is -mcall-aixdesc to generate the old dot-symbol function descriptors on powerpc64-linux. The eabi/noeabi options might also be useful, but I don't see the point of the ones that pretend to generate code for another OS. -- Alan Modra Australia Development Lab, IBM