Author: emaste
Date: Thu Dec 18 19:09:59 2014
New Revision: 275916
URL: https://svnweb.freebsd.org/changeset/base/275916

Log:
  Include section name in strip warning message

Modified:
  head/contrib/elftoolchain/elfcopy/sections.c

Modified: head/contrib/elftoolchain/elfcopy/sections.c
==============================================================================
--- head/contrib/elftoolchain/elfcopy/sections.c        Thu Dec 18 19:02:25 
2014        (r275915)
+++ head/contrib/elftoolchain/elfcopy/sections.c        Thu Dec 18 19:09:59 
2014        (r275916)
@@ -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);
                }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to