.debug_info in gas
Elias Athanasopoulos
eathan@otenet.gr
Thu Oct 31 08:57:00 GMT 2002
Hi Keith,
On Thu, Oct 31, 2002 at 02:38:26PM +0000, Keith.Walker wrote:
> Your description isn't clear enough about what you are trying to achieve to
> give a definitive answer.
I'm sorry. I'll give an example.
Gcc emits a DW_AT_compile_unit for every source file it compiles in
the .debug_info section. Gas emits *only one* DW_AT_compile_unit for the
first source file it assembles.
> Otherwise, are you trying to output multiple compilation unit tables?
>
> I would then suggest it depends whether you are wanting to conform to the
> "simple normal compilation" model, or the more complex space compression
> and duplicate elimination techniques describe in section 3.1.1 and Appendix E.
Gcc uses the complex model?
Elias
More information about the Binutils
mailing list