*** sigcontextinfo.h.orig Mon Aug 6 02:43:49 2001 --- sigcontextinfo.h Mon Aug 6 02:47:22 2001 *************** *** 22,27 **** --- 22,29 ---- #define GET_PC(ctx) ((void *) ctx.eip) #define GET_FRAME(ctx) ((void *) ctx.ebp) #define GET_STACK(ctx) ((void *) ctx.esp_at_signal) + /* sm: the following code used to say 'rep movsl', but gas 2.9.1 wants */ + /* the 'rep' to be on its own line */ #define CALL_SIGHANDLER(handler, signo, ctx) \ do { \ int __tmp1, __tmp2, __tmp3, __tmp4; \ *************** *** 32,45 **** "movl\t%1, 0(%%esp)\n\t" \ "leal\t4(%%esp), %%edi\n\t" \ "cld\n\t" \ ! "rep\tmovsl\n\t" \ "call\t*%0\n\t" \ "cld\n\t" \ "movl\t%9, %%ecx\n\t" \ "subl\t%%edi, %%esi\n\t" \ "leal\t4(%%esp,%%esi,1), %%edi\n\t" \ "leal\t4(%%esp), %%esi\n\t" \ ! "rep\tmovsl\n\t" \ "movl\t%c8-4(%%esp), %%esp\n\t" \ : "=a" (__tmp1), "=d" (__tmp2), "=S" (__tmp3), \ "=c" (__tmp4) \ --- 34,47 ---- "movl\t%1, 0(%%esp)\n\t" \ "leal\t4(%%esp), %%edi\n\t" \ "cld\n\t" \ ! "rep\n\tmovsl\n\t" \ "call\t*%0\n\t" \ "cld\n\t" \ "movl\t%9, %%ecx\n\t" \ "subl\t%%edi, %%esi\n\t" \ "leal\t4(%%esp,%%esi,1), %%edi\n\t" \ "leal\t4(%%esp), %%esi\n\t" \ ! "rep\n\tmovsl\n\t" \ "movl\t%c8-4(%%esp), %%esp\n\t" \ : "=a" (__tmp1), "=d" (__tmp2), "=S" (__tmp3), \ "=c" (__tmp4) \