From c2036e769ae5a16931e40f834cc0687342dc89ce Mon Sep 17 00:00:00 2001 From: Shell Date: Thu, 2 Nov 2023 20:23:11 +0800 Subject: [smart] fixup of lwp recycling and mm varea (#8206) Signed-off-by: shell Signed-off-by: Shell Co-authored-by: xqyjlj --- libcpu/aarch64/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcpu/aarch64/SConscript') diff --git a/libcpu/aarch64/SConscript b/libcpu/aarch64/SConscript index 8cd26c411f..c4dd45682c 100644 --- a/libcpu/aarch64/SConscript +++ b/libcpu/aarch64/SConscript @@ -12,9 +12,9 @@ bsp_path = Dir('#').abspath if not os.path.exists(bsp_path + "/link.lds"): Env['LINKFLAGS'] = Env['LINKFLAGS'].replace('link.lds', cwd + "/link.lds") - # fix the linker with crtx.o Preprocessing("link.lds.S", ".lds", CPPPATH=[bsp_path]) +# fix the linker with crtx.o Env['LINKFLAGS'] += ' -nostartfiles' # add common code files -- cgit v1.3.1