|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug binutils/25809] [readelf] --dyn-syms: Display a warning if SHT_DYNSYM and PT_DYNAMIC disagree about the location |
Date: | Tue, 19 May 2020 15:48:08 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25809 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8ac10c5bfca0602398b38cc69976db213a7d9917 commit 8ac10c5bfca0602398b38cc69976db213a7d9917 Author: H.J. Lu <address@hidden> Date: Tue May 19 16:47:12 2020 +0100 Allow readelf to issue warnings if checking is enabled and there are discrepancies between the dynamic tags and the dynamic sections. PR binutils/25809 * readelf.c (process_program_headers): Warn if the PT_DYNAMIC segment doesn't match the .dynamic section and checks are enabled. (struct filedata): Add dynamic_symtab_section and dynamic_strtab_section fields. (process_section_headers): Set dynamic_symtab_section to the .dynsym section. Set dynamic_strtab_section to the .dynstr section. (process_dynamic_section): Warn if the .dynsym section doesn't match DT_SYMTAB and DT_SYMENT or the .dynstr section doesn't DT_STRTAB and DT_STRSZ. But only if checks are enabled. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |