On Sun, May 5, 2013 at 10:21 AM, Joseph S. Myers <jos...@codesourcery.com> wrote: > On Sun, 5 May 2013, Alan Modra wrote: > >> Something to consider for the future is making more of the -mcall >> options endian agnostic, like -mcall-sysv. Tested with a number of >> powerpc ELF builds. > > I'd like to suggest removing those -mcall-* options (as far as they affect > specs, anyway). No other architecture has that sort of arrangement of > embedding specs for lots of different OSes into a single compiler driver, > and I don't think that approach is any sort of useful partial progress > towards generic multi-target compiler support. Without this PowerPC > peculiarity, I expect it would be possible to use config/gnu-user.h and > config/linux.h the way all GNU/Linux architectures other than Alpha and > PowerPC do, so eliminating an unnecessary source of complication in global > changes.
The -mcall-* options are more about PPC eABI. I'm also am hesitant to remove such a feature without a deprecation round and the little-endian fixes cannot be delayed for the -mcall-* options to be deprecated. I do not have a strong desire to keep them, but I don't think we can drop them. I suspect that -mcall-*bsd and -mcall-aixdesc can be removed, but there may be uses of -mcall-linux and -mcall-sysv related to eABI. Thanks, David