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

            Bug ID: 34939
           Summary: DW_CFA_expression with fp
           Product: binutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libsframe
          Assignee: ibhagatgnu at gmail dot com
          Reporter: mengqinggang at loongson dot cn
  Target Milestone: ---

t.s:
  1        .cfi_sections .sframe                                                
  2        .text                                                                
  3        .globl  foo                                                          
  4        .type   foo, @function                                               
  5 foo:                                                                        
  6        .cfi_startproc                                                       
  7         # DW_CFA_expression, (uleb)reg, length, DW_OP_breg5, (sleb)offset   
  8        .cfi_escape 0x10,0x6,0x2,0x75,0                                      
  9        .long   0                                                            
 10        .cfi_endproc                                                         
 11        .size   foo, .-foo   

 as t.s -o t.o
 readelf --sframe t.o
Contents of the SFrame section .sframe:
  Header :

    Version: SFRAME_VERSION_3
    Flags: SFRAME_F_FDE_FUNC_START_PCREL
    CFA fixed RA offset: -8
    Num FDEs: 1
    Num FREs: 1

  Function Index :

    func idx [0]: pc = 0x0, size = 4 bytes, attr = "F"
    STARTPC         CFA       FP        RA           
    0000000000000000  sp+8      (r536870911+0)U  

Got an invalid r536870911.

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

Reply via email to