source: rtems/c/src/lib/libbsp/arm/shared/include/linker-symbols.h @ 39c8fdb

4.104.115
Last change on this file since 39c8fdb was 39c8fdb, checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 01/12/10 at 15:03:22

add support for lpc32xx

  • Property mode set to 100644
File size: 2.5 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup bsp_linker
5 *
6 * @brief Symbols defined in linker command base file.
7 */
8
9/*
10 * Copyright (c) 2008, 2009
11 * embedded brains GmbH
12 * Obere Lagerstr. 30
13 * D-82178 Puchheim
14 * Germany
15 * <rtems@embedded-brains.de>
16 *
17 * The license and distribution terms for this file may be
18 * found in the file LICENSE in this distribution or at
19 * http://www.rtems.com/license/LICENSE.
20 */
21
22#ifndef LIBBSP_ARM_SHARED_LINKER_SYMBOLS_H
23#define LIBBSP_ARM_SHARED_LINKER_SYMBOLS_H
24
25#ifdef __cplusplus
26extern "C" {
27#endif /* __cplusplus */
28
29/**
30 * @defgroup bsp_linker Linker Support
31 *
32 * @ingroup bsp_kit
33 *
34 * @brief Linker support.
35 *
36 * @{
37 */
38
39#ifndef ASM
40  #define LINKER_SYMBOL(sym) extern char sym [];
41#else
42  #define LINKER_SYMBOL(sym) .extern sym
43#endif
44
45LINKER_SYMBOL(bsp_stack_irq_begin)
46LINKER_SYMBOL(bsp_stack_irq_end)
47LINKER_SYMBOL(bsp_stack_irq_size)
48
49LINKER_SYMBOL(bsp_stack_fiq_begin)
50LINKER_SYMBOL(bsp_stack_fiq_end)
51LINKER_SYMBOL(bsp_stack_irq_size)
52
53LINKER_SYMBOL(bsp_stack_abt_begin)
54LINKER_SYMBOL(bsp_stack_abt_end)
55LINKER_SYMBOL(bsp_stack_abt_size)
56
57LINKER_SYMBOL(bsp_stack_und_begin)
58LINKER_SYMBOL(bsp_stack_und_end)
59LINKER_SYMBOL(bsp_stack_und_size)
60
61LINKER_SYMBOL(bsp_stack_svc_begin)
62LINKER_SYMBOL(bsp_stack_svc_end)
63LINKER_SYMBOL(bsp_stack_svc_size)
64
65LINKER_SYMBOL(bsp_section_start_begin)
66LINKER_SYMBOL(bsp_section_start_end)
67LINKER_SYMBOL(bsp_section_start_size)
68
69LINKER_SYMBOL(bsp_section_vector_begin)
70LINKER_SYMBOL(bsp_section_vector_end)
71LINKER_SYMBOL(bsp_section_vector_size)
72
73LINKER_SYMBOL(bsp_section_text_begin)
74LINKER_SYMBOL(bsp_section_text_end)
75LINKER_SYMBOL(bsp_section_text_size)
76LINKER_SYMBOL(bsp_section_text_load_begin)
77
78LINKER_SYMBOL(bsp_section_rodata_begin)
79LINKER_SYMBOL(bsp_section_rodata_end)
80LINKER_SYMBOL(bsp_section_rodata_size)
81LINKER_SYMBOL(bsp_section_rodata_load_begin)
82
83LINKER_SYMBOL(bsp_section_data_begin)
84LINKER_SYMBOL(bsp_section_data_end)
85LINKER_SYMBOL(bsp_section_data_size)
86LINKER_SYMBOL(bsp_section_data_load_begin)
87
88LINKER_SYMBOL(bsp_section_fast_begin)
89LINKER_SYMBOL(bsp_section_fast_end)
90LINKER_SYMBOL(bsp_section_fast_size)
91LINKER_SYMBOL(bsp_section_fast_load_begin)
92
93LINKER_SYMBOL(bsp_section_bss_begin)
94LINKER_SYMBOL(bsp_section_bss_end)
95LINKER_SYMBOL(bsp_section_bss_size)
96
97LINKER_SYMBOL(bsp_section_work_begin)
98LINKER_SYMBOL(bsp_section_work_end)
99LINKER_SYMBOL(bsp_section_work_size)
100
101LINKER_SYMBOL(bsp_section_stack_begin)
102LINKER_SYMBOL(bsp_section_stack_end)
103LINKER_SYMBOL(bsp_section_stack_size)
104
105/** @} */
106
107#ifdef __cplusplus
108}
109#endif /* __cplusplus */
110
111#endif /* LIBBSP_ARM_SHARED_LINKER_SYMBOLS_H */
Note: See TracBrowser for help on using the repository browser.