From f245e30e856e5868d579d789f063d6fef76c58ca Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Fri, 25 May 2001 22:08:30 +0000 Subject: [PATCH] xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker. * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker. * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have any prefix. (ASM_OUTPUT_LABELREF): Delete. From-SVN: r42598 --- gcc/ChangeLog | 8 ++++++++ gcc/config/rs6000/aix.h | 8 +------- gcc/xcoffout.h | 7 ++++++- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 907c45c2f70..587d59569a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2001-05-25 David Edelsohn + + * xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker. + + * config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have + any prefix. + (ASM_OUTPUT_LABELREF): Delete. + 2001-05-25 Rainer Orth * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd, diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index 4b0d28aaaf4..d5c103fb9f3 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -71,7 +71,7 @@ Boston, MA 02111-1307, USA. */ /* #define ASM_OUTPUT_DESTRUCTOR(file, name) */ /* The prefix to add to user-visible assembler symbols. */ -#define USER_LABEL_PREFIX "." +#define USER_LABEL_PREFIX "" /* Don't turn -B into -L if the argument specifies a relative file name. */ #define RELATIVE_PREFIX_NOT_LINKDIR @@ -487,12 +487,6 @@ toc_section () \ #define ASM_OUTPUT_SYMBOL_REF(FILE, SYM) \ rs6000_output_symbol_ref (FILE, SYM) -/* This is how to output a reference to a user-level label named NAME. - `assemble_name' uses this. */ - -#define ASM_OUTPUT_LABELREF(FILE,NAME) \ - fputs (NAME, FILE) - /* This says how to output an external. */ #define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME) \ diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h index e1c3e89298a..d44fad7d588 100644 --- a/gcc/xcoffout.h +++ b/gcc/xcoffout.h @@ -173,8 +173,13 @@ extern const char *xcoff_lastfile; } /* .stabx has the type in a different place. */ +#if 0 /* Do not emit any marker for XCOFF until assembler allows XFT_CV. */ #define DBX_OUTPUT_GCC_MARKER(FILE) \ - fprintf ((FILE), "%s\"%s\",0,%d,0\n", ASM_STABS_OP, STABS_GCC_MARKER, N_OPT) + fprintf ((FILE), "%s\"%s\",0,%d,0\n", ASM_STABS_OP, STABS_GCC_MARKER, \ + stab_to_sclass (N_GSYM)) +#else +#define DBX_OUTPUT_GCC_MARKER(FILE) +#endif /* Do not break .stabs pseudos into continuations. */ #define DBX_CONTIN_LENGTH 0 -- 2.30.2