projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b67ae29
)
apply mising piece of previous patch
author
Nick Clifton
<nickc@redhat.com>
Thu, 7 Oct 2004 15:00:20 +0000
(15:00 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Thu, 7 Oct 2004 15:00:20 +0000
(15:00 +0000)
bfd/elf.c
patch
|
blob
|
history
bfd/elf32-arm.h
patch
|
blob
|
history
diff --git
a/bfd/elf.c
b/bfd/elf.c
index 0b2fb84381530eaee217cdb07defad7893822f83..e71c18c6be1b44e70cadcd1e168a30372e503203 100644
(file)
--- a/
bfd/elf.c
+++ b/
bfd/elf.c
@@
-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)
{
diff --git
a/bfd/elf32-arm.h
b/bfd/elf32-arm.h
index 0fcfe7956446f8d58d3950cbbf34761f4e967bb3..be6391c47a2d09f4160ba8ed42cee50a64b5bc5a 100644
(file)
--- a/
bfd/elf32-arm.h
+++ b/
bfd/elf32-arm.h
@@
-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)
{