Re: [PATCH] binfmt_elf: Reorder objects in Makefile to favor platformdefault.

From: Ryan C. Gordon
Date: Wed Oct 21 2009 - 03:59:29 EST



> > Perhaps this should be configurable. For a 64-bit arch with mostly
> > 32-bit userspace the compat format should probably be tried first.
>
> How about this, then?

I didn't realize that commit 74641f584da8eccf30becfbb5507ab457187db22
changed the behaviour of register_binfmt, so the previous patch had it
backwards. Here's an updated patch with the order corrected to match the
config option; no other changes over the previous attempt.