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

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
linker-symbols.h
1#ifndef LIBBSP_EPIPHANY_SHARED_LINKER_SYMBOLS_H
2#define LIBBSP_EPIPHANY_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_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
75#ifdef __cplusplus
76}
77#endif /* __cplusplus */
78
79#endif /* LIBBSP_EPIPHANY_SHARED_LINKER_SYMBOLS_H */