mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +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;
|
break;
|
||||||
case STT_NOTYPE:
|
case STT_NOTYPE:
|
||||||
case STT_FUNC:
|
case STT_FUNC:
|
||||||
if (q->symbol.section == section
|
if (bfd_get_section (&q->symbol) == section
|
||||||
&& q->symbol.value >= low_func
|
&& q->symbol.value >= low_func
|
||||||
&& q->symbol.value <= offset)
|
&& q->symbol.value <= offset)
|
||||||
{
|
{
|
||||||
|
@ -3201,7 +3201,7 @@ arm_elf_find_function (bfd * abfd ATTRIBUTE_UNUSED,
|
|||||||
continue;
|
continue;
|
||||||
/* Fall through. */
|
/* Fall through. */
|
||||||
case STT_NOTYPE:
|
case STT_NOTYPE:
|
||||||
if (q->symbol.section == section
|
if (bfd_get_section (&q->symbol) == section
|
||||||
&& q->symbol.value >= low_func
|
&& q->symbol.value >= low_func
|
||||||
&& q->symbol.value <= offset)
|
&& q->symbol.value <= offset)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user