Can I generate debug info without relocations?

Carlo Wood carlo@alinoe.com
Tue Dec 23 21:28:00 GMT 2003


On Tue, Dec 23, 2003 at 05:47:26PM +0530, Prashanth T wrote:
> Hi,
>   Is there a possibility to generate debug information (dwarf2) without 
> relocations on IA64 or
> S390?  In other words,  is it possible to generate all debug  
> information in .debug_info section
> itself  without .rela.debug_info ?  Please cc this to me as I am not 
> subscribed to this list.
>   I am sorry if I am querying this at a wrong place.
> Thanks.

There is a 'ld' option to do this (at least, for GNU ld).
See 'man ld'.  You can pass option -foo to the linker by
passing -Wl,-foo to gcc.

-- 
Carlo Wood <carlo@alinoe.com>



More information about the Gcc mailing list