summaryrefslogtreecommitdiff
path: root/src/arch/amd64/linker.ld
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-01-31 13:11:47 -0500
committerFreya Murphy <freya@freyacat.org>2024-01-31 13:11:47 -0500
commit690210c944abe7605e53cf760f4e6b360919838c (patch)
treee5678280df939fa0ef892779678fc7488caa1fc1 /src/arch/amd64/linker.ld
parentbetter mboot and kalloc (diff)
downloadcorn-690210c944abe7605e53cf760f4e6b360919838c.tar.gz
corn-690210c944abe7605e53cf760f4e6b360919838c.tar.bz2
corn-690210c944abe7605e53cf760f4e6b360919838c.zip
fix whitespace
Diffstat (limited to 'src/arch/amd64/linker.ld')
-rw-r--r--src/arch/amd64/linker.ld48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/arch/amd64/linker.ld b/src/arch/amd64/linker.ld
index a9484d4..4d0596c 100644
--- a/src/arch/amd64/linker.ld
+++ b/src/arch/amd64/linker.ld
@@ -1,38 +1,38 @@
ENTRY(start)
PHDRS {
- loadable PT_LOAD FLAGS(7) ;
+ loadable PT_LOAD FLAGS(7) ;
}
SECTIONS {
- . = 1M;
+ . = 1M;
- kernel_start = .;
+ kernel_start = .;
- .boot BLOCK(4K) : ALIGN(4K)
- {
- *(.multiboot)
- }
+ .boot BLOCK(4K) : ALIGN(4K)
+ {
+ *(.multiboot)
+ }
- .rodata BLOCK(4K) : ALIGN(4K)
- {
- *(.rodata)
- }
+ .rodata BLOCK(4K) : ALIGN(4K)
+ {
+ *(.rodata)
+ }
- .text BLOCK(4K) : ALIGN(4K)
- {
- *(.text)
- }
+ .text BLOCK(4K) : ALIGN(4K)
+ {
+ *(.text)
+ }
- .bss BLOCK(4K) : ALIGN(4K)
- {
- *(.bss)
- }
+ .bss BLOCK(4K) : ALIGN(4K)
+ {
+ *(.bss)
+ }
- .symtab : {
- symtab = .;
- *(.symtab)
- } :loadable
+ .symtab : {
+ symtab = .;
+ *(.symtab)
+ } :loadable
- kernel_end = .;
+ kernel_end = .;
}