mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-02 18:57:29 +08:00
* elfcode.h (elf_map_symbols): Only use section symbols whose
value is the start of the section.
This commit is contained in:
@ -1497,7 +1497,8 @@ elf_map_symbols (abfd)
|
||||
|
||||
for (idx = 0; idx < symcount; idx++)
|
||||
{
|
||||
if ((syms[idx]->flags & BSF_SECTION_SYM) != 0)
|
||||
if ((syms[idx]->flags & BSF_SECTION_SYM) != 0
|
||||
&& syms[idx]->value == asect->vma)
|
||||
{
|
||||
asection *sec;
|
||||
|
||||
|
Reference in New Issue
Block a user