This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
make -fleading-underscore work on arm
- To: gcc-patches at gcc dot gnu dot org
- Subject: make -fleading-underscore work on arm
- From: Philip Blundell <philb at gnu dot org>
- Date: Sat, 07 Apr 2001 22:32:53 +0100
The ARM port was using USER_LABEL_PREFIX directly, rather than
user_label_prefix. Is this OK to apply to the trunk and the 3.0 branch?
p.
2001-04-07 Philip Blundell <philb@gnu.org>
* config/arm/arm.h (ASM_OUTPUT_LABELREF): Use asm_fprintf.
Index: arm.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/arm/arm.h,v
retrieving revision 1.98
diff -u -p -u -r1.98 arm.h
--- arm.h 2001/01/15 19:54:42 1.98
+++ arm.h 2001/04/07 21:31:29
@@ -1929,7 +1929,7 @@ typedef struct
`assemble_name' uses this. */
#undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE, NAME) \
- fprintf (FILE, "%s%s", USER_LABEL_PREFIX, arm_strip_name_encoding (NAME))
+ asm_fprintf (FILE, "%U%s", arm_strip_name_encoding (NAME))
/* If we are referencing a function that is weak then encode a long call
flag in the function name, otherwise if the function is static or