mirror of
https://github.com/intel/isa-l.git
synced 2025-01-31 10:31:12 +01:00
57846f414f
1. Revert "x86: Generate .note.gnu.property section for ELF output" This reverts commit 8074e3fe1b9398a9d3b717267790050fc5041594, which is a hack to work around the old nasm which doesn't support section .note.gnu.property note alloc noexec align=8 This hack doesn't work for downstream, like: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=2040091 2. If Intel CET is enabled, require nasm with note section support to add section .note.gnu.property note alloc noexec align=N to assembly codes. Verified with $ CC="gcc -Wl,-z,cet-report=error -fcf-protection" CXX="g++ -Wl,-z,cet-report=error -fcf-protection" .../configure x86_64-linux $ make -j8 on Tiger Lake. Change-Id: I6d66fe6fd054420d7fde35b1508ca9f09defdeca Signed-off-by: H.J. Lu <hjl.tools@gmail.com>