public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Do not clobber r12 for ia64 syscalls
@ 2018-12-13 20:00 Joseph Myers
  2018-12-17 16:56 ` Ping " Joseph Myers
  2018-12-17 17:01 ` Andreas Schwab
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph Myers @ 2018-12-13 20:00 UTC (permalink / raw)
  To: libc-alpha

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.

2018-12-13  Joseph Myers  <joseph@codesourcery.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
	Do not clobber r12.

diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h
index f8f8d900c6..0505b966d2 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.  */						\

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Ping Re: Do not clobber r12 for ia64 syscalls
  2018-12-13 20:00 Do not clobber r12 for ia64 syscalls Joseph Myers
@ 2018-12-17 16:56 ` Joseph Myers
  2018-12-17 17:01 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Joseph Myers @ 2018-12-17 16:56 UTC (permalink / raw)
  To: libc-alpha

Ping.  This patch 
<https://sourceware.org/ml/libc-alpha/2018-12/msg00470.html> is pending 
review.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Do not clobber r12 for ia64 syscalls
  2018-12-13 20:00 Do not clobber r12 for ia64 syscalls Joseph Myers
  2018-12-17 16:56 ` Ping " Joseph Myers
@ 2018-12-17 17:01 ` Andreas Schwab
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2018-12-17 17:01 UTC (permalink / raw)
  To: Joseph Myers; +Cc: libc-alpha

On Dez 13 2018, Joseph Myers <joseph@codesourcery.com> wrote:

> 	* sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
> 	Do not clobber r12.

Ok.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-17 16:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 20:00 Do not clobber r12 for ia64 syscalls Joseph Myers
2018-12-17 16:56 ` Ping " Joseph Myers
2018-12-17 17:01 ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).