RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
linker-symbols.h
Go to the documentation of this file.
1
9/*
10 * Copyright (c) 2010, 2016 embedded brains GmbH. All rights reserved.
11 *
12 * embedded brains GmbH
13 * Dornierstr. 4
14 * 82178 Puchheim
15 * Germany
16 * <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.org/license/LICENSE.
21 */
22
23#ifndef LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H
24#define LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H
25
27
28#ifdef __cplusplus
29extern "C" {
30#endif /* __cplusplus */
31
42LINKER_SYMBOL(bsp_section_start_begin)
43LINKER_SYMBOL(bsp_section_start_end)
44LINKER_SYMBOL(bsp_section_start_size)
45
46LINKER_SYMBOL(bsp_section_fast_text_begin)
47LINKER_SYMBOL(bsp_section_fast_text_end)
48LINKER_SYMBOL(bsp_section_fast_text_size)
49LINKER_SYMBOL(bsp_section_fast_text_load_begin)
50LINKER_SYMBOL(bsp_section_fast_text_load_end)
51
52LINKER_SYMBOL(bsp_section_text_begin)
53LINKER_SYMBOL(bsp_section_text_end)
54LINKER_SYMBOL(bsp_section_text_size)
55LINKER_SYMBOL(bsp_section_text_load_begin)
56LINKER_SYMBOL(bsp_section_text_load_end)
57
58LINKER_SYMBOL(bsp_section_rodata_begin)
59LINKER_SYMBOL(bsp_section_rodata_end)
60LINKER_SYMBOL(bsp_section_rodata_size)
61LINKER_SYMBOL(bsp_section_rodata_load_begin)
62LINKER_SYMBOL(bsp_section_rodata_load_end)
63
64LINKER_SYMBOL(bsp_section_fast_data_begin)
65LINKER_SYMBOL(bsp_section_fast_data_end)
66LINKER_SYMBOL(bsp_section_fast_data_size)
67LINKER_SYMBOL(bsp_section_fast_data_load_begin)
68LINKER_SYMBOL(bsp_section_fast_data_load_end)
69
70LINKER_SYMBOL(bsp_section_data_begin)
71LINKER_SYMBOL(bsp_section_data_end)
72LINKER_SYMBOL(bsp_section_data_size)
73LINKER_SYMBOL(bsp_section_data_load_begin)
74LINKER_SYMBOL(bsp_section_data_load_end)
75
76LINKER_SYMBOL(bsp_section_bss_begin)
77LINKER_SYMBOL(bsp_section_bss_end)
78LINKER_SYMBOL(bsp_section_bss_size)
79
80LINKER_SYMBOL(bsp_section_sdata_begin)
81LINKER_SYMBOL(bsp_section_sdata_end)
82LINKER_SYMBOL(bsp_section_sdata_size)
83
84LINKER_SYMBOL(bsp_section_sbss_begin)
85LINKER_SYMBOL(bsp_section_sbss_end)
86LINKER_SYMBOL(bsp_section_sbss_size)
87
88LINKER_SYMBOL(bsp_section_sdata_libdl_begin)
89LINKER_SYMBOL(bsp_section_sdata_libdl_end)
90LINKER_SYMBOL(bsp_section_sdata_libdl_size)
91
92LINKER_SYMBOL(bsp_section_rtemsstack_begin)
93LINKER_SYMBOL(bsp_section_rtemsstack_end)
94LINKER_SYMBOL(bsp_section_rtemsstack_size)
95
96LINKER_SYMBOL(bsp_section_work_begin)
97LINKER_SYMBOL(bsp_section_work_end)
98LINKER_SYMBOL(bsp_section_work_size)
99
100LINKER_SYMBOL(bsp_section_stack_begin)
101LINKER_SYMBOL(bsp_section_stack_end)
102LINKER_SYMBOL(bsp_section_stack_size)
103
104LINKER_SYMBOL(bsp_section_nocache_begin)
105LINKER_SYMBOL(bsp_section_nocache_end)
106LINKER_SYMBOL(bsp_section_nocache_size)
107LINKER_SYMBOL(bsp_section_nocache_load_begin)
108LINKER_SYMBOL(bsp_section_nocache_load_end)
109
110LINKER_SYMBOL(bsp_section_nocachenoload_begin)
111LINKER_SYMBOL(bsp_section_nocachenoload_end)
112LINKER_SYMBOL(bsp_section_nocachenoload_size)
113
114LINKER_SYMBOL(bsp_section_nocacheheap_begin)
115LINKER_SYMBOL(bsp_section_nocacheheap_end)
116LINKER_SYMBOL(bsp_section_nocacheheap_size)
117
118LINKER_SYMBOL(bsp_section_nvram_begin)
119LINKER_SYMBOL(bsp_section_nvram_end)
120LINKER_SYMBOL(bsp_section_nvram_size)
121
122#define BSP_FAST_TEXT_SECTION __attribute__((section(".bsp_fast_text")))
123
124#define BSP_FAST_DATA_SECTION __attribute__((section(".bsp_fast_data")))
125
126#define BSP_NOCACHE_SECTION __attribute__((section(".bsp_nocache")))
127
128#define BSP_NOCACHE_SUBSECTION(subsection) \
129 __attribute__((section(".bsp_nocache." # subsection)))
130
131#define BSP_NOCACHENOLOAD_SECTION __attribute__((section(".bsp_noload_nocache")))
132
133#define BSP_NOCACHENOLOAD_SUBSECTION(subsection) \
134 __attribute__((section(".bsp_noload_nocache." # subsection)))
135
136#define BSP_NVRAM_SECTION __attribute__((section(".bsp_nvram")))
137
138#define BSP_NVRAM_SUBSECTION(subsection) \
139 __attribute__((section(".bsp_nvram." # subsection)))
140
143#ifdef __cplusplus
144}
145#endif /* __cplusplus */
146
147#endif /* LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H */
General purpose assembler macros, linker command file support and some inline functions for direct re...