diff options
author | stefan <stefan@s00.xyz> | 2023-04-04 06:01:50 +0000 |
---|---|---|
committer | stefan <stefan@s00.xyz> | 2023-04-04 06:01:50 +0000 |
commit | 25108684fe235d4296c3cbc480298df209682586 (patch) | |
tree | 59f051e13154764da2b98dfdc1ce66e363d801da /kernel/lds | |
parent | 254ffbc869c2376e77ecc298dfd396f077e9d58a (diff) | |
download | sv-25108684fe235d4296c3cbc480298df209682586.tar.gz |
build system and some other stuff
Diffstat (limited to 'kernel/lds')
-rw-r--r-- | kernel/lds/kernel.ld | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/kernel/lds/kernel.ld b/kernel/lds/kernel.ld deleted file mode 100644 index 052aa32..0000000 --- a/kernel/lds/kernel.ld +++ /dev/null @@ -1,47 +0,0 @@ -OUTPUT_ARCH(riscv) -ENTRY(_start) - -SECTIONS -{ - . = LOAD_ADDR; - . = ALIGN(PAGE_SIZE); - - .text : - { - provide(__text_start = .); - *(.text.init) - *(.text .text.*) - . = ALIGN(8); - PROVIDE(__text_end = .); - } - . = ALIGN(PAGE_SIZE); - - PROVIDE(__global_pointer$ = .); - - .rodata : - { - PROVIDE(__rodata_start = .); - *(.rodata .rodata.*) - . = ALIGN(8); - PROVIDE(__rodata_end = .); - } - - . = ALIGN(PAGE_SIZE); - - .data : - { - PROVIDE(__data_start = .); - *(.sdata .sdata.*) - *(.data .data.*) - *(.readmostly.data) - *(*.data) - . = ALIGN(8); - PROVIDE(__data_end = .); - } - - . = ALIGN(PAGE_SIZE); - - PROVIDE(__stack_start = .); - PROVIDE(__stack_end = __stack_start + (PAGE_SIZE * NPROC)); - PROVIDE(__heap_start = __stack_end); -} |