Commit f288d4aa by Geoffrey Keating Committed by Geoffrey Keating

* config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.

From-SVN: r54528
parent d27bab4c
2002-06-11 Geoffrey Keating <geoffk@redhat.com>
* config/rs6000/ppc-asm.h: Remove some Windows NT leftovers.
2002-06-11 Richard Henderson <rth@redhat.com> 2002-06-11 Richard Henderson <rth@redhat.com>
* caller-save.c (init_caller_save): Clear INSN_CODE each iteration. * caller-save.c (init_caller_save): Clear INSN_CODE each iteration.
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
/* Under winnt, 1) gas supports the following as names and 2) in particular /* Under winnt, 1) gas supports the following as names and 2) in particular
defining "toc" breaks the FUNC_START macro as ".toc" becomes ".2" */ 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
...@@ -77,7 +76,6 @@ ...@@ -77,7 +76,6 @@
#define f29 29 #define f29 29
#define f30 30 #define f30 30
#define f31 31 #define f31 31
#endif
/* /*
* Macros to glue together two tokens. * Macros to glue together two tokens.
...@@ -122,43 +120,6 @@ GLUE(.,name): ...@@ -122,43 +120,6 @@ GLUE(.,name):
GLUE(.L,name): \ GLUE(.L,name): \
.size GLUE(.,name),GLUE(.L,name)-GLUE(.,name) .size GLUE(.,name),GLUE(.L,name)-GLUE(.,name)
#elif defined(__WINNT__)
#define FUNC_NAME(name) GLUE(..,name)
#define JUMP_TARGET(name) FUNC_NAME(name)
#define FUNC_START(name) \
.pdata; \
.align 2; \
.ualong GLUE(..,name),GLUE(name,.e),0,0,GLUE(..,name); \
.reldata; \
name: \
.ualong GLUE(..,name),.toc; \
.section .text; \
.globl name; \
.globl GLUE(..,name); \
GLUE(..,name):
#define FUNC_END(name) \
GLUE(name,.e): ; \
GLUE(FE_MOT_RESVD..,name):
#elif defined(_CALL_NT)
#define FUNC_NAME(name) GLUE(..,name)
#define JUMP_TARGET(name) FUNC_NAME(name)
#define FUNC_START(name) \
.section DESC_SECTION,"aw"; \
name: \
.long GLUE(..,name); \
.long _GLOBAL_OFFSET_TABLE_; \
.previous; \
.type GLUE(..,name),@function; \
.globl name; \
.globl GLUE(..,name); \
GLUE(..,name):
#define FUNC_END(name) \
GLUE(.L,name): \
.size GLUE(..,name),GLUE(.L,name)-GLUE(..,name)
#elif defined (__powerpc64__) #elif defined (__powerpc64__)
#define FUNC_NAME(name) GLUE(.,name) #define FUNC_NAME(name) GLUE(.,name)
#define JUMP_TARGET(name) FUNC_NAME(name) #define JUMP_TARGET(name) FUNC_NAME(name)
......
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