[PATCH]: Newlib port for 68hc11/68hc12

Stephane Carrez stcarrez@nerim.fr
Tue Jul 16 13:23:00 GMT 2002


In October 2001, I posted a patch for 68HC11/HC12 support in Newlib.
    See: Port of Newlib/libgloss for 68HC11 and 68HC12

         [PATCH]: Newlib port for 68hc11/68hc12

At that time, there was a copyright issue because I used the GNU license
for the new files.  Since then I changed that and now use a more permissive
copyright (ie the same copyright as in other newlib files).

This port is useful for gcc validation (see http://www.gnu.org/software/m68hc11/m68hc11_tests.html
for gcc 3.0.4 validation results).

Do you agree to integrate this patch in Newlib ?


2002-07-16  Stephane Carrez  <stcarrez@nerim.fr>

	* configure.host: Recognize m6811-elf and m6812-elf targets.
	* libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
	* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
	(_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
	* libc/include/sys/config.h (_DOUBLE_IS_32BITS): Likewise.
	(INT_MAX, UINT_MAX): Define according to __INT_MAX__.
	(_POINTER_INT): Define to short.
	(__IEEE_BIG_ENDIAN): Define for 68HC11.
	(vfiprintf, _vfiprintf_r): Rename the low level formatting functions
	to avoid having the support for floating point (too big for 68HC11).
	* libc/machine/m68hc11/Makefile.am: New file.
	* libc/machine/m68hc11/Makefile.in: Generate.
	* libc/machine/m68hc11/configure.in: New file.
	* libc/machine/m68hc11/configure: Generate.
	* libc/machine/m68hc11/aclocal.m4: New file.
	* libc/machine/m68hc11/setjmp.S: New file.
	* libc/sys/m68hc11/Makefile.am: New file.
	* libc/sys/m68hc11/Makefile.in: Generate.
	* libc/sys/m68hc11/configure.in: New file.
	* libc/sys/m68hc11/configure: Generate.
	* libc/sys/m68hc11/aclocal.m4: New file.
	* libc/sys/m68hc11/crt0.S: New file (from gcc/config/m68hc11).
	* libc/sys/m68hc11/sci-inout.S: New file.
	* libc/sys/m68hc11/syscalls.c: New file.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib-m68hc11.diffs
URL: <http://sourceware.org/pipermail/newlib/attachments/20020716/26dd1549/attachment.ksh>

More information about the Newlib mailing list