Skip to content

Commit

Permalink
Remove BYTE directives from kernel linker script to fix triple fault …
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Aug 30, 2020
1 parent 2bc7f8d commit cb910fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions kernel.ld
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,12 @@ SECTIONS
PROVIDE(__STAB_BEGIN__ = .);
*(.stab);
PROVIDE(__STAB_END__ = .);
BYTE(0) /* Force the linker to allocate space
for this section */
}

.stabstr : {
PROVIDE(__STABSTR_BEGIN__ = .);
*(.stabstr);
PROVIDE(__STABSTR_END__ = .);
BYTE(0) /* Force the linker to allocate space
for this section */
}

/* Adjust the address for the data segment to the next page */
Expand Down

0 comments on commit cb910fd

Please sign in to comment.