From 6110c44a9732fde36136ca7404eebee9c072c85a Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Wed, 21 May 2008 19:36:28 +0000 Subject: [PATCH] cygming.h (ASM_OUTPUT_LABELREF): Honor option -f(no-)leading-underscore. 2008-05-21 Kai Tietz PR/36280 * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Honor option -f(no-)leading-underscore. From-SVN: r135733 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/cygming.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index aaeb460e4ac..b71520e4550 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-05-21 Kai Tietz + + PR/36280 + * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Honor + option -f(no-)leading-underscore. + 2008-05-21 H.J. Lu * config/i386/i386.c (ix86_expand_vector_init_general): Use diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index a6537bc60d3..bf46cab15f7 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -199,12 +199,12 @@ do { \ /* Output a reference to a label. Fastcall function symbols keep their '@' prefix, while other symbols are prefixed - with USER_LABEL_PREFIX. */ + with user_label_prefix. */ #undef ASM_OUTPUT_LABELREF #define ASM_OUTPUT_LABELREF(STREAM, NAME) \ do { \ if ((NAME)[0] != FASTCALL_PREFIX) \ - fputs (USER_LABEL_PREFIX, (STREAM)); \ + fputs (user_label_prefix, (STREAM)); \ fputs ((NAME), (STREAM)); \ } while (0) -- 2.30.2