Commit e65be6a7 authored by Helge Deller's avatar Helge Deller Committed by Riku Voipio
Browse files

linux-user/hppa: Fix TARGET_MAP_TYPE



TARGET_MAP_TYPE needs to be 0x03 instead of 0x0f on the hppa
architecture, otherwise it conflicts with MAP_FIXED which is 0x04.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
Message-ID: <20170311175019.GA7195@ls3530.fritz.box>
Signed-off-by: default avatarRiku Voipio <riku.voipio@linaro.org>
parent 92afb153
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1336,7 +1336,11 @@ struct target_winsize {
/* Common */
#define TARGET_MAP_SHARED	0x01		/* Share changes */
#define TARGET_MAP_PRIVATE	0x02		/* Changes are private */
#if defined(TARGET_HPPA)
#define TARGET_MAP_TYPE         0x03		/* Mask for type of mapping */
#else
#define TARGET_MAP_TYPE         0x0f		/* Mask for type of mapping */
#endif

/* Target specific */
#if defined(TARGET_MIPS)