diff options
Diffstat (limited to 'arch/x86_64/scripts')
| -rw-r--r-- | arch/x86_64/scripts/kernel.ld | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld index 23f9681..3d9a7ae 100644 --- a/arch/x86_64/scripts/kernel.ld +++ b/arch/x86_64/scripts/kernel.ld @@ -87,9 +87,8 @@ SECTIONS .stl_text ALIGN(4K) : AT(ADDR (.stl_text)) { - *(.stl_text) + *(.stl_text .stl_text*) KEEP(*libstdc++.a:*(.text .text.*)) - KEEP(*libatomic.a:*(.text .text.*)) /* TODO: Attempt to move atomic stl into stl_text as well, doesn't work */ } .text ALIGN(4K) : AT(ADDR (.text)) @@ -99,7 +98,7 @@ SECTIONS .user_text ALIGN(4K) : AT(ADDR (.user_text)) { - *(.user_text) + *(.user_text .user_text.*) } .rodata ALIGN(4K) : AT (ADDR (.rodata)) @@ -137,7 +136,7 @@ SECTIONS .user_data ALIGN(4K) : AT (ADDR (.user_data)) { - *(.user_data*) + *(.user_data .user_data.*) } /*************************************************************************** |
