Skip to content
Commit c3ecf533 authored by Jim Shu's avatar Jim Shu Committed by Christopher Friedt
Browse files

soc: riscv: riscv-privilege: add GP relative addressing support



Initialize GP at common entry point of riscv-privilege SoCs so that
this commit add GP support of these SoCs at once.

As some privilege SoCs want to customize the entry point, they should
disable linker relaxation by `.norelax option` before entrying the
common entry point `__start`.

Signed-off-by: default avatarJim Shu <cwshu@andestech.com>
parent 073cfa9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment