diff options
author | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-07 01:07:22 +0000 |
---|---|---|
committer | shebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-07-07 01:07:22 +0000 |
commit | 57e4bbfb7756f1190d84274315055c77dd93f107 (patch) | |
tree | ef8e84e2bb302fc01ff8f0c9701e00ecd440d691 /gcc/doc | |
parent | a2b7c75dfe8268816acc5a9002c2eace41afe51f (diff) | |
download | gcc-57e4bbfb7756f1190d84274315055c77dd93f107.tar.gz |
* target.h (targetm): Rename global from "target", so as not to
conflict with local variables.
* c-decl.c: Ditto.
* c-typeck.c: Ditto.
* final.c: Ditto.
* tree.c: Ditto.
* cp/decl.c: Ditto.
* cp/decl2.c: Ditto.
* cp/typeck.c: Ditto.
* 1750a/1750a.c: Ditto.
* a29k/a29k.c: Ditto.
* arc/arc.c: Ditto.
* arm/arm.c: Ditto.
* avr/avr.c: Ditto.
* clipper/clipper.c: Ditto.
* convex/convex.c: Ditto.
* d30v/d30v.c: Ditto.
* dsp16xx/dsp16xx.c: Ditto.
* elxsi/elxsi.c: Ditto.
* fr30/fr30.c: Ditto.
* h8300/h8300.c: Ditto.
* i370/i370.c: Ditto.
* i386/i386.c: Ditto.
* i860/i860.c: Ditto.
* i960/i960.c: Ditto.
* ia64/ia64.c: Ditto.
* m32r/m32r.c: Ditto.
* m68hc11/m68hc11.c: Ditto.
* m68k/m68k.c: Ditto.
* m88k/m88k.c: Ditto.
* mips/mips.c: Ditto.
* ns32k/ns32k.c: Ditto.
* pa/pa.c: Ditto.
* pdp11/pdp11.c: Ditto.
* romp/romp.c: Ditto.
* rs6000/rs6000.c: Ditto.
* sh/sh.c: Ditto.
* sparc/sparc.c: Ditto.
* vax/vax.c: Ditto.
* we32k/we32k.c: Ditto.
* doc/tm.texi: Update the manual to match.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43831 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 71b5a91666c..b76b040938a 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -55,8 +55,8 @@ through the macros defined in the @file{.h} file. @cindex target hooks @cindex target functions -@deftypevar {struct gcc_target} target -The target @file{.c} file must define the global @code{target} variable +@deftypevar {struct gcc_target} targetm +The target @file{.c} file must define the global @code{targetm} variable which contains pointers to functions and data relating to the target machine. The variable is declared in @file{target.h}; @file{target-def.h} defines the macro @code{TARGET_INITIALIZER} which is @@ -72,7 +72,7 @@ macros for which the default definition is inappropriate. For example: #undef TARGET_VALID_TYPE_ATTRIBUTE #define TARGET_VALID_TYPE_ATTRIBUTE @var{machine}_valid_type_attribute_p -struct gcc_target target = TARGET_INITIALIZER; +struct gcc_target targetm = TARGET_INITIALIZER; @end smallexample @end deftypevar |