summaryrefslogtreecommitdiff
path: root/games-emulation/dolphin/files/dolphin-5.0-no-pie.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /games-emulation/dolphin/files/dolphin-5.0-no-pie.patch
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'games-emulation/dolphin/files/dolphin-5.0-no-pie.patch')
-rw-r--r--games-emulation/dolphin/files/dolphin-5.0-no-pie.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/games-emulation/dolphin/files/dolphin-5.0-no-pie.patch b/games-emulation/dolphin/files/dolphin-5.0-no-pie.patch
deleted file mode 100644
index 949e42e50de9..000000000000
--- a/games-emulation/dolphin/files/dolphin-5.0-no-pie.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-Disable PIE-compatible code generation via -fno-pie.
-
-Before upstream fix:
-https://github.com/dolphin-emu/dolphin/commit/daa03cd1060cc826aca93a1dffc6e94bc6af6d5f
-dolphin assumed executable image to be in low addresses (<2GB)
-and hardcoded 32-bit absolute addresses during JIT phase.
-
-PIE-compatible code does not have this restriction and
-allows mapping binaries above 2GB area (and breaks dolphin's JIT).
-
-Strictly speaking -no-pie (link-time flag) does not or guarantee
-or require low address mapping for binary if it was already built
-as PIC/PIE.
-
-But -fno-pie imposes additional restrictions on generated code by GCC
-and makes -no-pie to take effect.
-Bug: https://bugs.gentoo.org/640124
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -189,4 +189,4 @@ if(NOT ENABLE_GENERIC)
- set(_M_X86_64 1)
-- add_definitions(-D_M_X86=1 -D_M_X86_64=1 -msse2)
-- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fno-pie")
-+ add_definitions(-D_M_X86=1 -D_M_X86_64=1 -msse2 -fno-pie)
-+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fno-pie -no-pie")
- else()