1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-06-17 21:34:07 +02:00
Files
guix/gnu/packages/patches/ghc-testsuite-recomp015-execstack.patch
Saku Laesvuori 097fb0c2ed gnu: patches: Fix recomp015 test in GHC testsuite
*  gnu/packages/patches/ghc-testsuite-recomp015-execstack.patch: Append
   non-executable stack marker to ManySections.s instead of replacing
   the entire file with it.

Change-Id: I3c3cfbeb1a156412db7b4a633db2030fb0f0ee30
Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2026-05-28 12:39:58 +02:00

11 lines
518 B
Diff

--- a/testsuite/tests/driver/recomp015/Makefile 2024-01-13 16:22:42.643106725 +0100
+++ b/testsuite/tests/driver/recomp015/Makefile 2024-01-13 16:23:18.406867917 +0100
@@ -26,6 +26,7 @@
# number of sections)
'$(TEST_HC)' $(TEST_HC_OPTS) Generate.hs
./Generate > ManySections.s
+ echo '.section .note.GNU-stack,"",@progbits' >> ManySections.s
echo 'main = putStrLn "Running main..."' > Main.hs
'$(TEST_HC)' $(TEST_HC_OPTS) -c ManySections.s
'$(TEST_HC)' $(TEST_HC_OPTS) --make -O Main.hs ManySections.o