zephyr/cmake/compiler/gcc
Sebastian Bøe c05a931bce cmake: Explicitly set the entry point when testing toolchain flags
We are observing warnings when test-compiling toolchain flags that
look like:

cannot find entry symbol _start; defaulting to 00000000000010d4

To fix this warning we explicitly set an entry point to an arbitrary
address. The files are only compiled, not run, so the entry point does
not need to be correct.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
2019-09-19 09:29:57 -05:00
..
generic.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_arm.cmake cmake: compiler: introduce target_arm.cmake 2019-09-19 08:55:01 -05:00
target_asm.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_baremetal.cmake cmake: Toolchain abstraction: Introducing toolchain_cc_freestanding 2019-06-12 10:16:17 +02:00
target_base.cmake cmake: Toolchain abstraction: Abstract compiler flag for add debug info 2019-07-29 16:59:09 +02:00
target_coverage.cmake cmake: toolchain abstraction for coverage 2019-09-17 11:25:29 +02:00
target_cpp.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_freestanding.cmake posix: cmake: Abstract freestanding options 2019-04-30 09:33:54 -04:00
target_imacros.cmake cmake: toolchain_cc_imacros: don't use the long argument form 2019-07-03 06:09:16 -04:00
target_optimizations.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_security_canaries.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_security_fortify.cmake license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
target_warnings.cmake cmake: no-address-of-packed-member is not supported in older compilers 2019-06-04 13:08:05 -04:00
target.cmake cmake: Explicitly set the entry point when testing toolchain flags 2019-09-19 09:29:57 -05:00