Summary: | [avr] add configure option for better AVR-Libc integration | ||
---|---|---|---|
Product: | gcc | Reporter: | Georg-Johann Lay <gjl> |
Component: | target | Assignee: | Georg-Johann Lay <gjl> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | eric.weddington, j |
Priority: | P4 | Keywords: | missed-optimization |
Version: | 4.7.1 | ||
Target Milestone: | 4.7.2 | ||
Host: | Target: | avr | |
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2012-09-02 00:00:00 |
Description
Georg-Johann Lay
2012-09-02 19:32:21 UTC
Author: gjl Date: Wed Sep 5 08:47:50 2012 New Revision: 190967 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190967 Log: PR target/54461 * configure.ac (noconfigdirs,target=avr-*-*): Add target-newlib, target-libgloss if not configured --with-avrlibc=no. * configure: Regenerate. libgcc/ PR target/54461 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if not configured --with-avrlibc=no. * config/avr/t-avrlibc: New file. * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE. (DPBIT_FUNCS): Ditto. (TPBIT_FUNCS): Ditto. gcc/ PR target/54461 * config.gcc (tm_file,target=avr-*-*): Add avr/avrlibc.h if not configured --with-avrlibc=no. (tm_defines,target=avr-*-*): Add WITH_AVRLIBC if not configured --with-avrlibc=no. * config/avr/avrlibc.h: New file. * config/avr/avr-c.c: Build-in define __WITH_AVRLIBC__ if not configured --with-avrlibc=no. * doc/invoke.texi (AVR Built-in Macros): Document __WITH_AVRLIBC__ Added: trunk/gcc/config/avr/avrlibc.h trunk/libgcc/config/avr/t-avrlibc Modified: trunk/ChangeLog trunk/configure trunk/configure.ac trunk/gcc/ChangeLog trunk/gcc/config.gcc trunk/gcc/config/avr/avr-c.c trunk/gcc/doc/invoke.texi trunk/libgcc/ChangeLog trunk/libgcc/Makefile.in trunk/libgcc/config.host Author: gjl Date: Wed Sep 5 12:19:47 2012 New Revision: 190973 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=190973 Log: Backport from 2012-09-05 mainline r190697. PR target/54461 * configure.ac (noconfigdirs,target=avr-*-*): Add target-newlib, target-libgloss if configured --with-avrlibc. * configure: Regenerate. libgcc/ Backport from 2012-09-05 mainline r190697. PR target/54461 * config.host (tmake_file,host=avr-*-*): Add avr/t-avrlibc if configured --with-avrlibc. * Makefile.in (FPBIT_FUNCS): filter-out LIB2FUNCS_EXCLUDE. (DPBIT_FUNCS): Ditto. (TPBIT_FUNCS): Ditto. * config/avr/t-avrlibc: New file. gcc/ Backport from 2012-09-05 mainline r190697. PR target/54461 * config.gcc (tm_file,target=avr-*-*): Add avr/avrlibc.h if configured --with-avrlibc. (tm_defines,target=avr-*-*): Add WITH_AVRLIBC if configured --with-avrlibc. * config/avr/avrlibc.h: New file. * config/avr/avr-c.c: Build-in define __WITH_AVRLIBC__ if configured --with-avrlibc. * doc/invoke.texi (AVR Built-in Macros): Document __WITH_AVRLIBC__ Added: branches/gcc-4_7-branch/gcc/config/avr/avrlibc.h branches/gcc-4_7-branch/libgcc/config/avr/t-avrlibc Modified: branches/gcc-4_7-branch/ChangeLog branches/gcc-4_7-branch/configure branches/gcc-4_7-branch/configure.ac branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/config.gcc branches/gcc-4_7-branch/gcc/config/avr/avr-c.c branches/gcc-4_7-branch/gcc/doc/invoke.texi branches/gcc-4_7-branch/libgcc/ChangeLog branches/gcc-4_7-branch/libgcc/Makefile.in branches/gcc-4_7-branch/libgcc/config.host Fixed in 4.7.2 *** Bug 28718 has been marked as a duplicate of this bug. *** Author: gjl Date: Mon Jan 7 16:22:59 2013 New Revision: 194981 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194981 Log: Backport from 2013-01-07 trunk r194978. PR target/54461 * doc/install.texi (Cross-Compiler-Specific Options): Document --with-avrlibc. Modified: branches/gcc-4_7-branch/gcc/ChangeLog branches/gcc-4_7-branch/gcc/doc/install.texi |