Displaying 1 result from an estimated 1 matches for "add_sect".
Did you mean:
dd_sect
2008 Oct 20
0
PATCH[001/001]: mboot.c: prefer ELF header over multiboot header
.../* Does it fit where it wants to be? */
- place_kernel_section(run_addr, run_size);
-
- /* Put it on the relocation list */
- if (seg_size < run_size) {
- /* Set up the kernel BSS too */
- if (seg_size > 0)
- add_section(run_addr, seg_addr, seg_size);
- bss_size = run_size - seg_size;
- add_section(run_addr + seg_size, NULL, bss_size);
- } else {
- /* No BSS */
- add_section(run_addr, seg_addr, run_size);
- }
-
- /* Done...