commit | b1805f35e6fcd967f9d07bf01020ad1755e6d4d2 | [log] [tgz] |
---|---|---|
author | Alex Brachet <abrachet@google.com> | Fri Aug 04 15:57:03 2023 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 04 15:57:03 2023 +0000 |
tree | 9717c925dd2b08154124626f26b9a47033fe035f | |
parent | 4d42e3db168bf624c9f66f54228aa11029e644b3 [diff] |
pw_toolchain: Prefer start-group over whole-archive This makes link_group default and removes link_whole_archive as the default for gcc and clang toolchains. The former is a sensible default, and is how the various spec files wrap system libraries for the gcc toolchains. clang toolchains are not currently doing this. link_whole_archive on the other hand should not be the default because it can bloat binary size by adding non-gc'able sections. --whole-archive also complicates using pw_libc with clang toolchains see b/285357895 for details. Bug: b/285357895 Change-Id: I79785555dc9555542c951a293050266af2e29a90 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/150610 Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com> Pigweed-Auto-Submit: Alex Brachet <abrachet@google.com> Reviewed-by: Prabhu Karthikeyan Rajasekaran <prabhukr@google.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/.