[Patch H8/300] Enable long long IO support for H8/300 target

Anil Paranjape AnilP1@KPITCummins.com
Fri Jul 16 14:55:00 GMT 2004


Hi,

Printing a "long long" type of variable using printf was not possible in case of H8/300 target.
It was printing zero.

No new regressions found.

Please find the patch below which fixes the same.

ChangeLog

2004-07-16	Anil Paranjpe  <anilp1@kpitcummins.com>
	* configure.host (h8300*-*-*): Default long long printing support. 

Patch Text:
******************************************************************************************
--- newlib-1.12.0/newlib/configure.host.orig	2004-07-07 13:45:26.000000000 +0530
+++ newlib-1.12.0/newlib/configure.host	2004-07-15 19:18:53.709560300 +0530
@@ -519,6 +519,7 @@ case "${host}" in
 	default_newlib_io_long_long="yes"
         ;;
   h8300*-*-*)
+        default_newlib_io_long_long="yes"
 	syscall_dir=syscalls	
 	newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY"
 	# Simulator only extensions for H8300.

*******************************************************************************************

Regards,
Anil Paranjpe
KPIT Cummins InfoSystems Ltd.
Pune, India

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users. 
Visit http://www.kpitgnutools.com for details. 
Latest versions of KPIT GNU tools were released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 



More information about the Newlib mailing list