From aa4209e7b679afd74a3860ce25659e71cc4847d5 Mon Sep 17 00:00:00 2001 From: nobody <> Date: Mon, 22 Oct 2012 12:01:40 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'binutils-2_23'. Sprout from binutils-2_23-branch 2012-10-22 12:01:39 UTC Tristan Gingold 'binutils/' Cherrypick from binutils-2_23-branch 2012-10-18 23:00:10 UTC Alan Modra 'daily update': bfd/version.h Delete: ld/testsuite/ld-aarch64/aarch64-elf.exp ld/testsuite/ld-aarch64/aarch64.ld ld/testsuite/ld-aarch64/eh-frame-bar.s ld/testsuite/ld-aarch64/eh-frame-foo.s ld/testsuite/ld-aarch64/eh-frame.d ld/testsuite/ld-aarch64/emit-relocs-257-be.d ld/testsuite/ld-aarch64/emit-relocs-257.d ld/testsuite/ld-aarch64/emit-relocs-257.s ld/testsuite/ld-aarch64/emit-relocs-260-be.d ld/testsuite/ld-aarch64/emit-relocs-260.d ld/testsuite/ld-aarch64/emit-relocs-260.s ld/testsuite/ld-aarch64/emit-relocs-262.d ld/testsuite/ld-aarch64/emit-relocs-262.s ld/testsuite/ld-aarch64/emit-relocs-263.d ld/testsuite/ld-aarch64/emit-relocs-263.s ld/testsuite/ld-aarch64/emit-relocs-264.d ld/testsuite/ld-aarch64/emit-relocs-264.s ld/testsuite/ld-aarch64/emit-relocs-265.d ld/testsuite/ld-aarch64/emit-relocs-265.s ld/testsuite/ld-aarch64/emit-relocs-266.d ld/testsuite/ld-aarch64/emit-relocs-266.s ld/testsuite/ld-aarch64/emit-relocs-267.d ld/testsuite/ld-aarch64/emit-relocs-267.s ld/testsuite/ld-aarch64/emit-relocs-268.d ld/testsuite/ld-aarch64/emit-relocs-268.s ld/testsuite/ld-aarch64/emit-relocs-269.d ld/testsuite/ld-aarch64/emit-relocs-269.s ld/testsuite/ld-aarch64/emit-relocs-270-bad.d ld/testsuite/ld-aarch64/emit-relocs-270.d ld/testsuite/ld-aarch64/emit-relocs-270.s ld/testsuite/ld-aarch64/emit-relocs-271.d ld/testsuite/ld-aarch64/emit-relocs-271.s ld/testsuite/ld-aarch64/emit-relocs-272.d ld/testsuite/ld-aarch64/emit-relocs-272.s ld/testsuite/ld-aarch64/emit-relocs-273.d ld/testsuite/ld-aarch64/emit-relocs-273.s ld/testsuite/ld-aarch64/emit-relocs-274.d ld/testsuite/ld-aarch64/emit-relocs-274.s ld/testsuite/ld-aarch64/emit-relocs-275.d ld/testsuite/ld-aarch64/emit-relocs-275.s ld/testsuite/ld-aarch64/emit-relocs-276.d ld/testsuite/ld-aarch64/emit-relocs-276.s ld/testsuite/ld-aarch64/emit-relocs-277.d ld/testsuite/ld-aarch64/emit-relocs-277.s ld/testsuite/ld-aarch64/emit-relocs-278.d ld/testsuite/ld-aarch64/emit-relocs-278.s ld/testsuite/ld-aarch64/emit-relocs-279-bad.d ld/testsuite/ld-aarch64/emit-relocs-279.d ld/testsuite/ld-aarch64/emit-relocs-279.s ld/testsuite/ld-aarch64/emit-relocs-280.d ld/testsuite/ld-aarch64/emit-relocs-280.s ld/testsuite/ld-aarch64/emit-relocs-282.d ld/testsuite/ld-aarch64/emit-relocs-282.s ld/testsuite/ld-aarch64/emit-relocs-283.d ld/testsuite/ld-aarch64/emit-relocs-283.s ld/testsuite/ld-aarch64/emit-relocs-284.d ld/testsuite/ld-aarch64/emit-relocs-284.s ld/testsuite/ld-aarch64/emit-relocs-285.d ld/testsuite/ld-aarch64/emit-relocs-285.s ld/testsuite/ld-aarch64/emit-relocs-286-bad.d ld/testsuite/ld-aarch64/emit-relocs-286.d ld/testsuite/ld-aarch64/emit-relocs-286.s ld/testsuite/ld-aarch64/emit-relocs-287.d ld/testsuite/ld-aarch64/emit-relocs-287.s ld/testsuite/ld-aarch64/emit-relocs-299.d ld/testsuite/ld-aarch64/emit-relocs-299.s ld/testsuite/ld-aarch64/emit-relocs-311.d ld/testsuite/ld-aarch64/emit-relocs-311.s ld/testsuite/ld-aarch64/emit-relocs-312.d ld/testsuite/ld-aarch64/emit-relocs-312.s ld/testsuite/ld-aarch64/emit-relocs1.s ld/testsuite/ld-aarch64/farcall-b-none-function.d ld/testsuite/ld-aarch64/farcall-b-none-function.s ld/testsuite/ld-aarch64/farcall-b.d ld/testsuite/ld-aarch64/farcall-b.s ld/testsuite/ld-aarch64/farcall-back.d ld/testsuite/ld-aarch64/farcall-back.s ld/testsuite/ld-aarch64/farcall-bl-none-function.d ld/testsuite/ld-aarch64/farcall-bl-none-function.s ld/testsuite/ld-aarch64/farcall-bl.d ld/testsuite/ld-aarch64/farcall-bl.s ld/testsuite/ld-aarch64/farcall-section.d ld/testsuite/ld-aarch64/farcall-section.s ld/testsuite/ld-aarch64/limit-b.d ld/testsuite/ld-aarch64/limit-b.s ld/testsuite/ld-aarch64/limit-bl.d ld/testsuite/ld-aarch64/limit-bl.s ld/testsuite/ld-aarch64/relocs.ld ld/testsuite/ld-aarch64/tls-desc-ie.d ld/testsuite/ld-aarch64/tls-desc-ie.s ld/testsuite/ld-aarch64/tls-relax-all.d ld/testsuite/ld-aarch64/tls-relax-all.s ld/testsuite/ld-aarch64/tls-relax-gd-ie.d ld/testsuite/ld-aarch64/tls-relax-gd-ie.s ld/testsuite/ld-aarch64/tls-relax-gd-le.d ld/testsuite/ld-aarch64/tls-relax-gd-le.s ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.s ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.s ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.d ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.s ld/testsuite/ld-aarch64/tls-relax-gdesc-le.d ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s ld/testsuite/ld-aarch64/tls-relax-ie-le-2.d ld/testsuite/ld-aarch64/tls-relax-ie-le-2.s ld/testsuite/ld-aarch64/tls-relax-ie-le-3.d ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s ld/testsuite/ld-aarch64/tls-relax-ie-le.d ld/testsuite/ld-aarch64/tls-relax-ie-le.s ld/testsuite/ld-aarch64/weak-undefined.d ld/testsuite/ld-aarch64/weak-undefined.s --- ld/testsuite/ld-aarch64/aarch64-elf.exp | 105 --------------------- ld/testsuite/ld-aarch64/aarch64.ld | 19 ---- ld/testsuite/ld-aarch64/eh-frame-bar.s | 38 -------- ld/testsuite/ld-aarch64/eh-frame-foo.s | 55 ----------- ld/testsuite/ld-aarch64/eh-frame.d | 86 ----------------- ld/testsuite/ld-aarch64/emit-relocs-257-be.d | 16 ---- ld/testsuite/ld-aarch64/emit-relocs-257.d | 16 ---- ld/testsuite/ld-aarch64/emit-relocs-257.s | 12 --- ld/testsuite/ld-aarch64/emit-relocs-260-be.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-260.d | 16 ---- ld/testsuite/ld-aarch64/emit-relocs-260.s | 13 --- ld/testsuite/ld-aarch64/emit-relocs-262.d | 16 ---- ld/testsuite/ld-aarch64/emit-relocs-262.s | 13 --- ld/testsuite/ld-aarch64/emit-relocs-263.d | 15 --- ld/testsuite/ld-aarch64/emit-relocs-263.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-264.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-264.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-265.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-265.s | 10 -- ld/testsuite/ld-aarch64/emit-relocs-266.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-266.s | 10 -- ld/testsuite/ld-aarch64/emit-relocs-267.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-267.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-268.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-268.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-269.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-269.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-270-bad.d | 15 --- ld/testsuite/ld-aarch64/emit-relocs-270.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-270.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-271.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-271.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-272.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-272.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-273.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-273.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-274.d | 12 --- ld/testsuite/ld-aarch64/emit-relocs-274.s | 5 - ld/testsuite/ld-aarch64/emit-relocs-275.d | 15 --- ld/testsuite/ld-aarch64/emit-relocs-275.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-276.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-276.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-277.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-277.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-278.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-278.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-279-bad.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-279.d | 17 ---- ld/testsuite/ld-aarch64/emit-relocs-279.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-280.d | 12 --- ld/testsuite/ld-aarch64/emit-relocs-280.s | 6 -- ld/testsuite/ld-aarch64/emit-relocs-282.d | 12 --- ld/testsuite/ld-aarch64/emit-relocs-282.s | 6 -- ld/testsuite/ld-aarch64/emit-relocs-283.d | 12 --- ld/testsuite/ld-aarch64/emit-relocs-283.s | 6 -- ld/testsuite/ld-aarch64/emit-relocs-284.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-284.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-285.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-285.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-286-bad.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-286.d | 13 --- ld/testsuite/ld-aarch64/emit-relocs-286.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-287.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-287.s | 9 -- ld/testsuite/ld-aarch64/emit-relocs-299.d | 12 --- ld/testsuite/ld-aarch64/emit-relocs-299.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-311.d | 14 --- ld/testsuite/ld-aarch64/emit-relocs-311.s | 8 -- ld/testsuite/ld-aarch64/emit-relocs-312.d | 19 ---- ld/testsuite/ld-aarch64/emit-relocs-312.s | 13 --- ld/testsuite/ld-aarch64/emit-relocs1.s | 6 -- ld/testsuite/ld-aarch64/farcall-b-none-function.d | 5 - ld/testsuite/ld-aarch64/farcall-b-none-function.s | 16 ---- ld/testsuite/ld-aarch64/farcall-b.d | 22 ----- ld/testsuite/ld-aarch64/farcall-b.s | 17 ---- ld/testsuite/ld-aarch64/farcall-back.d | 72 -------------- ld/testsuite/ld-aarch64/farcall-back.s | 42 --------- ld/testsuite/ld-aarch64/farcall-bl-none-function.d | 5 - ld/testsuite/ld-aarch64/farcall-bl-none-function.s | 16 ---- ld/testsuite/ld-aarch64/farcall-bl.d | 23 ----- ld/testsuite/ld-aarch64/farcall-bl.s | 17 ---- ld/testsuite/ld-aarch64/farcall-section.d | 5 - ld/testsuite/ld-aarch64/farcall-section.s | 19 ---- ld/testsuite/ld-aarch64/limit-b.d | 17 ---- ld/testsuite/ld-aarch64/limit-b.s | 19 ---- ld/testsuite/ld-aarch64/limit-bl.d | 17 ---- ld/testsuite/ld-aarch64/limit-bl.s | 19 ---- ld/testsuite/ld-aarch64/relocs.ld | 19 ---- ld/testsuite/ld-aarch64/tls-desc-ie.d | 36 ------- ld/testsuite/ld-aarch64/tls-desc-ie.s | 32 ------- ld/testsuite/ld-aarch64/tls-relax-all.d | 39 -------- ld/testsuite/ld-aarch64/tls-relax-all.s | 51 ---------- ld/testsuite/ld-aarch64/tls-relax-gd-ie.d | 9 -- ld/testsuite/ld-aarch64/tls-relax-gd-ie.s | 10 -- ld/testsuite/ld-aarch64/tls-relax-gd-le.d | 9 -- ld/testsuite/ld-aarch64/tls-relax-gd-le.s | 9 -- ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d | 18 ---- ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.s | 24 ----- ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d | 11 --- ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.s | 13 --- ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.d | 18 ---- ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.s | 22 ----- ld/testsuite/ld-aarch64/tls-relax-gdesc-le.d | 11 --- ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s | 12 --- ld/testsuite/ld-aarch64/tls-relax-ie-le-2.d | 17 ---- ld/testsuite/ld-aarch64/tls-relax-ie-le-2.s | 20 ---- ld/testsuite/ld-aarch64/tls-relax-ie-le-3.d | 9 -- ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s | 12 --- ld/testsuite/ld-aarch64/tls-relax-ie-le.d | 9 -- ld/testsuite/ld-aarch64/tls-relax-ie-le.s | 9 -- ld/testsuite/ld-aarch64/weak-undefined.d | 18 ---- ld/testsuite/ld-aarch64/weak-undefined.s | 18 ---- 112 files changed, 1847 deletions(-) delete mode 100644 ld/testsuite/ld-aarch64/aarch64-elf.exp delete mode 100644 ld/testsuite/ld-aarch64/aarch64.ld delete mode 100644 ld/testsuite/ld-aarch64/eh-frame-bar.s delete mode 100644 ld/testsuite/ld-aarch64/eh-frame-foo.s delete mode 100644 ld/testsuite/ld-aarch64/eh-frame.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-257-be.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-257.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-257.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-260-be.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-260.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-260.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-262.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-262.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-263.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-263.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-264.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-264.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-265.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-265.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-266.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-266.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-267.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-267.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-268.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-268.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-269.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-269.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-270-bad.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-270.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-270.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-271.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-271.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-272.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-272.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-273.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-273.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-274.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-274.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-275.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-275.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-276.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-276.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-277.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-277.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-278.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-278.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-279-bad.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-279.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-279.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-280.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-280.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-282.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-282.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-283.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-283.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-284.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-284.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-285.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-285.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-286-bad.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-286.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-286.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-287.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-287.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-299.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-299.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-311.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-311.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-312.d delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs-312.s delete mode 100644 ld/testsuite/ld-aarch64/emit-relocs1.s delete mode 100644 ld/testsuite/ld-aarch64/farcall-b-none-function.d delete mode 100644 ld/testsuite/ld-aarch64/farcall-b-none-function.s delete mode 100644 ld/testsuite/ld-aarch64/farcall-b.d delete mode 100644 ld/testsuite/ld-aarch64/farcall-b.s delete mode 100644 ld/testsuite/ld-aarch64/farcall-back.d delete mode 100644 ld/testsuite/ld-aarch64/farcall-back.s delete mode 100644 ld/testsuite/ld-aarch64/farcall-bl-none-function.d delete mode 100644 ld/testsuite/ld-aarch64/farcall-bl-none-function.s delete mode 100644 ld/testsuite/ld-aarch64/farcall-bl.d delete mode 100644 ld/testsuite/ld-aarch64/farcall-bl.s delete mode 100644 ld/testsuite/ld-aarch64/farcall-section.d delete mode 100644 ld/testsuite/ld-aarch64/farcall-section.s delete mode 100644 ld/testsuite/ld-aarch64/limit-b.d delete mode 100644 ld/testsuite/ld-aarch64/limit-b.s delete mode 100644 ld/testsuite/ld-aarch64/limit-bl.d delete mode 100644 ld/testsuite/ld-aarch64/limit-bl.s delete mode 100644 ld/testsuite/ld-aarch64/relocs.ld delete mode 100644 ld/testsuite/ld-aarch64/tls-desc-ie.d delete mode 100644 ld/testsuite/ld-aarch64/tls-desc-ie.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-all.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-all.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gd-ie.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gd-ie.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gd-le.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gd-le.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-le.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-ie-le-2.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-ie-le-2.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-ie-le-3.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-ie-le.d delete mode 100644 ld/testsuite/ld-aarch64/tls-relax-ie-le.s delete mode 100644 ld/testsuite/ld-aarch64/weak-undefined.d delete mode 100644 ld/testsuite/ld-aarch64/weak-undefined.s (limited to 'ld') diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp deleted file mode 100644 index eefe05a2567..00000000000 --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp +++ /dev/null @@ -1,105 +0,0 @@ -# Expect script for various AARCH64 ELF tests. -# Copyright 2009-2012 Free Software Foundation, Inc. -# -# This file is part of the GNU Binutils. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 3 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, -# MA 02110-1301, USA. - -# Exclude non-aarch64-ELF targets. -if { ![is_elf_format] || ![istarget "aarch64*-*-*"] } { - return -} - -# List contains test-items with 3 items followed by 2 lists: -# 0:name 1:ld options 2:assembler options -# 3:filenames of assembler files 4: action and options. 5: name of output file - -# Actions: -# objdump: Apply objdump options on result. Compare with regex (last arg). -# nm: Apply nm options on result. Compare with regex (last arg). -# readelf: Apply readelf options on result. Compare with regex (last arg). - -set aarch64elftests { - {"EH Frame merge" "-Ttext 0x8000" "" {eh-frame-bar.s eh-frame-foo.s} - {{objdump --dwarf=frames eh-frame.d}} "eh-frame"} -} - -run_ld_link_tests $aarch64elftests - -# Relocation Tests -run_dump_test "weak-undefined" -run_dump_test "emit-relocs-257" -run_dump_test "emit-relocs-257-be" -# 258 is tested in 257 -# 259 is tested in 257 -run_dump_test "emit-relocs-260" -run_dump_test "emit-relocs-260-be" -# 261 is tested by 260 -run_dump_test "emit-relocs-262" -run_dump_test "emit-relocs-263" -run_dump_test "emit-relocs-264" -run_dump_test "emit-relocs-265" -run_dump_test "emit-relocs-266" -run_dump_test "emit-relocs-267" -run_dump_test "emit-relocs-268" -run_dump_test "emit-relocs-269" -run_dump_test "emit-relocs-270" -run_dump_test "emit-relocs-270-bad" -run_dump_test "emit-relocs-271" -run_dump_test "emit-relocs-272" -run_dump_test "emit-relocs-273" -run_dump_test "emit-relocs-274" -run_dump_test "emit-relocs-275" -run_dump_test "emit-relocs-276" -run_dump_test "emit-relocs-277" -run_dump_test "emit-relocs-278" -run_dump_test "emit-relocs-279" -run_dump_test "emit-relocs-279-bad" -run_dump_test "emit-relocs-280" -# 281 is unused -run_dump_test "emit-relocs-282" -run_dump_test "emit-relocs-283" -run_dump_test "emit-relocs-284" -run_dump_test "emit-relocs-285" -run_dump_test "emit-relocs-286" -run_dump_test "emit-relocs-286-bad" -# 287-298 are not done yet -run_dump_test "emit-relocs-299" -# 300-310 are not done yet -run_dump_test "emit-relocs-311" -run_dump_test "emit-relocs-312" - - -run_dump_test "limit-b" -run_dump_test "limit-bl" -run_dump_test "farcall-section" -run_dump_test "farcall-back" -run_dump_test "farcall-bl" -run_dump_test "farcall-b" -run_dump_test "farcall-b-none-function" -run_dump_test "farcall-bl-none-function" - -run_dump_test "tls-relax-all" -run_dump_test "tls-relax-gd-le" -run_dump_test "tls-relax-gdesc-le" -run_dump_test "tls-relax-gd-ie" -run_dump_test "tls-relax-gdesc-ie" -run_dump_test "tls-relax-ie-le" -run_dump_test "tls-desc-ie" -run_dump_test "tls-relax-gdesc-ie-2" -run_dump_test "tls-relax-gdesc-le-2" -run_dump_test "tls-relax-ie-le-2" -run_dump_test "tls-relax-ie-le-3" diff --git a/ld/testsuite/ld-aarch64/aarch64.ld b/ld/testsuite/ld-aarch64/aarch64.ld deleted file mode 100644 index 75ee3b58934..00000000000 --- a/ld/testsuite/ld-aarch64/aarch64.ld +++ /dev/null @@ -1,19 +0,0 @@ -/* Script for ld testsuite */ -OUTPUT_ARCH(aarch64) -ENTRY(_start) -SECTIONS -{ - /* Read-only sections, merged into text segment: */ - PROVIDE (__executable_start = 0x8000); . = 0x8000; - .text : - { - *(.before) - *(.text) - *(.after) - } =0 - . = 0x9000; - .got : { *(.got) *(.got.plt)} - . = 0x12340000; - .far : { *(.far) } - .ARM.attributes 0 : { *(.ARM.atttributes) } -} diff --git a/ld/testsuite/ld-aarch64/eh-frame-bar.s b/ld/testsuite/ld-aarch64/eh-frame-bar.s deleted file mode 100644 index a67d8e4f20b..00000000000 --- a/ld/testsuite/ld-aarch64/eh-frame-bar.s +++ /dev/null @@ -1,38 +0,0 @@ -__longjmp: - .cfi_startproc - .cfi_def_cfa x0, 0 - .cfi_offset x19, 16 - .cfi_offset x20, 16 - .cfi_offset x21, 16 - .cfi_offset x22, 16 - .cfi_offset x23, 24 - .cfi_offset x24, 24 - .cfi_offset x25, 24 - .cfi_offset x26, 24 - .cfi_offset x27, 24 - .cfi_offset x28, 32 - .cfi_offset x29, 32 - .cfi_offset x30, 36 - .cfi_offset d9, 8 -# This eh frame data differs from eh-frame-bar.s here, see the comment -# in eh-frame-foo.s - .cfi_offset d11, 8 - - ldp x19, x20, [x0, #16] - ldp x21, x22, [x0, #16] - ldp x23, x24, [x0, #24] - ldp x25, x26, [x0, #24] - ldp x27, x28, [x0, #24] - ldp x29, x30, [x0, #32] - - ldp d8, d9, [x0, #8] - ldp d10, d11, [x0, #8] - ldp d12, d13, [x0, #8] - ldp d14, d15, [x0, #8] - ldr x5, [x0, #48] - mov sp, x5 - cmp x1, #0 - mov x0, #1 - csel x0, x1, x0, ne - br x30 - .cfi_endproc diff --git a/ld/testsuite/ld-aarch64/eh-frame-foo.s b/ld/testsuite/ld-aarch64/eh-frame-foo.s deleted file mode 100644 index c077ef2b694..00000000000 --- a/ld/testsuite/ld-aarch64/eh-frame-foo.s +++ /dev/null @@ -1,55 +0,0 @@ -__longjmp: - .cfi_startproc - .cfi_def_cfa x0, 0 - .cfi_offset x19, 16 - .cfi_offset x20, 16 - .cfi_offset x21, 16 - .cfi_offset x22, 16 - .cfi_offset x23, 24 - .cfi_offset x24, 24 - .cfi_offset x25, 24 - .cfi_offset x26, 24 - .cfi_offset x27, 24 - .cfi_offset x28, 32 - .cfi_offset x29, 32 - .cfi_offset x30, 36 - .cfi_offset d9, 8 - -/* This eh frame data differs from eh-frame-bar.s here. The eh - frame information is identical but changes at the end. The - initial identical section is long enough to overflow the - initial instruction buffer used in eh frame merging. This - checks that merging does something sane once the initial - instruction buffer overflows. */ - -.cfi_offset d10, 8 - - - - - - - - ldp x19, x20, [x0, #16] - ldp x21, x22, [x0, #16] - ldp x23, x24, [x0, #24] - ldp x25, x26, [x0, #24] - ldp x27, x28, [x0, #24] - ldp x29, x30, [x0, #32] - - ldp d8, d9, [x0, #8] - ldp d10, d11, [x0, #8] - ldp d12, d13, [x0, #8] - ldp d14, d15, [x0, #8] - ldr x5, [x0, #48] - mov sp, x5 - cmp x1, #0 - mov x0, #1 - csel x0, x1, x0, ne - - br x30 - .cfi_endproc - - .global _start -_start: - diff --git a/ld/testsuite/ld-aarch64/eh-frame.d b/ld/testsuite/ld-aarch64/eh-frame.d deleted file mode 100644 index 88e99889e85..00000000000 --- a/ld/testsuite/ld-aarch64/eh-frame.d +++ /dev/null @@ -1,86 +0,0 @@ -.*: file format elf64-(little|big)aarch64 - -Contents of the .eh_frame section: - -00000000 00000044 00000000 CIE - Version: 1 - Augmentation: "zR" - Code alignment factor: 2 - Data alignment factor: -4 - Return address column: 30 - Augmentation data: 1b - - DW_CFA_def_cfa: r31 ofs 0 - DW_CFA_def_cfa: r0 ofs 0 - DW_CFA_offset_extended_sf: r19 at cfa\+16 - DW_CFA_offset_extended_sf: r20 at cfa\+16 - DW_CFA_offset_extended_sf: r21 at cfa\+16 - DW_CFA_offset_extended_sf: r22 at cfa\+16 - DW_CFA_offset_extended_sf: r23 at cfa\+24 - DW_CFA_offset_extended_sf: r24 at cfa\+24 - DW_CFA_offset_extended_sf: r25 at cfa\+24 - DW_CFA_offset_extended_sf: r26 at cfa\+24 - DW_CFA_offset_extended_sf: r27 at cfa\+24 - DW_CFA_offset_extended_sf: r28 at cfa\+32 - DW_CFA_offset_extended_sf: r29 at cfa\+32 - DW_CFA_offset_extended_sf: r30 at cfa\+36 - DW_CFA_offset_extended_sf: r9 at cfa\+8 - DW_CFA_offset_extended_sf: r11 at cfa\+8 - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - -00000048 00000014 0000004c FDE cie=00000000 pc=f*ffffff80..f*ffffffc0 - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - -00000060 00000044 00000000 CIE - Version: 1 - Augmentation: "zR" - Code alignment factor: 2 - Data alignment factor: -4 - Return address column: 30 - Augmentation data: 1b - - DW_CFA_def_cfa: r31 ofs 0 - DW_CFA_def_cfa: r0 ofs 0 - DW_CFA_offset_extended_sf: r19 at cfa\+16 - DW_CFA_offset_extended_sf: r20 at cfa\+16 - DW_CFA_offset_extended_sf: r21 at cfa\+16 - DW_CFA_offset_extended_sf: r22 at cfa\+16 - DW_CFA_offset_extended_sf: r23 at cfa\+24 - DW_CFA_offset_extended_sf: r24 at cfa\+24 - DW_CFA_offset_extended_sf: r25 at cfa\+24 - DW_CFA_offset_extended_sf: r26 at cfa\+24 - DW_CFA_offset_extended_sf: r27 at cfa\+24 - DW_CFA_offset_extended_sf: r28 at cfa\+32 - DW_CFA_offset_extended_sf: r29 at cfa\+32 - DW_CFA_offset_extended_sf: r30 at cfa\+36 - DW_CFA_offset_extended_sf: r9 at cfa\+8 - DW_CFA_offset_extended_sf: r10 at cfa\+8 - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - -000000a8 00000014 0000004c FDE cie=00000060 pc=f*ffffffc0..00000000 - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - DW_CFA_nop - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-257-be.d b/ld/testsuite/ld-aarch64/emit-relocs-257-be.d deleted file mode 100644 index 3f6be24b89a..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-257-be.d +++ /dev/null @@ -1,16 +0,0 @@ -#source: emit-relocs-257.s -#ld: -T relocs.ld --defsym tempy=0x11012 --defsym tempy2=0x45034 --defsym tempy3=0x1234 -e0 --emit-relocs -#notarget: aarch64-*-* -#objdump: -dr -#... - +10000: 00011012 \.word 0x00011012 - +10000: R_AARCH64_ABS32 tempy - +10004: 00000000 \.word 0x00000000 - +10004: R_AARCH64_ABS64 tempy2 - +10008: 00045034 \.word 0x00045034 - +1000c: 1234123c \.word 0x1234123c - +1000c: R_AARCH64_ABS16 tempy3 - +1000e: R_AARCH64_ABS16 tempy3\+0x8 - +10010: 8a000000 and x0, x0, x0 - +10014: 92400000 and x0, x0, #0x1 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-257.d b/ld/testsuite/ld-aarch64/emit-relocs-257.d deleted file mode 100644 index 0a3a7ac1e05..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-257.d +++ /dev/null @@ -1,16 +0,0 @@ -#source: emit-relocs-257.s -#ld: -T relocs.ld --defsym tempy=0x11012 --defsym tempy2=0x45034 --defsym tempy3=0x1234 -e0 --emit-relocs -#notarget: aarch64_be-*-* -#objdump: -dr -#... - +10000: 00011012 \.word 0x00011012 - +10000: R_AARCH64_ABS32 tempy - +10004: 00045034 \.word 0x00045034 - +10004: R_AARCH64_ABS64 tempy2 - +10008: 00000000 \.word 0x00000000 - +1000c: 123c1234 \.word 0x123c1234 - +1000c: R_AARCH64_ABS16 tempy3 - +1000e: R_AARCH64_ABS16 tempy3\+0x8 - +10010: 8a000000 and x0, x0, x0 - +10014: 92400000 and x0, x0, #0x1 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-257.s b/ld/testsuite/ld-aarch64/emit-relocs-257.s deleted file mode 100644 index 609ebbac3da..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-257.s +++ /dev/null @@ -1,12 +0,0 @@ -.comm gempy,4,4 -.text - -.word tempy -.xword tempy2 -.hword tempy3 -.hword tempy3+8 - - and x0,x0,x0 - and x0,x0,#0x1 - - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-260-be.d b/ld/testsuite/ld-aarch64/emit-relocs-260-be.d deleted file mode 100644 index 7cea3c67bd3..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-260-be.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-260.s -#ld: -T relocs.ld --defsym tempy=0x11012 --defsym tempy2=0x45034 --defsym tempy3=0x1234 --defsym _GOT_=0x10000 -e0 --emit-relocs -#notarget: aarch64-*-* -#objdump: -dr -#... - +10000: R_AARCH64_PREL32 _GOT_ - +10004: R_AARCH64_PREL64 _GOT_\+0x12 - +10008: 0000000e \.word 0x0000000e - +1000c: fff404f2 \.word 0xfff404f2 - +1000c: R_AARCH64_PREL16 _GOT_ - +1000e: R_AARCH64_PREL16 _GOT_\+0x500 - +10010: 8a000000 and x0, x0, x0 - +10014: 92400000 and x0, x0, #0x1 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-260.d b/ld/testsuite/ld-aarch64/emit-relocs-260.d deleted file mode 100644 index 91c1d8a46e8..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-260.d +++ /dev/null @@ -1,16 +0,0 @@ -#source: emit-relocs-260.s -#ld: -T relocs.ld --defsym tempy=0x11012 --defsym tempy2=0x45034 --defsym tempy3=0x1234 --defsym _GOT_=0x10000 -e0 --emit-relocs -#notarget: aarch64_be-*-* -#objdump: -dr -#... - +10000: 00000000 \.word 0x00000000 - +10000: R_AARCH64_PREL32 _GOT_ - +10004: 0000000e \.word 0x0000000e - +10004: R_AARCH64_PREL64 _GOT_\+0x12 - +10008: 00000000 \.word 0x00000000 - +1000c: 04f2fff4 \.word 0x04f2fff4 - +1000c: R_AARCH64_PREL16 _GOT_ - +1000e: R_AARCH64_PREL16 _GOT_\+0x500 - +10010: 8a000000 and x0, x0, x0 - +10014: 92400000 and x0, x0, #0x1 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-260.s b/ld/testsuite/ld-aarch64/emit-relocs-260.s deleted file mode 100644 index 87aa34236d2..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-260.s +++ /dev/null @@ -1,13 +0,0 @@ -.comm gempy,4,4 -.text - -.word _GOT_ - . -.xword _GOT_ - . + 0x12 -.hword _GOT_ - . -.hword _GOT_ - . + 0x500 - - and x0,x0,x0 - and x0,x0,#0x1 - - - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-262.d b/ld/testsuite/ld-aarch64/emit-relocs-262.d deleted file mode 100644 index c42ecb6d668..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-262.d +++ /dev/null @@ -1,16 +0,0 @@ -#source: emit-relocs-262.s -#ld: -T relocs.ld --defsym tempy=0x11012 --defsym tempy2=0x45034 --defsym tempy3=0x1234 --defsym _GOT_=0x20000 -e0 --emit-relocs -#error: .*truncated.* -#objdump: -dr -#... - +10000: 00011012 \.word 0x00011012 - +10000: R_AARCH64_PREL32 tempy - +10004: 00045034 \.word 0x00045034 - +10004: R_AARCH64_PREL64 tempy2 - +10008: 00000000 \.word 0x00000000 - +1000c: 123c1234 \.word 0x123c1234 - +1000c: R_AARCH64_PREL16 tempy3 - +1000e: R_AARCH64_PREL16 tempy3\+0x8 - +10010: 8a000000 and x0, x0, x0 - +10014: 92400000 and x0, x0, #0x1 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-262.s b/ld/testsuite/ld-aarch64/emit-relocs-262.s deleted file mode 100644 index aa97f52b0c4..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-262.s +++ /dev/null @@ -1,13 +0,0 @@ -.comm gempy,4,4 -.text - -.word _GOT_ - . -.xword _GOT_ - . + 0x12 -.hword _GOT_ - . -.hword _GOT_ - . - - and x0,x0,x0 - and x0,x0,#0x1 - - - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-263.d b/ld/testsuite/ld-aarch64/emit-relocs-263.d deleted file mode 100644 index a6c854d57db..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-263.d +++ /dev/null @@ -1,15 +0,0 @@ -#source: emit-relocs-263.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_MOVW_UABS_G0 against symbol `tempy.* -#objdump: -dr - -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2820004 movz x4, #0x1000 - +10008: R_AARCH64_MOVW_UABS_G0 tempy - +1000c: d28a0007 movz x7, #0x5000 - +1000c: R_AARCH64_MOVW_UABS_G0 tempy2 - +10010: d2824691 movz x17, #0x1234 - +10010: R_AARCH64_MOVW_UABS_G0 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-263.s b/ld/testsuite/ld-aarch64/emit-relocs-263.s deleted file mode 100644 index e21587213a2..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-263.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g0:tempy - movz x7, :abs_g0:tempy2 - movz x17, :abs_g0:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-264.d b/ld/testsuite/ld-aarch64/emit-relocs-264.d deleted file mode 100644 index 1da911b933a..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-264.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-264.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2820004 movz x4, #0x1000 - +10008: R_AARCH64_MOVW_UABS_G0_NC tempy - +1000c: d28a0007 movz x7, #0x5000 - +1000c: R_AARCH64_MOVW_UABS_G0_NC tempy2 - +10010: d2824691 movz x17, #0x1234 - +10010: R_AARCH64_MOVW_UABS_G0_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-264.s b/ld/testsuite/ld-aarch64/emit-relocs-264.s deleted file mode 100644 index 32a5a17a004..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-264.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g0_nc:tempy - movz x7, :abs_g0_nc:tempy2 - movz x17, :abs_g0_nc:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-265.d b/ld/testsuite/ld-aarch64/emit-relocs-265.d deleted file mode 100644 index d30db5fa4e4..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-265.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-265.s -#ld: -T relocs.ld --defsym tempy=0x100011000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_MOVW_UABS_G1 against symbol `tempy.* -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2a00024 movz x4, #0x1, lsl #16 - +10008: R_AARCH64_MOVW_UABS_G1 tempy - +1000c: d2a00087 movz x7, #0x4, lsl #16 - +1000c: R_AARCH64_MOVW_UABS_G1 tempy2 - +10010: d2a00011 movz x17, #0x0, lsl #16 - +10010: R_AARCH64_MOVW_UABS_G1 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-265.s b/ld/testsuite/ld-aarch64/emit-relocs-265.s deleted file mode 100644 index 552a8ae0aa6..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-265.s +++ /dev/null @@ -1,10 +0,0 @@ -.comm gempy,4,4 -.text - - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g1:tempy - movz x7, :abs_g1:tempy2 - movz x17, :abs_g1:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-266.d b/ld/testsuite/ld-aarch64/emit-relocs-266.d deleted file mode 100644 index fde90902d7f..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-266.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-266.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2a00024 movz x4, #0x1, lsl #16 - +10008: R_AARCH64_MOVW_UABS_G1_NC tempy - +1000c: d2a00087 movz x7, #0x4, lsl #16 - +1000c: R_AARCH64_MOVW_UABS_G1_NC tempy2 - +10010: d2a00011 movz x17, #0x0, lsl #16 - +10010: R_AARCH64_MOVW_UABS_G1_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-266.s b/ld/testsuite/ld-aarch64/emit-relocs-266.s deleted file mode 100644 index 7c23e874c55..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-266.s +++ /dev/null @@ -1,10 +0,0 @@ -.comm gempy,4,4 -.text - - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g1_nc:tempy - movz x7, :abs_g1_nc:tempy2 - movz x17, :abs_g1_nc:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-267.d b/ld/testsuite/ld-aarch64/emit-relocs-267.d deleted file mode 100644 index 9cc495c97ac..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-267.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-267.s -#ld: -T relocs.ld --defsym tempy=0x63001000 --defsym tempy2=0x4500000000 --defsym tempy3=0x1234567812345 -e0 --emit-relocs -#error: .*truncated.*tempy3.* -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2c00004 movz x4, #0x0, lsl #32 - +10008: R_AARCH64_MOVW_UABS_G2 tempy - +1000c: d2c008a7 movz x7, #0x45, lsl #32 - +1000c: R_AARCH64_MOVW_UABS_G2 tempy2 - +10010: d2c468b1 movz x17, #0x2345, lsl #32 - +10010: R_AARCH64_MOVW_UABS_G2 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-267.s b/ld/testsuite/ld-aarch64/emit-relocs-267.s deleted file mode 100644 index 94a150ee7cb..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-267.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g2:tempy - movz x7, :abs_g2:tempy2 - movz x17, :abs_g2:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-268.d b/ld/testsuite/ld-aarch64/emit-relocs-268.d deleted file mode 100644 index 126548b681e..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-268.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-268.s -#ld: -T relocs.ld --defsym tempy=0x63001000 --defsym tempy2=0x4500000000 --defsym tempy3=0x1234567812345 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2c00004 movz x4, #0x0, lsl #32 - +10008: R_AARCH64_MOVW_UABS_G2_NC tempy - +1000c: d2c008a7 movz x7, #0x45, lsl #32 - +1000c: R_AARCH64_MOVW_UABS_G2_NC tempy2 - +10010: d2c468b1 movz x17, #0x2345, lsl #32 - +10010: R_AARCH64_MOVW_UABS_G2_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-268.s b/ld/testsuite/ld-aarch64/emit-relocs-268.s deleted file mode 100644 index 59280436d04..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-268.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g2_nc:tempy - movz x7, :abs_g2_nc:tempy2 - movz x17, :abs_g2_nc:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-269.d b/ld/testsuite/ld-aarch64/emit-relocs-269.d deleted file mode 100644 index a9115325bcd..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-269.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-269.s -#ld: -T relocs.ld --defsym tempy=0x6300100100100100 --defsym tempy2=0xf00df00df00df00d --defsym tempy3=0x1234567812345 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2ec6004 movz x4, #0x6300, lsl #48 - +10008: R_AARCH64_MOVW_UABS_G3 tempy - +1000c: d2fe01a7 movz x7, #0xf00d, lsl #48 - +1000c: R_AARCH64_MOVW_UABS_G3 tempy2 - +10010: d2e00031 movz x17, #0x1, lsl #48 - +10010: R_AARCH64_MOVW_UABS_G3 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-269.s b/ld/testsuite/ld-aarch64/emit-relocs-269.s deleted file mode 100644 index b0f11a0384e..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-269.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g3:tempy - movz x7, :abs_g3:tempy2 - movz x17, :abs_g3:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-270-bad.d b/ld/testsuite/ld-aarch64/emit-relocs-270-bad.d deleted file mode 100644 index a781a5ad64e..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-270-bad.d +++ /dev/null @@ -1,15 +0,0 @@ -#source: emit-relocs-270.s -#ld: -T relocs.ld --defsym tempy=0x10012 --defsym tempy2=0x45000 --defsym tempy3=-292 -e0 --emit-relocs -#error: .*truncated.*tempy[12].* -#objdump: -dr - -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2820244 movz x4, #0x1012 - +10008: R_AARCH64_MOVW_SABS_G0 tempy - +1000c: d288a007 movz x7, #0x4500 - +1000c: R_AARCH64_MOVW_SABS_G0 tempy2 - +10010: 92802471 movn x17, #0x123 - +10010: R_AARCH64_MOVW_SABS_G0 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-270.d b/ld/testsuite/ld-aarch64/emit-relocs-270.d deleted file mode 100644 index 6e68aec7c5e..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-270.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-270.s -#ld: -T relocs.ld --defsym tempy=0x1012 --defsym tempy2=0x4500 --defsym tempy3=-292 -e0 --emit-relocs -#objdump: -dr - -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2820244 movz x4, #0x1012 - +10008: R_AARCH64_MOVW_SABS_G0 tempy - +1000c: d288a007 movz x7, #0x4500 - +1000c: R_AARCH64_MOVW_SABS_G0 tempy2 - +10010: 92802471 movn x17, #0x123 - +10010: R_AARCH64_MOVW_SABS_G0 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-270.s b/ld/testsuite/ld-aarch64/emit-relocs-270.s deleted file mode 100644 index b508f883f6b..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-270.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g0_s:tempy - movz x7, :abs_g0_s:tempy2 - movz x17, :abs_g0_s:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-271.d b/ld/testsuite/ld-aarch64/emit-relocs-271.d deleted file mode 100644 index 5a230c753f2..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-271.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-271.s -#ld: -T relocs.ld --defsym tempy=0x1012 --defsym tempy2=0x674500 --defsym tempy3=-292 -e0 --emit-relocs -#objdump: -dr - -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2a00004 movz x4, #0x0, lsl #16 - +10008: R_AARCH64_MOVW_SABS_G1 tempy - +1000c: d2a00ce7 movz x7, #0x67, lsl #16 - +1000c: R_AARCH64_MOVW_SABS_G1 tempy2 - +10010: 92a00011 movn x17, #0x0, lsl #16 - +10010: R_AARCH64_MOVW_SABS_G1 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-271.s b/ld/testsuite/ld-aarch64/emit-relocs-271.s deleted file mode 100644 index bb14fbb54df..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-271.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g1_s:tempy - movz x7, :abs_g1_s:tempy2 - movz x17, :abs_g1_s:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-272.d b/ld/testsuite/ld-aarch64/emit-relocs-272.d deleted file mode 100644 index a02a52ee7f5..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-272.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-272.s -#ld: -T relocs.ld --defsym tempy=0x1012 --defsym tempy2=-12345678912345 --defsym tempy3=-292 -e0 --emit-relocs -#objdump: -dr - -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2c00004 movz x4, #0x0, lsl #32 - +10008: R_AARCH64_MOVW_SABS_G2 tempy - +1000c: 92c16747 movn x7, #0xb3a, lsl #32 - +1000c: R_AARCH64_MOVW_SABS_G2 tempy2 - +10010: 92c00011 movn x17, #0x0, lsl #32 - +10010: R_AARCH64_MOVW_SABS_G2 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-272.s b/ld/testsuite/ld-aarch64/emit-relocs-272.s deleted file mode 100644 index daa625a68ec..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-272.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :abs_g2_s:tempy - movz x7, :abs_g2_s:tempy2 - movz x17, :abs_g2_s:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-273.d b/ld/testsuite/ld-aarch64/emit-relocs-273.d deleted file mode 100644 index 13ed221f6c3..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-273.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-273.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: 58007fc4 ldr x4, 11000 - +10008: R_AARCH64_LD_PREL_LO19 tempy - +1000c: 581a7fa7 ldr x7, 45000 - +1000c: R_AARCH64_LD_PREL_LO19 tempy2 - +10010: 58f89131 ldr x17, 1234 - +10010: R_AARCH64_LD_PREL_LO19 tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-273.s b/ld/testsuite/ld-aarch64/emit-relocs-273.s deleted file mode 100644 index d1bad373150..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-273.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - ldr x4,tempy - ldr x7,tempy2 - ldr x17,tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-274.d b/ld/testsuite/ld-aarch64/emit-relocs-274.d deleted file mode 100644 index f38ecbd601a..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-274.d +++ /dev/null @@ -1,12 +0,0 @@ -#source: emit-relocs-274.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: 10007fc2 adr x2, .* - +10008: R_AARCH64_ADR_PREL_LO21 tempy - +1000c: 101a7fa7 adr x7, 45000 .* - +1000c: R_AARCH64_ADR_PREL_LO21 tempy2 - +10010: 10f89131 adr x17, .* - +10010: R_AARCH64_ADR_PREL_LO21 tempy3 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-274.s b/ld/testsuite/ld-aarch64/emit-relocs-274.s deleted file mode 100644 index 8668b7cead4..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-274.s +++ /dev/null @@ -1,5 +0,0 @@ - and x0,x0,x0 - and x0,x0,#1 - adr x2,tempy - adr x7,tempy2 - adr x17,tempy3 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-275.d b/ld/testsuite/ld-aarch64/emit-relocs-275.d deleted file mode 100644 index 94e61a79ec8..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-275.d +++ /dev/null @@ -1,15 +0,0 @@ -#source: emit-relocs-275.s -#ld: -T relocs.ld --defsym tempy=0x200011000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_ADR_PREL_PG_HI21 against symbol `tempy' -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: b0000002 adrp x2, .* - +10008: R_AARCH64_ADR_PREL_PG_HI21 tempy - +1000c: b00001a7 adrp x7, .* - +1000c: R_AARCH64_ADR_PREL_PG_HI21 tempy2 - +10010: b0ffff91 adrp x17, .* - +10010: R_AARCH64_ADR_PREL_PG_HI21 tempy3 - - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-275.s b/ld/testsuite/ld-aarch64/emit-relocs-275.s deleted file mode 100644 index 92a2935cccb..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-275.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - and x0,x0,x0 - and x0,x0,#1 - adrp x2,tempy - adrp x7,tempy2 - adrp x17,tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-276.d b/ld/testsuite/ld-aarch64/emit-relocs-276.d deleted file mode 100644 index f133253c73f..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-276.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-275.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: b0000002 adrp x2, 11000 - +10008: R_AARCH64_ADR_PREL_PG_HI21 tempy - +1000c: b00001a7 adrp x7, 45000 - +1000c: R_AARCH64_ADR_PREL_PG_HI21 tempy2 - +10010: b0ffff91 adrp x17, 1000 - +10010: R_AARCH64_ADR_PREL_PG_HI21 tempy3 - - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-276.s b/ld/testsuite/ld-aarch64/emit-relocs-276.s deleted file mode 100644 index 92a2935cccb..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-276.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - and x0,x0,x0 - and x0,x0,#1 - adrp x2,tempy - adrp x7,tempy2 - adrp x17,tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-277.d b/ld/testsuite/ld-aarch64/emit-relocs-277.d deleted file mode 100644 index 2145441c1e3..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-277.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-277.s -#ld: -T relocs.ld --defsym tempy=0x11018 --defsym tempy2=0x45038 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: 91006064 add x4, x3,.* - +10008: R_AARCH64_ADD_ABS_LO12_NC tempy - +1000c: 9100e067 add x7, x3,.* - +1000c: R_AARCH64_ADD_ABS_LO12_NC tempy2 - +10010: 9108d071 add x17, x3,.* - +10010: R_AARCH64_ADD_ABS_LO12_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-277.s b/ld/testsuite/ld-aarch64/emit-relocs-277.s deleted file mode 100644 index efb0bf0c8c6..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-277.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - add x4, x3, #:lo12:tempy - add x7, x3, #:lo12:tempy2 - add x17, x3, #:lo12:tempy3 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-278.d b/ld/testsuite/ld-aarch64/emit-relocs-278.d deleted file mode 100644 index 29a009566de..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-278.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-278.s -#ld: -T relocs.ld --defsym tempy=0x11018 --defsym tempy2=0x45038 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: 3d406064 ldr b4, \[x3,.* - +10008: R_AARCH64_LDST8_ABS_LO12_NC tempy - +1000c: 3d40e067 ldr b7, \[x3,.* - +1000c: R_AARCH64_LDST8_ABS_LO12_NC tempy2 - +10010: 3d48d071 ldr b17, \[x3,.* - +10010: R_AARCH64_LDST8_ABS_LO12_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-278.s b/ld/testsuite/ld-aarch64/emit-relocs-278.s deleted file mode 100644 index 2f7f321a48f..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-278.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - ldr b4, [x3, #:lo12:tempy] - ldr b7, [x3, #:lo12:tempy2] - ldr b17, [x3, #:lo12:tempy3] diff --git a/ld/testsuite/ld-aarch64/emit-relocs-279-bad.d b/ld/testsuite/ld-aarch64/emit-relocs-279-bad.d deleted file mode 100644 index 02b5ff609e5..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-279-bad.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-279.s -#ld: -T relocs.ld --defsym target=0xc000 --defsym target2=0x45678 -e0 --emit-relocs -#error: .*truncated.*target2.* -#objdump: -dr -#... - +10000: 8a000000 and .* - +10004: 8a000000 and .* - +10008: 8a000000 and .* - +1000c: 8a000000 and .* - +10010: 17ffeffc b c000 - +10010: R_AARCH64_TSTBR14 target - +10014: 17ffefff b c010 - +10014: R_AARCH64_TSTBR14 target\+0x10 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-279.d b/ld/testsuite/ld-aarch64/emit-relocs-279.d deleted file mode 100644 index 6980f81497f..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-279.d +++ /dev/null @@ -1,17 +0,0 @@ -#source: emit-relocs-279.s -#ld: -T relocs.ld --defsym target=0xc000 --defsym target2=0x12340 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and .* - +10004: 8a000000 and .* - +10008: 8a000000 and .* - +1000c: 8a000000 and .* - +10010: 363dff84 tbz w4, #7, c000 - +10010: R_AARCH64_TSTBR14 target - +10014: b745ffe7 tbnz x7, #40, c010 - +10014: R_AARCH64_TSTBR14 target\+0x10 - +10018: 3619194c tbz w12, #3, 12340 - +10018: R_AARCH64_TSTBR14 target2 - +1001c: b7c118d1 tbnz x17, #56, 12334 - +10010: R_AARCH64_CONDBR19 target - +10014: 54fdffe0 b.eq c010 - +10014: R_AARCH64_CONDBR19 target\+0x10 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-280.s b/ld/testsuite/ld-aarch64/emit-relocs-280.s deleted file mode 100644 index 8f5ec348cae..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-280.s +++ /dev/null @@ -1,6 +0,0 @@ - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - beq target - beq target+16 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-282.d b/ld/testsuite/ld-aarch64/emit-relocs-282.d deleted file mode 100644 index fc5764b47db..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-282.d +++ /dev/null @@ -1,12 +0,0 @@ -#source: emit-relocs-282.s -#ld: -T relocs.ld --defsym target=0xc000 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and .* - +10004: 8a000000 and .* - +10008: 8a000000 and .* - +1000c: 8a000000 and .* - +10010: 17ffeffc b c000 - +10010: R_AARCH64_JUMP26 target - +10014: 17ffefff b c010 - +10014: R_AARCH64_JUMP26 target\+0x10 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-282.s b/ld/testsuite/ld-aarch64/emit-relocs-282.s deleted file mode 100644 index b249b6bcace..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-282.s +++ /dev/null @@ -1,6 +0,0 @@ - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - b target - b target+16 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-283.d b/ld/testsuite/ld-aarch64/emit-relocs-283.d deleted file mode 100644 index 708fc7cbd91..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-283.d +++ /dev/null @@ -1,12 +0,0 @@ -#source: emit-relocs-283.s -#ld: -T relocs.ld --defsym target=0xc000 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and .* - +10004: 8a000000 and .* - +10008: 8a000000 and .* - +1000c: 8a000000 and .* - +10010: 97ffeffc bl c000 - +10010: R_AARCH64_CALL26 target - +10014: 97ffefff bl c010 - +10014: R_AARCH64_CALL26 target\+0x10 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-283.s b/ld/testsuite/ld-aarch64/emit-relocs-283.s deleted file mode 100644 index 9c9f509b186..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-283.s +++ /dev/null @@ -1,6 +0,0 @@ - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - bl target - bl target+16 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-284.d b/ld/testsuite/ld-aarch64/emit-relocs-284.d deleted file mode 100644 index 5cb6dace3cf..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-284.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-284.s -#ld: -T relocs.ld --defsym tempy=0x11018 --defsym tempy2=0x45038 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: 7d403064 ldr h4, \[x3,.* - +10008: R_AARCH64_LDST16_ABS_LO12_NC tempy - +1000c: 7d407067 ldr h7, \[x3,.* - +1000c: R_AARCH64_LDST16_ABS_LO12_NC tempy2 - +10010: 7d446871 ldr h17, \[x3,.* - +10010: R_AARCH64_LDST16_ABS_LO12_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-284.s b/ld/testsuite/ld-aarch64/emit-relocs-284.s deleted file mode 100644 index ffd213b4019..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-284.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - ldr h4, [x3, #:lo12:tempy] - ldr h7, [x3, #:lo12:tempy2] - ldr h17, [x3, #:lo12:tempy3] diff --git a/ld/testsuite/ld-aarch64/emit-relocs-285.d b/ld/testsuite/ld-aarch64/emit-relocs-285.d deleted file mode 100644 index 8bf82706c8d..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-285.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-285.s -#ld: -T relocs.ld --defsym tempy=0x11018 --defsym tempy2=0x45038 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: b9401864 ldr w4, \[x3,.* - +10008: R_AARCH64_LDST32_ABS_LO12_NC tempy - +1000c: b9403867 ldr w7, \[x3,.* - +1000c: R_AARCH64_LDST32_ABS_LO12_NC tempy2 - +10010: b9423471 ldr w17, \[x3,.* - +10010: R_AARCH64_LDST32_ABS_LO12_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-285.s b/ld/testsuite/ld-aarch64/emit-relocs-285.s deleted file mode 100644 index 245f8be9b3e..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-285.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - ldr w4, [x3, #:lo12:tempy] - ldr w7, [x3, #:lo12:tempy2] - ldr w17, [x3, #:lo12:tempy3] diff --git a/ld/testsuite/ld-aarch64/emit-relocs-286-bad.d b/ld/testsuite/ld-aarch64/emit-relocs-286-bad.d deleted file mode 100644 index 50cd605258c..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-286-bad.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-286.s -#ld: -T relocs.ld --defsym tempy=0x11018 --defsym tempy2=0x45038 --defsym tempy3=0x1234 -e0 --emit-relocs -#error: .*truncated.*tempy3.* -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: f9400c64 ldr x4, \[x3,.* - +10008: R_AARCH64_LDST64_ABS_LO12_NC tempy - +1000c: f9401c67 ldr x7, \[x3,.* - +1000c: R_AARCH64_LDST64_ABS_LO12_NC tempy2 - +10010: f9411871 ldr x17, \[x3,.* - +10010: R_AARCH64_LDST64_ABS_LO12_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-286.d b/ld/testsuite/ld-aarch64/emit-relocs-286.d deleted file mode 100644 index 851fa7bb044..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-286.d +++ /dev/null @@ -1,13 +0,0 @@ -#source: emit-relocs-286.s -#ld: -T relocs.ld --defsym tempy=0x11018 --defsym tempy2=0x45038 --defsym tempy3=0x1230 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: f9400c64 ldr x4, \[x3,.* - +10008: R_AARCH64_LDST64_ABS_LO12_NC tempy - +1000c: f9401c67 ldr x7, \[x3,.* - +1000c: R_AARCH64_LDST64_ABS_LO12_NC tempy2 - +10010: f9411871 ldr x17, \[x3,.* - +10010: R_AARCH64_LDST64_ABS_LO12_NC tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-286.s b/ld/testsuite/ld-aarch64/emit-relocs-286.s deleted file mode 100644 index 78b508f466a..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-286.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - ldr x4, [x3, #:lo12:tempy] - ldr x7, [x3, #:lo12:tempy2] - ldr x17, [x3, #:lo12:tempy3] diff --git a/ld/testsuite/ld-aarch64/emit-relocs-287.d b/ld/testsuite/ld-aarch64/emit-relocs-287.d deleted file mode 100644 index 4d5fd43d18c..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-287.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-287.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 --defsym _GOT_=0x10000 -e0 --emit-relocs -#objdump: -dr - -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: d2820004 movz x4, #0x1000 - +10008: R_AARCH64_MOVW_PREL_G0 _GOT_ - +1000c: d28a0007 movz x7, #0x5000 - +1000c: R_AARCH64_MOVW_PREL_G0 _GOT_ - +10010: d2824691 movz x17, #0x1234 - +10010: R_AARCH64_MOVW_PREL_G0 _GOT_ - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-287.s b/ld/testsuite/ld-aarch64/emit-relocs-287.s deleted file mode 100644 index ae9476ff8ab..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-287.s +++ /dev/null @@ -1,9 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - movz x4, :prel_g0:tempy - movz x7, :prel_g0:tempy2 - movz x17, :prel_g0:tempy3 - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-299.d b/ld/testsuite/ld-aarch64/emit-relocs-299.d deleted file mode 100644 index d24b4420a7b..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-299.d +++ /dev/null @@ -1,12 +0,0 @@ -#source: emit-relocs-299.s -#ld: -T relocs.ld --defsym tempy=0x11030 --defsym tempy2=0x45fa0 --defsym tempy3=0x1230 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: 3dc00c64 ldr q4, \[x3,.* - +10008: R_AARCH64_LDST128_ABS_LO12_NC tempy - +1000c: 3dc3e867 ldr q7, \[x3,.* - +1000c: R_AARCH64_LDST128_ABS_LO12_NC tempy2 - +10010: 3dc08c71 ldr q17, \[x3,.* - +10010: R_AARCH64_LDST128_ABS_LO12_NC tempy3 diff --git a/ld/testsuite/ld-aarch64/emit-relocs-299.s b/ld/testsuite/ld-aarch64/emit-relocs-299.s deleted file mode 100644 index b1fe6cfbf3b..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-299.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - ldr q4, [x3, #:lo12:tempy] - ldr q7, [x3, #:lo12:tempy2] - ldr q17, [x3, #:lo12:tempy3] diff --git a/ld/testsuite/ld-aarch64/emit-relocs-311.d b/ld/testsuite/ld-aarch64/emit-relocs-311.d deleted file mode 100644 index 5f1b47f3f33..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-311.d +++ /dev/null @@ -1,14 +0,0 @@ -#source: emit-relocs-311.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: b0000002 adrp x2, 11000 - +10008: R_AARCH64_ADR_PREL_PG_HI21 tempy - +1000c: b00001a7 adrp x7, 45000 - +1000c: R_AARCH64_ADR_PREL_PG_HI21 tempy2 - +10010: b0ffff91 adrp x17, 1000 - +10010: R_AARCH64_ADR_PREL_PG_HI21 tempy3 - +10014: 90000083 adrp x3, 20000 - +10014: R_AARCH64_ADR_GOT_PAGE gempy diff --git a/ld/testsuite/ld-aarch64/emit-relocs-311.s b/ld/testsuite/ld-aarch64/emit-relocs-311.s deleted file mode 100644 index 182f0d45536..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-311.s +++ /dev/null @@ -1,8 +0,0 @@ -.comm gempy,4,4 -.text - and x0,x0,x0 - and x0,x0,#1 - adrp x2,tempy - adrp x7,tempy2 - adrp x17,tempy3 - adrp x3,:got:gempy diff --git a/ld/testsuite/ld-aarch64/emit-relocs-312.d b/ld/testsuite/ld-aarch64/emit-relocs-312.d deleted file mode 100644 index 8d50d8d6699..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-312.d +++ /dev/null @@ -1,19 +0,0 @@ -#source: emit-relocs-312.s -#ld: -T relocs.ld --defsym tempy=0x11000 --defsym tempy2=0x45000 --defsym tempy3=0x1234 -e0 --emit-relocs -#objdump: -dr -#... - +10000: 8a000000 and x0, x0, x0 - +10004: 92400000 and x0, x0, #0x1 - +10008: 58007fc4 ldr x4, 11000 - +10008: R_AARCH64_LD_PREL_LO19 tempy - +1000c: 581a7fa7 ldr x7, 45000 - +1000c: R_AARCH64_LD_PREL_LO19 tempy2 - +10010: 58f89131 ldr x17, 1234 - +10010: R_AARCH64_LD_PREL_LO19 tempy3 - +10014: f9400843 ldr x3, \[x2.* - +10014: R_AARCH64_LD64_GOT_LO12_NC jempy - +10018: f9400444 ldr x4, \[x2.* - +10018: R_AARCH64_LD64_GOT_LO12_NC gempy - +1001c: f9400045 ldr x5, \[x2.* - +1001c: R_AARCH64_LD64_GOT_LO12_NC lempy - diff --git a/ld/testsuite/ld-aarch64/emit-relocs-312.s b/ld/testsuite/ld-aarch64/emit-relocs-312.s deleted file mode 100644 index 29494eef152..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs-312.s +++ /dev/null @@ -1,13 +0,0 @@ -.comm gempy,4 -.comm jempy,4 -.comm lempy,4 -.text - - and x0,x0,x0 - and x0,x0,#0x1 - ldr x4,tempy - ldr x7,tempy2 - ldr x17,tempy3 - ldr x3, [x2, #:got_lo12:jempy] - ldr x4, [x2, #:got_lo12:gempy] - ldr x5, [x2, #:got_lo12:lempy] diff --git a/ld/testsuite/ld-aarch64/emit-relocs1.s b/ld/testsuite/ld-aarch64/emit-relocs1.s deleted file mode 100644 index b249b6bcace..00000000000 --- a/ld/testsuite/ld-aarch64/emit-relocs1.s +++ /dev/null @@ -1,6 +0,0 @@ - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - and x0,x0,x0 - b target - b target+16 diff --git a/ld/testsuite/ld-aarch64/farcall-b-none-function.d b/ld/testsuite/ld-aarch64/farcall-b-none-function.d deleted file mode 100644 index 34a6568dfb1..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-b-none-function.d +++ /dev/null @@ -1,5 +0,0 @@ -#name: aarch64-farcall-b-none-function -#source: farcall-b-none-function.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x8001000 -#error: .*\(.text\+0x0\): relocation truncated to fit: R_AARCH64_JUMP26 against symbol `bar'.* diff --git a/ld/testsuite/ld-aarch64/farcall-b-none-function.s b/ld/testsuite/ld-aarch64/farcall-b-none-function.s deleted file mode 100644 index 5e5bc8d9723..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-b-none-function.s +++ /dev/null @@ -1,16 +0,0 @@ - .global _start - .global bar - -# We will place the section .text at 0x1000. - - .text - -_start: - b bar - ret - -# We will place the section .foo at 0x8001000. - - .section .foo, "xa" -bar: - ret diff --git a/ld/testsuite/ld-aarch64/farcall-b.d b/ld/testsuite/ld-aarch64/farcall-b.d deleted file mode 100644 index f3cb5efd927..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-b.d +++ /dev/null @@ -1,22 +0,0 @@ -#name: aarch64-farcall-b -#source: farcall-b.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x8001000 -#objdump: -dr -#... - -Disassembly of section .text: - -0000000000001000 <_start>: - +1000: 14000002 b 1008 <__bar_veneer> - +1004: d65f03c0 ret -0000000000001008 <__bar_veneer>: - 1008: 90040010 adrp x16, 8001000 - 100c: 91000210 add x16, x16, #0x0 - 1010: d61f0200 br x16 - ... - -Disassembly of section .foo: - -0000000008001000 : - 8001000: d65f03c0 ret diff --git a/ld/testsuite/ld-aarch64/farcall-b.s b/ld/testsuite/ld-aarch64/farcall-b.s deleted file mode 100644 index 8ab3103a7f5..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-b.s +++ /dev/null @@ -1,17 +0,0 @@ - .global _start - .global bar - -# We will place the section .text at 0x1000. - - .text - -_start: - b bar - ret - -# We will place the section .foo at 0x8001000. - - .section .foo, "xa" - .type bar, @function -bar: - ret diff --git a/ld/testsuite/ld-aarch64/farcall-back.d b/ld/testsuite/ld-aarch64/farcall-back.d deleted file mode 100644 index 9ff43b3f55d..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-back.d +++ /dev/null @@ -1,72 +0,0 @@ -#name: aarch64-farcall-back -#source: farcall-back.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x100000000 -#notarget: aarch64_be-*-* -#objdump: -dr -#... - -Disassembly of section .text: - -0000000000001000 <_start>: - 1000: 14000412 b 2048 <__bar1_veneer> - 1004: 94000411 bl 2048 <__bar1_veneer> - 1008: 14000406 b 2020 <__bar2_veneer> - 100c: 94000405 bl 2020 <__bar2_veneer> - 1010: 14000408 b 2030 <__bar3_veneer> - 1014: 94000407 bl 2030 <__bar3_veneer> - 1018: d65f03c0 ret - ... - -000000000000201c <_back>: - 201c: d65f03c0 ret - -0000000000002020 <__bar2_veneer>: - 2020: f07ffff0 adrp x16, 100001000 - 2024: 91002210 add x16, x16, #0x8 - 2028: d61f0200 br x16 - 202c: 00000000 .inst 0x00000000 ; undefined - -0000000000002030 <__bar3_veneer>: - 2030: 58000090 ldr x16, 2040 <__bar3_veneer\+0x10> - 2034: 10000011 adr x17, 2034 <__bar3_veneer\+0x4> - 2038: 8b110210 add x16, x16, x17 - 203c: d61f0200 br x16 - 2040: ffffffdc .word 0xffffffdc - 2044: 00000000 .word 0x00000000 - -0000000000002048 <__bar1_veneer>: - 2048: d07ffff0 adrp x16, 100000000 - 204c: 91000210 add x16, x16, #0x0 - 2050: d61f0200 br x16 - ... - -Disassembly of section .foo: - -0000000100000000 : - 100000000: d65f03c0 ret - 100000004: 14000805 b 100002018 <___start_veneer> - ... - -0000000100001008 : - 100001008: d65f03c0 ret - 10000100c: 14000403 b 100002018 <___start_veneer> - ... - -0000000100002010 : - 100002010: d65f03c0 ret - 100002014: 14000007 b 100002030 <___back_veneer> - -0000000100002018 <___start_veneer>: - 100002018: 58000090 ldr x16, 100002028 <___start_veneer\+0x10> - 10000201c: 10000011 adr x17, 10000201c <___start_veneer\+0x4> - 100002020: 8b110210 add x16, x16, x17 - 100002024: d61f0200 br x16 - 100002028: ffffefe4 .word 0xffffefe4 - 10000202c: fffffffe .word 0xfffffffe - -0000000100002030 <___back_veneer>: - 100002030: 90800010 adrp x16, 2000 <_start\+0x1000> - 100002034: 91007210 add x16, x16, #0x1c - 100002038: d61f0200 br x16 - ... diff --git a/ld/testsuite/ld-aarch64/farcall-back.s b/ld/testsuite/ld-aarch64/farcall-back.s deleted file mode 100644 index d0a3bd560fe..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-back.s +++ /dev/null @@ -1,42 +0,0 @@ - .global _start - .global _back - .global bar1 - .global bar2 - .global bar3 - -# We will place the section .text at 0x1000. - - .text - - .type _start, @function -_start: - b bar1 - bl bar1 - b bar2 - bl bar2 - b bar3 - bl bar3 - ret - .space 0x1000 - .type _back, @function -_back: ret - -# We will place the section .foo at 0x8001000. - - .section .foo, "xa" - .type bar1, @function -bar1: - ret - b _start - - .space 0x1000 - .type bar2, @function -bar2: - ret - b _start - - .space 0x1000 - .type bar3, @function -bar3: - ret - b _back diff --git a/ld/testsuite/ld-aarch64/farcall-bl-none-function.d b/ld/testsuite/ld-aarch64/farcall-bl-none-function.d deleted file mode 100644 index 6ce9ca45b29..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-bl-none-function.d +++ /dev/null @@ -1,5 +0,0 @@ -#name: aarch64-farcall-bl-none-function -#source: farcall-bl-none-function.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x8001000 -#error: .*\(.text\+0x0\): relocation truncated to fit: R_AARCH64_CALL26 against symbol `bar'.* diff --git a/ld/testsuite/ld-aarch64/farcall-bl-none-function.s b/ld/testsuite/ld-aarch64/farcall-bl-none-function.s deleted file mode 100644 index 89aa85af9a6..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-bl-none-function.s +++ /dev/null @@ -1,16 +0,0 @@ - .global _start - .global bar - -# We will place the section .text at 0x1000. - - .text - -_start: - bl bar - ret - -# We will place the section .foo at 0x8001000. - - .section .foo, "xa" -bar: - ret diff --git a/ld/testsuite/ld-aarch64/farcall-bl.d b/ld/testsuite/ld-aarch64/farcall-bl.d deleted file mode 100644 index 2bdd2c4d363..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-bl.d +++ /dev/null @@ -1,23 +0,0 @@ -#name: aarch64-farcall-bl -#source: farcall-bl.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x8001000 -#objdump: -dr -#... - -Disassembly of section .text: - -0000000000001000 <_start>: - +1000: 94000002 bl 1008 <__bar_veneer> - +1004: d65f03c0 ret - -0000000000001008 <__bar_veneer>: - 1008: 90040010 adrp x16, 8001000 - 100c: 91000210 add x16, x16, #0x0 - 1010: d61f0200 br x16 - ... - -Disassembly of section .foo: - -0000000008001000 : - 8001000: d65f03c0 ret diff --git a/ld/testsuite/ld-aarch64/farcall-bl.s b/ld/testsuite/ld-aarch64/farcall-bl.s deleted file mode 100644 index 432b120e856..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-bl.s +++ /dev/null @@ -1,17 +0,0 @@ - .global _start - .global bar - -# We will place the section .text at 0x1000. - - .text - -_start: - bl bar - ret - -# We will place the section .foo at 0x8001000. - - .section .foo, "xa" - .type bar, @function -bar: - ret diff --git a/ld/testsuite/ld-aarch64/farcall-section.d b/ld/testsuite/ld-aarch64/farcall-section.d deleted file mode 100644 index 85775e1a655..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-section.d +++ /dev/null @@ -1,5 +0,0 @@ -#name: Aarch64 farcall to symbol of type STT_SECTION -#source: farcall-section.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x8001014 -#error: .*\(.text\+0x0\): relocation truncated to fit: R_AARCH64_CALL26 against `.foo' diff --git a/ld/testsuite/ld-aarch64/farcall-section.s b/ld/testsuite/ld-aarch64/farcall-section.s deleted file mode 100644 index 86a070c7c27..00000000000 --- a/ld/testsuite/ld-aarch64/farcall-section.s +++ /dev/null @@ -1,19 +0,0 @@ -# Test to ensure that an Aarch64 call exceeding 128MB generates an error -# if the destination is of type STT_SECTION (eg non-global symbol) - - .global _start - -# We will place the section .text at 0x1000. - - .text - -_start: - bl bar - -# We will place the section .foo at 0x8001020. - - .section .foo, "xa" - -bar: - ret - diff --git a/ld/testsuite/ld-aarch64/limit-b.d b/ld/testsuite/ld-aarch64/limit-b.d deleted file mode 100644 index 95d4c8fd622..00000000000 --- a/ld/testsuite/ld-aarch64/limit-b.d +++ /dev/null @@ -1,17 +0,0 @@ -#name: aarch64-limit-b -#source: limit-b.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x8000ffc -#objdump: -dr -#... - -Disassembly of section .text: - -0000000000001000 <_start>: - 1000: 15ffffff b 8000ffc - 1004: d65f03c0 ret - -Disassembly of section .foo: - -0000000008000ffc : - 8000ffc: d65f03c0 ret diff --git a/ld/testsuite/ld-aarch64/limit-b.s b/ld/testsuite/ld-aarch64/limit-b.s deleted file mode 100644 index 2b9f4323bd7..00000000000 --- a/ld/testsuite/ld-aarch64/limit-b.s +++ /dev/null @@ -1,19 +0,0 @@ -# Test maximum encoding range of b - - .global _start - .global bar - -# We will place the section .text at 0x1000. - - .text - -_start: - b bar - ret - -# We will place the section .foo at 0x8000ffc - - .section .foo, "xa" - .type bar, @function -bar: - ret diff --git a/ld/testsuite/ld-aarch64/limit-bl.d b/ld/testsuite/ld-aarch64/limit-bl.d deleted file mode 100644 index 2eddeb7edf9..00000000000 --- a/ld/testsuite/ld-aarch64/limit-bl.d +++ /dev/null @@ -1,17 +0,0 @@ -#name: aarch64-limit-bl -#source: limit-bl.s -#as: -#ld: -Ttext 0x1000 --section-start .foo=0x8000ffc -#objdump: -dr -#... - -Disassembly of section .text: - -0000000000001000 <_start>: - 1000: 95ffffff bl 8000ffc - 1004: d65f03c0 ret - -Disassembly of section .foo: - -0000000008000ffc : - 8000ffc: d65f03c0 ret diff --git a/ld/testsuite/ld-aarch64/limit-bl.s b/ld/testsuite/ld-aarch64/limit-bl.s deleted file mode 100644 index 72f47a559b6..00000000000 --- a/ld/testsuite/ld-aarch64/limit-bl.s +++ /dev/null @@ -1,19 +0,0 @@ -# Test maximum encoding range of bl - - .global _start - .global bar - -# We will place the section .text at 0x1000. - - .text - -_start: - bl bar - ret - -# We will place the section .foo at 0x8000ffc - - .section .foo, "xa" - .type bar, @function -bar: - ret diff --git a/ld/testsuite/ld-aarch64/relocs.ld b/ld/testsuite/ld-aarch64/relocs.ld deleted file mode 100644 index f42176e64d3..00000000000 --- a/ld/testsuite/ld-aarch64/relocs.ld +++ /dev/null @@ -1,19 +0,0 @@ -/* Script for ld testsuite */ -OUTPUT_ARCH(aarch64) -ENTRY(_start) -SECTIONS -{ - /* Read-only sections, merged into text segment: */ - PROVIDE (__executable_start = 0x8000); . = 0x10000; - .text : - { - *(.before) - *(.text) - *(.after) - } =0 - . = 0x20000; - .got : { *(.got) *(.got.plt)} - . = 0x12340000; - .far : { *(.far) } - .ARM.attributes 0 : { *(.ARM.atttributes) } -} diff --git a/ld/testsuite/ld-aarch64/tls-desc-ie.d b/ld/testsuite/ld-aarch64/tls-desc-ie.d deleted file mode 100644 index 712e39cf219..00000000000 --- a/ld/testsuite/ld-aarch64/tls-desc-ie.d +++ /dev/null @@ -1,36 +0,0 @@ -#source: tls-desc-ie.s -#ld: -shared -T relocs.ld -e0 -#objdump: -dr -#... - +10000: 90000080 adrp x0, 20000 <_GLOBAL_OFFSET_TABLE_> - +10004: 91002000 add x0, x0, #0x8 - +10008: 94000016 bl 10060 - +1000c: d503201f nop - +10010: 90000080 adrp x0, 20000 <_GLOBAL_OFFSET_TABLE_> - +10014: f9400000 ldr x0, \[x0\] - +10018: d503201f nop - +1001c: d503201f nop - +10020: d53bd041 mrs x1, tpidr_el0 - +10024: 8b000020 add x0, x1, x0 - +10028: d53bd042 mrs x2, tpidr_el0 - +1002c: 90000080 adrp x0, 20000 <_GLOBAL_OFFSET_TABLE_> - +10030: f9400000 ldr x0, \[x0\] - +10034: 8b000040 add x0, x2, x0 - +10038: b9400000 ldr w0, \[x0\] - +1003c: 0b000020 add w0, w1, w0 - -Disassembly of section .plt: - -0000000000010040 <.plt>: - +10040: a9bf7bf0 stp x16, x30, \[sp,#-16\]! - +10044: 90000090 adrp x16, 20000 <_GLOBAL_OFFSET_TABLE_> - +10048: f9401611 ldr x17, \[x16,#40\] - +1004c: 9100a210 add x16, x16, #0x28 - +10050: d61f0220 br x17 - +10054: d503201f nop - +10058: d503201f nop - +1005c: d503201f nop - +10060: 90000090 adrp x16, 20000 <_GLOBAL_OFFSET_TABLE_> - +10064: f9401a11 ldr x17, \[x16,#48\] - +10068: 9100c210 add x16, x16, #0x30 - +1006c: d61f0220 br x17 diff --git a/ld/testsuite/ld-aarch64/tls-desc-ie.s b/ld/testsuite/ld-aarch64/tls-desc-ie.s deleted file mode 100644 index 93fd71c09c6..00000000000 --- a/ld/testsuite/ld-aarch64/tls-desc-ie.s +++ /dev/null @@ -1,32 +0,0 @@ - .global v1 - .global v2 - .section .tdata,"awT",%progbits -v1: - .word 1 - - .text - -# This GD access does not relax. It consumes a double GOT slot. - - adrp x0, :tlsgd:v2 - add x0, x0, :tlsgd_lo12:v2 - bl __tls_get_addr - nop - -# Test the combination of a TLSDESC-GD and IE access to the same -# symbol. We expect the TLSDESC-GD to relax to IE. - - adrp x0, :tlsdesc:v1 - ldr x1, [x0, #:tlsdesc_lo12:v1] - add x0, x0, :tlsdesc_lo12:v1 - .tlsdesccall v1 - blr x1 - mrs x1, tpidr_el0 - add x0, x1, x0 - - mrs x2, tpidr_el0 - adrp x0, :gottprel:v1 - ldr x0, [x0, #:gottprel_lo12:v1] - add x0, x2, x0 - ldr w0, [x0] - add w0, w1, w0 diff --git a/ld/testsuite/ld-aarch64/tls-relax-all.d b/ld/testsuite/ld-aarch64/tls-relax-all.d deleted file mode 100644 index d3db04df158..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-all.d +++ /dev/null @@ -1,39 +0,0 @@ -#source: tls-relax-all.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: a9bf7bfd stp x29, x30, \[sp,#-16\]! - +10004: 910003fd mov x29, sp - +10008: 90000080 adrp x0, 20000 - +1000c: f9400000 ldr x0, \[x0\] - +10010: d503201f nop - +10014: d503201f nop - +10018: d53bd041 mrs x1, tpidr_el0 - +1001c: 8b000020 add x0, x1, x0 - +10020: b9400001 ldr w1, \[x0\] - +10024: d2a00000 movz x0, #0x0, lsl #16 - +10028: f2800280 movk x0, #0x14 - +1002c: d503201f nop - +10030: d503201f nop - +10034: d53bd042 mrs x2, tpidr_el0 - +10038: 8b000040 add x0, x2, x0 - +1003c: b9400000 ldr w0, \[x0\] - +10040: 0b000021 add w1, w1, w0 - +10044: 90000080 adrp x0, 20000 - +10048: f9400400 ldr x0, \[x0,#8\] - +1004c: d53bd041 mrs x1, tpidr_el0 - +10050: 8b000020 add x0, x1, x0 - +10054: b9400000 ldr w0, \[x0\] - +10058: 0b000021 add w1, w1, w0 - +1005c: d2a00000 movz x0, #0x0, lsl #16 - +10060: f2800380 movk x0, #0x1c - +10064: d53bd041 mrs x1, tpidr_el0 - +10068: 8b000020 add x0, x1, x0 - +1006c: b9400000 ldr w0, \[x0\] - +10070: 0b000021 add w1, w1, w0 - +10074: d53bd042 mrs x2, tpidr_el0 - +10078: d2a00000 movz x0, #0x0, lsl #16 - +1007c: f2800400 movk x0, #0x20 - +10080: 8b000040 add x0, x2, x0 - +10084: b9400000 ldr w0, \[x0\] - +10088: 0b000020 add w0, w1, w0 diff --git a/ld/testsuite/ld-aarch64/tls-relax-all.s b/ld/testsuite/ld-aarch64/tls-relax-all.s deleted file mode 100644 index 1bef53ddab4..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-all.s +++ /dev/null @@ -1,51 +0,0 @@ - .global gdesc_var_1 - .global gd_var_1 - .section .tdata,"awT",%progbits -gdesc_var_1: - .word 1 -gdesc_var_2: - .word 2 -gd_var_1: - .word 3 -gd_var_2: - .word 4 -ie_var: - .word 5 - .text - stp x29, x30, [sp, -16]! - add x29, sp, 0 - adrp x0, :tlsdesc:gdesc_var_1 - ldr x1, [x0, #:tlsdesc_lo12:gdesc_var_1] - add x0, x0, :tlsdesc_lo12:gdesc_var_1 - .tlsdesccall gdesc_var_1 - blr x1 - mrs x1, tpidr_el0 - add x0, x1, x0 - ldr w1, [x0] - adrp x0, :tlsdesc:gdesc_var_2 - ldr x2, [x0, #:tlsdesc_lo12:gdesc_var_2] - add x0, x0, :tlsdesc_lo12:gdesc_var_2 - .tlsdesccall gdesc_var_2 - blr x2 - mrs x2, tpidr_el0 - add x0, x2, x0 - ldr w0, [x0] - add w1, w1, w0 - adrp x0, :tlsgd:gd_var_1 - add x0, x0, :tlsgd_lo12:gd_var_1 - bl __tls_get_addr - nop - ldr w0, [x0] - add w1, w1, w0 - adrp x0, :tlsgd:gd_var_2 - add x0, x0, :tlsgd_lo12:gd_var_2 - bl __tls_get_addr - nop - ldr w0, [x0] - add w1, w1, w0 - mrs x2, tpidr_el0 - adrp x0, :gottprel:ie_var - ldr x0, [x0, #:gottprel_lo12:ie_var] - add x0, x2, x0 - ldr w0, [x0] - add w0, w1, w0 diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d deleted file mode 100644 index a142f546362..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: tls-relax-gd-ie.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: 90000080 adrp x0, 20000 - +10004: f9400000 ldr x0, \[x0\] - +10008: d53bd041 mrs x1, tpidr_el0 - +1000c: 8b000020 add x0, x1, x0 - +10010: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.s b/ld/testsuite/ld-aarch64/tls-relax-gd-ie.s deleted file mode 100644 index 88c7eec73e4..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gd-ie.s +++ /dev/null @@ -1,10 +0,0 @@ - .global var - .section .tdata,"awT",%progbits -var: - .word 2 - .text - adrp x0, :tlsgd:var - add x0, x0, :tlsgd_lo12:var - bl __tls_get_addr - nop - ldr w0, [x0] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-le.d b/ld/testsuite/ld-aarch64/tls-relax-gd-le.d deleted file mode 100644 index b5ee39cef7f..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gd-le.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: tls-relax-gd-le.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: d2a00000 movz x0, #0x0, lsl #16 - +10004: f2800200 movk x0, #0x10 - +10008: d53bd041 mrs x1, tpidr_el0 - +1000c: 8b000020 add x0, x1, x0 - +10010: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-le.s b/ld/testsuite/ld-aarch64/tls-relax-gd-le.s deleted file mode 100644 index eb6fc2f962f..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gd-le.s +++ /dev/null @@ -1,9 +0,0 @@ - .section .tdata -var: - .word 2 - .text - adrp x0, :tlsgd:var - add x0, x0, :tlsgd_lo12:var - bl __tls_get_addr - nop - ldr w0, [x0] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d deleted file mode 100644 index f3307ae5731..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d +++ /dev/null @@ -1,18 +0,0 @@ -#source: tls-relax-gdesc-ie-2.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: 90000080 adrp x0, 20000 - +10004: d503201f nop - +10008: f9400000 ldr x0, \[x0\] - +1000c: d503201f nop - +10010: d503201f nop - +10014: d503201f nop - +10018: d503201f nop - +1001c: d503201f nop - +10020: d503201f nop - +10024: d503201f nop - +10028: d503201f nop - +1002c: d53bd041 mrs x1, tpidr_el0 - +10030: 8b000020 add x0, x1, x0 - +10034: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.s b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.s deleted file mode 100644 index 790b6c6eb8b..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie-2.s +++ /dev/null @@ -1,24 +0,0 @@ -// Test TLS Desc to TLS IE relaxation when instructions are not consecutive. - - .global var - .section .tdata -var: - .word 2 - .text - adrp x0, :tlsdesc:var - nop - ldr x1, [x0, #:tlsdesc_lo12:var] - nop - nop - nop - add x0, x0, :tlsdesc_lo12:var - nop - nop - .tlsdesccall var - blr x1 - nop - mrs x1, tpidr_el0 - add x0, x1, x0 - ldr w0, [x0] - .global var - .section .tdata diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d deleted file mode 100644 index 691df06bc90..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.d +++ /dev/null @@ -1,11 +0,0 @@ -#source: tls-relax-gdesc-ie.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: 90000080 adrp x0, 20000 - +10004: f9400000 ldr x0, \[x0\] - +10008: d503201f nop - +1000c: d503201f nop - +10010: d53bd041 mrs x1, tpidr_el0 - +10014: 8b000020 add x0, x1, x0 - +10018: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.s b/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.s deleted file mode 100644 index c20690c117c..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-ie.s +++ /dev/null @@ -1,13 +0,0 @@ - .global var - .section .tdata -var: - .word 2 - .text - adrp x0, :tlsdesc:var - ldr x1, [x0, #:tlsdesc_lo12:var] - add x0, x0, :tlsdesc_lo12:var - .tlsdesccall var - blr x1 - mrs x1, tpidr_el0 - add x0, x1, x0 - ldr w0, [x0] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.d deleted file mode 100644 index 3c028e28989..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.d +++ /dev/null @@ -1,18 +0,0 @@ -#source: tls-relax-gdesc-le-2.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: d2a00000 movz x0, #0x0, lsl #16 - +10004: d503201f nop - +10008: d503201f nop - +1000c: f2800200 movk x0, #0x10 - +10010: d503201f nop - +10014: d503201f nop - +10018: d503201f nop - +1001c: d503201f nop - +10020: d503201f nop - +10024: d503201f nop - +10028: d503201f nop - +1002c: d53bd041 mrs x1, tpidr_el0 - +10030: 8b000020 add x0, x1, x0 - +10034: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.s b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.s deleted file mode 100644 index fb8bf66ac0d..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2.s +++ /dev/null @@ -1,22 +0,0 @@ -# Test TLS Desc to TLS LE relaxation when instructions are not consecutive. - - .section .tdata -var: - .word 2 - .text - adrp x0, :tlsdesc:var - nop - nop - ldr x1, [x0, #:tlsdesc_lo12:var] - nop - add x0, x0, :tlsdesc_lo12:var - nop - nop - nop - .tlsdesccall var - blr x1 - nop - mrs x1, tpidr_el0 - add x0, x1, x0 - ldr w0, [x0] - .section .tdata diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.d deleted file mode 100644 index afe0a5604fc..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.d +++ /dev/null @@ -1,11 +0,0 @@ -#source: tls-relax-gdesc-le.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: d2a00000 movz x0, #0x0, lsl #16 - +10004: f2800200 movk x0, #0x10 - +10008: d503201f nop - +1000c: d503201f nop - +10010: d53bd041 mrs x1, tpidr_el0 - +10014: 8b000020 add x0, x1, x0 - +10018: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s deleted file mode 100644 index 28ee0f68f85..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le.s +++ /dev/null @@ -1,12 +0,0 @@ - .section .tdata -var: - .word 2 - .text - adrp x0, :tlsdesc:var - ldr x1, [x0, #:tlsdesc_lo12:var] - add x0, x0, :tlsdesc_lo12:var - .tlsdesccall var - blr x1 - mrs x1, tpidr_el0 - add x0, x1, x0 - ldr w0, [x0] diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-2.d b/ld/testsuite/ld-aarch64/tls-relax-ie-le-2.d deleted file mode 100644 index 2f9395559dd..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le-2.d +++ /dev/null @@ -1,17 +0,0 @@ -#source: tls-relax-ie-le-2.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: d53bd041 mrs x1, tpidr_el0 - +10004: d503201f nop - +10008: d503201f nop - +1000c: d2a00000 movz x0, #0x0, lsl #16 - +10010: d503201f nop - +10014: d503201f nop - +10018: d503201f nop - +1001c: f2800200 movk x0, #0x10 - +10020: d503201f nop - +10024: 8b000020 add x0, x1, x0 - +10028: d503201f nop - +1002c: d503201f nop - +10030: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-2.s b/ld/testsuite/ld-aarch64/tls-relax-ie-le-2.s deleted file mode 100644 index 98b62e2e081..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le-2.s +++ /dev/null @@ -1,20 +0,0 @@ -# Test TLS IE to TLS LE relaxation when instructions are not consecutive. - - .section .tdata -var: - .word 2 - .text - mrs x1, tpidr_el0 - nop - nop - adrp x0, :gottprel:var - nop - nop - nop - ldr x0, [x0, #:gottprel_lo12:var] - nop - add x0, x1, x0 - nop - nop - ldr w0, [x0] - .section .tdata diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.d b/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.d deleted file mode 100644 index a2fd8237e49..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: tls-relax-ie-le-3.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: d53bd042 mrs x2, tpidr_el0 - +10004: d2a0000f movz x15, #0x0, lsl #16 - +10008: f280020f movk x15, #0x10 - +1000c: 8b0f004f add x15, x2, x15 - +10010: b94001e0 ldr w0, \[x15\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s b/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s deleted file mode 100644 index 70e7062c940..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le-3.s +++ /dev/null @@ -1,12 +0,0 @@ -# Test TLS IE to TLS LE relaxation when using arbitrary registers. - - .section .tdata -var: - .word 2 - .text - mrs x2, tpidr_el0 - adrp x15, :gottprel:var - ldr x15, [x15, #:gottprel_lo12:var] - add x15, x2, x15 - ldr w0, [x15] - .section .tdata diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le.d b/ld/testsuite/ld-aarch64/tls-relax-ie-le.d deleted file mode 100644 index ff3b3449ef3..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: tls-relax-ie-le.s -#ld: -T relocs.ld -e0 -#objdump: -dr -#... - +10000: d53bd041 mrs x1, tpidr_el0 - +10004: d2a00000 movz x0, #0x0, lsl #16 - +10008: f2800200 movk x0, #0x10 - +1000c: 8b000020 add x0, x1, x0 - +10010: b9400000 ldr w0, \[x0\] diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le.s b/ld/testsuite/ld-aarch64/tls-relax-ie-le.s deleted file mode 100644 index 093cda262de..00000000000 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le.s +++ /dev/null @@ -1,9 +0,0 @@ - .section .tdata -var: - .word 2 - .text - mrs x1, tpidr_el0 - adrp x0, :gottprel:var - ldr x0, [x0, #:gottprel_lo12:var] - add x0, x1, x0 - ldr w0, [x0] diff --git a/ld/testsuite/ld-aarch64/weak-undefined.d b/ld/testsuite/ld-aarch64/weak-undefined.d deleted file mode 100644 index 22a98601844..00000000000 --- a/ld/testsuite/ld-aarch64/weak-undefined.d +++ /dev/null @@ -1,18 +0,0 @@ -#source: weak-undefined.s -#ld: -Ttext 0xF0000000 -T relocs.ld -e0 --emit-relocs -#objdump: -d -#... - +f0000000: 54000001 b\.ne f0000000
- +f0000004: 54000000 b\.eq f0000004 - +f0000008: 54000002 b\.cs f0000008 - +f000000c: 54000003 b\.cc f000000c - +f0000010: 5400000c b\.gt f0000010 - +f0000014: 5400000a b\.ge f0000014 - +f0000018: 5400000b b\.lt f0000018 - +f000001c: 5400000d b\.le f000001c - +f0000020: d503201f nop - +f0000024: d503201f nop - +f0000028: 58000000 ldr x0, f0000028 - +f000002c: 10000000 adr x0, f000002c - +f0000030: 90000000 adrp x0, f0000000
- +f0000034: 91000000 add x0, x0, #0x0 diff --git a/ld/testsuite/ld-aarch64/weak-undefined.s b/ld/testsuite/ld-aarch64/weak-undefined.s deleted file mode 100644 index 692798f29f0..00000000000 --- a/ld/testsuite/ld-aarch64/weak-undefined.s +++ /dev/null @@ -1,18 +0,0 @@ -.text - .weak foo - .global main -main: - b.ne foo - b.eq foo - b.cs foo - b.cc foo - b.gt foo - b.ge foo - b.lt foo - b.le foo - b foo - bl foo - ldr x0, foo - adr x0, foo - adrp x0, foo - add x0, x0, :lo12:foo -- cgit v1.2.3-65-gdbad