freebsd.h, [...] (LOCAL_LABEL_PREFIX): Define.
authorRichard Henderson <rth@redhat.com>
Wed, 27 Mar 2002 10:30:45 +0000 (02:30 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 27 Mar 2002 10:30:45 +0000 (02:30 -0800)
        * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
        config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
        config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.

* gcc.dg/debug/20020327-1.c: New.

From-SVN: r51443

gcc/ChangeLog
gcc/config/sparc/freebsd.h
gcc/config/sparc/linux.h
gcc/config/sparc/linux64.h
gcc/config/sparc/netbsd-elf.h
gcc/config/sparc/pbd.h
gcc/config/sparc/sol2.h
gcc/config/sparc/vxsim.h
gcc/testsuite/gcc.dg/debug/20020327-1.c [new file with mode: 0644]

index d7bc10e..80df83c 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-27  Richard Henderson  <rth@redhat.com>
+
+       * config/sparc/freebsd.h, config/sparc/linux.h, config/sparc/linux64.h,
+       config/sparc/netbsd-elf.h, config/sparc/pbd.h, config/sparc/sol2.h,
+       config/sparc/vxsim.h (LOCAL_LABEL_PREFIX): Define.
+
 2002-03-27  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
index ff7c3e7..e2dfa59 100644 (file)
@@ -102,6 +102,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /************************[  Assembler stuff  ]********************************/
 
+#undef LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* XXX2 */
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
index c07648b..12d859c 100644 (file)
@@ -204,6 +204,9 @@ do {                                                                        \
 #undef COMMON_ASM_OP
 #define COMMON_ASM_OP "\t.common\t"
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
index 136864f..55624fb 100644 (file)
@@ -325,6 +325,9 @@ do {                                                                        \
 #undef COMMON_ASM_OP
 #define COMMON_ASM_OP "\t.common\t"
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
index 280ec38..f454b96 100644 (file)
@@ -56,6 +56,9 @@ Boston, MA 02111-1307, USA.  */
 #define DBX_REGISTER_NUMBER(REGNO) \
   (TARGET_FLAT && REGNO == HARD_FRAME_POINTER_REGNUM ? 31 : REGNO)
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
index 27dfa96..9d267a5 100644 (file)
@@ -111,6 +111,9 @@ Boston, MA 02111-1307, USA.  */
  *  Internal labels are prefixed with a period.
  */
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to store into the string LABEL
    the symbol_ref name of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.
index 2f504b3..64e54b7 100644 (file)
@@ -104,6 +104,9 @@ Boston, MA 02111-1307, USA.  */
 #define ASM_OUTPUT_SKIP(FILE,SIZE)  \
   fprintf (FILE, "\t.skip %u\n", (SIZE))
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
index 30d9279..09e1f16 100644 (file)
@@ -71,6 +71,9 @@ do {                                                                  \
 #undef COMMON_ASM_OP
 #define COMMON_ASM_OP "\t.common\t"
 
+#undef  LOCAL_LABEL_PREFIX
+#define LOCAL_LABEL_PREFIX  "."
+
 /* This is how to output a definition of an internal numbered label where
    PREFIX is the class of label and NUM is the number within the class.  */
 
diff --git a/gcc/testsuite/gcc.dg/debug/20020327-1.c b/gcc/testsuite/gcc.dg/debug/20020327-1.c
new file mode 100644 (file)
index 0000000..3ad1b1b
--- /dev/null
@@ -0,0 +1,4 @@
+/* { dg-do link } */
+
+void Letext (void) { }
+int main() { return 0; }