r277774 - in /trunk/gcc: ChangeLog config.in co...
jozefl@gcc.gnu.org
jozefl@gcc.gnu.org
Mon Nov 4 11:23:00 GMT 2019
Author: jozefl
Date: Mon Nov 4 11:23:46 2019
New Revision: 277774
URL: https://gcc.gnu.org/viewcvs?rev=277774&root=gcc&view=rev
Log:
MSP430: Add -mtiny-printf option
2019-11-04 Jozef Lawrynowicz <jozef.l@mittosystems.com>
gcc/
* config.in: Regenerate.
* config/msp430/msp430.c (msp430_option_override): Emit an error if
-mtiny-printf is used without GCC being configured with
--enable-newlib-nano-formatted-io.
* config/msp430/msp430.h (LINK_SPEC): Pass
"--wrap puts --wrap printf" when -mtiny-printf is used.
* config/msp430/msp430.opt: Document -mtiny-printf.
* configure: Regenerate.
* configure.ac: Enable --enable-newlib-nano-formatted-io flag.
Define HAVE_NEWLIB_NANO_FORMATTED_IO if
--enable-newlib-nano-formatted-io is passed.
* doc/invoke.texi: Document -mtiny-printf.
gcc/testsuite/
* gcc.target/msp430/tiny-printf.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/msp430/tiny-printf.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.in
trunk/gcc/config/msp430/msp430.c
trunk/gcc/config/msp430/msp430.h
trunk/gcc/config/msp430/msp430.opt
trunk/gcc/configure
trunk/gcc/configure.ac
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list