From fd9214efa47f721e6d08dd2530efbb40b99c3b7b Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 25 Feb 2023 18:10:39 +0100 Subject: toolchain: working customized toolchain for userland bins --- src/user/bootstrap/linker.ld | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/user/bootstrap') diff --git a/src/user/bootstrap/linker.ld b/src/user/bootstrap/linker.ld index 34d8101..5d8abe7 100644 --- a/src/user/bootstrap/linker.ld +++ b/src/user/bootstrap/linker.ld @@ -26,11 +26,7 @@ SECTIONS } .data BLOCK(4K) : ALIGN(4K) { - *(.data) + *(.data*) } _initrd = .; /* is just appended onto the end of the binary */ - - /DISCARD/ : { - *(*.rel.*) - } } -- cgit v1.2.3