]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: VDSO: Fix build error
authorQais Yousef <qais.yousef@imgtec.com>
Tue, 8 Dec 2015 10:11:43 +0000 (10:11 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 22 Dec 2015 11:23:31 +0000 (12:23 +0100)
commit52456201d4c1ac99fa28dd87523ba18f47ec755f
tree48e80a432624301e9992373de8133a97d7bdd541
parent8a1cbb05ade529d3b14061e86db3f7c0fcfa011b
MIPS: VDSO: Fix build error

Commit d1c3d7de99d5 ("MIPS: Initial implementation of a VDSO") introduced a
build error.

For MIPS VDSO to be compiled it requires binutils version 2.25 or above but
the check in the Makefile had inverted logic causing it to be compiled in if
binutils is below 2.25.

This fixes the following compilation error:

CC      arch/mips/vdso/gettimeofday.o
/tmp/ccsExcUd.s: Assembler messages:
/tmp/ccsExcUd.s:62: Error: can't resolve `_start' {*UND* section} - `L0' {.text section}
/tmp/ccsExcUd.s:467: Error: can't resolve `_start' {*UND* section} - `L0' {.text section}
make[2]: *** [arch/mips/vdso/gettimeofday.o] Error 1
make[1]: *** [arch/mips/vdso] Error 2
make: *** [arch/mips] Error 2

[ralf@linux-mips: Fixed Sergei's complaint on the formatting of the
cited commit and generally reformatted the log message.]

Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
Cc: alex@alex-smith.me.uk
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11745/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/vdso/Makefile