summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--showmap/showmap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/showmap/showmap.c b/showmap/showmap.c
index 5c4a26fb..bb359f65 100644
--- a/showmap/showmap.c
+++ b/showmap/showmap.c
@@ -56,9 +56,7 @@ static int parse_header(const char* line, const mapinfo* prev, mapinfo** mi) {
if (line[name_pos]) {
strlcpy(name, line + name_pos, sizeof(name));
} else {
- if ((start >= 0x10000000) && (start < 0x40000000)) {
- strlcpy(name, "[stack]", sizeof(name));
- } else if (prev && start == prev->end && is_library(prev->name)) {
+ if (prev && start == prev->end && is_library(prev->name)) {
// anonymous mappings immediately adjacent to shared libraries
// usually correspond to the library BSS segment, so we use the
// library's own name