[binutils-gdb] Revert "Re: Add warning message to readelf for local symbols"

Alan Modra amodra@sourceware.org
Mon Dec 8 21:04:03 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b33d520b42e7301f1daccc93e20d70961265f5c1

commit b33d520b42e7301f1daccc93e20d70961265f5c1
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Dec 9 07:32:57 2025 +1030

    Revert "Re: Add warning message to readelf for local symbols"
    
    This reverts commit f70242a98f91b7f5ec5b375346d8bfa7f9a61c4a.
    Nick already applied this..

Diff:
---
 binutils/readelf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/binutils/readelf.c b/binutils/readelf.c
index 5c1d05a8ba3..9e89a54174e 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -14821,7 +14821,6 @@ print_symbol (Filedata *           filedata,
       && ! is_special
       && is_valid
       && psym->st_shndx < filedata->file_header.e_shnum
-      && filedata->file_header.e_type == ET_REL
       && filedata->section_headers != NULL
       && (filedata->section_headers[psym->st_shndx].sh_flags & SHF_MERGE)
       && psym->st_value > filedata->section_headers[psym->st_shndx].sh_size


More information about the Binutils-cvs mailing list