diff options
Diffstat (limited to 'support/ld')
-rw-r--r-- | support/ld/common.inc | 11 | ||||
-rw-r--r-- | support/ld/stm32/f1/performance/vector_symbols.inc (renamed from support/ld/names.inc) | 0 |
2 files changed, 7 insertions, 4 deletions
diff --git a/support/ld/common.inc b/support/ld/common.inc index b53c4f6..c6fa13a 100644 --- a/support/ld/common.inc +++ b/support/ld/common.inc @@ -13,11 +13,14 @@ SEARCH_DIR(.) */ GROUP(libgcc.a libc.a libm.a) -/* These force the linker to search for particular symbols from - * the start of the link process and thus ensure the user's - * overrides are picked up +/* + * These force the linker to search for vector table symbols. + * + * These symbols vary by STM32 family (and also within families). + * It's up to the build system to configure the link's search path + * properly for the target MCU. */ -INCLUDE names.inc +INCLUDE vector_symbols.inc /* STM32 vector table. See stm32_vector_table.S */ EXTERN(__cs3_stm32_vector_table) diff --git a/support/ld/names.inc b/support/ld/stm32/f1/performance/vector_symbols.inc index 6d7ff6e..6d7ff6e 100644 --- a/support/ld/names.inc +++ b/support/ld/stm32/f1/performance/vector_symbols.inc |