diff options
| author | Patrice Clement <monsieurp@gentoo.org> | 2015-10-23 19:34:08 +0000 |
|---|---|---|
| committer | Patrice Clement <monsieurp@gentoo.org> | 2015-10-24 09:01:34 +0000 |
| commit | 3143fb5765cc33ed3e48afcf577971a2e5cbafd4 (patch) | |
| tree | 55178da9bf70c9bda33160d9e0997d26aa0d69e4 /dev-java/jamvm/files/noexecstack.patch | |
| parent | be5d8b19ab2423e9aa71a3e708d0e116822b42ac (diff) | |
| download | gentoo-3143fb5765cc33ed3e48afcf577971a2e5cbafd4.tar.gz gentoo-3143fb5765cc33ed3e48afcf577971a2e5cbafd4.tar.bz2 gentoo-3143fb5765cc33ed3e48afcf577971a2e5cbafd4.zip | |
dev-java/jamvm: Version bump. Fixes bug 539734.
Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-java/jamvm/files/noexecstack.patch')
| -rw-r--r-- | dev-java/jamvm/files/noexecstack.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/jamvm/files/noexecstack.patch b/dev-java/jamvm/files/noexecstack.patch new file mode 100644 index 000000000000..2a0f14c71a1e --- /dev/null +++ b/dev-java/jamvm/files/noexecstack.patch @@ -0,0 +1,48 @@ +diff --git a/src/os/linux/arm/callNative.S b/src/os/linux/arm/callNative.S +index 245afd1..1583023 100644 +--- a/src/os/linux/arm/callNative.S ++++ b/src/os/linux/arm/callNative.S +@@ -36,3 +36,7 @@ + #include "callNativeOABI.S" + #endif + #endif ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +diff --git a/src/os/linux/mips/callNative.S b/src/os/linux/mips/callNative.S +index cede343..90d9163 100644 +--- a/src/os/linux/mips/callNative.S ++++ b/src/os/linux/mips/callNative.S +@@ -184,3 +184,7 @@ return: + j $31 + .end callJNIMethod + #endif ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +diff --git a/src/os/linux/powerpc/callNative.S b/src/os/linux/powerpc/callNative.S +index aa47f6a..763dc0a 100644 +--- a/src/os/linux/powerpc/callNative.S ++++ b/src/os/linux/powerpc/callNative.S +@@ -281,3 +281,7 @@ return: + mr 1,11 + blr + #endif ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif +diff --git a/src/os/linux/x86_64/callNative.S b/src/os/linux/x86_64/callNative.S +index 26404e6..9fb5cdf 100644 +--- a/src/os/linux/x86_64/callNative.S ++++ b/src/os/linux/x86_64/callNative.S +@@ -267,3 +267,7 @@ float_ret: + addq $8, %rcx + jmp return + #endif ++ ++#if defined(__linux__) && defined(__ELF__) ++.section .note.GNU-stack,"",%progbits ++#endif |
