TIC4x setjmp patch

Joel Sherrill joel.sherrill@OARcorp.com
Thu Jan 8 19:31:00 GMT 2004

Jeff Johnston wrote:

> Joel Sherrill wrote:
>>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 @@
+  tic4x|c4x)
+       machine_dir=tic4x
+       ;;

>>2004-01-07      Joel Sherrill <joel@oarcorp.com>
>>        * libc/include/machine/ieeefp.h: Add enough to make target
>>        * libc/include/machine/setjmp.h: Add tic4x support.
>>        * libc/machine/tic4x/Makefile.am,
>>        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

More information about the Newlib mailing list