summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 19:31:37 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 19:31:37 +0000
commit212c64849be791cdeeac81fa7ee30fa42b587dfa (patch)
tree2255257b4d627add2fba672145550c4d8f334729 /gcc/collect2.c
parent0045890aebfc0da3af0bcabde0b591f77d68392c (diff)
downloadgcc-212c64849be791cdeeac81fa7ee30fa42b587dfa.tar.gz
* collect2.c (is_ctor_dtor): Add other possible JOINER values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55656 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 537c076f939..7d90658a310 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 },