projects
/
bootcensus
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added a bit more space after the PCI enumeration to make output more
[bootcensus]
/
pcboot.ld
diff --git
a/pcboot.ld
b/pcboot.ld
index
28fb7e6
..
e2c0308
100644
(file)
--- a/
pcboot.ld
+++ b/
pcboot.ld
@@
-7,13
+7,18
@@
SECTIONS {
.boot : { * (.boot); }
/* second stage boot loader */
.boot : { * (.boot); }
/* second stage boot loader */
- .boot2 : { * (.boot2); }
+ .boot2 : {
+ * (.boot2);
+ /* 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
* boot loader
*/
. = 1M;
_boot2_size = SIZEOF(.boot2);
/* main program will be loaded at 1MB by the second stage
* boot loader
*/
. = 1M;
+ _main_start = .;
.startup : { * (.startup); }
.text : { * (.text); }
.startup : { * (.startup); }
.text : { * (.text); }
@@
-28,5
+33,6
@@
SECTIONS {
}
_bss_size = SIZEOF(.bss);
}
_bss_size = SIZEOF(.bss);
+ _main_size = . - _main_start;
_mem_start = .;
}
_mem_start = .;
}