This is the mail archive of the libc-hacker@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: __longjmp.S


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]