MIPS: ELF: Unify ABI classification macros
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 13 May 2016 06:21:40 +0000 (07:21 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 13:30:25 +0000 (15:30 +0200)
commitc9babb1926852d88ebee3c27f2b8bac848560c0e
treebfa74272fe3443722c9ca338d801e1251c9c03cf
parent4a60ad51d660200adcb8bfecda472f0179ff22ec
MIPS: ELF: Unify ABI classification macros

Remove a duplicate o32 `elf_check_arch' implementation, move all macro
variants to <asm/elf.h> and define them unconditionally under indvidual
names, substituting alias `elf_check_arch' definitions in variant code.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/13245/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/elf.h
arch/mips/kernel/binfmt_elfn32.c
arch/mips/kernel/binfmt_elfo32.c