source: rtems/c/src/lib/libbsp/powerpc/shared/include/linker-symbols.h @ 98335feb

4.115
Last change on this file since 98335feb was 98335feb, checked in by Sebastian Huber <sebastian.huber@…>, on 07/21/11 at 15:12:06

2011-07-21 Sebastian Huber <sebastian.huber@…>

PR 1799/bsps

  • acinclude.m4: Update for qoriq BSPs.
  • shared/include/linker-symbols.h: New file.
  • Property mode set to 100644
File size: 2.7 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) 2010 embedded brains GmbH.  All rights reserved.
11 *
12 *  embedded brains GmbH
13 *  Obere Lagerstr. 30
14 *  82178 Puchheim
15 *  Germany
16 *  <rtems@embedded-brains.de>
17 *
18 * The license and distribution terms for this file may be
19 * found in the file LICENSE in this distribution or at
20 * http://www.rtems.com/license/LICENSE.
21 *
22 * $Id$
23 */
24
25#ifndef LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H
26#define LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H
27
28#include <libcpu/powerpc-utility.h>
29
30#ifdef __cplusplus
31extern "C" {
32#endif /* __cplusplus */
33
34/**
35 * @defgroup bsp_linker Linker Support
36 *
37 * @ingroup bsp_kit
38 *
39 * @brief Linker support.
40 *
41 * @{
42 */
43
44LINKER_SYMBOL(bsp_section_start_begin)
45LINKER_SYMBOL(bsp_section_start_end)
46LINKER_SYMBOL(bsp_section_start_size)
47
48LINKER_SYMBOL(bsp_section_fast_text_begin)
49LINKER_SYMBOL(bsp_section_fast_text_end)
50LINKER_SYMBOL(bsp_section_fast_text_size)
51LINKER_SYMBOL(bsp_section_fast_text_load_begin)
52LINKER_SYMBOL(bsp_section_fast_text_load_end)
53
54LINKER_SYMBOL(bsp_section_text_begin)
55LINKER_SYMBOL(bsp_section_text_end)
56LINKER_SYMBOL(bsp_section_text_size)
57LINKER_SYMBOL(bsp_section_text_load_begin)
58LINKER_SYMBOL(bsp_section_text_load_end)
59
60LINKER_SYMBOL(bsp_section_rodata_begin)
61LINKER_SYMBOL(bsp_section_rodata_end)
62LINKER_SYMBOL(bsp_section_rodata_size)
63LINKER_SYMBOL(bsp_section_rodata_load_begin)
64LINKER_SYMBOL(bsp_section_rodata_load_end)
65
66LINKER_SYMBOL(bsp_section_fast_data_begin)
67LINKER_SYMBOL(bsp_section_fast_data_end)
68LINKER_SYMBOL(bsp_section_fast_data_size)
69LINKER_SYMBOL(bsp_section_fast_data_load_begin)
70LINKER_SYMBOL(bsp_section_fast_data_load_end)
71
72LINKER_SYMBOL(bsp_section_data_begin)
73LINKER_SYMBOL(bsp_section_data_end)
74LINKER_SYMBOL(bsp_section_data_size)
75LINKER_SYMBOL(bsp_section_data_load_begin)
76LINKER_SYMBOL(bsp_section_data_load_end)
77
78LINKER_SYMBOL(bsp_section_bss_begin)
79LINKER_SYMBOL(bsp_section_bss_end)
80LINKER_SYMBOL(bsp_section_bss_size)
81
82LINKER_SYMBOL(bsp_section_sbss_begin)
83LINKER_SYMBOL(bsp_section_sbss_end)
84LINKER_SYMBOL(bsp_section_sbss_size)
85
86LINKER_SYMBOL(bsp_section_rwextra_begin)
87LINKER_SYMBOL(bsp_section_rwextra_end)
88LINKER_SYMBOL(bsp_section_rwextra_size)
89
90LINKER_SYMBOL(bsp_section_work_begin)
91LINKER_SYMBOL(bsp_section_work_end)
92LINKER_SYMBOL(bsp_section_work_size)
93
94LINKER_SYMBOL(bsp_section_stack_begin)
95LINKER_SYMBOL(bsp_section_stack_end)
96LINKER_SYMBOL(bsp_section_stack_size)
97
98#define BSP_FAST_TEXT_SECTION __attribute__((section(".bsp_fast_text")))
99
100#define BSP_FAST_DATA_SECTION __attribute__((section(".bsp_fast_data")))
101
102/** @} */
103
104#ifdef __cplusplus
105}
106#endif /* __cplusplus */
107
108#endif /* LIBBSP_POWERPC_SHARED_LINKER_SYMBOLS_H */
Note: See TracBrowser for help on using the repository browser.