Commit 79f4e1c0 by Geoff Keating Committed by Geoffrey Keating

ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.

* ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
(FUNC_END): Likewise.

From-SVN: r31808
parent 8734cf78
2000-02-05 Geoff Keating <geoffk@cygnus.com>
* ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
(FUNC_END): Likewise.
2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz> 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* caller-save.c: Include tm_p.h. * caller-save.c: Include tm_p.h.
......
...@@ -157,14 +157,14 @@ GLUE(.L,name): \ ...@@ -157,14 +157,14 @@ GLUE(.L,name): \
.size GLUE(..,name),GLUE(.L,name)-GLUE(..,name) .size GLUE(..,name),GLUE(.L,name)-GLUE(..,name)
#else #else
#define FUNC_NAME(name) name #define FUNC_NAME(name) GLUE(__USER_LABEL_PREFIX__,name)
#define FUNC_START(name) \ #define FUNC_START(name) \
.type name,@function; \ .type FUNC_NAME(name),@function; \
.globl name; \ .globl FUNC_NAME(name); \
name: FUNC_NAME(name):
#define FUNC_END(name) \ #define FUNC_END(name) \
GLUE(.L,name): \ GLUE(.L,name): \
.size name,GLUE(.L,name)-name .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name)
#endif #endif
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