From 5e5cbbfb8e0f8b3e20d5fe1da84fbd545e91f537 Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Thu, 21 Jul 2005 05:44:22 +0000 Subject: [PATCH] lynx.h: Mark __do_global_ctors_aux and __do_global_dtors_aux longcall. * config/rs6000/lynx.h: Mark __do_global_ctors_aux and __do_global_dtors_aux longcall. From-SVN: r102218 --- gcc/ChangeLog | 5 +++++ gcc/config/rs6000/lynx.h | 17 +++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 30f292d..c58dceb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-07-20 Adam Nemet + + * config/rs6000/lynx.h: Mark __do_global_ctors_aux and + __do_global_dtors_aux longcall. + 2005-07-20 Kazu Hirata * gensupport.c (old_preds): Don't reference PREDICATE_CODES. diff --git a/gcc/config/rs6000/lynx.h b/gcc/config/rs6000/lynx.h index 529bad2..ab2d16f 100644 --- a/gcc/config/rs6000/lynx.h +++ b/gcc/config/rs6000/lynx.h @@ -106,3 +106,20 @@ #undef HAVE_AS_TLS #define HAVE_AS_TLS 0 + +#ifdef CRT_BEGIN +/* This function is part of crtbegin*.o which is at the beginning of + the link and is called from .fini which is usually toward the end + of the executable. Make it longcall so that we don't limit the + text size of the executables to 32M. */ + +static void __do_global_dtors_aux (void) __attribute__ ((longcall)); +#endif /* CRT_BEGIN */ + +#ifdef CRT_END +/* Similarly here. This function resides in crtend*.o which is toward + to end of the link and is called from .init which is at the + beginning. */ + +static void __do_global_ctors_aux (void) __attribute__ ((longcall)); +#endif /* CRT_END */ -- 2.7.4