From: Thomas Preud'homme Date: Wed, 12 Aug 2015 01:31:04 +0000 (+0800) Subject: [AArch64] Rename relocs-257-symbolic-func ld test to relocs-1027-symbolic-func. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f63d6d96502c4448357a0b826489ac36f73c1330;p=binutils-gdb.git [AArch64] Rename relocs-257-symbolic-func ld test to relocs-1027-symbolic-func. 2015-08-12 Thomas Preud'homme ld/testsuite/ * ld-aarch64/aarch64-elf.exp: Rename relocs-257-symbolic-func to relocs-1027-symbolic-func. * ld-aarch64/relocs-257-symbolic-func.d: Rename to ... * ld-aarch64/relocs-1027-symbolic-func.d: ... this. * ld-aarch64/relocs-257-symbolic-func.s: Rename to ... * ld-aarch64/relocs-1027-symbolic-func.s: ... this. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index bb6ece69ca5..f1c5d82bb2a 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2015-08-12 Thomas Preud'homme + + * ld-aarch64/aarch64-elf.exp: Rename relocs-257-symbolic-func to + relocs-1027-symbolic-func. + * ld-aarch64/relocs-257-symbolic-func.d: Rename to ... + * ld-aarch64/relocs-1027-symbolic-func.d: ... this. + * ld-aarch64/relocs-257-symbolic-func.s: Rename to ... + * ld-aarch64/relocs-1027-symbolic-func.s: ... this. + 2015-08-11 Jiong Wang * ld-aarch64/farcall-b-defsym.s: New test. diff --git a/ld/testsuite/ld-aarch64/aarch64-elf.exp b/ld/testsuite/ld-aarch64/aarch64-elf.exp index 9554ea18643..f2ce6e81354 100644 --- a/ld/testsuite/ld-aarch64/aarch64-elf.exp +++ b/ld/testsuite/ld-aarch64/aarch64-elf.exp @@ -213,7 +213,7 @@ run_dump_test "ifunc-21" run_dump_test "ifunc-22" run_dump_test "relasz" -run_dump_test "relocs-257-symbolic-func" +run_dump_test "relocs-1027-symbolic-func" run_dump_test "dt_textrel" diff --git a/ld/testsuite/ld-aarch64/relocs-1027-symbolic-func.d b/ld/testsuite/ld-aarch64/relocs-1027-symbolic-func.d new file mode 100644 index 00000000000..19b81f313b3 --- /dev/null +++ b/ld/testsuite/ld-aarch64/relocs-1027-symbolic-func.d @@ -0,0 +1,5 @@ +#source: relocs-1027-symbolic-func.s +#ld: -shared -Bsymbolic-functions +#readelf: -r --wide +#... +.* +R_AARCH64_RELATIVE +.* diff --git a/ld/testsuite/ld-aarch64/relocs-1027-symbolic-func.s b/ld/testsuite/ld-aarch64/relocs-1027-symbolic-func.s new file mode 100644 index 00000000000..35d5ba8022f --- /dev/null +++ b/ld/testsuite/ld-aarch64/relocs-1027-symbolic-func.s @@ -0,0 +1,11 @@ + .text + .global tempy + .type tempy, %function +tempy: + .size tempy, .-tempy + .section .data.rel + .align 3 + .type tempy_ptr, %object + .size tempy_ptr, 8 +tempy_ptr: + .xword tempy diff --git a/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.d b/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.d deleted file mode 100644 index 810fd430606..00000000000 --- a/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.d +++ /dev/null @@ -1,5 +0,0 @@ -#source: relocs-257-symbolic-func.s -#ld: -shared -Bsymbolic-functions -#readelf: -r --wide -#... -.* +R_AARCH64_RELATIVE +.* diff --git a/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s b/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s deleted file mode 100644 index 35d5ba8022f..00000000000 --- a/ld/testsuite/ld-aarch64/relocs-257-symbolic-func.s +++ /dev/null @@ -1,11 +0,0 @@ - .text - .global tempy - .type tempy, %function -tempy: - .size tempy, .-tempy - .section .data.rel - .align 3 - .type tempy_ptr, %object - .size tempy_ptr, 8 -tempy_ptr: - .xword tempy