From 17eee5222e64e25d7416ff691dcfb76c40148bc5 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 18 Dec 2014 19:09:59 +0000 Subject: [PATCH] Include section name in strip warning message --- contrib/elftoolchain/elfcopy/sections.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/elftoolchain/elfcopy/sections.c b/contrib/elftoolchain/elfcopy/sections.c index d01659a935e..1704a6b3355 100644 --- a/contrib/elftoolchain/elfcopy/sections.c +++ b/contrib/elftoolchain/elfcopy/sections.c @@ -762,8 +762,8 @@ resync_sections(struct elfcopy *ecp) s->off = roundup(off, s->align); } else { if (s->loadable) - warnx("moving loadable section," - "is this intentional?"); + warnx("moving loadable section %s, " + "is this intentional?", s->name); s->off = roundup(off, s->align); }