diff options
author | Jozef Lawrynowicz <jozef.l@mittosystems.com> | 2019-11-04 11:23:46 +0000 |
---|---|---|
committer | Jozef Lawrynowicz <jozefl@gcc.gnu.org> | 2019-11-04 11:23:46 +0000 |
commit | 02afb6a9321fbfb435452636cedc2cd43f0c4fd2 (patch) | |
tree | b95094eb460ebe7546a506c6abd911669e8fbecf /gcc/expr.c | |
parent | e0f8e3da333591e40d07ec3621dafef4ae082dcb (diff) | |
download | gcc-02afb6a9321fbfb435452636cedc2cd43f0c4fd2.zip gcc-02afb6a9321fbfb435452636cedc2cd43f0c4fd2.tar.gz gcc-02afb6a9321fbfb435452636cedc2cd43f0c4fd2.tar.bz2 |
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.
From-SVN: r277774
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions