xref: /optee_os/core/arch/arm/kernel/link_dummy.ld (revision ba6d8df98e3cf376aab45d0d958204c498a94123)
1/*
2 * Copyright (c) 2017, Linaro Limited
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
13 * and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 * POSSIBILITY OF SUCH DAMAGE.
26 */
27
28SECTIONS
29{
30	/*
31	 * This seems to make the ARMv7 linker happy with regards to glue_7
32	 * sections etc.
33	 */
34	..dummy : { }
35}
36
37__asan_shadow_end = .;
38__asan_shadow_start = .;
39__bss_end = .;
40__bss_start = .;
41__ctor_end = .;
42__ctor_list = .;
43__data_end = .;
44__end = .;
45__end_phys_mem_map_section = .;
46__end_phys_sdp_mem_section = .;
47__exidx_end = .;
48__exidx_start = .;
49__heap1_end = .;
50__heap1_start = .;
51__heap2_end = .;
52__heap2_start = .;
53__initcall_end = .;
54__initcall_start = .;
55__init_end = .;
56__init_size = .;
57__init_start = .;
58__nozi_end = .;
59__nozi_stack_end = .;
60__nozi_stack_start = .;
61__nozi_start = .;
62__pageable_end = .;
63__pageable_part_end = .;
64__pageable_part_start = .;
65__pageable_start = .;
66__rodata_dtdrv_end = .;
67__rodata_dtdrv_start = .;
68__rodata_end = .;
69__rodata_start = .;
70__text_init_start = .;
71__text_start = .;
72__tmp_hashes_end = .;
73__tmp_hashes_size = .;
74__tmp_hashes_start = .;
75__vcore_init_ro_size = .;
76__vcore_init_ro_start = .;
77__vcore_init_rx_size = .;
78__vcore_init_rx_start = .;
79__vcore_unpg_ro_size = .;
80__vcore_unpg_ro_start = .;
81__vcore_unpg_rw_size = .;
82__vcore_unpg_rw_start = .;
83__vcore_unpg_rx_size = .;
84__vcore_unpg_rx_start = .;
85PROVIDE(core_v_str = 0);
86PROVIDE(tee_entry_std = 0);
87PROVIDE(tee_svc_handler = 0);
88PROVIDE(init_teecore = 0);
89