mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
apply mising piece of previous patch
This commit is contained in:
@ -6313,7 +6313,7 @@ elf_find_function (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
break;
|
||||
case STT_NOTYPE:
|
||||
case STT_FUNC:
|
||||
if (q->symbol.section == section
|
||||
if (bfd_get_section (&q->symbol) == section
|
||||
&& q->symbol.value >= low_func
|
||||
&& q->symbol.value <= offset)
|
||||
{
|
||||
|
@ -3201,7 +3201,7 @@ arm_elf_find_function (bfd * abfd ATTRIBUTE_UNUSED,
|
||||
continue;
|
||||
/* Fall through. */
|
||||
case STT_NOTYPE:
|
||||
if (q->symbol.section == section
|
||||
if (bfd_get_section (&q->symbol) == section
|
||||
&& q->symbol.value >= low_func
|
||||
&& q->symbol.value <= offset)
|
||||
{
|
||||
|
Reference in New Issue
Block a user