Le lundi 24 juillet 2006 à 16:04 -0400, Daniel Jacobowitz a écrit : > On Fri, Jul 21, 2006 at 04:23:13PM +0200, Frederic RISS wrote: > > (BTW, > > was my testing defficient, or do recent GNU toolchains handle linkonce > > sections and associated debug info correctly?) > > It can be pretty hard to trigger this sort of problem. No, GNU > handling for linkonce debug info has not really changed in a while. OK; so my testing was deficient... but maybe we're not speaking of the same 'correct handling'? I thought that we had issues with relocating the debug information coming from different linkonce sections against the only one kept in the linked file... but that definitely works for me on a simple example. So I guess that we're referring to more deeply broken cases (for example when debug info is generated for a linkonce section of which all instances will get discarded). And I indeed have no idea how to generate such a case even by resorting to my more convoluted template-fu :-) > This patch is OK. > > One possible improvement; there's already a walk over all sections. > You could set this flag directly in dwarf2_locate_sections, I think. You're right, it's much nicer like this. I checked the attached in. (Oh, and thanks for fixing the date in my previous ChangeLog entry)