aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAdam Nemet <anemet@lnxw.com>2005-07-21 05:44:22 +0000
committerAdam Nemet <nemet@gcc.gnu.org>2005-07-21 05:44:22 +0000
commit5e5cbbfb8e0f8b3e20d5fe1da84fbd545e91f537 (patch)
tree5cdc98102c84c37bd4ef68b960c8e14e7a8f1593 /gcc
parent3a9d5f263933156f289c3bc1f3490f14a1151184 (diff)
downloadgcc-5e5cbbfb8e0f8b3e20d5fe1da84fbd545e91f537.zip
gcc-5e5cbbfb8e0f8b3e20d5fe1da84fbd545e91f537.tar.gz
gcc-5e5cbbfb8e0f8b3e20d5fe1da84fbd545e91f537.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/lynx.h17
2 files changed, 22 insertions, 0 deletions
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 <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.
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 */