aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-01-14 01:26:18 +0000
committerAlan Modra <amodra@gmail.com>2009-01-14 01:26:18 +0000
commitabf71725787681a703e07ca8ef5069ee4e51e155 (patch)
tree780e42f4746ff2afaeffc001e7a68232a3a528df /binutils
parent8acd5377271a746de22ae3c5907a00f27ea716b4 (diff)
downloadgdb-abf71725787681a703e07ca8ef5069ee4e51e155.zip
gdb-abf71725787681a703e07ca8ef5069ee4e51e155.tar.gz
gdb-abf71725787681a703e07ca8ef5069ee4e51e155.tar.bz2
missed commit
Diffstat (limited to 'binutils')
-rw-r--r--binutils/objdump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 8bfb2a5..ed5bccf 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -1903,6 +1903,7 @@ disassemble_section (bfd *abfd, asection *section, void *info)
disassembling them. */
if (disassemble_all
|| sym == NULL
+ || sym->section != section
|| bfd_asymbol_value (sym) > addr
|| ((sym->flags & BSF_OBJECT) == 0
&& (strstr (bfd_asymbol_name (sym), "gnu_compiled")