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}}}}"
Amurray was so kind to point out that we already do not use it on -m32
/* Enable code instrumentation of control-flow transfers. CF_PROTECTION %{!fcf- protection* :%{!fno- cf-protection: -fcf-protection }}}"
Available on x86 and x86_64. */
#ifndef CF_PROTECTION_SPEC
# ifdef DIST_DEFAULT_
# define CF_PROTECTION_SPEC " %{!m32:
# 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 }}}}"