diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-21 07:08:05 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-09-21 07:08:05 -0400 |
commit | ecebc13d07e99b4405f004bb7323b0faaf5e3bb9 (patch) | |
tree | ca680472ae40bf9dfd612d869f13b845303048cc /gcc/config | |
parent | 3cc7f838a3b0f9818914477f32d6602ad715f56e (diff) | |
download | gcc-ecebc13d07e99b4405f004bb7323b0faaf5e3bb9.zip gcc-ecebc13d07e99b4405f004bb7323b0faaf5e3bb9.tar.gz gcc-ecebc13d07e99b4405f004bb7323b0faaf5e3bb9.tar.bz2 |
(USER_LABEL_PREFIX): Redefine.
(ASM_OUTPUT_LABELREF) Use USER_LABEL_PREFIX.
From-SVN: r12754
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/nextstep.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/config/nextstep.h b/gcc/config/nextstep.h index 667bd2b..8ef3001 100644 --- a/gcc/config/nextstep.h +++ b/gcc/config/nextstep.h @@ -1,5 +1,5 @@ -/* nextstep.h -- operating system specific defines to be used when - targeting GCC for NeXTSTEP. +/* Operating system specific defines to be used when targeting GCC + for NeXTSTEP. Copyright (C) 1989, 90-93, 1996 Free Software Foundation, Inc. This file is part of GNU CC. @@ -254,6 +254,11 @@ Boston, MA 02111-1307, USA. */ (CLASS_NAME), (SEL_NAME)); \ } while (0) +/* The prefix to add to user-visible assembler symbols. */ + +#undef USER_LABEL_PREFIX +#define USER_LABEL_PREFIX "_" + /* Wrap new method names in quotes so the assembler doesn't gag. Make Objective-C internal symbols local. */ @@ -263,7 +268,7 @@ Boston, MA 02111-1307, USA. */ else if (!strncmp (NAME, "_OBJC_", 6)) fprintf (FILE, "L%s", NAME); \ else if (!strncmp (NAME, ".objc_class_name_", 17)) \ fprintf (FILE, "%s", NAME); \ - else fprintf (FILE, "_%s", NAME); } while (0) + else fprintf (FILE, "%s%s", USER_LABEL_PREFIX, NAME); } while (0) #undef ALIGN_ASM_OP #define ALIGN_ASM_OP ".align" |