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.:779c88c94c"ARM: 8321/1: asm-generic: introduce.text.fixup input section", or9bebe9e5b0"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 <jcmvbkbc@gmail.com>
1.6 KiB
1.6 KiB