From: 黄涛 Date: Mon, 6 Jan 2014 02:35:20 +0000 (+0800) Subject: rk: fix PIE support, libpie_stage2.o depends on pie_rename.syms X-Git-Tag: firefly_0821_release~6421 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=14cec1c89c09825c8b72f4f41bbb1ebc87c7f434;p=firefly-linux-kernel-4.4.55.git rk: fix PIE support, libpie_stage2.o depends on pie_rename.syms --- diff --git a/pie/Makefile b/pie/Makefile index bdd64a6dd470..bd90261704ce 100644 --- a/pie/Makefile +++ b/pie/Makefile @@ -41,7 +41,7 @@ $(obj)/libpie_stage1.o: $(KBUILD_LIBPIE) OBJCOPYFLAGS_libpie_stage2.o += --redefine-syms=$(obj)/pie_rename.syms OBJCOPYFLAGS_libpie_stage2.o += --rename-section .text=.pie.text -$(obj)/libpie_stage2.o: $(obj)/libpie_stage1.o +$(obj)/libpie_stage2.o: $(obj)/libpie_stage1.o $(obj)/pie_rename.syms $(call if_changed,objcopy) # Generate a version of vmlinux.o with weakened and rename references to gcc