[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/31654] gas: Bad SFrame information when assembling with listing
From: |
indu.bhagat at oracle dot com |
Subject: |
[Bug gas/31654] gas: Bad SFrame information when assembling with listing |
Date: |
Thu, 25 Apr 2024 23:29:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31654
--- Comment #2 from Indu Bhagat <indu.bhagat at oracle dot com> ---
This is repeatable on other arches too using binutils-gdb master.
One aarch64:
$ cat test.s
.cfi_startproc
.long 0
.cfi_def_cfa_offset 8
.long 0
.cfi_rel_offset 29, 16
.cfi_rel_offset 30, 24
.long 0
.cfi_endproc
$ as --gsframe test.s -o test.o
$ objdump --sframe test.o
...
func idx [0]: pc = 0x0, size = 12 bytes
STARTPC CFA FP RA
0000000000000000 sp+0 u u
0000000000000004 sp+8 u u
0000000000000008 sp+8 c+8 c+16
$ as --gsframe -alh test.s -o test.o
...
$ objdump --sframe test.o
...
func idx [0]: pc = 0x0, size = 12 bytes
STARTPC CFA FP RA
0000000000000000 sp+8 c+8 c+16
Similar testcase can be easily arrived at for x86_64 as well.
--
You are receiving this mail because:
You are on the CC list for the bug.