diff options
author | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-12-19 15:56:45 +0000 |
---|---|---|
committer | meissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-12-19 15:56:45 +0000 |
commit | abe3ba01bff516912fc30892e27b12d23c6cd0eb (patch) | |
tree | 8b232a299c1269853bd29912a5992e66e050373a /gcc/ginclude | |
parent | 3d4e092a8ca864872afe940d9b0114c1c3d3aa41 (diff) | |
download | ppe42-gcc-abe3ba01bff516912fc30892e27b12d23c6cd0eb.tar.gz ppe42-gcc-abe3ba01bff516912fc30892e27b12d23c6cd0eb.zip |
Do not define register names under Windows NT
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10816 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ginclude')
-rw-r--r-- | gcc/ginclude/ppc-asm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ginclude/ppc-asm.h b/gcc/ginclude/ppc-asm.h index 383f4c25831..182b91731bf 100644 --- a/gcc/ginclude/ppc-asm.h +++ b/gcc/ginclude/ppc-asm.h @@ -12,6 +12,11 @@ * they apply. */ + +/* Under winnt, 1) gas suppports the following as names and 2) in particular + defining "toc" breaks the FUNC_START macro as ".toc" becomes ".2" */ + +#if !defined(__WINNT__) #define r0 0 #define sp 1 #define toc 2 @@ -44,6 +49,7 @@ #define r29 29 #define r30 30 #define r31 31 +#endif /* * Macros to glue together two tokens. |