]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
authorGeoff Keating <geoffk@cygnus.com>
Sun, 6 Feb 2000 03:14:46 +0000 (03:14 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sun, 6 Feb 2000 03:14:46 +0000 (03:14 +0000)
* ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
(FUNC_END): Likewise.

From-SVN: r31808

gcc/ChangeLog
gcc/ginclude/ppc-asm.h

index b7b369c3e8699272d2620423400211972b0c30b5..5252104cf908c63497eac9a018d4012afb8f84d7 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * caller-save.c: Include tm_p.h.
index 4512d94352a3c4ce315e211c483d2708e264d970..af17dfa8f5e51060aa0e2df8ef71bd1c2eafaaa4 100644 (file)
@@ -157,14 +157,14 @@ GLUE(.L,name): \
        .size GLUE(..,name),GLUE(.L,name)-GLUE(..,name)
 
 #else
-#define FUNC_NAME(name) name
+#define FUNC_NAME(name) GLUE(__USER_LABEL_PREFIX__,name)
 #define FUNC_START(name) \
-       .type name,@function; \
-       .globl name; \
-name:
+       .type FUNC_NAME(name),@function; \
+       .globl FUNC_NAME(name); \
+FUNC_NAME(name):
 
 #define FUNC_END(name) \
 GLUE(.L,name): \
-       .size name,GLUE(.L,name)-name
+       .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name)
 #endif