This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: DWARF2_UNWIND_INFO without crtstuff?


>>>>> Kamil Iskra <kiskra@ernie.icslab.agh.edu.pl> writes:

> collect2 will only notice the unwind tables when do_collecting is !0,
> which is only the case when not using GNU ld. This means, that for example
> all the a.out targets that use GNU ld should be affected (it is a mistery
> for me why nobody else complained so far?).

True.

> I think I'll try to add code emitting a per-file static constructor, which
> will register the unwind info.

This will be a lot slower.  I would suggest just using collect2.

Jason


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