[Bug gas/10834] New: machine code varies on 32-bit and 64 bit hosts for nagative operands

2009-10-23 Thread MR dot Swami dot Reddy at nsc dot com
Test case: test.s

.global bhi
bhi:
 bhi *-0xfffe
==

Command line:
// On 32-bit machine:
> crx-elf-as test.s -o test.o
> crx-elf-objdump -d test.o
Disassembly of section .text:

 :
   0:   01 74   bhi 0x2 
===
// On 64-bit machine:

> crx-elf-as test.s -o test.o
> crx-elf-objdump -d test.o
Disassembly of section .text:

 :
   0:   7f 74 00 80 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


[Bug gas/10359] New: .long offset is not resolved

2009-07-01 Thread MR dot Swami dot Reddy at nsc dot com
.long directive offset is not resolved if the section name ith ""aw",@progbits"

Consider a test case:
test_eh.s
 .file "test_eh.cc"
 .section .eh_frame,"aw",@progbits
# .section .eh_frame
.Lframe1:
 .long .LECIE1-.LSCIE1
.LSCIE1:
 .long 0x0
.LECIE1:
 .ident "GCC: (GNU) 4.1.2"


Command line:

> cr16-elf-gcc test_eh.s -c
> cr16-elf-objdump -r test_eh.o
RELOCATION RECORDS FOR [.eh_frame]:
OFFSET TYPE VALUE
 R_CR16_SWITCH32 .LECIE1+0x0004 // WRONG

Ideally the R_CR16_SWITCH32 should be resolved by cr16-elf-as .

NOTE: If the section is with ","aw",@progbits", then AS tool resolve
the relocation.

-- 
   Summary: .long offset is not resolved
   Product: binutils
   Version: 2.19
Status: NEW
  Severity: critical
  Priority: P3
 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 host triplet: Native linux
GCC target triplet: cr16-elf-


http://sourceware.org/bugzilla/show_bug.cgi?id=10359

--- 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


[Bug gas/10255] no .eh_frame_hdr table will be created.

2009-06-29 Thread MR dot Swami dot Reddy at nsc dot com

--- Additional Comments From MR dot Swami dot Reddy at nsc dot com  
2009-06-29 09:55 ---
Hello, Similar issue Igetting with cr16-elf tools? Is this patch taget 
specific? Thanks for any input.

Thanks
Swami

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10255

--- 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