public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "gprocida at google dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/28191] DWARF5 .debug_addr support
Date: Thu, 05 Aug 2021 12:21:22 +0000	[thread overview]
Message-ID: <bug-28191-9487-6ssn8A31XQ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-28191-9487@http.sourceware.org/bugzilla/>

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

--- Comment #1 from gprocida at google dot com ---
eu-readelf -W -S

DWARF 4

There are 13 section headers, starting at offset 0x330:

Section Headers:
[Nr] Name                 Type         Addr             Off      Size     ES
Flags Lk Inf Al
[ 0]                      NULL         0000000000000000 00000000 00000000  0   
    0   0  0
[ 1] .strtab              STRTAB       0000000000000000 000002a8 00000082  0   
    0   0  1
[ 2] .text                PROGBITS     0000000000000000 00000040 00000000  0 AX
    0   0  4
[ 3] .data                PROGBITS     0000000000000000 00000040 00000004  0 WA
    0   0  4
[ 4] .debug_abbrev        PROGBITS     0000000000000000 00000044 0000002c  0   
    0   0  1
[ 5] .debug_info          PROGBITS     0000000000000000 00000070 0000003b  0   
    0   0  1
[ 6] .rela.debug_info     RELA         0000000000000000 000001e8 000000c0 24   
   12   5  8
[ 7] .debug_str           PROGBITS     0000000000000000 000000ab 00000064  1 MS
    0   0  1
[ 8] .comment             PROGBITS     0000000000000000 0000010f 0000001f  1 MS
    0   0  1
[ 9] .note.GNU-stack      PROGBITS     0000000000000000 0000012e 00000000  0   
    0   0  1
[10] .debug_line          PROGBITS     0000000000000000 0000012e 00000027  0   
    0   0  1
[11] .llvm_addrsig        SHT_LOOS+fff4c03 0000000000000000 000002a8 00000000 
0 E     12   0  1
[12] .symtab              SYMTAB       0000000000000000 00000158 00000090 24   
    1   5  8

DWARF 5

There are 19 section headers, starting at offset 0x490:

Section Headers:
[Nr] Name                 Type         Addr             Off      Size     ES
Flags Lk Inf Al
[ 0]                      NULL         0000000000000000 00000000 00000000  0   
    0   0  0
[ 1] .strtab              STRTAB       0000000000000000 000003d0 000000c0  0   
    0   0  1
[ 2] .text                PROGBITS     0000000000000000 00000040 00000000  0 AX
    0   0  4
[ 3] .data                PROGBITS     0000000000000000 00000040 00000004  0 WA
    0   0  4
[ 4] .debug_abbrev        PROGBITS     0000000000000000 00000044 00000030  0   
    0   0  1
[ 5] .debug_info          PROGBITS     0000000000000000 00000074 0000002e  0   
    0   0  1
[ 6] .rela.debug_info     RELA         0000000000000000 000002b0 00000060 24   
   18   5  8
[ 7] .debug_str_offsets   PROGBITS     0000000000000000 000000a2 0000001c  0   
    0   0  1
[ 8] .rela.debug_str_offsets RELA         0000000000000000 00000310 00000078 24
      18   7  8
[ 9] .debug_str           PROGBITS     0000000000000000 000000be 00000064  1 MS
    0   0  1
[10] .debug_addr          PROGBITS     0000000000000000 00000122 00000010  0   
    0   0  1
[11] .rela.debug_addr     RELA         0000000000000000 00000388 00000018 24   
   18  10  8
[12] .comment             PROGBITS     0000000000000000 00000132 0000001f  1 MS
    0   0  1
[13] .note.GNU-stack      PROGBITS     0000000000000000 00000151 00000000  0   
    0   0  1
[14] .debug_line          PROGBITS     0000000000000000 00000151 00000043  0   
    0   0  1
[15] .rela.debug_line     RELA         0000000000000000 000003a0 00000030 24   
   18  14  8
[16] .debug_line_str      PROGBITS     0000000000000000 00000194 00000040  1 MS
    0   0  1
[17] .llvm_addrsig        SHT_LOOS+fff4c03 0000000000000000 000003d0 00000000 
0 E     18   0  1
[18] .symtab              SYMTAB       0000000000000000 000001d8 000000d8 24   
    1   8  8

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

  reply	other threads:[~2021-08-05 12:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04 16:41 [Bug default/28191] New: " gprocida at google dot com
2021-08-05 12:21 ` gprocida at google dot com [this message]
2021-08-11 12:06 ` [Bug default/28191] " gprocida at google dot com
2021-09-12 19:45 ` mark at klomp dot org
2021-11-19 14:37 ` gprocida at google dot com
2021-11-22 13:51 ` maennich at android dot com
2022-01-13  8:52 ` gprocida at google dot com
2022-01-17 13:08 ` dodji at redhat dot com
2022-01-17 13:16 ` gprocida at google dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-28191-9487-6ssn8A31XQ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libabigail@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).