glibc2.2 fixes - more command line options - misc doc fixes


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@46 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/exec-i386.c b/exec-i386.c
index ec14ca0..5dbe7fa 100644
--- a/exec-i386.c
+++ b/exec-i386.c
@@ -485,6 +485,10 @@
     unsigned long pc;
     sigset_t *pold_set;
     
+#ifndef REG_EIP
+/* for glibc 2.1 */
+#define REG_EIP EIP
+#endif
     pc = uc->uc_mcontext.gregs[EIP];
     pold_set = &uc->uc_sigmask;
     return handle_cpu_signal(pc, pold_set);