3 # split_s390.sh -- test -fstack-split for s390
5 # Copyright (C) 2009-2024 Free Software Foundation, Inc.
6 # Written by Marcin KoĆcielnicki <koriakin@0x04.net>.
8 # This file is part of gold.
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; either version 3 of the License, or
13 # (at your option) any later version.
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
20 # You should have received a copy of the GNU General Public License
21 # along with this program; if not, write to the Free Software
22 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
27 if ! $EGREP "$1" "$2" >/dev
/null
2>&1; then
28 echo 1>&2 "could not find '$1' in $2"
35 if $EGREP "$1" "$2" >/dev
/null
2>&1; then
36 echo 1>&2 "found unexpected '$1' in $2"
41 match
'jg.*__morestack>?$' split_s390_z1.stdout
42 match
'long.*0x00100000$' split_s390_z1.stdout
43 match
'jg.*__morestack>?$' split_s390_z1_ns.stdout
44 match
'long.*0x00104000$' split_s390_z1_ns.stdout
46 match
'ear.*$' split_s390_z2.stdout
47 match
'jgl.*__morestack>?$' split_s390_z2.stdout
48 nomatch
'jg .*__morestack>?$' split_s390_z2.stdout
49 match
'long.*0x00000100$' split_s390_z2.stdout
50 nomatch
'ear.*$' split_s390_z2_ns.stdout
51 nomatch
'jgl.*__morestack>?$' split_s390_z2_ns.stdout
52 match
'jg .*__morestack>?$' split_s390_z2_ns.stdout
53 match
'long.*0x00004100$' split_s390_z2_ns.stdout
55 match
'ear.*$' split_s390_z3.stdout
56 match
'jgl.*__morestack>?$' split_s390_z3.stdout
57 nomatch
'jg .*__morestack>?$' split_s390_z3.stdout
58 match
'long.*0x00001000$' split_s390_z3.stdout
59 nomatch
'ear.*$' split_s390_z3_ns.stdout
60 nomatch
'jgl.*__morestack>?$' split_s390_z3_ns.stdout
61 match
'jg .*__morestack>?$' split_s390_z3_ns.stdout
62 match
'long.*0x00005000$' split_s390_z3_ns.stdout
64 match
'alfi.*%r1,1048576$' split_s390_z4.stdout
65 match
'jgl.*__morestack>?$' split_s390_z4.stdout
66 match
'long.*0x00100000$' split_s390_z4.stdout
67 match
'alfi.*%r1,1064960$' split_s390_z4_ns.stdout
68 match
'jgl.*__morestack>?$' split_s390_z4_ns.stdout
69 match
'long.*0x00104000$' split_s390_z4_ns.stdout
71 match
'jg.*__morestack>?$' split_s390x_z1.stdout
72 match
'long.*0x00100000$' split_s390x_z1.stdout
73 match
'jg.*__morestack>?$' split_s390x_z1_ns.stdout
74 match
'long.*0x00104000$' split_s390x_z1_ns.stdout
76 match
'ear.*$' split_s390x_z2.stdout
77 match
'jgl.*__morestack>?$' split_s390x_z2.stdout
78 nomatch
'jg .*__morestack>?$' split_s390x_z2.stdout
79 match
'long.*0x00000100$' split_s390x_z2.stdout
80 nomatch
'ear.*$' split_s390x_z2_ns.stdout
81 nomatch
'jgl.*__morestack>?$' split_s390x_z2_ns.stdout
82 match
'jg .*__morestack>?$' split_s390x_z2_ns.stdout
83 match
'long.*0x00004100$' split_s390x_z2_ns.stdout
85 match
'ear.*$' split_s390x_z3.stdout
86 match
'jgl.*__morestack>?$' split_s390x_z3.stdout
87 nomatch
'jg .*__morestack>?$' split_s390x_z3.stdout
88 match
'long.*0x00001000$' split_s390x_z3.stdout
89 nomatch
'ear.*$' split_s390x_z3_ns.stdout
90 nomatch
'jgl.*__morestack>?$' split_s390x_z3_ns.stdout
91 match
'jg .*__morestack>?$' split_s390x_z3_ns.stdout
92 match
'long.*0x00005000$' split_s390x_z3_ns.stdout
94 match
'algfi.*%r1,1048576$' split_s390x_z4.stdout
95 match
'jgl.*__morestack>?$' split_s390x_z4.stdout
96 match
'long.*0x00100000$' split_s390x_z4.stdout
97 match
'algfi.*%r1,1064960$' split_s390x_z4_ns.stdout
98 match
'jgl.*__morestack>?$' split_s390x_z4_ns.stdout
99 match
'long.*0x00104000$' split_s390x_z4_ns.stdout
101 match
'larl' split_s390_n1.stdout
102 match
'larl' split_s390_n1_ns.stdout
103 match
'larl' split_s390x_n1.stdout
104 match
'larl' split_s390x_n1_ns.stdout
105 match
'j.*fn2' split_s390_n2.stdout
106 match
'j.*fn2' split_s390x_n2.stdout
107 match
'failed to match' split_s390_n2_ns.stdout
108 match
'failed to match' split_s390x_n2_ns.stdout
110 match
'failed to match' split_s390_a1.stdout
111 match
'failed to match' split_s390x_a1.stdout
113 match
'brasl.*__morestack>?$' split_s390_a2.stdout
114 match
'brasl.*__morestack>?$' split_s390x_a2.stdout
116 match
'cannot mix' split_s390_r.stdout
117 match
'cannot mix' split_s390x_r.stdout