From 77f43519e73eaac473819ed22dd95e643f500907 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Thu, 19 Jul 2001 20:20:42 +0000 Subject: [PATCH] Restore ASM_OUTPUT_LABEL_REF definition. From-SVN: r44162 --- gcc/ChangeLog | 4 ++++ gcc/config/v850/v850.h | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0a967bccd20..63a57774b5e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2001-07-19 Catherine Moore + + * config/v850/v850.h (ASM_OUTPUT_LABELREF): Restore. + 2001-07-19 Geoffrey Keating * reload1.c (eliminate_regs_in_insn): When updating a set diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h index 604a7686ce3..9d2b2604e4f 100644 --- a/gcc/config/v850/v850.h +++ b/gcc/config/v850/v850.h @@ -1332,6 +1332,17 @@ do { char dstr[30]; \ } \ while (0) +/* This is how to output a reference to a user-level label named NAME. + `assemble_name' uses this. */ + +#undef ASM_OUTPUT_LABELREF +#define ASM_OUTPUT_LABELREF(FILE, NAME) \ + do { \ + char* real_name; \ + STRIP_NAME_ENCODING (real_name, (NAME)); \ + asm_fprintf (FILE, "%U%s", real_name); \ + } while (0) + /* Store in OUTPUT a string (made with alloca) containing an assembler-name for a local static variable named NAME. -- 2.30.2