diff options
Diffstat (limited to 'elf/stackguard-macros.h')
-rw-r--r-- | elf/stackguard-macros.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/elf/stackguard-macros.h b/elf/stackguard-macros.h index 97db8bc22a..a9889cf7b2 100644 --- a/elf/stackguard-macros.h +++ b/elf/stackguard-macros.h @@ -24,10 +24,7 @@ #elif defined __s390__ # define STACK_CHK_GUARD \ ({ uintptr_t x; asm ("ear %0,%%a0; l %0,0x14(%0)" : "=a" (x)); x; }) -#elif defined __ia64__ -# define STACK_CHK_GUARD \ - ({ uintptr_t x; asm ("adds %0 = -8, r13;; ld8 %0 = [%0]" : "=r" (x)); x; }) -#else +#elif !defined STACK_CHK_GUARD extern uintptr_t __stack_chk_guard; # define STACK_CHK_GUARD __stack_chk_guard #endif |