[AVR] Add support for XMEGA arch and devices.

Tom Tromey tromey@redhat.com
Tue Mar 22 20:19:00 GMT 2011


>>>>> "Eric" == Weddington, Eric <Eric.Weddington@atmel.com> writes:

Eric> Attached is the patch to add support for the AVR XMEGA family of
Eric> devices. This adds support for new architectures (groupings),
Eric> device names, and support for new opcodes that are used in this
Eric> family.

I think this change caused a build failure for me.
I've appended the failure.

I am on x86 F13; I always configure with --enable-targets=all.

Tom

/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -DTRAD_CORE   -I. -I../../src/bfd -I../../src/bfd/../include  -DHAVE_all_vecs  -DBINDIR='"/home/tromey/gnu/baseline-gdb/install/bin"' -g3 -gdwarf-4 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g3 -gdwarf-4 -MT elf32-avr.lo -MD -MP -MF .deps/elf32-avr.Tpo -c -o elf32-avr.lo ../../src/bfd/elf32-avr.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -DTRAD_CORE -I. -I../../src/bfd -I../../src/bfd/../include -DHAVE_all_vecs -DBINDIR=\"/home/tromey/gnu/baseline-gdb/install/bin\" -g3 -gdwarf-4 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g3 -gdwarf-4 -MT elf32-avr.lo -MD -MP -MF .deps/elf32-avr.Tpo -c ../../src/bfd/elf32-avr.c -o elf32-avr.o
../../src/bfd/elf32-avr.c: In function ‘bfd_elf_avr_final_write_processing’:
../../src/bfd/elf32-avr.c:1302: error: ‘bfd_mach_avrxmega1’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1302: error: (Each undeclared identifier is reported only once
../../src/bfd/elf32-avr.c:1302: error: for each function it appears in.)
../../src/bfd/elf32-avr.c:1306: error: ‘bfd_mach_avrxmega2’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1310: error: ‘bfd_mach_avrxmega3’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1314: error: ‘bfd_mach_avrxmega4’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1318: error: ‘bfd_mach_avrxmega5’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1322: error: ‘bfd_mach_avrxmega6’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1326: error: ‘bfd_mach_avrxmega7’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c: In function ‘elf32_avr_object_p’:
../../src/bfd/elf32-avr.c:1393: error: ‘bfd_mach_avrxmega1’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1397: error: ‘bfd_mach_avrxmega2’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1401: error: ‘bfd_mach_avrxmega3’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1405: error: ‘bfd_mach_avrxmega4’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1409: error: ‘bfd_mach_avrxmega5’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1413: error: ‘bfd_mach_avrxmega6’ undeclared (first use in this function)
../../src/bfd/elf32-avr.c:1417: error: ‘bfd_mach_avrxmega7’ undeclared (first use in this function)
make[4]: *** [elf32-avr.lo] Error 1



More information about the Binutils mailing list