Include section name in strip warning message

This commit is contained in:
Ed Maste 2014-12-18 19:09:59 +00:00
parent 9e7d291e9a
commit 17eee5222e

View File

@ -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);
}