diff options
author | liuzhensong <liuzhensong@loongson.cn> | 2022-07-11 11:02:44 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2022-07-25 09:59:08 +0800 |
commit | 2cb10f02b0e0d0d062c97c19defef1e5e334b13b (patch) | |
tree | f22122402fb3ea58074ab90491322a5c7c191c47 /ld/testsuite/ld-loongarch-elf/ifunc.exp | |
parent | 9801120721c3a702ce3bd50433ef920f92a83502 (diff) | |
download | gdb-2cb10f02b0e0d0d062c97c19defef1e5e334b13b.zip gdb-2cb10f02b0e0d0d062c97c19defef1e5e334b13b.tar.gz gdb-2cb10f02b0e0d0d062c97c19defef1e5e334b13b.tar.bz2 |
LoongArch: Add testcases for new relocate types.
gas/testsuite/gas/all/
gas.exp
gas/testsuite/gas/loongarch/
jmp_op.d
jmp_op.s
macro_op.d
macro_op.s
macro_op_32.d
macro_op_32.s
macro_op_large_abs.d
macro_op_large_abs.s
macro_op_large_pc.d
macro_op_large_pc.s
reloc.d
reloc.s
ld/testsuite/ld-elf/
pr26936.d
shared.exp
ld/testsuite/ld-loongarch-elf/
attr-ifunc-4.c
attr-ifunc-4.out
disas-jirl.d
ifunc.exp
jmp_op.d
jmp_op.s
libnopic-global.s
macro_op.d
macro_op.s
macro_op_32.d
macro_op_32.s
nopic-global-so.rd
nopic-global-so.sd
nopic-global.out
nopic-global.s
nopic-global.sd
nopic-global.xd
nopic-local.out
nopic-local.rd
nopic-local.s
nopic-local.sd
nopic-local.xd
nopic-weak-global-so.rd
nopic-weak-global-so.sd
nopic-weak-global.out
nopic-weak-global.s
nopic-weak-global.sd
nopic-weak-global.xd
nopic-weak-local.out
nopic-weak-local.rd
nopic-weak-local.s
nopic-weak-local.sd
nopic-weak-local.xd
pic.exp
pic.ld
Diffstat (limited to 'ld/testsuite/ld-loongarch-elf/ifunc.exp')
-rw-r--r-- | ld/testsuite/ld-loongarch-elf/ifunc.exp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ld/testsuite/ld-loongarch-elf/ifunc.exp b/ld/testsuite/ld-loongarch-elf/ifunc.exp new file mode 100644 index 0000000..2b55002 --- /dev/null +++ b/ld/testsuite/ld-loongarch-elf/ifunc.exp @@ -0,0 +1,34 @@ +# Expect script for LoongArch assembler tests. +# Copyright (C) 2021-2022 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. + + + +if [istarget loongarch*-*-*] { + run_ld_link_exec_tests [list \ + [list \ + "Run attr-ifunc-4" \ + "" \ + "" \ + {attr-ifunc-4.c} \ + "attr-ifunc-4" \ + "attr-ifunc-4.out" \ + ] \ + ] +} |