mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
jit/cache tests: Fix for powerpc*, ia64, hppa* CPUs.
* modules/jit/cache-tests (Depends-on): Add xalloc. * tests/jit/test-cache.c: Include xalloc.h. (FUNCPTR_POINTS_TO_CODE, COPY_FUNCPTR): New macros. (xcopy_funcptr): New function. (main): Create a copy of the function pointer return1, so as not to destructively modify return1. Fix memcpy argument.
This commit is contained in:
@@ -12,6 +12,7 @@ clean-temp-simple
|
||||
getpagesize
|
||||
host-cpu-c-abi
|
||||
stdint
|
||||
xalloc
|
||||
|
||||
configure.ac:
|
||||
AC_CHECK_HEADERS_ONCE([sys/mman.h])
|
||||
|
Reference in New Issue
Block a user