Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/arm/src/cmake/elf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ if(CONFIG_DEBUG_OPT_UNUSED_SECTIONS)
endif()
endif()

nuttx_elf_link_options(-e __start)
nuttx_elf_link_options(-e _start)
2 changes: 1 addition & 1 deletion arch/arm64/src/cmake/elf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ nuttx_elf_link_options_ifdef(CONFIG_BUILD_KERNEL -Bstatic)

nuttx_elf_link_options_ifdef(CONFIG_DEBUG_OPT_UNUSED_SECTIONS --gc-sections)

nuttx_elf_link_options(-e __start)
nuttx_elf_link_options(-e _start)
2 changes: 1 addition & 1 deletion arch/x86_64/src/cmake/elf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ nuttx_mod_link_options(-r)

nuttx_elf_link_options_ifdef(CONFIG_DEBUG_OPT_UNUSED_SECTIONS --gc-sections)

nuttx_elf_link_options(-e __start)
nuttx_elf_link_options(-e _start)
1 change: 0 additions & 1 deletion cmake/nuttx_add_application.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ function(nuttx_add_application)
# loadable build requires applying ELF flags to all applications

if(CONFIG_MODULES)
add_dependencies(nuttx_apps_mksymtab ${TARGET})
target_compile_options(
${TARGET}
PRIVATE
Expand Down
7 changes: 6 additions & 1 deletion mm/kasan/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ if(CONFIG_MM_KASAN)
endif()

target_sources(mm PRIVATE ${SRCS})
target_compile_options(mm PRIVATE ${FLAGS})

if(CONFIG_BUILD_FLAT)
target_compile_options(mm PRIVATE ${FLAGS})
else()
target_compile_options(kmm PRIVATE ${FLAGS})
endif()
Loading