$NetBSD: patch-am,v 1.3 2012/04/12 12:14:13 asau Exp $ --- erts/emulator/hipe/hipe_arm.c.orig 2011-12-14 14:22:11.000000000 +0400 +++ erts/emulator/hipe/hipe_arm.c 2012-01-05 04:39:59.000000000 +0400 @@ -73,6 +73,10 @@ #define in_area(ptr,start,nbytes) \ ((UWord)((char*)(ptr) - (char*)(start)) < (nbytes)) +#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON) +#define MAP_ANONYOUS MAP_ANON +#endif + static void *new_code_mapping(void) { return mmap(0, SEGMENT_NRBYTES,