1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-07-02 13:41:46 +02:00

(current_gp): Don't use inline-asm for Intel compiler.

(Logical change 1.130)
This commit is contained in:
hp.com!davidm 2003-11-27 06:52:54 +00:00
parent 06e572340e
commit cd2d75786a

View file

@ -401,7 +401,7 @@ _Uia64_get_kernel_table (unw_dyn_info_t *di)
static inline unsigned long static inline unsigned long
current_gp (void) current_gp (void)
{ {
#ifdef __GNUC__ #if defined(__GNUC__) && !defined(__INTEL_COMPILER)
register unsigned long gp __asm__("gp"); register unsigned long gp __asm__("gp");
return gp; return gp;
#elif HAVE_IA64INTRIN_H #elif HAVE_IA64INTRIN_H