PATCH: Fix DWARF2 section lossage
Mark Mitchell
mark@codesourcery.com
Wed Apr 25 13:16:00 GMT 2001
>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:
Richard> On Tue, Apr 24, 2001 at 06:54:50PM -0700, Mark Mitchell
Richard> wrote:
>> Presumably ASM_OUTPUT_SECTION_NAME needs some tweaking to
>> handle the .debug_* sections appropriately.
Richard> Yep. The current definition cannot create non-allocated
Richard> sections.
Is simply looking for `.debug_*' and then emitting `.section x' good
enough? If so, I can certainly implement that. I don't know if all
the .debug-prefixed sections are reserved for DWARF2, or whether to be
pedantically correct we'd have to explicitly enumerate all of them.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list