Converting aout objs to elf??

Philip Blundell Philip.Blundell@pobox.com
Thu Mar 9 23:57:00 GMT 2000


>> Is there an easy means of converting a library of AOUT objects into
>> a (shared) ELF library?
>
>Sure, just pull out objcopy, and extend it to handle the relocs on
>your platform well, and presto, no problem.  Well, you might need to
>have ld remap the syms for you, byt other than that, it should just
>work.

Objcopy can handle simple cases of symbol munging already, via 
--remove-leading-char and so on.  For a.out -> ELF this may be all you need.

p.




More information about the Gcc mailing list