Skip to contentSkip to conversation

Define GOTO_LABEL_PARAM for arm hosts

PATCH New Paul Brook 1 participant 1 message Mar 10, 2005

lore
Share & tools
lore

Paul Brook

author
#0 lore raw

PATCH 1/1 Define GOTO_LABEL_PARAM for arm hosts

The patch below defines GOTO_LABEL_PARAM for arm hosts. Qemu won't build without this.

Paul

Index: dyngen-exec.h
===================================================================
RCS file: /cvsroot/qemu/qemu/dyngen-exec.h,v
retrieving revision 1.21

dyngen-exec.h 9 Mar 2005 23:35:05 -0000 renamed from dyngen-exec.h 1 Mar 2005 22:30:59 -0000 1.21 +1 -0
diff -u -p -r1.21 dyngen-exec.h
@@ -242,6 +242,7 @@ 
 #endif
 #ifdef __arm__
 #define EXIT_TB() asm volatile ("b exec_loop")
+#define GOTO_LABEL_PARAM(n) asm volatile ("b " ASM_NAME(__op_gen_label) #n)
 #endif
 #ifdef __mc68000
 #define EXIT_TB() asm volatile ("rts")