This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: TIC4x setjmp patch
- From: Joel Sherrill <joel dot sherrill at OARcorp dot com>
- To: Jeff Johnston <jjohnstn at redhat dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 08 Jan 2004 13:31:23 -0600
- Subject: Re: TIC4x setjmp patch
- Organization: OAR Corporation
- References: <3FFC1B97.9701C43D@OARcorp.com> <3FFDAD3E.3010602@redhat.com>
Jeff Johnston wrote:
Joel Sherrill wrote:
Hi,
This is setjmp support and the minimal core of a very old
patch to support more on the tic4x target. I believe this
was originally against 1.8.2 and I have pulled it along
as part of the 1.11.0 RTEMS patch. The attached diff is
the tic4x subset of the RTEMS 1.11.0 and no attempt has
been made to update it to CVS so the configurery might
be a bit out of date. It only impacts this one target so
should be ok.
Hmm.. does something need to set a machine_dir? I gutted
that part of the RTEMS patch since none of it applied
cleanly to CVS source.
Yes, you'll need to set something in configure.host to make it meaningful.
Sorry. I must have deleted this out of the full patch when I cut it
down. FWIW I noticed that the use of spaces around the "|" is
inconsistent in this case statement.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.56
diff -u -r1.56 configure.host
--- configure.host 19 Nov 2003 21:57:52 -0000 1.56
+++ configure.host 8 Jan 2004 19:30:05 -0000
@@ -193,6 +193,9 @@
thumb)
machine_dir=arm
;;
+ tic4x|c4x)
+ machine_dir=tic4x
+ ;;
tic80*)
machine_dir=tic80
;;
2004-01-07 Joel Sherrill <joel@oarcorp.com>
* libc/include/machine/ieeefp.h: Add enough to make target
compile.
* libc/include/machine/setjmp.h: Add tic4x support.
* libc/machine/tic4x/Makefile.am,
libc/machine/tic4x/configure.in,
libc/machine/tic4x/setjmp.S: New files.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985