Paolo Bonzini <bonz...@gnu.org> writes:

> Rainer, the same solution that is found for Windows should be used for
> darwin, too.

I'm uncertain if anything is needed for Darwin, though:
gcc/config/rs6000/darwin.h has

#if !defined(__LP64__) && !defined(DARWIN_LIBSYSTEM_HAS_UNWIND)
#define MD_UNWIND_SUPPORT "config/rs6000/darwin-unwind.h"
#endif

gcc/config/darwin9.h defines DARWIN_LIBSYSTEM_HAS_UNWIND, so this only
applies to Darwin 8 and earlier.  That's why I have this in
libgcc/config.host:

powerpc-*-darwin*)
        case ${host} in
        *-*-darwin9* | *-*-darwin[12][0-9]*)
          ;;
        *)
          md_unwind_header=rs6000/darwin-unwind.h
          ;;
        esac

I've no idea if Darwin 8 had 64-bit support, so rs6000/darwin-unwind.h
would still have to be disabled.  Perhaps the Darwin maintainers could
chime in?

Thanks.
        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to