Commit 59f96879 by Richard Henderson Committed by Richard Henderson

freebsd.h, [...] (LOCAL_LABEL_PREFIX): Define.

        * 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
parent f3f1190d
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> 2002-03-27 Danny Smith <dannysmith@users.sourceforge.net>
* config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32, * config/i386/cygwin.h (TARGET_DLL, TARGET_WIN32,
......
...@@ -102,6 +102,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -102,6 +102,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/************************[ Assembler stuff ]********************************/ /************************[ Assembler stuff ]********************************/
#undef LOCAL_LABEL_PREFIX
#define LOCAL_LABEL_PREFIX "."
/* XXX2 */ /* XXX2 */
/* This is how to output a definition of an internal numbered label where /* 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. */ PREFIX is the class of label and NUM is the number within the class. */
......
...@@ -204,6 +204,9 @@ do { \ ...@@ -204,6 +204,9 @@ do { \
#undef COMMON_ASM_OP #undef COMMON_ASM_OP
#define COMMON_ASM_OP "\t.common\t" #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 /* 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. */ PREFIX is the class of label and NUM is the number within the class. */
......
...@@ -325,6 +325,9 @@ do { \ ...@@ -325,6 +325,9 @@ do { \
#undef COMMON_ASM_OP #undef COMMON_ASM_OP
#define COMMON_ASM_OP "\t.common\t" #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 /* 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. */ PREFIX is the class of label and NUM is the number within the class. */
......
...@@ -56,6 +56,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -56,6 +56,9 @@ Boston, MA 02111-1307, USA. */
#define DBX_REGISTER_NUMBER(REGNO) \ #define DBX_REGISTER_NUMBER(REGNO) \
(TARGET_FLAT && REGNO == HARD_FRAME_POINTER_REGNUM ? 31 : 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 /* 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. */ PREFIX is the class of label and NUM is the number within the class. */
......
...@@ -111,6 +111,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -111,6 +111,9 @@ Boston, MA 02111-1307, USA. */
* Internal labels are prefixed with a period. * Internal labels are prefixed with a period.
*/ */
#undef LOCAL_LABEL_PREFIX
#define LOCAL_LABEL_PREFIX "."
/* This is how to store into the string LABEL /* This is how to store into the string LABEL
the symbol_ref name of an internal numbered label where the symbol_ref name of an internal numbered label where
PREFIX is the class of label and NUM is the number within the class. PREFIX is the class of label and NUM is the number within the class.
......
...@@ -104,6 +104,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -104,6 +104,9 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_SKIP(FILE,SIZE) \ #define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "\t.skip %u\n", (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 /* 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. */ PREFIX is the class of label and NUM is the number within the class. */
......
...@@ -71,6 +71,9 @@ do { \ ...@@ -71,6 +71,9 @@ do { \
#undef COMMON_ASM_OP #undef COMMON_ASM_OP
#define COMMON_ASM_OP "\t.common\t" #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 /* 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. */ PREFIX is the class of label and NUM is the number within the class. */
......
/* { dg-do link } */
void Letext (void) { }
int main() { return 0; }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment