History

MIPS: VDSO: Fix build error with binutils 2.24 and earlier

Commit 2a037f310bab ("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

Guenter Roeck committed 10 years ago

Commit 398c7501 parent 74bf8ef1 file · +1 −1Browse files

Unified · Split

arch/mips/vdso/Makefile+1−1
@@ -26,7 +26,7 @@ aflags-vdso := $(ccflags-vdso) \ · 25 unmodified lines
2626 # the comments on that file.
2727 #
2828 ifndef CONFIG_CPU_MIPSR6
29− ifeq ($(call ld-ifversion, -lt, 22500000, y),)
29+ ifeq ($(call ld-ifversion, -lt, 22500000, y),y)
3030 $(warning MIPS VDSO requires binutils >= 2.25)
3131 obj-vdso-y := $(filter-out gettimeofday.o, $(obj-vdso-y))
3232 ccflags-vdso += -DDISABLE_MIPS_VDSO