projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72b7eef
)
Do not define register names under Windows NT
author
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 19 Dec 1995 15:56:45 +0000
(15:56 +0000)
committer
Michael Meissner
<meissner@gcc.gnu.org>
Tue, 19 Dec 1995 15:56:45 +0000
(15:56 +0000)
From-SVN: r10816
gcc/ginclude/ppc-asm.h
patch
|
blob
|
history
diff --git
a/gcc/ginclude/ppc-asm.h
b/gcc/ginclude/ppc-asm.h
index 383f4c25831169baa80f0227dbe1a6be53f60ae6..182b91731bf84de99ff77b6374693283ce81bece 100644
(file)
--- 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.