浏览代码

x86/um: thin archives build fix

The linker does not like vdso-syms.lds in input archive files.
Make it an extra-y instead.

Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: user-mode-linux-devel@lists.sourceforge.net
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Nicholas Piggin 8 年之前
父节点
当前提交
827880ec26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/x86/um/vdso/Makefile

+ 1 - 1
arch/x86/um/vdso/Makefile

@@ -53,7 +53,7 @@ CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
 CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
 CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
 
 
 targets += vdso-syms.lds
 targets += vdso-syms.lds
-obj-$(VDSO64-y)			+= vdso-syms.lds
+extra-$(VDSO64-y)			+= vdso-syms.lds
 
 
 #
 #
 # Match symbols in the DSO that look like VDSO*; produce a file of constants.
 # Match symbols in the DSO that look like VDSO*; produce a file of constants.