binutils-gdb/ld/testsuite
H.J. Lu 279d901e5a x86-64: Add Intel LAM property support
Add Intel Linear Address Masking (LAM) property support.  LAM modifies
the checking that is applied to 64-bit linear addresses, allowing
software to use of the untranslated address bits for metadata.

bfd/

	* elf-linker-x86.h (elf_x86_cet_report): Renamed to ...
	(elf_x86_prop_report): This.
	(elf_linker_x86_params): Add lam_u48, lam_u57, lam_u48_report
	and lam_u57_report.
	* elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Support
	GNU_PROPERTY_X86_FEATURE_1_LAM_U48 and
	GNU_PROPERTY_X86_FEATURE_1_LAM_U57.
	(_bfd_x86_elf_link_fixup_gnu_properties): Keep LAM features only
	for 64-bit output.

binutils/

	* NEWS: Mention LAM_U48 and LAM_U57 support.
	* elfedit.c (elf_x86_feature): Support lam_u48 and lam_u57.
	(usage): Add lam_u48 and lam_u57.
	* readelf.c (decode_x86_feature_1): Support LAM_U48 and LAM_U57.
	* doc/binutils.texi: Update elfedit with lam_u48 and lam_u57
	support.
	* testsuite/binutils-all/x86-64/lam-u48.d: New file.
	* testsuite/binutils-all/x86-64/lam-u48.s: Likewise.
	* testsuite/binutils-all/x86-64/lam-u57.d: Likewise.
	* testsuite/binutils-all/x86-64/lam-u57.s: Likewise.

include/

	* elf/common.h (GNU_PROPERTY_X86_FEATURE_1_LAM_U48): New.
	(GNU_PROPERTY_X86_FEATURE_1_LAM_U57): Likewise.

ld/

	* NEWS: Mention LAM_U48 and LAM_U57 support.
	* ld.texi: Document LAM_U48 and LAM_U57 support.
	* emulparams/cet.sh: Updated.
	* emulparams/elf_x86_64.sh: Source x86-64-lam.sh.
	* emulparams/x86-64-lam.sh: New file.
	* testsuite/ld-x86-64/property-x86-lam-u48-1a.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u48-1b.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u48-2.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u48-3a.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u48-3b.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u48-4.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u48-5.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u48.s: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57-1a.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57-1b.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57-2.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57-3a.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57-3b.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57-4.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57-5.d: Likewise.
	* testsuite/ld-x86-64/property-x86-lam-u57.s: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Run LAM tests.
2020-12-23 13:00:55 -08:00
..
config ld: Skip libdep plugin if not all plugin hooks are available 2020-12-16 13:40:51 -08:00
ld-aarch64 aarch64: Return an error on conditional branch to an undefined symbol 2020-09-10 21:42:37 +05:30
ld-alpha Remove commit 9fb2400ce6 2020-08-27 13:52:45 +01:00
ld-arc ld: Make ARC's tls_ie-01 test more flexible 2020-11-23 12:25:44 +02:00
ld-arm AArch64: Relax thumb-plt testcases regexpr. 2020-08-14 07:52:00 +01:00
ld-auto-import
ld-avr
ld-bootstrap ld: Skip bootstrap tests for -fprofile-generate= 2020-10-22 07:03:59 -07:00
ld-bpf bpf: add missing tests from previous commits 2020-08-07 20:40:01 +02:00
ld-cdtest
ld-checks Provide dummy libraries for alpha-vms 2020-10-19 16:28:43 +10:30
ld-cris CRIS: fix PR ld/26589, a missing NULL check in fix for PR ld/22269 2020-09-15 02:57:39 +02:00
ld-crx
ld-csky CSKY: Change default linker script for elf toolchain. 2020-10-26 17:13:21 +08:00
ld-ctf libctf, ld: properly deduplicate function types 2020-11-20 13:34:10 +00:00
ld-cygwin
ld-d10v
ld-discard
ld-dynamic
ld-elf elf: Copy elf_gnu_osabi_retain only for relocatable link 2020-12-18 04:24:36 -08:00
ld-elfcomm ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
ld-elfvers ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
ld-elfvsb ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
ld-elfweak ld: Pass -fno-lto in ld-elfweak/elfweak.exp 2020-10-26 16:45:35 -07:00
ld-fastcall
ld-frv
ld-gc ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
ld-h8300
ld-i386 elf: Set rel_from_abs to 1 for __ehdr_start 2020-11-13 15:44:47 -08:00
ld-ia64
ld-ifunc RISC-V: Support GNU indirect functions. 2020-10-16 10:11:18 +08:00
ld-libs tic54x ld testsuite 2020-08-25 19:31:57 +09:30
ld-linkonce
ld-m68hc11
ld-m68k m68k: tag floating-point ABI used 2020-06-26 14:42:19 +09:30
ld-mep
ld-metag
ld-mips-elf MIPS: Make the IRIX naming of local section symbols consistent 2020-07-29 20:56:41 +01:00
ld-misc More just-syms changes 2020-07-28 13:09:20 +09:30
ld-mmix ld: optionally emit _etext last, before .data 2020-07-19 06:08:07 +02:00
ld-mn10300
ld-msp430-elf MSP430: Support relocations for subtract expressions in .uleb128 directives 2020-09-08 16:18:38 +01:00
ld-nds32
ld-nios2
ld-or1k
ld-pdp11
ld-pe Change the default characteristics of DLLs built by the linker to more secure settings. 2020-08-27 12:58:27 +01:00
ld-pie
ld-plugin PR26806, Suspected linker bug with LTO 2020-11-02 09:39:53 +10:30
ld-powerpc PowerPC paranioa testing of symbol merging involving comdat groups 2020-11-18 23:49:31 +10:30
ld-pru
ld-riscv-elf RISC-V: Relax PCREL to GPREL while doing other relaxations is dangerous. 2020-11-21 09:41:58 +08:00
ld-s12z
ld-s390 IBM Z: Add support for HLASM extended mnemonics 2020-12-03 16:51:12 +01:00
ld-scripts Extend ld's -Map=<dir> functionality by allowing '%' to be replaced with the output file path. 2020-11-06 14:36:45 +00:00
ld-selective ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
ld-sh sh vxworks tests 2020-07-07 18:26:33 +09:30
ld-shared ld: Change NOSANTIZE_CFLAGS to NOSANITIZE_CFLAGS 2020-09-03 17:17:19 -07:00
ld-size ld: Change NOSANTIZE_CFLAGS to NOSANITIZE_CFLAGS 2020-09-03 17:17:19 -07:00
ld-sparc sparc testsuite fallout 2020-08-24 21:48:16 +09:30
ld-spu
ld-srec ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
ld-tic6x tic6x: Call _bfd_elf_add_dynamic_tags 2020-06-29 05:53:01 -07:00
ld-tilegx
ld-tilepro
ld-undefined PR26882, --enable-textrel-check=warning test failures on powerpc 2020-11-17 20:59:53 +10:30
ld-unique
ld-v850
ld-vax-elf VAX/BFD: Do not warn about GOT addend mismatches if no GOT entry is made 2020-12-05 11:18:14 +00:00
ld-visium
ld-vxworks
ld-x86-64 x86-64: Add Intel LAM property support 2020-12-23 13:00:55 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
ld-z80
lib ld: Pass -fno-lto to non LTO tests 2020-10-22 06:04:36 -07:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-9303