re PR target/65296 ([avr] fix various issues with specs file generation)
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 11 Mar 2015 18:51:09 +0000 (18:51 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 11 Mar 2015 18:51:09 +0000 (18:51 +0000)
commit0c9dc4ae5963c1e752a04c8fb9d1bb3f37df7290
tree95b394f108bb3e03f402c8a07d6d935829eca8e0
parent91d4a5ea68ad2fa2ef251a5dd38a7eb7fdfb6bf8
re PR target/65296 ([avr] fix various issues with specs file generation)

gcc/
PR target/65296
* configure.ac [avr]: Check as for options -mrmw, --mlink-relax.
* configure: Regenerate.
* config.in: Regenerate.
* doc/invoke.texi (AVR Options) [-mrmw]: Document it.
[-mn-flash]: Document it.
[__AVR_ARCH__]: Document avrtiny.
* config/avr/gen-avr-mmcu-specs.c (config.h): Include it.
(*asm_relax): Only define spec if HAVE_AS_AVR_MLINK_RELAX_OPTION.
(*asm_rmw): Only define spec if HAVE_AS_AVR_MRMW_OPTION.
gcc/testsuite/
PR target/65296
* gcc.target/avr/tiny-memx: Use -mmcu instead of -march.
* gcc.target/avr/tiny-caller-save.c: Same.

From-SVN: r221355
gcc/ChangeLog
gcc/config.in
gcc/config/avr/gen-avr-mmcu-specs.c
gcc/configure
gcc/configure.ac
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/avr/tiny-caller-save.c
gcc/testsuite/gcc.target/avr/tiny-memx.c