On Feb 14, 2013, at 3:47 PM, Steven Bosscher wrote: > On Thu, Feb 14, 2013 at 2:21 PM, Tristan Gingold wrote: >>> Is there a description for what has to be done in GCC to enable DWARF >>> with AIX as/ld? E.g. is it required to support the ".dwsect" pseudo? >>> Is there already a plan from someone to make GCC produce DWARF on >>> AIX7? >> >> Yes, you need to support the .dwsect pseudo (which is basically a dedicated >> pseudo like .section, but also includes section length). > > AFAIU your binutils patches support DWARF sections with .section > instead of .dwsect, right?
Right. > What is the difficulty with implementing .dwsect for GCC? Shouldn't be very hard, as it is mostly a matter of not emitting section length. Tristan.