contrib/
commitb32bc3610700e106c83fa26f9cbd9238e3b89d66
authorgjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jan 2012 12:51:57 +0000 (2 12:51 +0000)
committergjl <gjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 2 Jan 2012 12:51:57 +0000 (2 12:51 +0000)
tree09faf9ffade22c526948920809d1a98fde9264e0
parent24980a98f1afdc71357134b7dd82ab43c2d46cb0
contrib/
PR target/51345
* gcc_update (files_and_dependencies): Add
gcc/config/avr/t-multilib, gcc/config/avr/multilib.h.

libgcc/
PR target/51345
* config/avr/lib1funcs.S: Remove FIXME comments.
(SPEED_DIV): Depend on __AVR_HAVE_8BIT_SP__.
gcc/
PR target/51345
* config.gcc (tm_file target=avr]): Add avr/avr-multilib.h
(tmake_file target=avr): Add avr/t-multilib.

* config/avr/avr-c.c (avr_cpu_cpp_builtins): Use AVR_HAVE_8BIT_SP
to built-in define __AVR_HAVE_8BIT_SP__, __AVR_HAVE_16BIT_SP__.
* config/avr/genmultilib.awk: New file.
* config/avr/t-multilib: New auto-generated file.
* config/avr/multilib.h: New auto-generated file.
* config/avr/t-avr (AVR_MCUS): New variable.
(genopt.sh): Use it.
(s-mlib): Depend on t-multilib.
(t-multilib, multilib.h): New dependencies.
(s-avr-mlib): New rule to build t-multilib, multilib.h from AVR_MCUS.
(MULTILIB_OPTIONS): Remove.
(MULTILIB_MATCHES): Remove.
(MULTILIB_DIRNAMES): Remove.
(MULTILIB_EXCEPTIONS): Remove:
* config/avr/genopt.sh: Don't use hard coded file name;
pass AVR_MCUS from t-avr instead.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182797 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
contrib/ChangeLog
contrib/gcc_update
gcc/ChangeLog
gcc/config.gcc
gcc/config/avr/avr-c.c
gcc/config/avr/avr-mcus.def
gcc/config/avr/genmultilib.awk [new file with mode: 0644]
gcc/config/avr/genopt.sh
gcc/config/avr/multilib.h [new file with mode: 0644]
gcc/config/avr/t-avr
gcc/config/avr/t-multilib [copied from gcc/config/avr/t-avr with 70% similarity]
libgcc/ChangeLog
libgcc/config/avr/lib1funcs.S