This is the mail archive of the
libc-hacker@cygnus.com
mailing list for the glibc project.
Re: __longjmp.S
- To: Jeff Bailey <jbailey@nisa.net>
- Subject: Re: __longjmp.S
- From: Andreas Jaeger <aj@arthur.rhein-neckar.de>
- Date: 30 Jan 1999 10:40:52 +0100
- Cc: davem@redhat.com, libc-alpha@cygnus.com
- Mail-Copies-To: never
- References: <19990129235230.A15459@sparky.nisa.net>
>>>>> Jeff Bailey writes:
> DaveM, on line 22 of your *NEW and IMPROVED* [=)] __longjump.S you
> #include jmp_buf.h. I can't find it in the sources anywhere so I am
> stuck as to how to work around this patch.
jmp_buf.h is only available in glibc 2.0 but not in 2.1. Please try
the appended patch (untested).
Andreas
1999-01-30 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/sparc/sparc32/__longjmp.S: Include setjmp.h instead of
obsolete jmp_buf.h.
--- sysdeps/sparc/sparc32/__longjmp.S.~1~ Fri Jan 29 07:13:43 1999
+++ sysdeps/sparc/sparc32/__longjmp.S Sat Jan 30 10:39:29 1999
@@ -19,7 +19,7 @@
#include <sysdep.h>
#define _ASM 1
-#include <jmp_buf.h>
+#include <setjmp.h>
#define ENV(base,reg) [%base + (reg * 4)]
#define ST_FLUSH_WINDOWS 3
#define RW_FP [%fp + 0x38]
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de