Test case: test.s ==== .global bhi bhi: bhi *-0xfffffffe ======
Command line: // On 32-bit machine: > crx-elf-as test.s -o test.o > crx-elf-objdump -d test.o Disassembly of section .text: 00000000 <bhi>: 0: 01 74 bhi 0x2 <bhi+0x2> === // On 64-bit machine: > crx-elf-as test.s -o test.o > crx-elf-objdump -d test.o Disassembly of section .text: 00000000 <bhi>: 0: 7f 74 00 80 bhi 0x2 <bhi+0x2> 4: 01 00 ===== -- Summary: machine code varies on 32-bit and 64 bit hosts for nagative operands Product: binutils Version: 2.21 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: MR dot Swami dot Reddy at nsc dot com CC: MR dot Swami dot Reddy at nsc dot com,bug-binutils at gnu dot org GCC build triplet: Native linux GCC host triplet: Native linux (64-bit PC) GCC target triplet: crx-elf- http://sourceware.org/bugzilla/show_bug.cgi?id=10834 ------- 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