[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/10834] New: machine code varies on 32-bit and 64 bit hosts for
From: |
MR dot Swami dot Reddy at nsc dot com |
Subject: |
[Bug gas/10834] New: machine code varies on 32-bit and 64 bit hosts for nagative operands |
Date: |
23 Oct 2009 11:27:11 -0000 |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/10834] New: machine code varies on 32-bit and 64 bit hosts for nagative operands,
MR dot Swami dot Reddy at nsc dot com <=