OSDN Git Service

PR target/34587
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Feb 2009 23:42:44 +0000 (23:42 +0000)
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Feb 2009 23:42:44 +0000 (23:42 +0000)
* config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144251 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/darwin.h

index 5516191..ca77fc4 100644 (file)
@@ -1,3 +1,8 @@
+2009-02-17  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR target/34587
+       * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.
+
 2009-02-18  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/36922
index 53dab64..5d4b187 100644 (file)
@@ -998,4 +998,8 @@ extern void darwin_default_min_version (int * argc, char *** argv);
   darwin_default_min_version (&argc, &argv)
 #endif /* CROSS_DIRECTORY_STRUCTURE */
 
+/* The Apple assembler and linker do not support constructor priorities.  */
+#undef SUPPORTS_INIT_PRIORITY
+#define SUPPORTS_INIT_PRIORITY 0
+
 #endif /* CONFIG_DARWIN_H */