[riot-notifications] [RIOT-OS/RIOT] riscv_common: mark handle_trap as used (fixes LTO on RISC-V) (#16449)
notifications at github.com
Wed May 5 14:17:38 CEST 2021
@nmeum commented on this pull request.
> @@ -70,7 +70,7 @@ void riscv_irq_init(void)
* @brief Global trap and interrupt handler
-void handle_trap(uint32_t mcause)
+void __attribute((used)) handle_trap(uint32_t mcause)
Added the `static` keyword.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications