Both _IRQ_VECTOR_TABLE_SECTION_NAME and _SW_ISR_TABLE_SECTION_NAME are defined with asterisk at the end in an attempt to include all related symbols in the linker script. However, these two macros are also being used in the source code to specify the destination sections for variables. Asterisks in the name results in older GCC (4.x) complaining about those asterisks. So create new macros for use in linker script, and keep the names asterisk free. Fixes #29936 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
12 lines
273 B
Plaintext
12 lines
273 B
Plaintext
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/* when !XIP, .text is in RAM, and vector table must be at its very start */
|
|
|
|
KEEP(*(.exc_vector_table))
|
|
KEEP(*(".exc_vector_table.*"))
|
|
KEEP(*(_IRQ_VECTOR_TABLE_SECTION_SYMS))
|