In the "RS/6000 and PowerPC Options" node in invoke.texi, the descriptions of the various -mcall-* options are somewhat misleading. That is, they say "On System V.4 and embedded PowerPC systems ..." when in fact these options are available on other (all?) PowerPC configurations. The -mcall-solaris option is documented in that table but does not exist. In "Option Summary", only some of the -mcall-* options are listed. Release: 3.1 20011028 (experimental) Environment: System: Linux redhat.sf.frob.com 2.4.9-6smp #1 SMP Thu Oct 18 09:22:57 EDT 2001 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: powerpc-unknown-linux-gnu configured with: ../../gcc/configure --host=i686-linux --target=ppc-linux : (reconfigured) ../../gcc/configure --host=i686-linux --target=ppc-linux : (reconfigured) ../../gcc/configure --host=i686-linux --target=ppc-linux How-To-Repeat: Read it.
Hello, a quick glance at the web docs. for current gcc show that this problem is still present. Dara
See Dara's comment.
Targeting for 3.4 to keep this on the radar.
The only two parts that are still exists are: The -mcall-solaris option is documented in that table but does not exist. In "Option Summary", only some of the -mcall-* options are listed. The one about SYS V.4 and embedded PowerPC systems is true as Linux/GNU/NetBSD/ OpenBSD are all SYS V.4 systems. This option does not exists on PPC64 Linux, AIX, or Darwin.
Subject: Bug 5267 Author: bje Date: Mon Apr 20 23:55:53 2009 New Revision: 146463 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146463 Log: PR target/5267 * doc/invoke.texi (RS/6000 and PowerPC Options): Add documentation for -mcall-eabi, -mcall-aixdesc, -mcall-freebsd and -mcall-openbsd options. Remove -mcall-solaris documentation. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi
I believe all of the concerns raised have been fixed.