From 840f21ddc753a8f13bea92d7f0596911d6e28764 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 7 Apr 2020 07:13:58 +0200 Subject: score: Delete RTEMS_DECLARE_GLOBAL_SYMBOL() Delete unused RTEMS_DECLARE_GLOBAL_SYMBOL(). Update #3799. --- cpukit/include/rtems/score/basedefs.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'cpukit') 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 @@ -360,26 +360,6 @@ #define RTEMS_DEFINE_GLOBAL_SYMBOL( _name, _value ) #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). -- cgit v1.2.3