Re: [PATCH]: ELF/MIPS build fix

2016-05-20 Thread Ralf Baechle
On Fri, May 20, 2016 at 05:37:17PM +0100, Maciej W. Rozycki wrote: > > CONFIG_MIPS32_N32=y but CONFIG_BINFMT_ELF disabled results in the following > > linker errors: > > Is this for a configuration with native (n64) ELF disabled, but one or > more compat ELF formats (o32, n32) enabled? An inte

Re: [PATCH]: ELF/MIPS build fix

2016-05-20 Thread Maciej W. Rozycki
On Fri, 20 May 2016, Ralf Baechle wrote: > CONFIG_MIPS32_N32=y but CONFIG_BINFMT_ELF disabled results in the following > linker errors: Is this for a configuration with native (n64) ELF disabled, but one or more compat ELF formats (o32, n32) enabled? An interesting use case then. Maciej

Re: [PATCH]: ELF/MIPS build fix

2016-05-20 Thread James Hogan
On Fri, May 20, 2016 at 04:17:05PM +0200, Ralf Baechle wrote: > CONFIG_MIPS32_N32=y but CONFIG_BINFMT_ELF disabled results in the following > linker errors: > > arch/mips/built-in.o: In function `elf_core_dump': > binfmt_elfn32.c:(.text+0x23dbc): undefined reference to `elf_core_extra_phdrs' > bin

[PATCH]: ELF/MIPS build fix

2016-05-20 Thread Ralf Baechle
CONFIG_MIPS32_N32=y but CONFIG_BINFMT_ELF disabled results in the following linker errors: arch/mips/built-in.o: In function `elf_core_dump': binfmt_elfn32.c:(.text+0x23dbc): undefined reference to `elf_core_extra_phdrs' binfmt_elfn32.c:(.text+0x246e4): undefined reference to `elf_core_extra_data