diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-11-08 04:20:07 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-11-08 04:20:07 +0800 |
| commit | 76fefff7f1dc96dbb48818256f2307b9bff7af00 (patch) | |
| tree | df4bc13b56436c3f63c47391df5c3d9fd7b74ebe /mubios/linker.ld | |
| parent | 974eba39dfe2fe46f2fa2ce244c6425714e96bad (diff) | |
| download | rcc-project-76fefff7f1dc96dbb48818256f2307b9bff7af00.tar.gz rcc-project-76fefff7f1dc96dbb48818256f2307b9bff7af00.tar.xz | |
[mubios] Fix the link order for the 16-bit entries
Signed-off-by: Richard Qin <richard.qin.x@gmail.com>
Diffstat (limited to 'mubios/linker.ld')
| -rw-r--r-- | mubios/linker.ld | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mubios/linker.ld b/mubios/linker.ld index 85545d3..004c1bc 100644 --- a/mubios/linker.ld +++ b/mubios/linker.ld @@ -35,9 +35,17 @@ SECTIONS __rom_start = .; . = ALIGN(16); + .text16.entry : + { + KEEP(*(.text16 .entry)) + } > ROM + .text16.mode : + { + KEEP(*(.text16.mode)) + } > ROM .text16 : { - KEEP(*(.text16 .text16.*)) + KEEP(*(.text16.mode)) } > ROM . = ALIGN(16); |
