summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/elfcopy
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-12-18 19:09:59 +0000
committeremaste <emaste@FreeBSD.org>2014-12-18 19:09:59 +0000
commitc39f1f3223a250b7a2040b2d3829446a5fa1a8da (patch)
tree773c2439b6c394b755b8efec909b81a64705a636 /contrib/elftoolchain/elfcopy
parent2f9a75508c40a568319ba1420d4b5096539380dc (diff)
downloadFreeBSD-src-c39f1f3223a250b7a2040b2d3829446a5fa1a8da.zip
FreeBSD-src-c39f1f3223a250b7a2040b2d3829446a5fa1a8da.tar.gz
Include section name in strip warning message
Diffstat (limited to 'contrib/elftoolchain/elfcopy')
-rw-r--r--contrib/elftoolchain/elfcopy/sections.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/elftoolchain/elfcopy/sections.c b/contrib/elftoolchain/elfcopy/sections.c
index d01659a..1704a6b 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);
}
OpenPOWER on IntegriCloud