From: simonm Date: Mon, 1 Mar 1999 17:39:54 +0000 (+0000) Subject: [project @ 1999-03-01 17:39:54 by simonm] X-Git-Tag: Approximately_9120_patches~6479 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=44d304875bf091c9ac6eb337a89f4dc4d5b19a6b;p=ghc-hetmet.git [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. --- diff --git a/aclocal.m4 b/aclocal.m4 index 42aee42..17215a3 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))