This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Converting aout objs to elf??
- To: Mike Stump <mrs at windriver dot com>
- Subject: Re: Converting aout objs to elf??
- From: Philip Blundell <Philip dot Blundell at pobox dot com>
- Date: Fri, 10 Mar 2000 07:57:19 +0000
- cc: gcc at gcc dot gnu dot org, rseguin at rsv dot ricoh dot com, gcc-help at gcc dot gnu dot org
- References: <200003100216.SAA03962@kankakee.wrs.com>
>> 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.