public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/29571] New: Add 'Key to Flags' to eu-readelf output
@ 2022-09-14  7:21 mliska at suse dot cz
  2022-10-27 17:39 ` [Bug general/29571] " zhuorong.lin at outlook dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mliska at suse dot cz @ 2022-09-14  7:21 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 29571
           Summary: Add 'Key to Flags' to eu-readelf output
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
                CC: elfutils-devel at sourceware dot org, mjw at fedoraproject dot org
  Target Milestone: ---

Please list flags meaning when running eu-readelf:

$ eu-readelf -SW a.o
There are 23 section headers, starting at offset 0xbc0:

Section Headers:
[Nr] Name                 Type         Addr             Off      Size     ES
Flags Lk Inf Al
[ 0]                      NULL         0000000000000000 00000000 00000000  0   
    0   0  0
[ 1] .text                PROGBITS     0000000000000000 00000040 000000a1  0 AX
    0   0  1
[ 2] .rela.text           RELA         0000000000000000 000007d0 00000060 24 I 
   20   1  8
[ 3] .data                PROGBITS     0000000000000000 000000e1 00000000  0 WA
    0   0  1
[ 4] .bss                 NOBITS       0000000000000000 00000100 00000200  0 WA
    0   0 32
[ 5] .rodata              PROGBITS     0000000000000000 00000100 0000000e  0 A 
    0   0  1
[ 6] .debug_info          PROGBITS     0000000000000000 0000010e 0000014d  0   
    0   0  1
[ 7] .rela.debug_info     RELA         0000000000000000 00000830 000001b0 24 I 
   20   6  8
[ 8] .debug_abbrev        PROGBITS     0000000000000000 0000025b 000000e4  0   
    0   0  1
[ 9] .debug_aranges       PROGBITS     0000000000000000 0000033f 00000030  0   
    0   0  1
[10] .rela.debug_aranges  RELA         0000000000000000 000009e0 00000030 24 I 
   20   9  8
[11] .debug_line          PROGBITS     0000000000000000 0000036f 0000009e  0   
    0   0  1
[12] .rela.debug_line     RELA         0000000000000000 00000a10 00000090 24 I 
   20  11  8
[13] .debug_str           PROGBITS     0000000000000000 0000040d 000000c6  1 MS
    0   0  1
[14] .debug_line_str      PROGBITS     0000000000000000 000004d3 00000087  1 MS
    0   0  1
[15] .comment             PROGBITS     0000000000000000 0000055a 00000057  1 MS
    0   0  1
[16] .note.GNU-stack      PROGBITS     0000000000000000 000005b1 00000000  0   
    0   0  1
[17] .note.gnu.property   NOTE         0000000000000000 000005b8 00000030  0 A 
    0   0  8
[18] .eh_frame            PROGBITS     0000000000000000 000005e8 00000078  0 A 
    0   0  8
[19] .rela.eh_frame       RELA         0000000000000000 00000aa0 00000048 24 I 
   20  18  8
[20] .symtab              SYMTAB       0000000000000000 00000660 00000150 24   
   21   9  8
[21] .strtab              STRTAB       0000000000000000 000007b0 0000001c  0   
    0   0  1
[22] .shstrtab            STRTAB       0000000000000000 00000ae8 000000d3  0   
    0   0  1

$ readelf -SW a.o
There are 23 section headers, starting at offset 0xbc0:

Section Headers:
  [Nr] Name              Type            Address          Off    Size   ES Flg
Lk Inf Al
  [ 0]                   NULL            0000000000000000 000000 000000 00     
0   0  0
  [ 1] .text             PROGBITS        0000000000000000 000040 0000a1 00  AX 
0   0  1
  [ 2] .rela.text        RELA            0000000000000000 0007d0 000060 18   I
20   1  8
  [ 3] .data             PROGBITS        0000000000000000 0000e1 000000 00  WA 
0   0  1
  [ 4] .bss              NOBITS          0000000000000000 000100 000200 00  WA 
0   0 32
  [ 5] .rodata           PROGBITS        0000000000000000 000100 00000e 00   A 
0   0  1
  [ 6] .debug_info       PROGBITS        0000000000000000 00010e 00014d 00     
0   0  1
  [ 7] .rela.debug_info  RELA            0000000000000000 000830 0001b0 18   I
20   6  8
  [ 8] .debug_abbrev     PROGBITS        0000000000000000 00025b 0000e4 00     
0   0  1
  [ 9] .debug_aranges    PROGBITS        0000000000000000 00033f 000030 00     
0   0  1
  [10] .rela.debug_aranges RELA            0000000000000000 0009e0 000030 18  
I 20   9  8
  [11] .debug_line       PROGBITS        0000000000000000 00036f 00009e 00     
0   0  1
  [12] .rela.debug_line  RELA            0000000000000000 000a10 000090 18   I
20  11  8
  [13] .debug_str        PROGBITS        0000000000000000 00040d 0000c6 01  MS 
0   0  1
  [14] .debug_line_str   PROGBITS        0000000000000000 0004d3 000087 01  MS 
0   0  1
  [15] .comment          PROGBITS        0000000000000000 00055a 000057 01  MS 
0   0  1
  [16] .note.GNU-stack   PROGBITS        0000000000000000 0005b1 000000 00     
0   0  1
  [17] .note.gnu.property NOTE            0000000000000000 0005b8 000030 00   A
 0   0  8
  [18] .eh_frame         PROGBITS        0000000000000000 0005e8 000078 00   A 
0   0  8
  [19] .rela.eh_frame    RELA            0000000000000000 000aa0 000048 18   I
20  18  8
  [20] .symtab           SYMTAB          0000000000000000 000660 000150 18    
21   9  8
  [21] .strtab           STRTAB          0000000000000000 0007b0 00001c 00     
0   0  1
  [22] .shstrtab         STRTAB          0000000000000000 000ae8 0000d3 00     
0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings), I (info),
  L (link order), O (extra OS processing required), G (group), T (TLS),
  C (compressed), x (unknown), o (OS specific), E (exclude),
  D (mbind), l (large), p (processor specific)

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-13 10:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14  7:21 [Bug general/29571] New: Add 'Key to Flags' to eu-readelf output mliska at suse dot cz
2022-10-27 17:39 ` [Bug general/29571] " zhuorong.lin at outlook dot com
2022-10-30  1:10 ` mark at klomp dot org
2023-01-13  8:58 ` mliska at suse dot cz
2023-01-13 10:00 ` mark at klomp dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).