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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> ---
Unfortunately, it caused the issue due to

  if (symtab != NULL) 
    {
      /* Symbol tables are not sorted on address, but we want a quick lookup
         for the symbol associated with each address computed below, so sort
         the table then filter out unwanted entries. FIXME: This assumes that
         the symbol table will not be used later on for some other purpose.  */
      qsort (symtab, nsyms, sizeof (Elf_Internal_Sym), symcmp);
      nsyms = filter_display_syms (filedata, symtab, nsyms, strtab, strtablen);
    }

in dump_relr_relocations.  But after

commit f83ec9ae4a854cc9ba453e88cc7621de5a7a5091
Author: H.J. Lu <[email protected]>
Date:   Wed Aug 27 13:17:07 2025 -0700

    readelf: Update "-D -r" to dump DT_RELR

the symbol table may be used after dump_relr_relocations is called.

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

Reply via email to