On May 30, 2013, at 23:08 , Olivier Hainque <hain...@adacore.com> wrote: > The idea of the "target->target_alias" change in gcc-interface/Makefile.in > for Ada was to let us still distinguish for the purpose of the Ada RTSes in > particular. > > This happens to be significant in a limited amount of cases only.
A very limited number of cases actually. * e500v? canonicalized as powerpc (in our tree), which is a non-issue because the pairs are all identical. * leon vs sparc-leon maybe, I'm not so sure but this should be straightforward to adjust in any case * vxworksmils canonicalized into vxworksae A safe and simple approach to this issue would be to - revert to our former computations, based on target and not target_alias. Revert the subsequent adjustments as well. - Remove the pointless and confusing references to e500, adjusting comments to indicate that e500 is canonicalized into powerpc - Use target_alias explicitly just at the points where we know that we need to depart from the canonical name The proposed idea of using the configure computed names instead of doing our own computations is interesting. It's sort of orthogonal and seems potentially disruptive as well, so I'd defer to a later moment.