On Thu, Jul 04, 2019 at 03:56:49PM +0200, Roger Pau Monné wrote:
> On Wed, Jun 26, 2019 at 04:35:37PM +0000, Mark Johnston wrote:
> > Author: markj
> > Date: Wed Jun 26 16:35:37 2019
> > New Revision: 349423
> > URL: https://svnweb.freebsd.org/changeset/base/349423
> > 
> > Log:
> >   elfcopy: Provide a size hint when creating the section string table.
> >   
> >   Use the input file's .shstrtab size as the hint if it exists.  This
> >   gives a small performance improvement when processing files with
> >   many sections.
> 
> This change breaks the Xen build using objcopy. I have a very simple
> test case, pick the file from:
> 
> https://people.freebsd.org/~royger/buildid.ihex
> 
> Then do:
> 
> $ objcopy -I ihex -O binary buildid.ihex buildid.o
> objcopy: elf_nextscn failed: Invalid argument
> 
> This used to work before this change, and now fails.

Thanks, I posted a patch here: https://reviews.freebsd.org/D20852
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to