https://sourceware.org/bugzilla/show_bug.cgi?id=33806

--- Comment #1 from Indu Bhagat <indu.bhagat at oracle dot com> ---
$ cat test.s 
        .cfi_startproc
        .long 0
        .cfi_endproc

$ as --gsframe test.s -o test.o

$ objdump -WF --sframe test.o                                                   
test.o:     file format elf64-x86-64

Contents of the .eh_frame section:                                             


00000000 0000000000000014 00000000 CIE "zR" cf=1 df=-8 ra=16
   LOC           CFA      ra    
0000000000000000 rsp+8    c-8   

00000018 0000000000000014 0000001c FDE cie=00000000
pc=0000000000000000..0000000000000004

Contents of the SFrame section .sframe:                
  Header :              
...
    CFA fixed RA offset: -8
    Num FDEs: 1
    Num FREs: 1

  Function Index :

    func idx [0]: pc = 0x0, size = 4 bytes
    STARTPC         CFA       FP        RA           
    0000000000000000  sp+8      u         f            
Contents of the .eh_frame section:


00000000 0000000000000014 00000000 CIE "zR" cf=1 df=-8 ra=16
   LOC           CFA      ra    
0000000000000000 rsp+8    c-8   

00000018 0000000000000014 0000001c FDE cie=00000000
pc=0000000000000000..0000000000000004

Contents of the SFrame section .sframe:
  Header :
  ...
    CFA fixed RA offset: -8
    Num FDEs: 1
    Num FREs: 1

  Function Index :

    func idx [0]: pc = 0x0, size = 4 bytes
    STARTPC         CFA       FP        RA           
    0000000000000000  sp+8      u         f

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to