diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2015-03-03 11:03:16 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2015-03-03 11:03:16 +0000 |
commit | 3882207695588de867178df85b1e2511ccd7fb26 (patch) | |
tree | 7c455fd99b4713b39076bcbdf55f3ba6156db71d /gcc/config.gcc | |
parent | b4b78e2db461fe40680ebba3bf73e3a3ed8546ed (diff) | |
download | gcc-3882207695588de867178df85b1e2511ccd7fb26.zip gcc-3882207695588de867178df85b1e2511ccd7fb26.tar.gz gcc-3882207695588de867178df85b1e2511ccd7fb26.tar.bz2 |
Fix various problems with specs file generation.
gcc/
Fix various problems with specs file generation.
PR target/65296
* config.gcc (extra_gcc_objs) [avr]: Remove.
* config/avr/driver-avr.c: Remove file.
* config/avr/t-avr (driver-avr.o): Remove rule.
(gen-avr-mmcu-specs): Use CXX_FOR_BUILD, CXXFLAGS_FOR_BUILD and
INCLUDES to build. Depend on TM_H.
* config/avr/gen-avr-mmcu-specs.c: Tidy up code. Fix various
build warnings. Fix non-matching types and non-existing %-codes.
(tm.h): Include.
(*lib) [!WITH_AVRLIBC]: Don't link libdev.a.
(*libgcc) [WITH_AVRLIBC]: Add "-lm".
* config/avr/avrlibc.h (LIBGCC_SPEC): Remove definition.
* config/avr/avr.h (DRIVER_SELF_SPECS): Fix handling of -march=.
(CPP_SPEC, CC1PLUS_SPEC, ASM_SPEC, LINK_SPEC, LIB_SPEC)
(LIBGCC_SPEC): Remove definitions.
From-SVN: r221141
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index abd915e..7ee5f89 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1103,7 +1103,6 @@ avr-*-*) fi tmake_file="${tmake_file} avr/t-avr avr/t-multilib" use_gcc_stdint=wrap - extra_gcc_objs="driver-avr.o avr-devices.o" extra_objs="avr-devices.o avr-log.o" ;; bfin*-elf*) |