mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-21 23:27:39 +01:00
Plug in `ALIAS' attribute
This commit is contained in:
parent
7d471b1440
commit
5e7e890a0b
2 changed files with 2 additions and 2 deletions
|
@ -76,6 +76,6 @@ unw_backtrace (void **buffer, int size)
|
|||
}
|
||||
|
||||
extern int backtrace (void **buffer, int size)
|
||||
WEAK __attribute__((alias("unw_backtrace")));
|
||||
WEAK ALIAS(unw_backtrace);
|
||||
|
||||
#endif /* !UNW_REMOTE_ONLY */
|
||||
|
|
|
@ -87,7 +87,7 @@ write_maps(char *fname)
|
|||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
int c(int x) NOINLINE __attribute__((alias("b")));
|
||||
int c(int x) NOINLINE ALIAS(b);
|
||||
#define compiler_barrier() asm volatile("");
|
||||
#else
|
||||
int c(int x);
|
||||
|
|
Loading…
Reference in a new issue