]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: VDSO: Fix build error with binutils 2.24 and earlier
authorGuenter Roeck <linux@roeck-us.net>
Thu, 24 Dec 2015 05:04:31 +0000 (21:04 -0800)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 29 Dec 2015 22:41:55 +0000 (23:41 +0100)
commit2b91164143c02acd8e08fd000ae99b94855899ad
tree6858ea5dac1b6c9905c065c6bd102de86e8d424d
parent768f436d070e4286497dbb0f8c3874a29eb703e8
MIPS: VDSO: Fix build error with binutils 2.24 and earlier

Commit 52456201d4c1 ("MIPS: VDSO: Fix build error") tries to fix a build
error seen with binutils 2.24 and earlier. However, the fix does not work,
and again results in the already known build errors if the kernel is built
with an earlier version of binutils.

CC      arch/mips/vdso/gettimeofday.o
/tmp/ccnOVbHT.s: Assembler messages:
/tmp/ccnOVbHT.s:50: Error: can't resolve `_start' {*UND* section} - `L0 {.text section}
/tmp/ccnOVbHT.s:374: Error: can't resolve `_start' {*UND* section} - `L0 {.text section}
scripts/Makefile.build:258: recipe for target 'arch/mips/vdso/gettimeofday.o' failed
make[2]: *** [arch/mips/vdso/gettimeofday.o] Error 1

Fixes: 52456201d4c1 ("MIPS: VDSO: Fix build error")
Cc: Qais Yousef <qais.yousef@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11926/
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/vdso/Makefile