aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-07-21 03:36:21 +0000
committerRichard Stallman <rms@gnu.org>1993-07-21 03:36:21 +0000
commitcf0fc80a4581716ba92cceced46ea3ded6889265 (patch)
tree488d486408bef7b0c54c8b6bf88bff8973446406 /gcc
parente2bf4cfc9458b40361aff27faca3339f0e3d7bfc (diff)
downloadgcc-cf0fc80a4581716ba92cceced46ea3ded6889265.zip
gcc-cf0fc80a4581716ba92cceced46ea3ded6889265.tar.gz
gcc-cf0fc80a4581716ba92cceced46ea3ded6889265.tar.bz2
(is_ctor_dtor): Delete leading _'s from sym names
in `special' table, in neither-dots-nor-dollars case. From-SVN: r4947
Diffstat (limited to 'gcc')
-rw-r--r--gcc/collect2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 464eb44..e65cc16 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -384,8 +384,8 @@ is_ctor_dtor (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__I_", sizeof ("___GLOBAL__I_")-1, 1, 0 },
+ { "GLOBAL__D_", sizeof ("___GLOBAL__D_")-1, 2, 0 },
#else
{ "GLOBAL_.I.", sizeof ("GLOBAL_.I.")-1, 1, 0 },
{ "GLOBAL_.D.", sizeof ("GLOBAL_.D.")-1, 2, 0 },