summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/gprof/elf.c')
-rw-r--r--usr.bin/gprof/elf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/gprof/elf.c b/usr.bin/gprof/elf.c
index 3a59f53..359d76e 100644
--- a/usr.bin/gprof/elf.c
+++ b/usr.bin/gprof/elf.c
@@ -97,7 +97,6 @@ wantsym(const Elf_Sym *sym, const char *strtab)
bind = ELF_ST_BIND(sym->st_info);
if (type != STT_FUNC ||
- bind == STB_WEAK ||
(aflag && bind == STB_LOCAL) ||
(uflag && strchr(strtab + sym->st_name, '.') != NULL))
return 0;
OpenPOWER on IntegriCloud