This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: ELF .stabs to a.out


Vincent RiviÃre <vincent.riviere@freesbee.fr> writes:

> Can ld convert the .stabs sections from ELF objects to standard a.out
> debugging information ?

No.

> If this is not possible, is there any other debugging information
> format supported by ELF that can be converted to a.out debugging
> information ?

I haven't tried it, but in principle objcopy should be able to convert
ELF stabs to a.out STABS if you use the --debugging option when
converting the file format.  You'll need to use a linker script which
forces the ELF executable to use only .text, .data, and .bss sections.

Ian


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