aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorpogma <pogma@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-22 02:28:19 +0000
committerpogma <pogma@138bc75d-0d04-0410-961f-82ee72b054a4>2009-09-22 02:28:19 +0000
commit9166f36aa462460cfcbabe74860db4c1bb5f82ab (patch)
tree85c72de7dc49198ecd76e219663e41cf3d9e8cad /gcc/config.gcc
parent7bba6081c6b88c083de8f647f55a74ae965d560f (diff)
PR middle-end/41260
* gcc/config.gcc: Use darwin9.h and darwin10.h on darwin10 and later. * gcc/config/darwin10.h: Add file to pass -no_compact_unwind on LIB_SPEC for darwin10 and later since it always uses the unwinder in libSystem which is derived from the gcc 4.2.1 unwinder. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151960 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 00025638ceb..2e28ea26b7d 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -400,9 +400,12 @@ case ${target} in
*-*-darwin*)
tm_file="${tm_file} darwin.h"
case ${target} in
- *-*-darwin[912]*)
+ *-*-darwin9*)
tm_file="${tm_file} darwin9.h"
;;
+ *-*-darwin[12][0-9]*)
+ tm_file="${tm_file} darwin9.h darwin10.h"
+ ;;
esac
tm_file="${tm_file} ${cpu_type}/darwin.h"
tm_p_file="${tm_p_file} darwin-protos.h"