mirror of https://github.com/ARMmbed/mbed-os.git
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. |
||
---|---|---|
.. | ||
__init__.py | ||
arm.py | ||
gcc.py | ||
iar.py | ||
mbed_toolchain.py |