Skip to content

Commit

Permalink
nfc: add .ltext section to text segment
Browse files Browse the repository at this point in the history
Signed-off-by: smallkirby <[email protected]>
  • Loading branch information
smallkirby committed Oct 20, 2024
1 parent 0fc1690 commit 92e1f54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ymir/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SECTIONS {

.text ALIGN(4K) : AT (ADDR(.text) - KERNEL_VADDR_BASE) {
*(.text)
*(.ltext)
}

.rodata ALIGN(4K) : AT (ADDR(.rodata) - KERNEL_VADDR_BASE) {
Expand Down

0 comments on commit 92e1f54

Please sign in to comment.