source: rtems/bsps/riscv/include/bsp/linker-symbols.h @ b0c3ba2f

Last change on this file since b0c3ba2f was b0c3ba2f, checked in by Sebastian Huber <sebastian.huber@…>, on Jun 19, 2018 at 1:20:52 PM

bsps: Remove superfluous bsp_processor_count

This is unused copy and paste stuff.

Update #3459.

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#ifndef LIBBSP_RISCV_SHARED_LINKER_SYMBOLS_H
2#define LIBBSP_RISCV_SHARED_LINKER_SYMBOLS_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif /* __cplusplus */
7
8/**
9 * @defgroup riscv_linker Linker Support
10 *
11 * @ingroup riscv_shared
12 *
13 * @brief Linker support.
14 *
15 * @{
16 */
17
18#ifndef ASM
19#define LINKER_SYMBOL(sym) extern char sym [];
20#else
21#define LINKER_SYMBOL(sym) .extern sym
22#endif
23
24LINKER_SYMBOL(bsp_section_start_begin)
25LINKER_SYMBOL(bsp_section_start_end)
26LINKER_SYMBOL(bsp_section_start_size)
27
28LINKER_SYMBOL(bsp_section_vector_begin)
29LINKER_SYMBOL(bsp_section_vector_end)
30LINKER_SYMBOL(bsp_section_vector_size)
31
32LINKER_SYMBOL(bsp_section_text_begin)
33LINKER_SYMBOL(bsp_section_text_end)
34LINKER_SYMBOL(bsp_section_text_size)
35LINKER_SYMBOL(bsp_section_text_load_begin)
36LINKER_SYMBOL(bsp_section_text_load_end)
37
38LINKER_SYMBOL(bsp_section_rodata_begin)
39LINKER_SYMBOL(bsp_section_rodata_end)
40LINKER_SYMBOL(bsp_section_rodata_size)
41LINKER_SYMBOL(bsp_section_rodata_load_begin)
42LINKER_SYMBOL(bsp_section_rodata_load_end)
43
44LINKER_SYMBOL(bsp_section_data_begin)
45LINKER_SYMBOL(bsp_section_data_end)
46LINKER_SYMBOL(bsp_section_data_size)
47LINKER_SYMBOL(bsp_section_data_load_begin)
48LINKER_SYMBOL(bsp_section_data_load_end)
49
50LINKER_SYMBOL(bsp_section_bss_begin)
51LINKER_SYMBOL(bsp_section_bss_end)
52LINKER_SYMBOL(bsp_section_bss_size)
53
54LINKER_SYMBOL(bsp_section_work_begin)
55LINKER_SYMBOL(bsp_section_work_end)
56LINKER_SYMBOL(bsp_section_work_size)
57
58LINKER_SYMBOL(bsp_section_stack_begin)
59LINKER_SYMBOL(bsp_section_stack_end)
60LINKER_SYMBOL(bsp_section_stack_size)
61
62LINKER_SYMBOL(bsp_vector_table_begin)
63LINKER_SYMBOL(bsp_vector_table_end)
64LINKER_SYMBOL(bsp_vector_table_size)
65
66LINKER_SYMBOL(bsp_start_vector_table_begin)
67LINKER_SYMBOL(bsp_start_vector_table_end)
68LINKER_SYMBOL(bsp_start_vector_table_size)
69
70LINKER_SYMBOL(bsp_translation_table_base)
71LINKER_SYMBOL(bsp_translation_table_end)
72
73/** @} */
74
75#ifdef __cplusplus
76}
77#endif /* __cplusplus */
78
79#endif /* LIBBSP_RISCV_SHARED_LINKER_SYMBOLS_H */
Note: See TracBrowser for help on using the repository browser.