xref: /optee_os/core/arch/arm/kernel/link_dummy.ld (revision 8e81e2f5366a971afdd2ac47fb8529d1def5feb0)
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_map_end = .;
38__asan_map_start = .;
39__asan_map_size = .;
40__asan_shadow_end = .;
41__asan_shadow_start = .;
42__asan_shadow_size = .;
43__bss_end = .;
44__bss_start = .;
45__ctor_end = .;
46__ctor_list = .;
47__data_end = .;
48__end = .;
49__end_phys_mem_map_section = .;
50__end_phys_nsec_ddr_section = .;
51__end_phys_sdp_mem_section = .;
52__exidx_end = .;
53__exidx_start = .;
54__extab_end = .;
55__extab_start = .;
56__heap1_end = .;
57__heap1_start = .;
58__heap2_end = .;
59__heap2_start = .;
60__initcall_end = .;
61__initcall_start = .;
62__init_end = .;
63__init_size = .;
64__init_start = .;
65__nozi_end = .;
66__nozi_stack_end = .;
67__nozi_stack_start = .;
68__nozi_start = .;
69__pageable_end = .;
70__pageable_part_end = .;
71__pageable_part_start = .;
72__pageable_start = .;
73__rodata_dtdrv_end = .;
74__rodata_dtdrv_start = .;
75__rodata_early_ta_start = .;
76__rodata_early_ta_end = .;
77__rodata_end = .;
78__rodata_start = .;
79__start_phys_nsec_ddr_section = .;
80__text_init_start = .;
81__text_start = .;
82__tmp_hashes_end = .;
83__tmp_hashes_size = .;
84__tmp_hashes_start = .;
85__vcore_init_ro_size = .;
86__vcore_init_ro_start = .;
87__vcore_init_rx_size = .;
88__vcore_init_rx_start = .;
89__vcore_unpg_ro_size = .;
90__vcore_unpg_ro_start = .;
91__vcore_unpg_rw_size = .;
92__vcore_unpg_rw_start = .;
93__vcore_unpg_rx_size = .;
94__vcore_unpg_rx_start = .;
95PROVIDE(core_v_str = 0);
96PROVIDE(tee_entry_std = 0);
97PROVIDE(tee_svc_handler = 0);
98PROVIDE(init_teecore = 0);
99