bra.s to next instruction is invalid because it would be the same opcode as bra.
$ cat bug.s bra.s next next: nop This is correctly rejected for ELF targets: $ m68k-elf-as bug.s -o bug.o bug.s: Assembler messages: bug.s:1: Error: invalid byte branch offset However it is accepted on m68k-aout targets and produce the wrong 0x6000 opcode. It should be rejected like with ELF. -- Summary: bra.s to next instruction does not produce an error Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P3 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: vincent dot riviere at freesbee dot fr CC: bug-binutils at gnu dot org GCC target triplet: m68k-netbsd http://sourceware.org/bugzilla/show_bug.cgi?id=11597 ------- 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 bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils