diff options
author | David Edelsohn <edelsohn@gnu.org> | 2002-07-22 19:31:37 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2002-07-22 15:31:37 -0400 |
commit | 7488cc6d69218c4863a4dcb44c687a1c3eb5bb2e (patch) | |
tree | 2255257b4d627add2fba672145550c4d8f334729 /gcc | |
parent | b41caf7c04d68a4c063607b40b0fafce9e06f009 (diff) | |
download | gcc-7488cc6d69218c4863a4dcb44c687a1c3eb5bb2e.zip gcc-7488cc6d69218c4863a4dcb44c687a1c3eb5bb2e.tar.gz gcc-7488cc6d69218c4863a4dcb44c687a1c3eb5bb2e.tar.bz2 |
* collect2.c (is_ctor_dtor): Add other possible JOINER values.
From-SVN: r55656
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/collect2.c | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5dc4407..16453e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-07-22 David Edelsohn <edelsohn@gnu.org> + + * collect2.c (is_ctor_dtor): Add other possible JOINER values. + 2002-07-22 Richard Earnshaw <rearnsha@arm.com> * arm.md (movqi): If optimizing and we can create pseudos, use diff --git a/gcc/collect2.c b/gcc/collect2.c index 537c076..7d90658 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -573,6 +573,15 @@ is_ctor_dtor (s) const char *orig_s = s; static const struct names special[] = { +#ifndef NO_DOLLAR_IN_LABEL + { "GLOBAL__I$", sizeof ("GLOBAL__I$")-1, 1, 0 }, + { "GLOBAL__D$", sizeof ("GLOBAL__D$")-1, 2, 0 }, +#else +#ifndef NO_DOT_IN_LABEL + { "GLOBAL__I.", sizeof ("GLOBAL__I.")-1, 1, 0 }, + { "GLOBAL__D.", sizeof ("GLOBAL__D.")-1, 2, 0 }, +#endif /* NO_DOT_IN_LABEL */ +#endif /* NO_DOLLAR_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 }, |