riscv: remove .text section size limitation for XIP

Currently there's a limit of 8MB for the .text section of a RISC-V
image in the XIP case. This breaks compilation of many automatic
builds and is generally inconvenient. This patch removes that
limitation and optimizes XIP image file size at the same time.

Signed-off-by: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Vitaly Wool 2021-10-11 11:14:14 +02:00 • committed by Palmer Dabbelt
commit f9ace4ede4
No known key found for this signature in database
GPG key ID: 2E1319F35FBB1889
4 changed files with 26 additions and 9 deletions