[Git][ghc/ghc][wip/angerman/more-rtsSymbols] better if guards.

Moritz Angermann gitlab at gitlab.haskell.org
Thu Jun 4 07:01:35 UTC 2020



Moritz Angermann pushed to branch wip/angerman/more-rtsSymbols at Glasgow Haskell Compiler / GHC


Commits:
7445f21f by Moritz Angermann at 2020-06-04T15:00:47+08:00
better if guards.

- - - - -


1 changed file:

- rts/RtsSymbols.c


Changes:

=====================================
rts/RtsSymbols.c
=====================================
@@ -1154,7 +1154,7 @@
 #define RTS_LIBGCC_SYMBOLS
 #endif
 
-#if !defined(mingw32_HOST_OS) && !defined(DYNAMIC)
+#if !defined(mingw32_HOST_OS) && !defined(DYNAMIC) && (defined(_FORTIFY_SOURCE) || defined(__SSP__))
 #define RTS_SSP_SYMBOLS                                \
       SymI_NeedsProto(__stack_chk_guard)               \
       SymI_NeedsProto(__stack_chk_fail)



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7445f21f155c81a5569bdf9e5efba6c6dd8c83aa

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/7445f21f155c81a5569bdf9e5efba6c6dd8c83aa
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200604/736f12c5/attachment-0001.html>


More information about the ghc-commits mailing list