diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-30 10:42:58 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-30 10:42:58 +0000 |
commit | 3f3d5ad4c392c2cc915af2dd6b9b28efa4d53d00 (patch) | |
tree | b653e1b6a2f0c5f5fadb055efeb46c96ad475c0e /gcc/doc/tm.texi | |
parent | e34c6adce1651557940af9bb37ea1cb4e1965ee3 (diff) | |
download | gcc-3f3d5ad4c392c2cc915af2dd6b9b28efa4d53d00.tar.gz |
shift flag_next/gnu_runtime to modern opts system.
gcc:
* doc/tm.texi.in (NEXT_OBJC_RUNTIME): Update macro description.
* doc/tm.texi: Regenerate.
* flags.h (flag_next_runtime): Remove references.
* toplev.c: Likewise.
* defaults.h (NEXT_OBJC_RUNTIME): Provide default.
* gccspec.c (lang_specific_driver): Adjust use of NEXT_OBJC_RUNTIME.
* config/darwin.c (darwin_override_options): Provide default
Objective-C abi settings and target conflict checks.
* config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): Remove unused
code. Adjust indenting.
gcc/c-family:
* c.opt (fgnu-runtime): Provide full description.
(fnext-runtime): Likewise.
* c-opts.c (OPT_fgnu_runtime, OPT_fnext_runtime) Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181837 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index c079ce29b7e..c98b93c985b 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -5351,13 +5351,18 @@ void sincosl(long double x, long double *sin, long double *cos); @end defmac @defmac NEXT_OBJC_RUNTIME -Define this macro to generate code for Objective-C message sending using -the calling convention of the NeXT system. This calling convention -involves passing the object, the selector and the method arguments all -at once to the method-lookup library function. - -The default calling convention passes just the object and the selector -to the lookup function, which returns a pointer to the method. +Set this macro to 1 to use the "NeXT" Objective-C message sending conventions +by default. This calling convention involves passing the object, the selector +and the method arguments all at once to the method-lookup library function. +This is the usual setting when targeting Darwin/Mac OS X systems, which have +the NeXT runtime installed. + +If the macro is set to 0, the "GNU" Objective-C message sending convention +will be used by default. This convention passes just the object and the +selector to the method-lookup function, which returns a pointer to the method. + +In either case, it remains possible to select code-generation for the alternate +scheme, by means of compiler command line switches. @end defmac @node Addressing Modes |