This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: m32c: enable long long I/O
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>
- Cc: newlib at sourceware dot org
- Date: Wed, 28 Jan 2009 12:33:53 -0500
- Subject: Re: m32c: enable long long I/O
- References: <200901270141.n0R1fV4l006094@greed.delorie.com>
Because support was added late in the game so the default
became the old behavior (no long long I/O support) and any platform that
wanted it could add the new
feature.
-- Jeff J.
DJ Delorie wrote:
Why is this disabled by default?
Applied:
2009-01-26 DJ Delorie <dj@redhat.com>
* configure.host (m32c-*-*): Add long long I/O support by default.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/newlib/configure.host,v
retrieving revision 1.104
diff -p -U3 -r1.104 configure.host
--- configure.host 17 Dec 2008 23:09:09 -0000 1.104
+++ configure.host 27 Jan 2009 01:40:13 -0000
@@ -640,6 +640,11 @@ case "${host}" in
lm32-*-*)
syscall_dir=syscalls
;;
+ m32c-*-*)
+ default_newlib_io_long_long="yes"
+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES"
+ syscall_dir=
+ ;;
m32r-*-*)
# Pass -msdata=sdata so _impure_ptr goes in .sdata.
# We don't generate sda relocs however for upward compatibility.