diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-08-23 11:47:15 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-08-23 11:47:15 +0000 |
commit | f1d0d79f48ab191a1ed0b5065e39046e1d95fef4 (patch) | |
tree | 860036a8554d604726a256d7408c711df834b7cb /packages/qemu/files/fix_segfault.patch | |
parent | 2534c12ac4c879178132751e51db09c6e4f22cf9 (diff) | |
parent | 958b8822656bed6e5526f9441fea36570787f9c7 (diff) |
merge of '88dd6a801655485b76bb6d591c1f763d51ff47b8'
and 'ea2a23cae4f4d939a07f699c39b603c4c2559ad1'
Diffstat (limited to 'packages/qemu/files/fix_segfault.patch')
-rw-r--r-- | packages/qemu/files/fix_segfault.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/qemu/files/fix_segfault.patch b/packages/qemu/files/fix_segfault.patch new file mode 100644 index 0000000000..976c75cd60 --- /dev/null +++ b/packages/qemu/files/fix_segfault.patch @@ -0,0 +1,46 @@ +Index: qemu/Makefile.target +=================================================================== +--- qemu.orig/Makefile.target 2007-06-29 10:57:58.000000000 +0000 ++++ qemu/Makefile.target 2007-06-29 10:58:01.000000000 +0000 +@@ -241,7 +241,6 @@ + ifdef CONFIG_LINUX_USER + OBJS= main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o \ + elfload.o linuxload.o +-LIBS+= $(AIOLIBS) + ifdef TARGET_HAS_BFLT + OBJS+= flatload.o + endif +Index: qemu/linux-user/syscall.c +=================================================================== +--- qemu.orig/linux-user/syscall.c 2007-06-29 10:58:01.000000000 +0000 ++++ qemu/linux-user/syscall.c 2007-06-29 10:58:30.000000000 +0000 +@@ -4872,29 +4872,6 @@ + goto unimplemented_nowarn; + #endif + +-#ifdef TARGET_NR_clock_gettime +- case TARGET_NR_clock_gettime: +- { +- struct timespec ts; +- ret = get_errno(clock_gettime(arg1, &ts)); +- if (!is_error(ret)) { +- host_to_target_timespec(arg2, &ts); +- } +- break; +- } +-#endif +-#ifdef TARGET_NR_clock_getres +- case TARGET_NR_clock_getres: +- { +- struct timespec ts; +- ret = get_errno(clock_getres(arg1, &ts)); +- if (!is_error(ret)) { +- host_to_target_timespec(arg2, &ts); +- } +- break; +- } +-#endif +- + default: + unimplemented: + gemu_log("qemu: Unsupported syscall: %d\n", num); |