[commit: ghc] master: arm: Force non-executable stack (part 2) (1a4374c)

git at git.haskell.org git at git.haskell.org
Tue May 5 02:50:20 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1a4374c1e246d81a5c1d00a720919804093a8241/ghc

>---------------------------------------------------------------

commit 1a4374c1e246d81a5c1d00a720919804093a8241
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Mon May 4 23:39:31 2015 +0000

    arm: Force non-executable stack (part 2)
    
    This was supposed to be part of commit 63a10bbc42 but I pushed
    from the wrong machine. This fixes cross compiling to arm.
    
    Signed-off-by: Erik de Castro Lopo <erikd at mega-nerd.com>


>---------------------------------------------------------------

1a4374c1e246d81a5c1d00a720919804093a8241
 aclocal.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aclocal.m4 b/aclocal.m4
index bb46fda..590edb0 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -571,7 +571,7 @@ AC_DEFUN([FPTOOLS_SET_C_LD_FLAGS],
         # gcc to link using the gold linker.
         # Forcing LD to be ld.gold is done in FIND_LD m4 macro.
         $3="$$3 -fuse-ld=gold -Wl,-z,noexecstack"
-        $4="$$4 -z,noexecstack"
+        $4="$$4 -z noexecstack"
         ;;
     esac
 



More information about the ghc-commits mailing list