1/*
2 * Copyright (c) 2017-2022 ARM Limited
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include "region_defs.h"
18
19LR_CODE NS_CODE_START {
20    ER_CODE NS_CODE_START NS_CODE_SIZE {
21        *.o (RESET +First)
22        .ANY (+RO)
23    }
24
25    ER_DATA_NO_INIT NS_DATA_START UNINIT NS_NO_INIT_DATA_SIZE {
26        *(.bss.NoInit)
27    }
28
29    ER_DATA (NS_DATA_START + NS_NO_INIT_DATA_SIZE) (NS_DATA_SIZE - NS_NO_INIT_DATA_SIZE) {
30        .ANY (+ZI +RW)
31    }
32
33    /* STACK */
34    ARM_LIB_STACK +0 ALIGN 32 EMPTY NS_STACK_SIZE {
35    }
36
37    ARM_LIB_HEAP +0 ALIGN 8 EMPTY NS_HEAP_SIZE {
38    }
39}
40
41