Commit 8e05e5dd by Michael Meissner

Do not define register names under Windows NT

From-SVN: r10816
parent 72b7eeff
...@@ -12,6 +12,11 @@ ...@@ -12,6 +12,11 @@
* they apply. * 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 r0 0
#define sp 1 #define sp 1
#define toc 2 #define toc 2
...@@ -44,6 +49,7 @@ ...@@ -44,6 +49,7 @@
#define r29 29 #define r29 29
#define r30 30 #define r30 30
#define r31 31 #define r31 31
#endif
/* /*
* Macros to glue together two tokens. * Macros to glue together two tokens.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment