RFA: Add ia64 support to setjmp.h

Nick Clifton nickc@redhat.com
Tue Oct 6 13:31:00 GMT 2015


Hi Guys,

  Any objections to the following patch ?  It adds a definition of
  _JBLEN for the ia64 target, which allows me to be build and test an
  ia64-elf target.

Cheers
  Nick

newlib/ChangeLog
2015-10-06  Nick Clifton  <nickc@redhat.com>

	* libc/include/machine/setjmp.h (_JBLEN): Define for IA64.

diff --git a/newlib/libc/include/machine/setjmp.h b/newlib/libc/include/machine/setjmp.h
index e0bc228..056325b 100644
--- a/newlib/libc/include/machine/setjmp.h
+++ b/newlib/libc/include/machine/setjmp.h
@@ -291,6 +291,10 @@ _BEGIN_STD_C
 #define _JBLEN 18
 #endif
 
+#ifdef __ia64
+#define _JBLEN 64
+#endif
+
 #ifdef __lm32__
 #define _JBLEN 19
 #endif



More information about the Newlib mailing list