summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-07 07:13:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-04-08 19:22:36 +0200
commit840f21ddc753a8f13bea92d7f0596911d6e28764 (patch)
tree8e7e90fc74fcb68deedb3717033172c9bc7130fd /cpukit
parentconfig: Fix _ISR_Stack_area_end (diff)
downloadrtems-840f21ddc753a8f13bea92d7f0596911d6e28764.tar.bz2
score: Delete RTEMS_DECLARE_GLOBAL_SYMBOL()
Delete unused RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3799.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/rtems/score/basedefs.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/cpukit/include/rtems/score/basedefs.h b/cpukit/include/rtems/score/basedefs.h
index ef8f560af2..01c773ffe9 100644
--- a/cpukit/include/rtems/score/basedefs.h
+++ b/cpukit/include/rtems/score/basedefs.h
@@ -361,26 +361,6 @@
#endif
/**
- * @brief Defines a global symbol with the specified name in the specified
- * section.
- *
- * The name must be a valid designator. The alignment of the symbol depends on
- * the current location counter of the section.
- */
-#if defined(__GNUC__)
- #define RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION( _name, _section ) \
- __asm__( \
- ".pushsection \"" _section "\"\n" \
- "\t.globl " \
- RTEMS_XSTRING( RTEMS_SYMBOL_NAME( _name ) ) "\n" \
- RTEMS_XSTRING( RTEMS_SYMBOL_NAME( _name ) ) ":\n" \
- "\t.popsection\n" \
- )
-#else
- #define RTEMS_DEFINE_GLOBAL_SYMBOL_IN_SECTION( _name, section )
-#endif
-
-/**
* @brief Returns the value of the specified integral expression and tells the
* compiler that the predicted value is true (1).
*