OSDN Git Service

* collect2.c (is_ctor_dtor): Add other possible JOINER values.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jul 2002 19:31:37 +0000 (19:31 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Jul 2002 19:31:37 +0000 (19:31 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55656 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/collect2.c

index 5dc4407..16453e5 100644 (file)
@@ -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
index 537c076..7d90658 100644 (file)
@@ -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 },