The exception handling tests failing on darwin10 since r147995
are due to the new dwarf unwinding information being added
to describe the function epilog. This breaks the unwinding
under darwin10 since the unwinder used is always from libSystem
(based on that from libgcc in gcc 4.2.1) which doesn't expect
this additional information. The attached patch takes the second
option of passing -no_compact_unwind onto the linkage for darwin10
or later. This eliminates all of the regressions from r147995...
http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg01761.html