ELF .stabs to a.out
Ian Lance Taylor
iant@google.com
Mon Oct 5 20:03:00 GMT 2009
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
More information about the Binutils
mailing list