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/target.h | |
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/target.h')
-rw-r--r-- | gcc/target.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/target.h b/gcc/target.h index 9515aff31db..11d0a0e08c4 100644 --- a/gcc/target.h +++ b/gcc/target.h @@ -33,9 +33,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. includes target.h and target-def.h, and overrides any inappropriate defaults by undefining the relevant macro and defining a suitable replacement. That file should then contain the definition of - "target" like so: + "targetm" like so: - struct gcc_target target = TARGET_INITIALIZER; + struct gcc_target targetm = TARGET_INITIALIZER; Doing things this way allows us to bring together everything that defines a target to GCC. By supplying a default that is @@ -83,4 +83,4 @@ struct gcc_target void (* set_default_type_attributes) PARAMS ((tree type)); }; -extern struct gcc_target target; +extern struct gcc_target targetm; |