aboutsummaryrefslogtreecommitdiff
path: root/toys/other/readelf.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/readelf.c')
-rw-r--r--toys/other/readelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/toys/other/readelf.c b/toys/other/readelf.c
index 15e5e7d7..19387360 100644
--- a/toys/other/readelf.c
+++ b/toys/other/readelf.c
@@ -424,6 +424,8 @@ static void show_notes(unsigned long offset, unsigned long size)
if (type == 1) {
printf("NT_VERSION\tAPI level %u", elf_int(&p)), j=1;
if (descsz>=132) printf(", NDK %.64s (%.64s)", p, p+64);
+ } else if (type == 5) {
+ printf("NT_PAD_SEGMENT\tpad_segment=%u", elf_int(&p)), j=1;
} else p -= 8;
} else if (notematch(namesz, &p, "CORE")) {
if (*(desc = nt_type_core(type)) != '0') printf("%s", desc), j=1;