netbsd-core.c and bfd_make_section_anyway()

Alan Modra amodra@bigpond.net.au
Sat Jan 5 23:28:00 GMT 2002


On Sat, Jan 05, 2002 at 05:28:08PM -0800, Jason R Thorpe wrote:
> broke handling of NetBSD core files.  I suspect nearly all the other
> core file vectors you changed are broken now, too.

Thanks for testing and finding the problem so quickly.

> irix-core.c seems to work-around this by providing its own make_empty_symbol
> routine, and uding the _bfd_nosymbols versions for all the other symbol
> routines.
> 
> Should all the core file vectors be changed to behave like the irix version?
> If so, I can supply a fix for netbsd-core.c.

Yes please.  I think it's better to use the normal functions to create
sections.

Alan



More information about the Binutils mailing list