mbed-os/tools/toolchains
Filip Jagodzinski 56255adb9f Tools: Add a workaround for the GCC_ARM & LTO bug
This is a workaround for the GCC not using the strong symbols from
C files to override the weak symbols from ASM files. This GCC bug is only
present when building with the link-time optimizer (LTO) enabled. For
more details please see:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967

This can be fixed by changing the order of object files in the linker
command; objects providing the weak symbols and compiled from assembly
must be listed before the objects providing the strong symbols.
To keep things simple, ALL object files from ASM are listed before
other object files.
2020-02-13 17:47:40 +01:00
..
__init__.py Add ARMC5 as an option for the -t argument 2019-03-23 18:24:58 -05:00
arm.py Add the exception in Mbed OS build tool for Arm Compiler 5 toolchain. 2020-02-10 04:06:07 -08:00
gcc.py Tools: Add a workaround for the GCC_ARM & LTO bug 2020-02-13 17:47:40 +01:00
iar.py Merge pull request #11904 from jamesbeyond/HW_gcov 2020-01-21 11:46:51 +00:00
mbed_toolchain.py Merge pull request #12228 from jeromecoutant/PR_REGIONSIZE 2020-01-23 11:47:58 +00:00