mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-01-22 16:20:29 +01:00
(ALIAS): New macro.
(Logical change 1.246)
This commit is contained in:
parent
14042ee648
commit
78e2f93811
1 changed files with 2 additions and 0 deletions
|
@ -63,6 +63,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# define UNUSED __attribute__((unused))
|
# define UNUSED __attribute__((unused))
|
||||||
# define NORETURN __attribute__((noreturn))
|
# define NORETURN __attribute__((noreturn))
|
||||||
|
# define ALIAS(name) __attribute__((alias (#name)))
|
||||||
# if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
|
# if (__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ > 2)
|
||||||
# define ALWAYS_INLINE __attribute__((always_inline))
|
# define ALWAYS_INLINE __attribute__((always_inline))
|
||||||
# define HIDDEN __attribute__((visibility ("hidden")))
|
# define HIDDEN __attribute__((visibility ("hidden")))
|
||||||
|
@ -83,6 +84,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
# define ALWAYS_INLINE
|
# define ALWAYS_INLINE
|
||||||
# define UNUSED
|
# define UNUSED
|
||||||
# define NORETURN
|
# define NORETURN
|
||||||
|
# define ALIAS(name)
|
||||||
# define HIDDEN
|
# define HIDDEN
|
||||||
# define PROTECTED
|
# define PROTECTED
|
||||||
# define likely(x) (x)
|
# define likely(x) (x)
|
||||||
|
|
Loading…
Reference in a new issue