On Sat, Oct 16, 2010 at 4:04 PM,  <jes.soren...@redhat.com> wrote:
> From: Jes Sorensen <jes.soren...@redhat.com>
>
> This consolidates the duplicated oom_check() functions, as well as
> splitting them into OS dependant versions to avoid the #ifdef
> grossness that was present in the old osdep.c version.

This would break user emulators:
  LINK  i386-linux-user/qemu-i386
qemu-malloc.o: In function `qemu_realloc':
/src/qemu/qemu-malloc.c:60: undefined reference to `qemu_oom_check'
qemu-malloc.o: In function `qemu_malloc':
/src/qemu/qemu-malloc.c:49: undefined reference to `qemu_oom_check'
qemu-malloc.o: In function `qemu_mallocz':
/src/qemu/qemu-malloc.c:70: undefined reference to `qemu_oom_check'
collect2: ld returned 1 exit status

Reply via email to