1/* 2 * Copyright (c) 2019 - 2021 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/* 8 * Padding inserted after the (first-stage) vector table, so that the 9 * Zephyr image does not attempt to use the area which we reserve to 10 * detect null pointer dereferencing (0x0 - <size>). If the end of the 11 * vector table section is higher than the upper end of the reserved 12 * area, we add no padding. 13 * 14 * Note that even if the following linker script snippet is included 15 * multiple times, the padding will only be added at most once, to the 16 * first stage vector table. 17 */ 18 19#if defined(CONFIG_CORTEX_M_NULL_POINTER_EXCEPTION) 20. = MAX(ABSOLUTE(.), CONFIG_CORTEX_M_NULL_POINTER_EXCEPTION_PAGE_SIZE); 21#endif /* CONFIG_CORTEX_M_NULL_POINTER_EXCEPTION */ 22