[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/24993] New: RISC-V: Address 0x00000000000xxxxx is out of b
From: |
yitingwang16 at outlook dot com |
Subject: |
[Bug binutils/24993] New: RISC-V: Address 0x00000000000xxxxx is out of bounds when "objdump -D" |
Date: |
Wed, 11 Sep 2019 17:04:18 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=24993
Bug ID: 24993
Summary: RISC-V: Address 0x00000000000xxxxx is out of bounds
when "objdump -D"
Product: binutils
Version: 2.30
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: yitingwang16 at outlook dot com
Target Milestone: ---
$ cat test.c
char __attribute__ ((aligned(2))) x = 'x';
char a = 1;
char b = 2;
char c = 3;
char d = 4;
char e = 5;
int main()
{
return a + b + c + d + e;
}
$ riscv64-unknown-linux-gnu-gcc -nostdlib -o test test.c
$ riscv64-unknown-linux-gnu-objdump -D test
...
Disassembly of section .sdata:
0000000000011130 <x>:
11130: addi a4,sp,140
0000000000011131 <a>:
11131: addi tp,tp,0
0000000000011132 <b>:
11132: slli t1,t1,0x0
0000000000011133 <c>:
11133: lb s0,0(zero) # 0 <main-0x100e8>
0000000000011134 <d>:
11134: addi s1,sp,640
0000000000011135 <e>:
11135: 05 Address 0x0000000000011135 is out of bounds.
11139:
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/24993] New: RISC-V: Address 0x00000000000xxxxx is out of bounds when "objdump -D",
yitingwang16 at outlook dot com <=