[patch] readelf.c - dump .eh_frame sections

DJ Delorie dj@delorie.com
Thu Dec 7 11:26:00 GMT 2000


> 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  
...


More information about the Binutils mailing list