[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] Todays gcc build gives illegal opcode elpm for mcu avr5
From: |
Andy H |
Subject: |
[avr-gcc-list] Todays gcc build gives illegal opcode elpm for mcu avr5 |
Date: |
Sat, 12 Sep 2009 12:33:03 -0400 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
I'm reinstall gcc toolchain under Linux from sources.
This built from todays head version. I get :
Error: illegal opcode elpm for mcu avr5
What am I doing wrong here with binutils versions?
Or is this bug 35936 that Eric just closed.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35936
/home/andy/gccbuild/obj-dir/./gcc/xgcc
-B/home/andy/gccbuild/obj-dir/./gcc/ -B/home/andy/local/var/avr/bin/
-B/home/andy/local/var/avr/lib/ -isystem
/home/andy/local/var/avr/include -isystem
/home/andy/local/var/avr/sys-include -g -O2 -mmcu=avr51 -O2 -g -O2
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -DDF=SF -Dinhibit_libc
-mcall-prologues -Os -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_libc -I. -I. -I../../.././gcc -I../../../../../gccsvn/libgcc
-I../../../../../gccsvn/libgcc/. -I../../../../../gccsvn/libgcc/../gcc
-I../../../../../gccsvn/libgcc/../include -DHAVE_CC_TLS -o
_tablejump_elpm.o -MT _tablejump_elpm.o -MD -MP -MF _tablejump_elpm.dep
-DL_tablejump_elpm -xassembler-with-cpp \
-c ../../../../../gccsvn/libgcc/../gcc/config/avr/libgcc.S
../../../../../gccsvn/libgcc/../gcc/config/avr/libgcc.S: Assembler messages:
../../../../../gccsvn/libgcc/../gcc/config/avr/libgcc.S:876: Error:
illegal opcode elpm for mcu avr5
../../../../../gccsvn/libgcc/../gcc/config/avr/libgcc.S:877: Error:
illegal opcode elpm for mcu avr5
make[4]: *** [_tablejump_elpm.o] Error 1
make[4]: Leaving directory `/home/andy/gccbuild/obj-dir/avr/avr51/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/home/andy/gccbuild/obj-dir/avr/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/home/andy/gccbuild/obj-dir/avr/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/home/andy/gccbuild/obj-dir'
make: *** [all] Error 2
address@hidden:~/gccbuild/obj-dir$ avr-as -v
GNU assembler version 2.18.0 (avr) using BFD version (GNU Binutils)
2.18.0.20080103 (WinAVR 20080610)
piece of LIBGCC.S
#ifdef L_tablejump_elpm
.global __tablejump_elpm__
.func __tablejump_elpm__
__tablejump_elpm__:
#if defined (__AVR_HAVE_ELPM__)
#if defined (__AVR_HAVE_LPMX__)
elpm __tmp_reg__, Z+
elpm r31, Z
mov r30, __tmp_reg__
#if defined (__AVR_HAVE_EIJMP_EICALL__)
Andy
- [avr-gcc-list] Todays gcc build gives illegal opcode elpm for mcu avr5,
Andy H <=