This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Patch checked in.

-- Jeff J.

Anil Paranjape wrote:
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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]