diff options
author | Perry Hung <iperry@gmail.com> | 2011-03-15 19:36:46 -0400 |
---|---|---|
committer | Perry Hung <iperry@gmail.com> | 2011-03-15 19:36:46 -0400 |
commit | c0cb60b3ff57f60b618433a507116aeac2c21075 (patch) | |
tree | b77cd8f61cb80ccbc35494919765293cd25a659e | |
parent | e3fae0984dab4f1044ea3ffc1aa41b2df12370b2 (diff) | |
download | librambutan-c0cb60b3ff57f60b618433a507116aeac2c21075.tar.gz librambutan-c0cb60b3ff57f60b618433a507116aeac2c21075.zip |
support: linker: Fix high density vector table
Entries for high-density interrupt vectors were incorrectly declared to
be .weak instead of .long.
Thanks redfox74!
-rw-r--r-- | support/ld/libcs3_stm32_high_density.a | bin | 9464 -> 9464 bytes | |||
-rw-r--r-- | support/ld/libcs3_stm32_src/stm32_vector_table.S | 34 |
2 files changed, 17 insertions, 17 deletions
diff --git a/support/ld/libcs3_stm32_high_density.a b/support/ld/libcs3_stm32_high_density.a Binary files differindex 472ed28..a09d7f0 100644 --- a/support/ld/libcs3_stm32_high_density.a +++ b/support/ld/libcs3_stm32_high_density.a diff --git a/support/ld/libcs3_stm32_src/stm32_vector_table.S b/support/ld/libcs3_stm32_src/stm32_vector_table.S index 8c71cb5..c3f0fc7 100644 --- a/support/ld/libcs3_stm32_src/stm32_vector_table.S +++ b/support/ld/libcs3_stm32_src/stm32_vector_table.S @@ -68,23 +68,23 @@ __cs3_stm32_vector_table: .long __irq_rtcalarm
.long __irq_usbwakeup
#if defined (STM32_HIGH_DENSITY)
- .weak __irq_tim8_brk
- .weak __irq_tim8_up
- .weak __irq_tim8_trg_com
- .weak __irq_tim8_cc
- .weak __irq_adc3
- .weak __irq_fsmc
- .weak __irq_sdio
- .weak __irq_tim5
- .weak __irq_spi3
- .weak __irq_uart4
- .weak __irq_uart5
- .weak __irq_tim6
- .weak __irq_tim7
- .weak __irq_dma2_channel1
- .weak __irq_dma2_channel2
- .weak __irq_dma2_channel3
- .weak __irq_dma2_channel4_5
+ .long __irq_tim8_brk
+ .long __irq_tim8_up
+ .long __irq_tim8_trg_com
+ .long __irq_tim8_cc
+ .long __irq_adc3
+ .long __irq_fsmc
+ .long __irq_sdio
+ .long __irq_tim5
+ .long __irq_spi3
+ .long __irq_uart4
+ .long __irq_uart5
+ .long __irq_tim6
+ .long __irq_tim7
+ .long __irq_dma2_channel1
+ .long __irq_dma2_channel2
+ .long __irq_dma2_channel3
+ .long __irq_dma2_channel4_5
#endif /* STM32_HIGH_DENSITY */
.size __cs3_stm32_vector_table, . - __cs3_stm32_vector_table
|