From: Max Filippov Date: Fri, 21 Aug 2015 17:43:44 +0000 (+0300) Subject: xtensa: improve vmlinux.lds.S sed post-processing X-Git-Tag: omap-for-v4.3/fixes-merge-window~39^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=895fb3159280fe7695b35ec7c87ec19e13ca5b6e;p=pandora-kernel.git xtensa: improve vmlinux.lds.S sed post-processing Current sed script makes assumptions about the structure of rules that group .text sections in the vmlinux linker script. These assumptions get broken occasionally, e.g.: 779c88c94c34 "ARM: 8321/1: asm-generic: introduce.text.fixup input section", or 9bebe9e5b0f3 "kbuild: Fix .text.unlikely placement". Rewrite sed rules so that they don't depend on number/arrangement of text sections in *(...) blocks. Signed-off-by: Max Filippov --- Reading git-diff-tree failed