diff options
author | Jason Merrill <jason@redhat.com> | 2001-03-21 19:53:50 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2001-03-21 19:53:50 -0500 |
commit | 64d9c3fede833ead77f8379349cf1dfabfe7f69c (patch) | |
tree | 371485407c31108950fa8442cc454dd40ecbd81e /gcc/collect2.c | |
parent | 52d76e11287d0e4c7d9464cc4a5d4462da1425d2 (diff) | |
download | gcc-64d9c3fede833ead77f8379349cf1dfabfe7f69c.zip gcc-64d9c3fede833ead77f8379349cf1dfabfe7f69c.tar.gz gcc-64d9c3fede833ead77f8379349cf1dfabfe7f69c.tar.bz2 |
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
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 12 |
1 files changed, 0 insertions, 12 deletions
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. |