Skip to content

Commit

Permalink
x86/um: thin archives build fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicholas Piggin authored and Masahiro Yamada committed Jun 30, 2017
1 parent d6d62a1 commit 827880e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/um/vdso/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage

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.
Expand Down

0 comments on commit 827880e

Please sign in to comment.