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: [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections


>>>>> 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


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