Merge branch 'bugfix/linux_cert_bundle_build_warn_v5.4' into 'release/v5.4'

fix(tools): suppress GNU bin-utils warning about executable stack (v5.4)

See merge request espressif/esp-idf!38345
This commit is contained in:
Roland Dobai
2025-04-21 16:45:44 +08:00
2 changed files with 4 additions and 1 deletions

View File

@ -41,4 +41,3 @@ warning: unknown kconfig symbol 'UNITY_FREERTOS_STACK_SIZE' assigned to '12288'
warning: unknown kconfig symbol 'WPA3_SAE' assigned to 'y' in .*/components/wpa_supplicant/test_apps/sdkconfig.defaults warning: unknown kconfig symbol 'WPA3_SAE' assigned to 'y' in .*/components/wpa_supplicant/test_apps/sdkconfig.defaults
ld: warning: ignoring duplicate libraries ld: warning: ignoring duplicate libraries
archive library: .+ the table of contents is empty archive library: .+ the table of contents is empty
warning: x509_crt_bundle.S.o: missing .note.GNU-stack section implies executable stack

View File

@ -86,3 +86,7 @@ else()
make_and_append_identifier("${varname}_length") make_and_append_identifier("${varname}_length")
endif() endif()
append_line(".long ${data_len}") append_line(".long ${data_len}")
append_line("")
append_line("#if defined (__linux__)")
append_line(".section .note.GNU-stack,\"\",@progbits")
append_line("#endif")