From: John David Anglin Date: Tue, 17 Feb 2009 23:42:44 +0000 (+0000) Subject: re PR target/34587 (gcc.dg/initpri1.c fails on *-apple-darwin) X-Git-Tag: releases/gcc-4.4.0~515 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cd01fe6f05b6c49453ac5db7195fbd3f49676ae;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 551619115b65..ca77fc468a3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-02-17 John David Anglin + + PR target/34587 + * config/darwin.h (SUPPORTS_INIT_PRIORITY): Define. + 2009-02-18 Jakub Jelinek PR tree-optimization/36922 diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 53dab6405941..5d4b1873f2be 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 */