Make linking of start.S less brittle.
[pintos-anon] / src / threads / kernel.lds.S
index b911b29fa45853714f6e069468c1cdd8b4f20b9d..ce5d23d39b38f395b9580fb3dd78c8bfbc046b6f 100644 (file)
@@ -11,7 +11,7 @@ SECTIONS
   _start = .;
 
   /* Kernel starts with code, followed by read-only data and writable data. */
-  .text : { *(.text) } = 0x9090
+  .text : { *(.start) *(.text) } = 0x9090
   .rodata : { *(.rodata) *(.rodata.*) }
   .data : { *(.data) }