1
Description: Force aarch64 uname to 3.7.0 to appease glibc
2
Author: Adam Conrad <adconrad@ubuntu.com>
4
--- qemu-1.6.0+dfsg.orig/linux-user/main.c
5
+++ qemu-1.6.0+dfsg/linux-user/main.c
6
@@ -69,7 +69,14 @@ unsigned long reserved_va;
7
static void usage(void);
9
static const char *interp_prefix = CONFIG_QEMU_INTERP_PREFIX;
10
-const char *qemu_uname_release = CONFIG_UNAME_RELEASE;
12
+#ifdef TARGET_AARCH64
13
+# define UNAME_RELEASE "3.7.0"
15
+# define UNAME_RELEASE CONFIG_UNAME_RELEASE
18
+const char *qemu_uname_release = UNAME_RELEASE;
20
/* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so
21
we allocate a bigger stack. Need a better solution, for example