This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can I generate debug info without relocations?


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]