diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2025-05-15 12:20:19 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2025-05-15 12:20:19 +0000 |
| commit | 06b6e20ba921a062b71c86df8859eaaea4b75cb2 (patch) | |
| tree | 16b2d7ad7ed3fa845b1210d10ac498ef193be3a9 /arch/x86_64/scripts | |
| parent | 29e067867e7a437d12351b481024d4bab431b202 (diff) | |
| download | teachos-06b6e20ba921a062b71c86df8859eaaea4b75cb2.tar.xz teachos-06b6e20ba921a062b71c86df8859eaaea4b75cb2.zip | |
add cpp standard library to .stl_text section (which is user accessible)
Diffstat (limited to 'arch/x86_64/scripts')
| -rw-r--r-- | arch/x86_64/scripts/kernel.ld | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld index 1856123..1925872 100644 --- a/arch/x86_64/scripts/kernel.ld +++ b/arch/x86_64/scripts/kernel.ld @@ -88,6 +88,7 @@ SECTIONS .text ALIGN(4K) : AT(ADDR (.text)) { *(.text*) + *(EXCLUDE_FILE (*libstdc++.a) .text .text.*) } .user_text ALIGN(4K) : AT(ADDR (.user_text)) @@ -98,6 +99,7 @@ SECTIONS .stl_text ALIGN(4K) : AT(ADDR (.stl_text)) { *(.stl_text) + *libstdc++.a:*(.text .text.*) } .rodata ALIGN(4K) : AT (ADDR (.rodata)) |
