From 3dcb5df695dd1ac406fae832afd83a4fbec7df41 Mon Sep 17 00:00:00 2001 From: obrien Date: Fri, 15 Oct 1999 20:56:19 +0000 Subject: Register the fact we want expand_main_function() to invoke __main. --- contrib/gcc/config/i386/freebsd.h | 2 ++ contrib/gcc/config/i386/freebsd.h.fixed | 2 ++ 2 files changed, 4 insertions(+) (limited to 'contrib') diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index b8ee727..c78c2f6 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.h @@ -317,6 +317,8 @@ do { \ } while (0); /* supply our own hook for calling __main() from main() */ +#undef INVOKE__main +#define INVOKE__main #undef GEN_CALL__MAIN #define GEN_CALL__MAIN \ do { \ diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index b8ee727..c78c2f6 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -317,6 +317,8 @@ do { \ } while (0); /* supply our own hook for calling __main() from main() */ +#undef INVOKE__main +#define INVOKE__main #undef GEN_CALL__MAIN #define GEN_CALL__MAIN \ do { \ -- cgit v1.1