Re: [PATCH] x86: Remove a.out support

Geert Uytterhoeven
2022-04-04T08:24:47Z

On Sun, Apr 3, 2022 at 6:46 PM Maciej W. Rozycki <macro@orcam.me.uk> wrote:
> On Wed, 16 Mar 2022, James Jones wrote:
> > Probably getting a bit off topic, but I did spend a few hours searching
> > around for any existing tools to convert a binary from a.out->ELF, and
> > trying to come up with something myself by extracting the sections with
> > objdump and re-combining them into an ELF using a linker script placing
> > the sections at the same locations. I couldn't get it working in an
> > evening or two messing with it so I moved on, but I agree something like
> > this seems possible in theory.
>
> Chiming in late as I'm scanning outstanding mailing list traffic: if this
> is as you say all statically linked stuff, then converting from a.out to
> ELF might be as easy as:

Probably, as https://lwn.net/Articles/889952/ claims dynamically linked
a.out was broken in v5.1.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds