From 64d9c3fede833ead77f8379349cf1dfabfe7f69c Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 21 Mar 2001 19:53:50 -0500 Subject: collect2.c (is_ctor_dtor): Always use '_' in the file fn names, not '.' or '$'. * collect2.c (is_ctor_dtor): Always use '_' in the file fn names, not '.' or '$'. * tree.c (FILE_FUNCTION_FORMAT): Likewise. * varasm.c (CHKR_PREFIX): Likewise. * error.c (GLOBAL_THING): Always use '__'. From-SVN: r40723 --- gcc/collect2.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gcc/collect2.c') diff --git a/gcc/collect2.c b/gcc/collect2.c index 729d62d..732ed4b 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -589,21 +589,9 @@ is_ctor_dtor (s) register const char *orig_s = s; static struct names special[] = { -#ifdef NO_DOLLAR_IN_LABEL -#ifdef NO_DOT_IN_LABEL { "GLOBAL__I_", sizeof ("GLOBAL__I_")-1, 1, 0 }, { "GLOBAL__D_", sizeof ("GLOBAL__D_")-1, 2, 0 }, { "GLOBAL__F_", sizeof ("GLOBAL__F_")-1, 5, 0 }, -#else - { "GLOBAL_.I.", sizeof ("GLOBAL_.I.")-1, 1, 0 }, - { "GLOBAL_.D.", sizeof ("GLOBAL_.D.")-1, 2, 0 }, - { "GLOBAL_.F.", sizeof ("GLOBAL_.F.")-1, 5, 0 }, -#endif -#else - { "GLOBAL_$I$", sizeof ("GLOBAL_$I$")-1, 1, 0 }, - { "GLOBAL_$D$", sizeof ("GLOBAL_$D$")-1, 2, 0 }, - { "GLOBAL_$F$", sizeof ("GLOBAL_$F$")-1, 5, 0 }, -#endif { "GLOBAL__FI_", sizeof ("GLOBAL__FI_")-1, 3, 0 }, { "GLOBAL__FD_", sizeof ("GLOBAL__FD_")-1, 4, 0 }, #ifdef CFRONT_LOSSAGE /* Do not collect cfront initialization functions. -- cgit v1.1