feature: a lot of stuff and got to a working command line ish

This commit is contained in:
2021-02-01 22:31:21 +01:00
parent 468d5968a9
commit 9986d95dbb
22 changed files with 1511 additions and 76 deletions

View File

@@ -9,6 +9,7 @@ SECTIONS
/* Begin putting sections at 1 MiB, a conventional place for kernels to be
loaded at by the bootloader. */
. = 1M;
kernel_start = .;
/* First put the multiboot header, as it is required to be put very early
early in the image or the bootloader won't recognize the file format.
@@ -38,6 +39,13 @@ SECTIONS
*(.bss)
}
/DISCARD/ : {
*(.eh_frame);
*(.comment);
*(.gnu.hash);
*(.note.gnu.build-id);
}
/* The compiler may produce other sections, by default it will put them in
a segment with the same name. Simply add stuff here as needed. */
}