OSDN Git Service

* xcoffout.h (DBX_OUTPUT_GCC_MARKER): Do not emit any marker.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 22:08:30 +0000 (22:08 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 25 May 2001 22:08:30 +0000 (22:08 +0000)
* config/rs6000/aix.h (USER_LABEL_PREFIX): AIX symbols do not have
any prefix.
(ASM_OUTPUT_LABELREF): Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42598 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/aix.h
gcc/xcoffout.h

index 907c45c..587d595 100644 (file)
@@ -1,3 +1,11 @@
+2001-05-25  David Edelsohn  <edelsohn@gnu.org>
+
+       * 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  <ro@TechFak.Uni-Bielefeld.DE>
 
        * fixinc/inclhack.def (strict_ansi_not, strict_ansi_not_ctd,
index 4b0d28a..d5c103f 100644 (file)
@@ -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)  \
index e1c3e89..d44fad7 100644 (file)
@@ -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