klipper-dgus/lib/samd51/samd51.patch

14 lines
613 B
Diff

diff --git a/lib/samd51/samd51a/gcc/gcc/startup_samd51.c b/lib/samd51/samd51a/gcc/gcc/startup_samd51.c
index d00bd7a2..42575901 100644
--- a/lib/samd51/samd51a/gcc/gcc/startup_samd51.c
+++ b/lib/samd51/samd51a/gcc/gcc/startup_samd51.c
@@ -235,7 +235,7 @@ void SDHC1_Handler ( void ) __attribute__ ((weak, alias("Dummy_Handler
#endif
/* Exception Table */
-__attribute__ ((section(".vectors")))
+__attribute__ ((section(".vectors"))) __attribute__((externally_visible))
const DeviceVectors exception_table = {
/* Configure Initial Stack Pointer, using linker-generated symbols */