1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
|
https://bts.adelielinux.org/show_bug.cgi?id=196
--- binutils-2.32/ld/testsuite/ld-i386/i386.exp 2019-01-19 10:01:33.000000000 -0600
+++ binutils-2.32/ld/testsuite/ld-i386/i386.exp 2019-09-17 13:47:29.921108280 -0500
@@ -1035,23 +1035,6 @@ if { [isnative]
"pr18900.out" \
] \
[list \
- "Run pr19031" \
- "$NOPIE_LDFLAGS tmpdir/pr19031.so" \
- "-Wa,-mx86-used-note=yes" \
- { pr19031b.S pr19031c.c } \
- "pr19031" \
- "pr19031.out" \
- "$NOPIE_CFLAGS" \
- ] \
- [list \
- "Run got1" \
- "$NOPIE_LDFLAGS tmpdir/got1d.so" \
- "-Wa,-mx86-used-note=yes" \
- { got1a.S got1b.c got1c.c } \
- "got1" \
- "got1.out" \
- ] \
- [list \
"Run property 1" \
"" \
"-Wa,-mx86-used-note=yes" \
@@ -1159,8 +1142,6 @@ if { [isnative]
]
undefined_weak "$NOPIE_CFLAGS" "$NOPIE_LDFLAGS"
- undefined_weak "-fPIE" "$NOPIE_LDFLAGS"
- undefined_weak "-fPIE" "-pie"
undefined_weak "-fPIE" "-z nodynamic-undefined-weak $NOPIE_LDFLAGS"
undefined_weak "-fPIE" "-pie -z nodynamic-undefined-weak"
}
@@ -1327,15 +1308,6 @@ if { [isnative]
"$NOPIE_CFLAGS" \
] \
[list \
- "Run pr22001-1" \
- "$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed tmpdir/pr22001-1.so" \
- "-Wa,-mx86-used-note=yes" \
- { pr22001-1b.c } \
- "pr22001-1" \
- "pass.out" \
- "$NOPIE_CFLAGS" \
- ] \
- [list \
"Run pr22001-1 (PIE 1)" \
"$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed tmpdir/pr22001-1.so" \
"-Wa,-mx86-used-note=yes" \
@@ -1370,15 +1342,6 @@ if { [isnative]
"-fPIC" \
] \
[list \
- "Run pr21997-1" \
- "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/pr21997-1.so" \
- "-Wa,-mx86-used-note=yes" \
- { pr21997-1b.c } \
- "pr21997-1" \
- "pass.out" \
- "$NOPIE_CFLAGS" \
- ] \
- [list \
"Run pr21997-1 (PIC 1)" \
"$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/pr21997-1.so" \
"-Wa,-mx86-used-note=yes" \
--- binutils-2.32/ld/testsuite/ld-i386/no-plt.exp 2019-09-17 13:51:35.771111471 -0500
+++ binutils-2.32/ld/testsuite/ld-i386/no-plt.exp 2019-09-17 14:00:48.581118647 -0500
@@ -66,69 +66,6 @@ run_cc_link_tests [list \
"libno-plt-1a.so" \
] \
[list \
- "Build libno-plt-1b.so" \
- "-shared tmpdir/no-plt-extern1a.o" \
- "-Wa,-mx86-used-note=yes" \
- {dummy.s} \
- {{readelf -Wr libno-plt-1b.rd} \
- {objdump -dwrj.text libno-plt-1b.dd}} \
- "libno-plt-1b.so" \
- ] \
- [list \
- "No PLT (dynamic 1a)" \
- "$NOPIE_LDFLAGS tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \
- "-Wa,-mx86-used-note=yes" \
- {dummy.s} \
- {{readelf -Wr no-plt-1a.rd} {objdump -dwrj.text no-plt-1a.dd}} \
- "no-plt-1a" \
- ] \
- [list \
- "No PLT (dynamic 1b)" \
- "tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
- tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \
- "-Wa,-mx86-used-note=yes" \
- {dummy.s} \
- {{readelf -Wr no-plt-1b.rd} {objdump -dwrj.text no-plt-1b.dd}} \
- "no-plt-1b" \
- ] \
- [list \
- "No PLT (dynamic 1c)" \
- "$NOPIE_LDFLAGS tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
- tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \
- "-Wa,-mx86-used-note=yes" \
- {dummy.s} \
- {{readelf -Wr no-plt-1c.rd} {objdump -dwrj.text no-plt-1c.dd}} \
- "no-plt-1c" \
- ] \
- [list \
- "No PLT (PIE 1e)" \
- "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \
- "-Wa,-mx86-used-note=yes" \
- {dummy.s} \
- {{readelf -Wr no-plt-1e.rd} {objdump -dwrj.text no-plt-1e.dd}} \
- "no-plt-1e" \
- ] \
- [list \
- "No PLT (PIE 1f)" \
- "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
- tmpdir/libno-plt-1a.so tmpdir/libno-plt-1b.so" \
- "-Wa,-mx86-used-note=yes" \
- { dummy.s } \
- {{readelf -Wr no-plt-1f.rd} {objdump -dwrj.text no-plt-1f.dd}} \
- "no-plt-1f" \
- ] \
- [list \
- "No PLT (PIE 1g)" \
- "-pie tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
- tmpdir/no-plt-func1.o tmpdir/libno-plt-1b.so" \
- "-Wa,-mx86-used-note=yes" \
- { dummy.s } \
- {{readelf -Wr no-plt-1g.rd} {objdump -dwrj.text no-plt-1g.dd}} \
- "no-plt-1g" \
- ] \
- [list \
"No PLT (dynamic 1h)" \
"$NOPIE_LDFLAGS tmpdir/no-plt-check1b.o tmpdir/no-plt-main1.o \
tmpdir/no-plt-func1.o tmpdir/no-plt-extern1b.o" \
@@ -146,15 +83,6 @@ run_cc_link_tests [list \
{{readelf -Wr no-plt-1i.rd} {objdump -dwrj.text no-plt-1i.dd}} \
"no-plt-1i" \
] \
- [list \
- "No PLT (static 1j)" \
- "-static tmpdir/no-plt-check1b.o tmpdir/no-plt-main1.o \
- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1b.o" \
- "-Wa,-mx86-used-note=yes" \
- {dummy.s} \
- {{readelf -Wr no-plt-1j.rd} {objdump -dwrj.text no-plt-1j.dd}} \
- "no-plt-1j" \
- ] \
]
run_ld_link_exec_tests [list \
@@ -239,15 +167,6 @@ run_ld_link_exec_tests [list \
"no-plt-1i" \
"pass.out" \
] \
- [list \
- "No PLT (static 1j)" \
- "-static tmpdir/no-plt-check1b.o tmpdir/no-plt-main1.o \
- tmpdir/no-plt-func1.o tmpdir/no-plt-extern1b.o" \
- "-Wa,-mx86-used-note=yes" \
- {dummy.s} \
- "no-plt-1j" \
- "pass.out" \
- ] \
]
# Run-time tests which require working IFUNC support.
|