bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26808] [2.36 Regression] readelf: Warning: DIE at offset 0


From: hjl.tools at gmail dot com
Subject: [Bug binutils/26808] [2.36 Regression] readelf: Warning: DIE at offset 0x232 refers to abbreviation number 77 which does not exist
Date: Thu, 29 Oct 2020 14:34:28 +0000

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

--- Comment #9 from H.J. Lu <hjl.tools at gmail dot com> ---
It has multiple CUs:

  Compilation Unit @ offset 0x0:
  Compilation Unit @ offset 0x17c:
  Compilation Unit @ offset 0x72f:
  Compilation Unit @ offset 0x7fe:
  Compilation Unit @ offset 0x0:
  Compilation Unit @ offset 0xfb:
  Compilation Unit @ offset 0x1f0:

But this mixes offsets from different CUs:

         list = find_abbrev_list_by_abbrev_offset (compunit.cu_abbrev_offset);
          if (list == NULL) 
            {     
              unsigned char * next; 

              list = new_abbrev_list (compunit.cu_abbrev_offset);
              next = process_abbrev_set
                (((unsigned char *) debug_displays [abbrev_sec].section.start
                  + abbrev_base + compunit.cu_abbrev_offset),
                 ((unsigned char *) debug_displays [abbrev_sec].section.start
                  + abbrev_base + abbrev_size),
                 list);
              list->start_of_next_abbrevs = next; 
            }

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]