From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Blundell To: Mike Stump Cc: gcc@gcc.gnu.org, rseguin@rsv.ricoh.com, gcc-help@gcc.gnu.org Subject: Re: Converting aout objs to elf?? Date: Thu, 09 Mar 2000 23:57:00 -0000 Message-id: References: <200003100216.SAA03962@kankakee.wrs.com> X-SW-Source: 2000-03/msg00055.html >> 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philip Blundell To: Mike Stump Cc: gcc@gcc.gnu.org, rseguin@rsv.ricoh.com, gcc-help@gcc.gnu.org Subject: Re: Converting aout objs to elf?? Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: References: <200003100216.SAA03962@kankakee.wrs.com> X-SW-Source: 2000-q1/msg00365.html Message-ID: <20000401000000.gW58dn6AEMMPVw0_G-jTfZPciycRCcE-kQ_3VPzO_4E@z> >> 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.