summaryrefslogtreecommitdiff
path: root/src/kernel/linker.ld
diff options
context:
space:
mode:
authordzwdz2022-06-30 17:27:48 +0200
committerdzwdz2022-06-30 17:27:48 +0200
commit38d9f87c5086ca132fea43912d6f6ad777c2c852 (patch)
tree3f236c877d8adb299198af4760d903f900d381fc /src/kernel/linker.ld
parentbf4f2bb63ed01026b1078f5f7ebfc005bb4bf6d3 (diff)
kernel/linker: rename .text.early to .shared
It's not really just a text section, as it's writeable too. Makes gcc shut up about invalid section attributes.
Diffstat (limited to 'src/kernel/linker.ld')
-rw-r--r--src/kernel/linker.ld6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/linker.ld b/src/kernel/linker.ld
index 371f2d7..278548e 100644
--- a/src/kernel/linker.ld
+++ b/src/kernel/linker.ld
@@ -3,11 +3,11 @@ ENTRY(_start)
SECTIONS
{
. = 0;
- .text.early BLOCK(4K) : ALIGN(4K)
+ .shared BLOCK(4K) : ALIGN(4K)
{
*(.multiboot)
- *(.text.early)
- _text_early_len = .;
+ *(.shared)
+ _shared_len = .;
}
. = 1M;