]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
aarch64: move tests for AArch64 protections (BTI, PAC) into a subfolder
authorMatthieu Longo <matthieu.longo@arm.com>
Mon, 28 Oct 2024 13:59:55 +0000 (13:59 +0000)
committerMatthieu Longo <matthieu.longo@arm.com>
Mon, 2 Dec 2024 15:18:40 +0000 (15:18 +0000)
commit2d2d86a6878efb4bd9f31817a2b54ed06384e029
tree228a58486b040e2b914da7f9636948e8e71af4ab
parent5930bcb592a599ec7182cdc9c2f47511e6082a5e
aarch64: move tests for AArch64 protections (BTI, PAC) into a subfolder

- moved all the BTI and PAC tests into a new subfolder: "protections".
    bti-far-*
    bti-plt-*
    bti-pac-plt-*
- move several procedures used only for AArch64 linker tests to a new exp
  library file aarch64-elf-lib.exp in ld/testsuite/ld-aarch64/lib.
- use aarch64-elf-lib.exp in aarch64-ld.exp and aarch64-protections.exp.
38 files changed:
ld/testsuite/ld-aarch64/aarch64-elf.exp
ld/testsuite/ld-aarch64/lib/aarch64-elf-lib.exp [new file with mode: 0644]
ld/testsuite/ld-aarch64/protections/aarch64-protections.exp [new file with mode: 0644]
ld/testsuite/ld-aarch64/protections/bti-far-1.d [moved from ld/testsuite/ld-aarch64/bti-far-1.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-2.d [moved from ld/testsuite/ld-aarch64/bti-far-2.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-3.d [moved from ld/testsuite/ld-aarch64/bti-far-3.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-3.ld [moved from ld/testsuite/ld-aarch64/bti-far-3.ld with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-3a.s [moved from ld/testsuite/ld-aarch64/bti-far-3a.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-3b.s [moved from ld/testsuite/ld-aarch64/bti-far-3b.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-3c.s [moved from ld/testsuite/ld-aarch64/bti-far-3c.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-opt.d [moved from ld/testsuite/ld-aarch64/bti-far-opt.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far-opt.s [moved from ld/testsuite/ld-aarch64/bti-far-opt.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far.ld [moved from ld/testsuite/ld-aarch64/bti-far.ld with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-far.s [moved from ld/testsuite/ld-aarch64/bti-far.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-pac-plt-1.d [moved from ld/testsuite/ld-aarch64/bti-pac-plt-1.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-pac-plt-2.d [moved from ld/testsuite/ld-aarch64/bti-pac-plt-2.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-1.d [moved from ld/testsuite/ld-aarch64/bti-plt-1.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-1.s [moved from ld/testsuite/ld-aarch64/bti-plt-1.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-2.d [moved from ld/testsuite/ld-aarch64/bti-plt-2.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-2.s [moved from ld/testsuite/ld-aarch64/bti-plt-2.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-3.d [moved from ld/testsuite/ld-aarch64/bti-plt-3.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-4.d [moved from ld/testsuite/ld-aarch64/bti-plt-4.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-5.d [moved from ld/testsuite/ld-aarch64/bti-plt-5.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-6.d [moved from ld/testsuite/ld-aarch64/bti-plt-6.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-7.d [moved from ld/testsuite/ld-aarch64/bti-plt-7.d with 94% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt-so.s [moved from ld/testsuite/ld-aarch64/bti-plt-so.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-plt.ld [moved from ld/testsuite/ld-aarch64/bti-plt.ld with 100% similarity]
ld/testsuite/ld-aarch64/protections/bti-warn.d [moved from ld/testsuite/ld-aarch64/bti-warn.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/pac-plt-1.d [moved from ld/testsuite/ld-aarch64/pac-plt-1.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/pac-plt-2.d [moved from ld/testsuite/ld-aarch64/pac-plt-2.d with 95% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac1.d [moved from ld/testsuite/ld-aarch64/property-bti-pac1.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac1.s [moved from ld/testsuite/ld-aarch64/property-bti-pac1.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac2.d [moved from ld/testsuite/ld-aarch64/property-bti-pac2.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac2.s [moved from ld/testsuite/ld-aarch64/property-bti-pac2.s with 100% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac3.d [moved from ld/testsuite/ld-aarch64/property-bti-pac3.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac4-a.d [moved from ld/testsuite/ld-aarch64/property-bti-pac4-a.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac4-b.d [moved from ld/testsuite/ld-aarch64/property-bti-pac4-b.d with 100% similarity]
ld/testsuite/ld-aarch64/protections/property-bti-pac4.s [moved from ld/testsuite/ld-aarch64/property-bti-pac4.s with 100% similarity]