Include section name in strip warning message

This commit is contained in:
emaste 2014-12-18 19:09:59 +00:00
parent 2f9a75508c
commit c39f1f3223

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