feature: a lot of stuff and got to a working command line ish
This commit is contained in:
@@ -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. */
|
||||
}
|
||||
Reference in New Issue
Block a user