------- Comment #5 from KenJackson at ieee dot org 2006-02-21 16:17 ------- I found libgcc.S and even referenced it in the original post, but I can't reproduce the error with avr-as from binutils. For example:
Source file, u.s: .section .init5,"ax",@progbits .global xfunc .func xfunc xfunc: cpi r26,16 .endfunc Assemble script: avr-as u.s -o u.o avr-ld --oformat=ihex -s u.o -o u.hex Output u.hex, line 1: :02000000A0312D The opcode is correct, "A031". -- KenJackson at ieee dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26396