ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SheepShaver/src/Unix/configure.ac
(Generate patch)

Comparing SheepShaver/src/Unix/configure.ac (file contents):
Revision 1.53 by gbeauche, 2006-07-06T00:07:47Z vs.
Revision 1.54 by gbeauche, 2006-07-16T12:18:59Z

# Line 1447 | Line 1447 | if [[ "x$EMULATED_PPC" = "xyes" ]]; then
1447   else
1448    WANT_JIT=no
1449   fi
1450 if [[ "x$ac_cv_use_dyngen" = "xyes" ]]; then
1451  AC_CACHE_CHECK([whether static data regions are executable],
1452    ac_cv_have_static_data_exec, [
1453    AC_TRY_RUN([int main(void) {
1454 #if defined(__powerpc__) || defined(__ppc__)
1455      static unsigned int p[8] = {0x4e800020,};
1456      asm volatile("dcbst 0,%0" : : "r" (p) : "memory");
1457      asm volatile("sync" : : : "memory");
1458      asm volatile("icbi 0,%0" : : "r" (p) : "memory");
1459      asm volatile("sync" : : : "memory");
1460      asm volatile("isync" : : : "memory");
1461      ((void (*)(void))p)();
1462      return 0;
1463 #endif
1464      return 1;
1465    }], ac_cv_have_static_data_exec=yes, ac_cv_have_static_data_exec=no,
1466    dnl When cross-compiling, do not assume anything.
1467    ac_cv_have_static_data_exec=no
1468    )
1469  ])
1470 else
1471  ac_cv_use_dyngen=no
1472 fi
1473 AC_TRANSLATE_DEFINE(HAVE_STATIC_DATA_EXEC, "$ac_cv_have_static_data_exec",
1474  [Define if your system marks static data pages as executable.])
1475
1450   if [[ "x$WANT_JIT" = "xyes" ]]; then
1451    CPPFLAGS="$CPPFLAGS -DUSE_JIT"
1452   fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines