aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2018-11-30 23:41:32 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2018-11-30 23:41:32 +0000
commita980d0914a363bcf99c36dadc120f9057f5f389d (patch)
treeea325d49ddd9d21ecf93c3f93c4b669380472ab6
parent3.4.6: update 91_all_ucontext-to-ucontext_t for libjava (diff)
downloadgcc-patches-a980d091.tar.gz
gcc-patches-a980d091.tar.bz2
gcc-patches-a980d091.zip
3.3.6: backport libjava ucontext fix
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch13
-rw-r--r--3.3.6/gentoo/README.history3
2 files changed, 16 insertions, 0 deletions
diff --git a/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch b/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch
new file mode 100644
index 0000000..f1439df
--- /dev/null
+++ b/3.3.6/gentoo/92_all_ucontext-to-ucontext_t.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/664486
+
+--- a/libjava/include/x86_64-signal.h
++++ b/libjava/include/x86_64-signal.h
+@@ -40,7 +40,7 @@ do \
+ /* Advance the program counter so that it is after the start of the \
+ instruction: the x86_64 exception handler expects \
+ the PC to point to the instruction after a call. */ \
+- struct ucontext *_uc = (struct ucontext *)_p; \
++ ucontext_t *_uc = (ucontext_t *)_p; \
+ volatile struct sigcontext *_sc = (struct sigcontext *) &_uc->uc_mcontext; \
+ _sc->rip += 2; \
+ } \
diff --git a/3.3.6/gentoo/README.history b/3.3.6/gentoo/README.history
index c7e6497..72369ca 100644
--- a/3.3.6/gentoo/README.history
+++ b/3.3.6/gentoo/README.history
@@ -1,3 +1,6 @@
+1.11 TODO
+ + 92_all_ucontext-to-ucontext_t.patch
+
1.10 30 Sep 2018
+ 89_all_gcc-3.3.x-ucontext.patch
+ 90_all_libtool-pass-all.patch