diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-09-21 11:05:59 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-09-21 11:05:59 +0000 |
commit | afbf0a8ceec3914a6efa48369a5ea99f95ea33c1 (patch) | |
tree | cb1b380b97b2b527298ca3a4d13faafb28ee3a05 /gcc/config/i386 | |
parent | 337e433ad98d926b01cc648b2eb12583347e3331 (diff) | |
download | gcc-afbf0a8ceec3914a6efa48369a5ea99f95ea33c1.tar.gz |
(USER_LABEL_PREFIX): Redefine, not ASM_OUTPUT_LABELREF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12752 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/att.h | 8 | ||||
-rw-r--r-- | gcc/config/i386/bsd.h | 8 | ||||
-rw-r--r-- | gcc/config/i386/lynx.h | 8 | ||||
-rw-r--r-- | gcc/config/i386/sco5.h | 9 |
4 files changed, 16 insertions, 17 deletions
diff --git a/gcc/config/i386/att.h b/gcc/config/i386/att.h index ef095b7a67f..e5c2d9c7e99 100644 --- a/gcc/config/i386/att.h +++ b/gcc/config/i386/att.h @@ -87,9 +87,7 @@ do \ #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ fprintf (FILE, ".%s%d:\n", PREFIX, NUM) -/* This is how to output a reference to a user-level label named NAME. */ - -#undef ASM_OUTPUT_LABELREF -#define ASM_OUTPUT_LABELREF(FILE,NAME) \ - fprintf (FILE, "%s", NAME) +/* The prefix to add to user-visible assembler symbols. */ +#undef USER_LABEL_PREFIX +#define USER_LABEL_PREFIX "" diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h index 6bf7399dc31..d50be3664c1 100644 --- a/gcc/config/i386/bsd.h +++ b/gcc/config/i386/bsd.h @@ -1,7 +1,7 @@ /* Definitions for BSD assembler syntax for Intel 386 (actually AT&T syntax for insns and operands, adapted to BSD conventions for symbol names and debugging.) - Copyright (C) 1988 Free Software Foundation, Inc. + Copyright (C) 1988, 1996 Free Software Foundation, Inc. This file is part of GNU CC. @@ -115,12 +115,12 @@ Boston, MA 02111-1307, USA. */ fprintf (FILE, "%s%d:\n", PREFIX, NUM) #endif -/* This is how to output a reference to a user-level label named NAME. */ +/* The prefix to add to user-visible assembler symbols. */ #ifdef NO_UNDERSCORES -#define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "%s", NAME) +#define USER_LABEL_PREFIX "" #else -#define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "_%s", NAME) +#define USER_LABEL_PREFIX "_" #endif /* not NO_UNDERSCORES */ /* Sequent has some changes in the format of DBX symbols. */ diff --git a/gcc/config/i386/lynx.h b/gcc/config/i386/lynx.h index 4ac00a052ba..73111f916a5 100644 --- a/gcc/config/i386/lynx.h +++ b/gcc/config/i386/lynx.h @@ -1,5 +1,5 @@ /* Definitions for Intel 386 running LynxOS. - Copyright (C) 1993, 1995 Free Software Foundation, Inc. + Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc. This file is part of GNU CC. @@ -24,12 +24,12 @@ Boston, MA 02111-1307, USA. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dunix -Di386 -DI386 -DLynx -DIBITS32 -Asystem(unix) -Asystem(lynx) -Acpu(i386) -Amachine(i386)" -/* This is how to output a reference to a user-level label named NAME. */ +/* The prefix to add to user-visible assembler symbols. */ /* Override the svr3 convention of adding a leading underscore. */ -#undef ASM_OUTPUT_LABELREF -#define ASM_OUTPUT_LABELREF(FILE,NAME) fprintf (FILE, "%s", NAME) +#undef USER_LABEL_PREFIX +#define USER_LABEL_PREFIX "" /* Apparently LynxOS clobbers ebx when you call into the OS. */ diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h index 0a56377c16f..13a6798e3ff 100644 --- a/gcc/config/i386/sco5.h +++ b/gcc/config/i386/sco5.h @@ -1,6 +1,6 @@ /* Definitions for Intel 386 running SCO Unix System V 3.2 Version 5. - Written by Kean Johnston (hug@netcom.com) Copyright (C) 1992, 1995, 1996 Free Software Foundation, Inc. + Contributed by Kean Johnston (hug@netcom.com) This file is part of GNU CC. @@ -483,9 +483,10 @@ do { \ #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \ fprintf (FILE, ".%s%d:\n", PREFIX, NUM) -#undef ASM_OUTPUT_LABELREF -#define ASM_OUTPUT_LABELREF(FILE,NAME) \ - fprintf (FILE, "%s", NAME) +/* The prefix to add to user-visible assembler symbols. */ + +#undef USER_LABEL_PREFIX +#define USER_LABEL_PREFIX "" #undef ASM_OUTPUT_SECTION_NAME #define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME) \ |