RTEMS  5.1
linker-symbols.h
1 #ifndef LIBBSP_EPIPHANY_SHARED_LINKER_SYMBOLS_H
2 #define LIBBSP_EPIPHANY_SHARED_LINKER_SYMBOLS_H
3 
4 #ifdef __cplusplus
5 extern "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 
24 LINKER_SYMBOL(bsp_section_start_begin)
25 LINKER_SYMBOL(bsp_section_start_end)
26 LINKER_SYMBOL(bsp_section_start_size)
27 
28 LINKER_SYMBOL(bsp_section_vector_begin)
29 LINKER_SYMBOL(bsp_section_vector_end)
30 LINKER_SYMBOL(bsp_section_vector_size)
31 
32 LINKER_SYMBOL(bsp_section_text_begin)
33 LINKER_SYMBOL(bsp_section_text_end)
34 LINKER_SYMBOL(bsp_section_text_size)
35 LINKER_SYMBOL(bsp_section_text_load_begin)
36 LINKER_SYMBOL(bsp_section_text_load_end)
37 
38 LINKER_SYMBOL(bsp_section_rodata_begin)
39 LINKER_SYMBOL(bsp_section_rodata_end)
40 LINKER_SYMBOL(bsp_section_rodata_size)
41 LINKER_SYMBOL(bsp_section_rodata_load_begin)
42 LINKER_SYMBOL(bsp_section_rodata_load_end)
43 
44 LINKER_SYMBOL(bsp_section_data_begin)
45 LINKER_SYMBOL(bsp_section_data_end)
46 LINKER_SYMBOL(bsp_section_data_size)
47 LINKER_SYMBOL(bsp_section_data_load_begin)
48 LINKER_SYMBOL(bsp_section_data_load_end)
49 
50 LINKER_SYMBOL(bsp_section_bss_begin)
51 LINKER_SYMBOL(bsp_section_bss_end)
52 LINKER_SYMBOL(bsp_section_bss_size)
53 
54 LINKER_SYMBOL(bsp_section_work_begin)
55 LINKER_SYMBOL(bsp_section_work_end)
56 LINKER_SYMBOL(bsp_section_work_size)
57 
58 LINKER_SYMBOL(bsp_section_stack_begin)
59 LINKER_SYMBOL(bsp_section_stack_end)
60 LINKER_SYMBOL(bsp_section_stack_size)
61 
62 LINKER_SYMBOL(bsp_vector_table_begin)
63 LINKER_SYMBOL(bsp_vector_table_end)
64 LINKER_SYMBOL(bsp_vector_table_size)
65 
66 LINKER_SYMBOL(bsp_start_vector_table_begin)
67 LINKER_SYMBOL(bsp_start_vector_table_end)
68 LINKER_SYMBOL(bsp_start_vector_table_size)
69 
70 LINKER_SYMBOL(bsp_translation_table_base)
71 LINKER_SYMBOL(bsp_translation_table_end)
72 
73 
75 #ifdef __cplusplus
76 }
77 #endif /* __cplusplus */
78 
79 #endif /* LIBBSP_EPIPHANY_SHARED_LINKER_SYMBOLS_H */