1/* 2 * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7#include <m0_param.h> 8 9OUTPUT_FORMAT("elf32-littlearm") 10 11SECTIONS { 12 .m0_bin 0 : { 13 KEEP(*(.isr_vector)) 14 ASSERT(. == 0xc0, "ISR vector has the wrong size."); 15 ASSERT(. == PARAM_ADDR, "M0 params should go right behind ISR table."); 16 . += PARAM_M0_SIZE; 17 *(.text*) 18 *(.rodata*) 19 *(.data*) 20 *(.bss*) 21 . = ALIGN(8); 22 *(.co_stack*) 23 } 24 25 /DISCARD/ : { *(.comment) *(.note*) } 26} 27