summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonm <unknown>1999-03-01 17:39:54 +0000
committersimonm <unknown>1999-03-01 17:39:54 +0000
commit44d304875bf091c9ac6eb337a89f4dc4d5b19a6b (patch)
treee58bd29d8d5d3c441a4d4e51b84fd3f2d5281ca6
parent60ec01cc2792b7f6cd0225b961ac77e362384f1f (diff)
downloadhaskell-44d304875bf091c9ac6eb337a89f4dc4d5b19a6b.tar.gz
[project @ 1999-03-01 17:39:54 by simonm]
Use 'data_start' as the end-of-text marker if it exists. This includes the read-only text section on Linux/ELF, which is what we want.
-rw-r--r--aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 42aee42426..17215a30ad 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1,4 +1,4 @@
-dnl $Id: aclocal.m4,v 1.38 1999/02/08 11:16:17 sof Exp $
+dnl $Id: aclocal.m4,v 1.39 1999/03/01 17:39:54 simonm Exp $
dnl
dnl Extra autoconf macros for the Glasgow fptools
dnl
@@ -482,7 +482,7 @@ dnl
AC_DEFUN(FPTOOLS_END_TEXT_SECTION,
[AC_MSG_CHECKING([for end of text section marker])
not_done=1
-for i in etext _etext __etext; do
+for i in data_start _data_start etext _etext __etext; do
FPTOOLS_IN_SCOPE($i,$i,fptools_end_of_text)
if test "$fptools_end_of_text" = yes; then
AC_CACHE_VAL([fptools_cv_end_of_text_decl], AC_DEFINE_UNQUOTED(TEXT_SECTION_END_MARKER_DECL, $i))