]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/34587 (gcc.dg/initpri1.c fails on *-apple-darwin)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Tue, 17 Feb 2009 23:42:44 +0000 (23:42 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Tue, 17 Feb 2009 23:42:44 +0000 (23:42 +0000)
PR target/34587
* config/darwin.h (SUPPORTS_INIT_PRIORITY): Define.

From-SVN: r144251

gcc/ChangeLog
gcc/config/darwin.h

index 551619115b652fd5cdc1cc55d7f6aaf2488dac0c..ca77fc468a3e25ef1fb7f4ad6220d73c1c23464d 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 53dab64059416258cd0c52a24a24282a3c2921bd..5d4b1873f2bea48405bed12ec7d5e3fefb135162 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 */