aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 24dbacf..e607e0f 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -9490,7 +9490,10 @@ display_debug_loc (Elf_Internal_Shdr *section,
start += pointer_size;
if (begin == 0 && end == 0)
- break;
+ {
+ printf (_(" %8.8lx <End of list>\n"), offset);
+ break;
+ }
/* Check base address specifiers. */
if (begin == -1UL && end != -1UL)
@@ -9524,8 +9527,6 @@ display_debug_loc (Elf_Internal_Shdr *section,
start += length;
}
-
- fputs (_(" <End of list>\n"), stdout);
}
}
return 1;