Skip to content
Commit 895fb315 authored by Max Filippov's avatar Max Filippov Committed by Chris Zankel
Browse files

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.: 779c88c9 "ARM: 8321/1: asm-generic:
introduce.text.fixup input section", or 9bebe9e5 "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: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent 69034db7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment