From: roland Date: Mon, 18 Mar 1996 18:30:06 +0000 (+0000) Subject: Mon Mar 18 13:20:46 1996 Roland McGrath X-Git-Tag: libc-960319~7 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=036f4c203ddbf22cc179717fe01aed93fe6e0254 Mon Mar 18 13:20:46 1996 Roland McGrath * sysdeps/i386/setjmp.S (__setjmp): Define compatibility entry point. --- diff --git a/sysdeps/i386/setjmp.S b/sysdeps/i386/setjmp.S index ccb7147606..498a925b00 100644 --- a/sysdeps/i386/setjmp.S +++ b/sysdeps/i386/setjmp.S @@ -1,5 +1,5 @@ /* setjmp for i386. -Copyright (C) 1995 Free Software Foundation, Inc. +Copyright (C) 1995, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -21,6 +21,12 @@ Cambridge, MA 02139, USA. */ #define _ASM #include + /* Binary compatibility entry point. */ +ENTRY (__setjmp) + popl %eax /* Pop return address. */ + pushl $0 /* Push zero argument. */ + pushl %eax /* Push back return address. */ + ENTRY (__sigsetjmp) movl 4(%esp), %eax /* User's jmp_buf in %eax. */ /* Save registers. */