Comment 2 for bug 1940029

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Amurray was so kind to point out that we already do not use it on -m32

/* Enable code instrumentation of control-flow transfers.
   Available on x86 and x86_64. */
#ifndef CF_PROTECTION_SPEC
# ifdef DIST_DEFAULT_CF_PROTECTION
# define CF_PROTECTION_SPEC " %{!m32:%{!fcf-protection*:%{!fno-cf-protection:-fcf-protection}}}"
# else
# define CF_PROTECTION_SPEC ""
# endif
#endif

And that maybe it would need to be:

# define CF_PROTECTION_SPEC " %{!m16:%{!m32:%{!fcf-protection*:%{!fno-cf-protection:-fcf-protection}}}}"