(ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152398
138bc75d-0d04-0410-961f-
82ee72b054a4
+2009-10-02 Nick Clifton <nickc@redhat.com>
+
+ * config/mn10300/mn10300.h (USER_LABEL_PREFIX): Define.
+ (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
+
2009-10-01 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_clone_node): Add redirect_callers parameter.
2009-10-01 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_clone_node): Add redirect_callers parameter.
#define ASM_APP_OFF "#NO_APP\n"
#define ASM_APP_OFF "#NO_APP\n"
+#undef USER_LABEL_PREFIX
+#define USER_LABEL_PREFIX "_"
+
/* This says how to output the assembler to define a global
uninitialized but not common symbol.
Try to use asm_output_bss to implement this macro. */
/* This says how to output the assembler to define a global
uninitialized but not common symbol.
Try to use asm_output_bss to implement this macro. */
#undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE, NAME) \
#undef ASM_OUTPUT_LABELREF
#define ASM_OUTPUT_LABELREF(FILE, NAME) \
- fprintf (FILE, "_%s", (*targetm.strip_name_encoding) (NAME))
+ asm_fprintf (FILE, "%U%s", (*targetm.strip_name_encoding) (NAME))
#define ASM_PN_FORMAT "%s___%lu"
#define ASM_PN_FORMAT "%s___%lu"