diff options
Diffstat (limited to 'gcc/config/darwin-crt2.c')
-rw-r--r-- | gcc/config/darwin-crt2.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/config/darwin-crt2.c b/gcc/config/darwin-crt2.c index 1ea2413c809..5cbcdef747c 100644 --- a/gcc/config/darwin-crt2.c +++ b/gcc/config/darwin-crt2.c @@ -1,5 +1,5 @@ /* KeyMgr backwards-compatibility support for Darwin. - Copyright (C) 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. This file is part of GCC. @@ -34,6 +34,12 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "tconfig.h" #include "tsystem.h" +/* This file doesn't do anything useful on non-powerpc targets, since they + don't have backwards compatibility anyway. */ + +/* APPLE LOCAL IN FSF 2004-04-27 */ +#ifdef __ppc__ + /* Homemade decls substituting for getsect.h and dyld.h, so cross compilation works. */ struct mach_header; @@ -149,3 +155,6 @@ __darwin_gcc3_preregister_frame_info (void) _dyld_register_func_for_add_image (darwin_unwind_dyld_add_image_hook); _dyld_register_func_for_remove_image (darwin_unwind_dyld_remove_image_hook); } + +/* APPLE LOCAL IN FSF 2004-04-27 */ +#endif /* __ppc__ */ |