Commit 5f27e1bd authored by Rong Xu's avatar Rong Xu Committed by Yabin Cui
Browse files

UPSTREAM: MIPS: Place __kernel_entry at the beginning of text section



cherry picked from commit 52892ed6.

Mark __kernel_entry as ".head.text" and place HEAD_TEXT before
TEXT_TEXT in the linker script. This ensures that __kernel_entry
will be placed at the beginning of text section.

Drop mips from scripts/head-object-list.txt.

Bug: 392184315
Change-Id: I9bbdbab495ceeaeb5202a358bc8703e9bbc77c2f
Signed-off-by: default avatarRong Xu <xur@google.com>
Reported-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Closes: https://lore.kernel.org/lkml/c6719149-8531-4174-824e-a3caf4bc6d0e@alliedtelesis.co.nz/T/


Tested-by: default avatarChris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
Signed-off-by: default avatarYabin Cui <yabinc@google.com>
parent 6b666940
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment