added logo eval, data, and cgmath
[bootcensus] / pcboot.ld
index 4879417..6a2390f 100644 (file)
--- a/pcboot.ld
+++ b/pcboot.ld
@@ -7,7 +7,14 @@ SECTIONS {
        .boot : { * (.boot); }
 
        /* second stage boot loader */
-       .boot2 : { * (.boot2); }
+       .boot2 : {
+               * (.boot2);
+               * (.lowtext);
+               /* .bootend must stay last */
+               * (.bootend);
+               /* pad the boot loader to the next sector boundary */
+               . = ALIGN(512);
+       }
        _boot2_size = SIZEOF(.boot2);
 
        /* main program will be loaded at 1MB by the second stage