From f5d63ec8699ae3b4039daf2656b0d758f23a1d3b Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 21 May 2009 01:25:43 +0000 Subject: [PATCH] DARWIN sync: minor layout things, comments. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10057 --- coregrind/m_main.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 7d6bd5fb9e..e880e3c143 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -2251,7 +2251,7 @@ static void final_tidyup(ThreadId tid) /*====================================================================*/ -/*=== Getting to main() alive: LINUX (for AIX5 see below) ===*/ +/*=== Getting to main() alive: LINUX ===*/ /*====================================================================*/ #if defined(VGO_linux) @@ -2420,7 +2420,7 @@ asm("\n" "\ttrap\n" ); #else -#error "_start: needs implementation on this platform" +# error "Unknown linux platform" #endif /* --- !!! --- EXTERNAL HEADERS start --- !!! --- */ @@ -2469,14 +2469,12 @@ void _start_in_C_linux ( UWord* pArgc ) VG_(exit)(r); } -#endif /* defined(VGO_linux) */ - /*====================================================================*/ /*=== Getting to main() alive: AIX5 ===*/ /*====================================================================*/ -#if defined(VGP_ppc32_aix5) || defined(VGP_ppc64_aix5) +#elif defined(VGO_aix5) /* This is somewhat simpler than the Linux case. _start_valgrind receives control from the magic piece of code created in this @@ -2586,7 +2584,11 @@ void max_history_size ( void ) { vg_assert(0); } void getpass_auto ( void ) { vg_assert(0); } void max_pw_passlen ( void ) { vg_assert(0); } -#endif /* defined(VGP_ppc{32,64}_aix5) */ + +#else + +# error "Unknown OS" +#endif /*--------------------------------------------------------------------*/ -- 2.47.3