From 1507352bc5cbdebaa9f64f1c73876ec9d8a638bc Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 14 Feb 2017 12:56:48 +0000 Subject: [PATCH] keep "[not] stripped" last since some scripts expect it to be there. --- src/readelf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/readelf.c b/src/readelf.c index d1b71cf..3695c89 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -1373,12 +1373,12 @@ doshn(struct magic_set *ms, int clazz, int swap, int fd, off_t off, int num, } } - if (file_printf(ms, ", %sstripped", stripped ? "" : "not ") == -1) - return -1; if (has_debug_info) { if (file_printf(ms, ", with debug_info") == -1) return -1; } + if (file_printf(ms, ", %sstripped", stripped ? "" : "not ") == -1) + return -1; if (cap_hw1) { const cap_desc_t *cdp; switch (mach) {