Using the following src: --------------------------- foo: jr $ra addiu $sp,$sp,32 --------------------------- And the command as -march=m4k test.s
gas inserts a nop between the instructions, moving the add out of the delay slot. I can make it do the right thing by adding a '.set noreorder' but I can find no information in the documentation about why this is needed. -- Summary: gas inserts nop, breaks code, or at least expectations Product: binutils Version: 2.19 Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: danieljo at fagotten dot org CC: bug-binutils at gnu dot org GCC host triplet: x86_64-linux-gnu GCC target triplet: mipsel-unknown-elf http://sourceware.org/bugzilla/show_bug.cgi?id=10022 ------- 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