summaryrefslogtreecommitdiffstats
path: root/sys-utils/readprofile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/readprofile.c')
-rw-r--r--sys-utils/readprofile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-utils/readprofile.c b/sys-utils/readprofile.c
index 43991f2fc..978e6c1d3 100644
--- a/sys-utils/readprofile.c
+++ b/sys-utils/readprofile.c
@@ -306,7 +306,8 @@ main(int argc, char **argv) {
prgname, mapFile, maplineno);
exit(1);
}
- if (!strcmp(fn_name,"_stext")) /* only elf works like this */ {
+ /* only elf works like this */
+ if (!strcmp(fn_name,"_stext") || !strcmp(fn_name,"__stext")) {
add0 = fn_add;
break;
}