diff options
author | Richard Henderson <rth@redhat.com> | 2002-03-27 02:30:45 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-03-27 02:30:45 -0800 |
commit | 59f968797461e667478c4858837fb00883c1bfb2 (patch) | |
tree | 579a7523c09fde24bac57bfb8aacb495d657e857 | |
parent | f3f1190dd993322127712295e61767cca15e2b84 (diff) | |
download | gcc-59f968797461e667478c4858837fb00883c1bfb2.zip gcc-59f968797461e667478c4858837fb00883c1bfb2.tar.gz gcc-59f968797461e667478c4858837fb00883c1bfb2.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/sparc/freebsd.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/linux.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/linux64.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/netbsd-elf.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/pbd.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/sol2.h | 3 | ||||
-rw-r--r-- | gcc/config/sparc/vxsim.h | 3 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/debug/20020327-1.c | 4 |
9 files changed, 31 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d7bc10e..80df83c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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, diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h index ff7c3e7..e2dfa59 100644 --- a/gcc/config/sparc/freebsd.h +++ b/gcc/config/sparc/freebsd.h @@ -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. */ diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index c07648b..12d859c 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -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. */ diff --git a/gcc/config/sparc/linux64.h b/gcc/config/sparc/linux64.h index 136864f..55624fb 100644 --- a/gcc/config/sparc/linux64.h +++ b/gcc/config/sparc/linux64.h @@ -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. */ diff --git a/gcc/config/sparc/netbsd-elf.h b/gcc/config/sparc/netbsd-elf.h index 280ec38..f454b96 100644 --- a/gcc/config/sparc/netbsd-elf.h +++ b/gcc/config/sparc/netbsd-elf.h @@ -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. */ diff --git a/gcc/config/sparc/pbd.h b/gcc/config/sparc/pbd.h index 27dfa96..9d267a5 100644 --- a/gcc/config/sparc/pbd.h +++ b/gcc/config/sparc/pbd.h @@ -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. diff --git a/gcc/config/sparc/sol2.h b/gcc/config/sparc/sol2.h index 2f504b3..64e54b7 100644 --- a/gcc/config/sparc/sol2.h +++ b/gcc/config/sparc/sol2.h @@ -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. */ diff --git a/gcc/config/sparc/vxsim.h b/gcc/config/sparc/vxsim.h index 30d9279..09e1f16 100644 --- a/gcc/config/sparc/vxsim.h +++ b/gcc/config/sparc/vxsim.h @@ -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 index 0000000..3ad1b1b --- /dev/null +++ b/gcc/testsuite/gcc.dg/debug/20020327-1.c @@ -0,0 +1,4 @@ +/* { dg-do link } */ + +void Letext (void) { } +int main() { return 0; } |