From: Will Deacon Date: Tue, 25 Nov 2014 15:26:13 +0000 (+0000) Subject: arm64: vmlinux.lds.S: don't discard .exit.* sections at link-time X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~18^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07c802bd7c3951410b105356787d655e273ab537;p=pandora-kernel.git arm64: vmlinux.lds.S: don't discard .exit.* sections at link-time .exit.* sections may be subject to patching by the new alternatives framework and so shouldn't be discarded at link-time. Without this patch, such a section will result in the following linker error: `.exit.text' referenced in section `.altinstructions' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o Signed-off-by: Will Deacon --- Reading git-diff-tree failed