summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-04-02 16:17:21 +0000
committerAndrew Pinski <apinski@cavium.com>2012-04-11 14:51:19 -0700
commit44a3b6ffb6691e87e8a0ac9cd426cdaad30f9f85 (patch)
treee8f2f79c459a4f0e5d373b391234fb3ced7576c3
parent9108e333032a41cc668cbfdbe9aca2601e7cae02 (diff)
downloadgcc-44a3b6ffb6691e87e8a0ac9cd426cdaad30f9f85.tar.gz
Update x32 rt_sigreturn syscall number to 0x40000201
2012-04-02 H.J. Lu <hongjiu.lu@intel.com> * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32 system call number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186087 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libgcc/ChangeLog5
-rw-r--r--libgcc/config/i386/linux-unwind.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 0adcc5ac1db..354b3ceedf8 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-02 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/linux-unwind.h (RT_SIGRETURN_SYSCALL): Update x32
+ system call number.
+
2012-03-31 Eric Botcazou <ebotcazou@adacore.com>
* config/ia64/unwind-ia64.c (uw_install_context): Manually save LC
diff --git a/libgcc/config/i386/linux-unwind.h b/libgcc/config/i386/linux-unwind.h
index aef2692b141..ad0ccfa0be7 100644
--- a/libgcc/config/i386/linux-unwind.h
+++ b/libgcc/config/i386/linux-unwind.h
@@ -54,7 +54,7 @@ x86_64_fallback_frame_state (struct _Unwind_Context *context,
#ifdef __LP64__
#define RT_SIGRETURN_SYSCALL 0x050f0000000fc0c7ULL
#else
-#define RT_SIGRETURN_SYSCALL 0x050f40002006c0c7ULL
+#define RT_SIGRETURN_SYSCALL 0x050f40000201c0c7ULL
#endif
if (*(unsigned char *)(pc+0) == 0x48
&& *(unsigned long long *)(pc+1) == RT_SIGRETURN_SYSCALL)