Hi Joseph,
C. Draw up another patch that restricts the AVR patterns in config.gcc to
-none and -elf.
A and C - I think both changes should be applied.
OK - the patch for item A is already applied. Here is a proposed patch
for item C. I have not applied the patch as obvious because I was not
sure whether it was better to accept avr-*-elf or avr-*-elf*. I went
for the latter in case there were AVR ELF variants, but I defer to your
superior knowledge.
OK to apply ?
Cheers
Nick
gcc/ChangeLog
2013-08-27 Nick Clifton <ni...@redhat.com>
* config.gcc (AVR): Restrict allowed targets to RTEMS, ELF and
NONE.
Index: gcc/config.gcc
===================================================================
--- gcc/config.gcc (revision 202021)
+++ gcc/config.gcc (working copy)
@@ -995,7 +995,7 @@
extra_gcc_objs="driver-avr.o avr-devices.o"
extra_objs="avr-devices.o avr-log.o"
;;
-avr-*-*)
+avr-*-elf* | avr-*-none)
tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h dbxelf.h
avr/avr-stdint.h"
if test x${with_avrlibc} != xno; then
tm_file="${tm_file} ${cpu_type}/avrlibc.h"