This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][doc][ARM] Deprecate -mapcs and -mapcs-frame
- From: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Ramana Radhakrishnan <ramana dot radhakrishnan at arm dot com>, Richard Earnshaw <Richard dot Earnshaw at arm dot com>
- Date: Wed, 14 Jan 2015 10:38:25 +0000
- Subject: [PATCH][doc][ARM] Deprecate -mapcs and -mapcs-frame
- Authentication-results: sourceware.org; auth=none
Hi all,
-mapcs-frame (and its' alias -mapcs) are somewhat bitrotten and the ABI
they represent is deprecated anyway so this is a patch to deprecate the
option. It's not being removed here, just documented as deprecated.
Kyrill
2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* doc/invoke.texi (mapcs): Mention deprecation.
(mapcs-frame): Likewise.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d2f3c79..7a72120 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -12683,10 +12683,11 @@ Standard for all functions, even if this is not strictly necessary for
correct execution of the code. Specifying @option{-fomit-frame-pointer}
with this option causes the stack frames not to be generated for
leaf functions. The default is @option{-mno-apcs-frame}.
+This option is deprecated.
@item -mapcs
@opindex mapcs
-This is a synonym for @option{-mapcs-frame}.
+This is a synonym for @option{-mapcs-frame} and is deprecated.
@ignore
@c not currently implemented