[riot-notifications] [RIOT-OS/RIOT] riscv_common: mark handle_trap as used (fixes LTO on RISC-V) (#16449)

nmeum 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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210505/694fa46c/attachment-0001.htm>

More information about the notifications mailing list