1/* 2 * Copyright (c) 2019 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/* 8 * The line below this comment is equivalent to '. = CONFIG_ROM_START_OFFSET' 9 * as interpreted by GNU LD, but also compatible with LLVM LLD. 10 * 11 * Simple assignment doesn't work for LLVM LLD, because the dot inside section 12 * is absolute, so assigning offset here results in moving location counter 13 * backwards. 14 * 15 * We can't use '. += CONFIG_ROM_START_OFFSET' here because there might be some 16 * other files included before this file. 17 * 18 * Symbol __rom_start_address is defined in rom_start_address.ld 19 */ 20. += CONFIG_ROM_START_OFFSET - (. - __rom_start_address); 21. = ALIGN(4); 22