isa-l/tools
H.J. Lu 57846f414f Properly add .note.gnu.property section to assembly codes
1. Revert "x86: Generate .note.gnu.property section for ELF output"

This reverts commit 8074e3fe1b, 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>
2022-01-20 12:23:30 -07:00
..
check_format.sh Change indent format for minimal changes with latest 2019-07-03 15:12:50 -07:00
gen_nmake.mk build: Add ms rc file to put extra metatdata on dll 2021-09-02 18:27:51 -07:00
iindent Change indent format for minimal changes with latest 2019-07-03 15:12:50 -07:00
nasm-filter.sh Add -arch to unsupported arguments in [ny]asm-filters 2021-10-12 15:53:32 -07:00
remove_trailing_whitespace.sh build: Add file permissions check to format script 2018-10-05 16:08:54 -07:00
test_autorun.sh test: Fix for script where no tags are pulled 2018-11-16 11:06:00 -07:00
test_checks.sh test: Add undefined behaviour sanitizer to test_checks 2019-03-07 09:27:50 -07:00
test_extended.sh igzip: Inflate detect pre-gen header and use pre-expanded 2020-10-21 18:09:49 -07:00
test_fuzz.sh igzip: Remove igzip_stateless_file_perf 2019-03-07 09:28:04 -07:00
test_tools.sh tools: fix format of test_end function 2018-09-25 15:00:05 -07:00
yasm-filter.sh Add -arch to unsupported arguments in [ny]asm-filters 2021-10-12 15:53:32 -07:00