From a1d2ecc3dea80cb650554127c74fafd86d41797d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Fri, 10 Jul 2015 10:50:49 +0200 Subject: [PATCH] cpu/k64f: Add __attribute__((used)) to interrupt vector --- cpu/k64f/vectors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/k64f/vectors.c b/cpu/k64f/vectors.c index 2d5096f0c5..0c8c8ab143 100644 --- a/cpu/k64f/vectors.c +++ b/cpu/k64f/vectors.c @@ -132,7 +132,7 @@ WEAK_DEFAULT void isr_enet_receive(void); WEAK_DEFAULT void isr_enet_error(void); /* interrupt vector table */ -__attribute__((section(".vector_table"))) +__attribute__((used, section(".vector_table"))) const void *interrupt_vector[] = { /* Stack pointer */ (void *)(&_estack), /* pointer to the top of the empty stack */