git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: corner cases when printing large content through term interface
[lunaix-os.git]
/
lunaix-os
/
link
/
linker.ld
diff --git
a/lunaix-os/link/linker.ld
b/lunaix-os/link/linker.ld
index c91bcb2100e728113e3c6e1f61aaed373ceb6ea5..3941b361697ad75987bf8f33170ff9eb41ecfa2b 100644
(file)
--- a/
lunaix-os/link/linker.ld
+++ b/
lunaix-os/link/linker.ld
@@
-130,21
+130,31
@@
SECTIONS {
. = ALIGN(8);
. = ALIGN(8);
- PROVIDE(__lga_lunainit_call_on_boot_start = .);
+ PROVIDE(__lga_lunainit_on_earlyboot_start = .);
+
+ KEEP(*(.lga.lunainit.c_earlyboot));
+
+ PROVIDE(__lga_lunainit_on_earlyboot_end = .);
+
+ /* ---- */
+
+ . = ALIGN(8);
+
+ PROVIDE(__lga_lunainit_on_boot_start = .);
KEEP(*(.lga.lunainit.c_boot));
KEEP(*(.lga.lunainit.c_boot));
- PROVIDE(__lga_lunainit_
call_
on_boot_end = .);
+ PROVIDE(__lga_lunainit_on_boot_end = .);
/* ---- */
. = ALIGN(8);
/* ---- */
. = ALIGN(8);
- PROVIDE(__lga_lunainit_
call_
on_postboot_start = .);
+ PROVIDE(__lga_lunainit_on_postboot_start = .);
KEEP(*(.lga.lunainit.c_postboot));
KEEP(*(.lga.lunainit.c_postboot));
- PROVIDE(__lga_lunainit_
call_
on_postboot_end = .);
+ PROVIDE(__lga_lunainit_on_postboot_end = .);
}
}