1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-05-05 06:15:17 +02:00

Plug in `ALIAS' attribute

This commit is contained in:
Tommi Rantala 2012-09-19 14:45:11 +03:00
parent 7d471b1440
commit 5e7e890a0b
2 changed files with 2 additions and 2 deletions

View file

@ -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 */

View file

@ -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);