[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/10359] New: .long offset is not resolved
From: |
MR dot Swami dot Reddy at nsc dot com |
Subject: |
[Bug gas/10359] New: .long offset is not resolved |
Date: |
2 Jul 2009 06:09:33 -0000 |
.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
00000000 R_CR16_SWITCH32 .LECIE1+0x00000004 // 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug gas/10359] New: .long offset is not resolved,
MR dot Swami dot Reddy at nsc dot com <=