diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-12-17 18:31:50 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-12-17 18:31:50 +0000 |
commit | 551e81d9e321ebe63465be2607fd251da38b4b0b (patch) | |
tree | e7300d8430e69b789b7df49ee9c105f70bdddfde /sysdeps/unix/sysv | |
parent | df648905e7d8340bb3e78813fd25e2077b9685d9 (diff) | |
download | glibc-551e81d9e321ebe63465be2607fd251da38b4b0b.zip glibc-551e81d9e321ebe63465be2607fd251da38b4b0b.tar.gz glibc-551e81d9e321ebe63465be2607fd251da38b4b0b.tar.bz2 |
Do not clobber r12 for ia64 syscalls.
GCC mainline now gives errors for an asm that clobbers the stack
pointer. According to
<https://gcc.gnu.org/ml/gcc-patches/2018-12/msg00932.html> GCC
previously ignored such a clobber; thus, this patch removes it from
the clobbers for ia64 syscalls.
Tested with build-many-glibcs.py for ia64-linux-gnu.
* sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
Do not clobber r12.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sysdep.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h index f8f8d90..0505b96 100644 --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h @@ -346,7 +346,7 @@ #define ASM_CLOBBERS_5 ASM_CLOBBERS_6, "out5" #define ASM_CLOBBERS_6_COMMON , "out6", "out7", \ /* Non-stacked integer registers, minus r8, r10, r15. */ \ - "r2", "r3", "r9", "r11", "r12", "r13", "r14", "r16", "r17", "r18", \ + "r2", "r3", "r9", "r11", "r13", "r14", "r16", "r17", "r18", \ "r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", "r27", \ "r28", "r29", "r30", "r31", \ /* Predicate registers. */ \ |