Skip to content

Commit

Permalink
Add .got section to linker script
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6D70 committed Sep 11, 2024
1 parent 7de0b50 commit aab9076
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/linker-scripts/kernel.ld
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ SECTIONS
*(.bss .bss.*)
} :data

.got : {
*(.got)
} :data

. += CONSTANT(MAXPAGESIZE);

_kernel_end = .;
Expand Down

0 comments on commit aab9076

Please sign in to comment.