------- Additional Comments From timo dot lindfors at iki dot fi 2007-02-15
17:34 -------
rjmp and jmp look ok in a flat binary file now. However, "0x0x" is still printed
with stripped ELF files:
Steps to reproduce:
1) cat > testcase.c <<EOF
void testfun(void) {
for (;;) {
}
}
EOF
2) avr-gcc -c testcase.c
3) avr-strip testcase.o
4) binutils/objdump -m avr -D testcase.o | grep jmp
Expected results:
4) 8: ff cf rjmp .-2 ; 0x8
Actual results:
4) 8: ff cf rjmp .-2 ; 0x0x8
If I don't strip the binary first the output is (correctly)
8: ff cf rjmp .-2 ; 0x8 <__zero_reg__+0x7>
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4045
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils