initgraph, whole lot of refactor

This commit is contained in:
2026-10-12 15:36:48 +02:00
parent 41cc7fea77
commit eabce70866
79 changed files with 3700 additions and 302 deletions
+11 -7
View File
@@ -6,6 +6,7 @@ PHDRS {
data PT_LOAD FLAGS(6);
dynamic PT_DYNAMIC FLAGS(6);
percpu PT_LOAD FLAGS(6);
cmdline 0x60000005;
}
SECTIONS
@@ -28,7 +29,7 @@ SECTIONS
__ld_cmdline_start = .;
KEEP(*(.cmdline))
__ld_cmdline_end = .;
} :rodata
} :rodata :cmdline
.rodata : {
*(.rodata .rodata.*)
@@ -39,6 +40,15 @@ SECTIONS
KEEP(*(.mod.entry .mod.entry.*))
__ld_mod_entry_end = .;
. = ALIGN(8);
__ld_initgraph_nodes_start = .;
KEEP(*(.initgraph.nodes))
__ld_initgraph_nodes_end = .;
__ld_initgraph_edges_start = .;
KEEP(*(.initgraph.edges))
__ld_initgraph_edges_end = .;
*(.got .got.*)
__ld_rodata_end = .;
@@ -52,12 +62,6 @@ SECTIONS
*(.data .data.*)
} :data
.console : {
__ld_console_start = .;
KEEP(*(.console))
__ld_console_end = .;
} :data
.dynsym : {
__ld_dynsym_start = .;
KEEP(*(.dynsym*))