diff options
| author | Matt Waltz <[email protected]> | 2023-12-05 08:13:44 -0700 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2023-12-09 14:26:58 +0530 |
| commit | 06968103dcd99c2cf2dad97549ef3880ea00ccd2 (patch) | |
| tree | 0cc3f483bef144895cfb45d0be7b28725623dc75 /firmware/fw_jump.S | |
| parent | 11a0ba5d4bce74b2573091c5533717c2871191f1 (diff) | |
firmware: fix section types
These sections are only intended to hold data, and should not be executable.
Signed-off-by: Matt Waltz <[email protected]>
Reviewed-by: Xiang W <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'firmware/fw_jump.S')
| -rw-r--r-- | firmware/fw_jump.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/fw_jump.S b/firmware/fw_jump.S index 5b24f8b7..ac74dc64 100644 --- a/firmware/fw_jump.S +++ b/firmware/fw_jump.S @@ -90,7 +90,7 @@ fw_options: #error "Must define FW_JUMP_ADDR" #endif - .section .entry, "ax", %progbits + .section .rodata .align 3 _jump_addr: RISCV_PTR FW_JUMP_ADDR |
