Skip to content

Commit

Permalink
kern/build: Include ELF headers in .rodata span
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed Jul 7, 2024
1 parent efc086d commit defb990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ SECTIONS
/* base load address. */
. = 0xffffffff80000000 + SIZEOF_HEADERS;

.rodata ALIGN(CONSTANT(MAXPAGESIZE)) : {
rodata_start = .;
rodata_start = . - SIZEOF_HEADERS;

.rodata ALIGN(CONSTANT(MAXPAGESIZE)) : {
*(.rodata .rodata.*)
}

Expand Down

0 comments on commit defb990

Please sign in to comment.