circuitpython/ports
Angus Gratton 1d23c01dd6 stm32/Makefile: Workaround LTO linker order bug in binutils <2.35.
Assembly files with weak symbols need to be linked first to avoid issues
with the weak symbols being incorrectly linked instead of strong ones.

See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83967 and
https://bugs.launchpad.net/gcc-arm-embedded/+bug/1747966

This is the workaround suggested in comment 10 of the gcc-arm-embedded bug.

Signed-off-by: Angus Gratton <angus@redyak.com.au>
2022-07-18 16:12:08 +10:00
..
bare-arm bare-arm/mpconfigport.h: Disable remaining optional features. 2021-11-01 14:23:06 +11:00
cc3200 cc3200: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
esp32 esp32: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
esp8266 esp8266: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
javascript shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
mimxrt py/mpstate: Drop MICROPY_PORT_ROOT_POINTERS from mp_state_vm_t. 2022-07-18 13:51:16 +10:00
minimal shared/runtime/pyexec: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:52:01 +10:00
nrf nrf: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
pic16bit pic16bit/pic16bit_mphal: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:34 +10:00
powerpc shared/runtime/pyexec: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:52:01 +10:00
qemu-arm extmod/extmod.mk: Separate out extmod file list from py.mk to extmod.mk. 2022-06-21 00:14:34 +10:00
renesas-ra py/mpstate: Drop MICROPY_PORT_ROOT_POINTERS from mp_state_vm_t. 2022-07-18 13:51:16 +10:00
rp2 py/mpstate: Drop MICROPY_PORT_ROOT_POINTERS from mp_state_vm_t. 2022-07-18 13:51:16 +10:00
samd shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
stm32 stm32/Makefile: Workaround LTO linker order bug in binutils <2.35. 2022-07-18 16:12:08 +10:00
teensy teensy/teensy_hal: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:35 +10:00
unix py/mpstate: Drop MICROPY_PORT_ROOT_POINTERS from mp_state_vm_t. 2022-07-18 13:51:16 +10:00
windows shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:48:49 +10:00
zephyr zephyr: Use MP_REGISTER_ROOT_POINTER(). 2022-07-18 13:50:35 +10:00