apply mising piece of previous patch
This commit is contained in:
parent
b67ae29933
commit
6b40fcba62
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue