commit | 855f2633b08fb3e63d4e64ce2f46564994bc6f06 | [log] [tgz] |
---|---|---|
author | Tom Craig <tommycraig@gmail.com> | Tue Aug 16 19:18:16 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 16 19:18:16 2022 +0000 |
tree | 4e6b9076b2d0a1103d2b495cf44af57a36eeeb66 | |
parent | 15ed2fce7c41f57f6b6acc35a6d771c81ef60b13 [diff] |
pw_boot_cortex_m: Add lld unused_space workaround The bloaty unused_space symbols in basic_cortex_m.ld are not compatible with lld (llvm linker) which is an obstacle to easily building with clang-based toolchains (including //pw_toolchain/arm_clang). This change adds a workaround to allow disabling those symbols when PW_BOOT_WORKAROUND_DISABLE_UNUSED_SPACE evaluates to True. Hopefully this workaround will be short-lived and deprecated by a fix for unused_space in lld. Change-Id: Ia82302b2587508c77d91b120687d46a9b9e3a5f2 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/106910 Reviewed-by: Armando Montanez <amontanez@google.com> Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.