diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2009-02-17 23:42:44 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2009-02-17 23:42:44 +0000 |
commit | 8cd01fe6f05b6c49453ac5db7195fbd3f49676ae (patch) | |
tree | 138d34e3620e25a98feaaecc90f7bc281936ac62 /gcc/config/darwin.h | |
parent | 418df9d79aedfe4ab88febd6ce0df43dfc74828e (diff) | |
download | gcc-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.h | 4 |
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 */ |