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