setarch: add another PER_LINUX32 aliases for ppcle
The big-endian version maps generic "ppc" and "ppc32" aliases to PER_LINUX32. It seems that we can do the same for little-endian. Note that SYS_personality does not care about LE/BE, it's 32 or 64 bit. Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
99ab05a6b4
commit
e60b6df54e
|
@ -140,6 +140,8 @@ static int set_arch(const char *pers, unsigned long options, int list)
|
|||
{PER_LINUX, "ppc64pseries", "ppc64"},
|
||||
{PER_LINUX, "ppc64iseries", "ppc64"},
|
||||
# else
|
||||
{PER_LINUX32, "ppc32", "ppcle"},
|
||||
{PER_LINUX32, "ppc", "ppcle"},
|
||||
{PER_LINUX32, "ppc32le", "ppcle"},
|
||||
{PER_LINUX32, "ppcle", "ppcle"},
|
||||
{PER_LINUX, "ppc64le", "ppc64le"},
|
||||
|
|
Loading…
Reference in New Issue