aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2012-04-02 16:17:21 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2012-04-02 09:17:21 -0700
commit24590f6607cdf19ef42d650ed1a8e6c66d2ef574 (patch)
tree2c9920a8b8a967eb00386d21aea9ce0b31c39ed4
parent18ce81710c904b0c0e4029f681e58825205e10b6 (diff)
downloadgcc-24590f6607cdf19ef42d650ed1a8e6c66d2ef574.zip
gcc-24590f6607cdf19ef42d650ed1a8e6c66d2ef574.tar.gz
gcc-24590f6607cdf19ef42d650ed1a8e6c66d2ef574.tar.bz2
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. From-SVN: r186087
-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 0adcc5a..354b3ce 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 aef2692..ad0ccfa 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)