aboutsummaryrefslogtreecommitdiff
path: root/contrib/elftoolchain
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2014-12-18 19:09:59 +0000
committerEd Maste <emaste@FreeBSD.org>2014-12-18 19:09:59 +0000
commit17eee5222e64e25d7416ff691dcfb76c40148bc5 (patch)
tree773c2439b6c394b755b8efec909b81a64705a636 /contrib/elftoolchain
parent9e7d291e9a1d160255ab3af4cab5dfd295a401e7 (diff)
downloadsrc-17eee5222e64e25d7416ff691dcfb76c40148bc5.tar.gz
src-17eee5222e64e25d7416ff691dcfb76c40148bc5.zip
Include section name in strip warning message
Notes
Notes: svn path=/head/; revision=275916
Diffstat (limited to 'contrib/elftoolchain')
-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 d01659a935ee..1704a6b3355e 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);
}