apply mising piece of previous patch

This commit is contained in:
Nick Clifton 2004-10-07 15:00:20 +00:00
parent b67ae29933
commit 6b40fcba62
2 changed files with 2 additions and 2 deletions

View file

@ -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)
{

View file

@ -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)
{