source: rtems/testsuites/sptests/splinkersets01/splinkersets01.h @ 21d73655

5
Last change on this file since 21d73655 was 21d73655, checked in by Sebastian Huber <sebastian.huber@…>, on 08/10/16 at 07:54:13

sptests/splinkersets01: Fix for small-data area

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/*
2 * Copyright (c) 2015, 2016 embedded brains GmbH.  All rights reserved.
3 *
4 *  embedded brains GmbH
5 *  Dornierstr. 4
6 *  82178 Puchheim
7 *  Germany
8 *  <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.com/license/LICENSE.
13 */
14
15#ifndef SPLINKERSET01_H
16#define SPLINKERSET01_H
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
22#include <rtems/linkersets.h>
23
24extern const int a[4];
25
26extern const int ca[5];
27
28RTEMS_LINKER_RWSET_DECLARE(test_rw, const int *);
29
30RTEMS_LINKER_ROSET_DECLARE(test_ro, const int *);
31
32RTEMS_LINKER_RWSET_DECLARE(test_content_rw, char);
33
34RTEMS_LINKER_ROSET_DECLARE(test_content_ro, char);
35
36RTEMS_LINKER_RWSET_ITEM_DECLARE(test_rw, const int *, a1);
37
38RTEMS_LINKER_ROSET_ITEM_DECLARE(test_ro, const int *, ca2);
39
40RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern int content_rw_1);
41RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern char content_rw_2);
42RTEMS_LINKER_RWSET_CONTENT(test_content_rw, extern char content_rw_3);
43
44RTEMS_LINKER_ROSET_CONTENT(test_content_ro, extern const int content_ro_1);
45RTEMS_LINKER_ROSET_CONTENT(test_content_ro, extern const char content_ro_2);
46RTEMS_LINKER_ROSET_CONTENT(test_content_ro, extern const char content_ro_3);
47
48#ifdef __cplusplus
49}
50#endif /* __cplusplus */
51
52#endif /* SPLINKERSET01_H */
Note: See TracBrowser for help on using the repository browser.