nds32: fix building failed if using elf toolchain.
authorGreentime Hu <greentime@andestech.com>
Wed, 7 Mar 2018 08:59:23 +0000 (16:59 +0800)
committerGreentime Hu <greentime@andestech.com>
Fri, 16 Mar 2018 07:45:22 +0000 (15:45 +0800)
commite115807657633432b97549d3bd83a74179603c0c
tree805fe2fe5ca65d24453c0546c1729e35389524e5
parentc601a89115cbc3ccd51468295d28cfae47cc5410
nds32: fix building failed if using elf toolchain.

OUTPUT_FORMAT is not necessary here and the elf toolchain doesn't
support these formats. Since kernel should be built pass with elf
or Linux toolchain. This can be removed from vdso.ld.S

These are the built failed messages.
  VDSOL   arch/nds32/kernel/vdso/vdso.so.dbg
  /home/users/greentime/tmp/nds32le-elf-newlib-v3-upstream-b224/bin/../lib/gcc/nds32le-elf/8.0.1/../../../../nds32le-elf/bin/ld:
  target elf32-nds32le-linux not found
  collect2: error: ld returned 1 exit status
  make[1]: *** [arch/nds32/kernel/vdso/vdso.so.dbg] Error 1
  make: *** [vdso_prepare] Error 2

Signed-off-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/vdso/vdso.lds.S