lynx.h: Mark __do_global_ctors_aux and __do_global_dtors_aux longcall.
authorAdam Nemet <anemet@lnxw.com>
Thu, 21 Jul 2005 05:44:22 +0000 (05:44 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Thu, 21 Jul 2005 05:44:22 +0000 (05:44 +0000)
* config/rs6000/lynx.h: Mark __do_global_ctors_aux and
__do_global_dtors_aux longcall.

From-SVN: r102218

gcc/ChangeLog
gcc/config/rs6000/lynx.h

index 30f292d..c58dceb 100644 (file)
@@ -1,3 +1,8 @@
+2005-07-20  Adam Nemet  <anemet@lnxw.com>
+
+       * config/rs6000/lynx.h: Mark __do_global_ctors_aux and
+       __do_global_dtors_aux longcall.
+
 2005-07-20  Kazu Hirata  <kazu@cs.umass.edu>
 
        * gensupport.c (old_preds): Don't reference PREDICATE_CODES.
index 529bad2..ab2d16f 100644 (file)
 
 #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 */