diff options
author | Alan Modra <amodra@gmail.com> | 2004-12-30 22:33:20 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-12-30 22:33:20 +0000 |
commit | 180e47e2d7f6280ae3d6a08a661e897578f447d0 (patch) | |
tree | 957c0287929d4d4e090d0f35a1caf01caab625ef /binutils/objdump.c | |
parent | 1244e398879795d51692a407a7983c57a3b372c8 (diff) | |
download | gdb-180e47e2d7f6280ae3d6a08a661e897578f447d0.zip gdb-180e47e2d7f6280ae3d6a08a661e897578f447d0.tar.gz gdb-180e47e2d7f6280ae3d6a08a661e897578f447d0.tar.bz2 |
* objdump.c (remove_useless_symbols): Discard section symbols.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r-- | binutils/objdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c index 3338fc5..fa421ad 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -458,7 +458,7 @@ remove_useless_symbols (asymbol **symbols, long count) if (sym->name == NULL || sym->name[0] == '\0') continue; - if (sym->flags & (BSF_DEBUGGING)) + if (sym->flags & (BSF_DEBUGGING | BSF_SECTION_SYM)) continue; if (bfd_is_und_section (sym->section) || bfd_is_com_section (sym->section)) |