summaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>2009-02-17 23:42:44 +0000
committerJohn David Anglin <danglin@gcc.gnu.org>2009-02-17 23:42:44 +0000
commit8cd01fe6f05b6c49453ac5db7195fbd3f49676ae (patch)
tree138d34e3620e25a98feaaecc90f7bc281936ac62 /gcc/config/darwin.h
parent418df9d79aedfe4ab88febd6ce0df43dfc74828e (diff)
downloadgcc-8cd01fe6f05b6c49453ac5db7195fbd3f49676ae.tar.gz
re PR target/34587 (gcc.dg/initpri1.c fails on *-apple-darwin)
PR target/34587 * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define. From-SVN: r144251
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 53dab640594..5d4b1873f2b 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -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 */