m32c: enable long long I/O

Jeff Johnston jjohnstn@redhat.com
Wed Jan 28 17:34:00 GMT 2009


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.
>   



More information about the Newlib mailing list