This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: netbsd-core.c and bfd_make_section_anyway()


On Sat, Jan 05, 2002 at 05:28:08PM -0800, Jason R Thorpe wrote:

 > ...and bfd_make_section_anyway() calls bfd_section_init() which calls
 > bfd_make_empty_symbol(), which returns NULL.
 > 
 > 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.

...alternative, the following patch fixes it, as well.

2002-01-05  Jason Thorpe  <thorpej@wasabisystems.com>

	* section.c (bfd_section_init): Do not fail if the target
	vector does not support symbols.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: foo
Description: section-patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]