aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-09-19 22:39:49 +0000
committerIan Lance Taylor <ian@airs.com>1999-09-19 22:39:49 +0000
commitf1f8ce075e359e7f194ab9d150c32462b5e73cbf (patch)
tree0775970c0adeef2b73dc6920269737f3afcbbcb7 /binutils
parent9c1faa822937bd4bc031d0dc9e5404c8f6b23c8f (diff)
downloadgdb-f1f8ce075e359e7f194ab9d150c32462b5e73cbf.zip
gdb-f1f8ce075e359e7f194ab9d150c32462b5e73cbf.tar.gz
gdb-f1f8ce075e359e7f194ab9d150c32462b5e73cbf.tar.bz2
comment fix
Diffstat (limited to 'binutils')
-rw-r--r--binutils/objdump.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index ba5c0d9..92805d3 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -1735,8 +1735,11 @@ disassemble_data (abfd)
nextsym = NULL;
else
{
+ /* Search forward for the next appropriate symbol in
+ SECTION. Note that all the symbols are sorted
+ together into one big array, and that some sections
+ may have overlapping addresses. */
while (place < sorted_symcount
- /* ??? Why the test for != section? */
&& (sorted_syms[place]->section != section
|| (bfd_asymbol_value (sorted_syms[place])
<= bfd_asymbol_value (sym))))