diff options
| author | Shell <[email protected]> | 2023-10-20 13:27:38 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-20 13:27:38 +0800 |
| commit | 07b23ecbb1b1845bb166bc35368493a26ab8be82 (patch) | |
| tree | 8dc7fc908383810dcb21cdbbe035b61f079b52a1 /libcpu/aarch64/SConscript | |
| parent | 552b5406b5a6f041a63710c60b3da9fa82e3ef69 (diff) | |
[libcpu] fix symbol of kernel entry point (#8159)
Signed-off-by: Shell <[email protected]>
Diffstat (limited to 'libcpu/aarch64/SConscript')
| -rw-r--r-- | libcpu/aarch64/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcpu/aarch64/SConscript b/libcpu/aarch64/SConscript index d726d2d1f2..52de02a27b 100644 --- a/libcpu/aarch64/SConscript +++ b/libcpu/aarch64/SConscript @@ -12,6 +12,8 @@ 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 + Env['LINKFLAGS'] += ' -nostartfiles' Preprocessing("link.lds.S", ".lds", CPPPATH=[bsp_path]) # add common code files |
