Tweak kernel.ld linker script so edata and end are set correctly

This change should hopefully resolve issues when compiling with newer versions
of GCC.
This commit is contained in:
Jonathan Behrens 2018-09-04 14:10:42 -04:00
parent 1a83673424
commit a56269d4be
1 changed files with 3 additions and 3 deletions

View File

@ -47,13 +47,13 @@ SECTIONS
*(.data)
}
PROVIDE(edata = .);
.bss : {
PROVIDE(edata = .);
*(.bss)
PROVIDE(end = .);
BYTE(0)
}
PROVIDE(end = .);
/DISCARD/ : {
*(.eh_frame .note.GNU-stack)