aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2001-05-25 22:08:30 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2001-05-25 18:08:30 -0400
commitf245e30e856e5868d579d789f063d6fef76c58ca (patch)
treea762023462266c93ee2ed050074a3e0dd0bda2ea
parentbd937d500d491f97516cb13ba52e35aed766f6dc (diff)
downloadgcc-f245e30e856e5868d579d789f063d6fef76c58ca.zip
gcc-f245e30e856e5868d579d789f063d6fef76c58ca.tar.gz
gcc-f245e30e856e5868d579d789f063d6fef76c58ca.tar.bz2
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
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/config/rs6000/aix.h8
-rw-r--r--gcc/xcoffout.h7
3 files changed, 15 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 907c45c..587d595 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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,
diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h
index 4b0d28a..d5c103f 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 e1c3e89..d44fad7 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