Re: A small patch for 1.3.64...

Linus Torvalds (torvalds@cs.helsinki.fi)
Fri, 16 Feb 1996 08:33:29 +0200 (EET)


> My first kernel patch, unbelievable.
>
> The patch is against 1.3.64. Without it, binfm_elf.c does not compile
> on a sparc. Other architectures do not have edx, right?

That's right. However, I don't think I'll put this patch in as is: it's
technically correct, but there are actually more problems with the ELF support
and multi-architecture stuff than just this. I'd prefer a cleaner approach
(calling an architecture-specific "setup_ELF()" function or similar), so that
we wouldn't need to have #ifdef code in the main sources.

The same actually holds true for a.out too: there are a few #ifdef's out there
that I'd really like to get rid of. Oh, well.. Is somebody willing to do
anything like this (preferably somebody who is actually able to test at least
two different architectures).

Linus