This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: RFA: Add ia64 support to setjmp.h
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: newlib at sourceware dot org
- Date: Tue, 6 Oct 2015 10:58:57 -0400 (EDT)
- Subject: Re: RFA: Add ia64 support to setjmp.h
- Authentication-results: sourceware.org; auth=none
- References: <87d1wsunyr dot fsf at redhat dot com>
Please go ahead.
-- Jeff J.
----- Original Message -----
> 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
>