mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
score: Add RTEMS_ALIAS()
This commit is contained in:
1 parent
a4217c674d
commit
520e07db86
1 file changed
+10
@@ -179,6 +179,16 @@
|
||||
#define RTEMS_PACKED
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Instructs the compiler to generate an alias to the specified target
|
||||
* function.
|
||||
*/
|
||||
#if defined(__GNUC__)
|
||||
#define RTEMS_ALIAS( _target ) __attribute__((__alias__(#_target)))
|
||||
#else
|
||||
#define RTEMS_ALIAS( _target )
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Instructs the compiler to enforce the specified alignment.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user