[David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections

David Mosberger davidm@napali.hpl.hp.com
Sat Mar 2 12:57:00 GMT 2002


>>>>> On Sat, 2 Mar 2002 12:53:50 -0800, "H . J . Lu" <hjl@lucon.org> said:

  HJ> On Sat, Mar 02, 2002 at 12:40:27PM -0800, David Mosberger wrote:
  >> >>>>> On Sat, 2 Mar 2002 12:28:20 -0800, "H . J . Lu" <hjl@lucon.org> said:
  >> 
  HJ> +      if (bfd_get_section_by_name (output_bfd, ".preinit_array") != NULL)
  >> 
  >> I don't think this works as intended: the section always exists in the
  >> output_bfd at that time.  At least this is what it looked like when I
  >> tried it.  That's why I switched to walking the input files and
  >> sections.

  HJ> It seems to work for me.

Ah, that's good.  Perhaps it didn't work for me because I still had
the start/end labels defined inside the sections at that time.

	--david



More information about the Binutils mailing list