]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/bpf/bpf.exp
[gdb] Rename variable main_thread to main_thread_id
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / bpf / bpf.exp
CommitLineData
f8861f5d
JM
1# GAS testsuite for the Linux eBPF -*- Tcl -*-
2#
d87bef3a 3# Copyright (C) 2019-2023 Free Software Foundation, Inc.
f8861f5d
JM
4# Contributed by Oracle, Inc.
5
6# This program is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19
20if {[istarget bpf*-*-*]} {
d218e7fe
JM
21 # Little-endian BPF tests
22 run_dump_test call
23 run_dump_test exit
24 run_dump_test data
f8861f5d 25 run_dump_test lddw
2b8c7766 26 run_dump_test lddw-pseudoc
f8861f5d 27 run_dump_test alu
2b8c7766 28 run_dump_test alu-pseudoc
f8861f5d 29 run_dump_test alu32
2b8c7766 30 run_dump_test alu32-pseudoc
f8861f5d 31 run_dump_test mem
2b8c7766 32 run_dump_test mem-pseudoc
f8861f5d 33 run_dump_test jump
2b8c7766 34 run_dump_test jump-pseudoc
c54a9b56 35 run_dump_test jump32
2b8c7766 36 run_dump_test jump32-pseudoc
055a4c8e 37 run_dump_test atomic-v1
f8861f5d 38 run_dump_test atomic
2b8c7766 39 run_dump_test atomic-pseudoc
d218e7fe
JM
40 run_dump_test indcall-1
41 run_dump_test indcall-1-pseudoc
f8861f5d 42
d218e7fe
JM
43 # Big-endian BPF tests
44 run_dump_test call-be
45 run_dump_test exit-be
46 run_dump_test data-be
f8861f5d 47 run_dump_test lddw-be
2b8c7766 48 run_dump_test lddw-be-pseudoc
f8861f5d 49 run_dump_test alu-be
2b8c7766 50 run_dump_test alu-be-pseudoc
f8861f5d 51 run_dump_test alu32-be
2b8c7766 52 run_dump_test alu32-be-pseudoc
f8861f5d 53 run_dump_test mem-be
d218e7fe 54 run_dump_test mem-be-pseudoc
f8861f5d 55 run_dump_test jump-be
d218e7fe
JM
56 run_dump_test jump-be-pseudoc
57 run_dump_test jump32-be
58 run_dump_test jump32-be-pseudoc
055a4c8e 59 run_dump_test atomic-v1-be
f8861f5d 60 run_dump_test atomic-be
d218e7fe 61 run_dump_test atomic-be-pseudoc
f8861f5d 62}