RTEMS: bsps/riscv/include/bsp/linker-symbols.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
linker-symbols.h
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
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_text_begin)
29LINKER_SYMBOL(bsp_section_text_end)
30LINKER_SYMBOL(bsp_section_text_size)
31LINKER_SYMBOL(bsp_section_text_load_begin)
32LINKER_SYMBOL(bsp_section_text_load_end)
33
34LINKER_SYMBOL(bsp_section_rodata_begin)
35LINKER_SYMBOL(bsp_section_rodata_end)
36LINKER_SYMBOL(bsp_section_rodata_size)
37LINKER_SYMBOL(bsp_section_rodata_load_begin)
38LINKER_SYMBOL(bsp_section_rodata_load_end)
39
40LINKER_SYMBOL(bsp_section_fast_text_begin)
41LINKER_SYMBOL(bsp_section_fast_text_end)
42LINKER_SYMBOL(bsp_section_fast_text_size)
43LINKER_SYMBOL(bsp_section_fast_text_load_begin)
44LINKER_SYMBOL(bsp_section_fast_text_load_end)
45
46LINKER_SYMBOL(bsp_section_fast_data_begin)
47LINKER_SYMBOL(bsp_section_fast_data_end)
48LINKER_SYMBOL(bsp_section_fast_data_size)
49LINKER_SYMBOL(bsp_section_fast_data_load_begin)
50LINKER_SYMBOL(bsp_section_fast_data_load_end)
51
52LINKER_SYMBOL(bsp_section_data_begin)
53LINKER_SYMBOL(bsp_section_data_end)
54LINKER_SYMBOL(bsp_section_data_size)
55LINKER_SYMBOL(bsp_section_data_load_begin)
56LINKER_SYMBOL(bsp_section_data_load_end)
57
58LINKER_SYMBOL(bsp_section_bss_begin)
59LINKER_SYMBOL(bsp_section_bss_end)
60LINKER_SYMBOL(bsp_section_bss_size)
61
62LINKER_SYMBOL(bsp_section_rtemsstack_begin)
63LINKER_SYMBOL(bsp_section_rtemsstack_end)
64LINKER_SYMBOL(bsp_section_rtemsstack_size)
65
66LINKER_SYMBOL(bsp_section_work_begin)
67LINKER_SYMBOL(bsp_section_work_end)
68LINKER_SYMBOL(bsp_section_work_size)
69
70
72#ifdef __cplusplus
73}
74#endif /* __cplusplus */
75
76#endif /* LIBBSP_RISCV_SHARED_LINKER_SYMBOLS_H */