summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-10-10 16:21:01 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-11-21 23:57:21 +0100
commitef70a42f0ffc6b43f719810c4e3861c55c2eefbc (patch)
treefdb3bc523dd8cdb888d40dc1c748f6e62b350cd3 /arch/x86
parent16fa2eb95172e63820ee5f3d4052f3362a6de84e (diff)
arm: boot0 hook: move boot0 hook before '_start'
The boot0 hook on ARM does not insert its payload before the vector table. This is both a mismatch with thec comment above it and contradict usage of the boot0 hook on ARM64. To fix this (and unify the semantics for ARM and ARM64), we change the boot0-hook semantics on ARM to match those on ARM64: (1) if a boot0-hook is present it is inserted at the start of the image (2) if a boot0-hook is present, emitting the ARM vector table (and the _start) symbol are suppressed in vectors.S and the boot0-hook has full control over where and when it wants to emit these Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions