x86: Always generate .note.gnu.property section for ELF outputs
authorH.J. Lu <hongjiu.lu@intel.com>
Sat, 14 Dec 2019 17:48:18 +0000 (09:48 -0800)
committerH.J. Lu <hongjiu.lu@intel.com>
Sat, 8 Feb 2020 14:24:44 +0000 (06:24 -0800)
commit96f0b8adddc4ffc8599c60b5755b0d9c19a9c84b
tree9933e3880dce39508a4d2f2070baa2306d1dfbee
parent87d3bb8e861e54e2549e848a1adee6d2df9ed603
x86: Always generate .note.gnu.property section for ELF outputs

We should always generate .note.gnu.property section in x86 assembly
codes for ELF outputs to mark Intel CET support since all input files
must be marked with Intel CET support in order for linker to mark output
with Intel CET support.

Verified with

$ CC="gcc -Wl,-z,cet-report=error" ./Configure shared linux-x86 -fcf-protection
$ make
$ make test

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11044)
crypto/perlasm/x86gas.pl