This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] readelf.c - dump .eh_frame sections



> Normally it means section relative offsets.

OK, then nothing need be done, since the section relative offsets are
already printed.  I suppose we should add a header line at the top of
the report, so that people *know* that the first 8-digit hext number
in those rows is the section offset.

(1) is the section relative offset.
(2) is the length field of the cie/fde.
(3) is the cie field of the cie/fde.

(1)      (2)      (3)
00000000 00000014 00000000 CIE "eh" cf=1 df=-4 ra=8
   LOC   CFA      r0   r1   r2   r3   r4   r5   r6   r7   ra   
00000000 r4+4     u    u    u    u    u    u    u    u    c-4  

(1)      (2)      (3)
00000018 00000024 0000001c FDE cie=00000000 pc=08048750..0804878a
   LOC   CFA      r0   r1   r2   r3   r4   r5   r6   r7   ra   
08048750 r4+4     u    u    u    u    u    u    u    u    c-4  
08048751 r4+8     u    u    u    u    u    c-8  u    u    c-4  
...

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]