summaryrefslogtreecommitdiff
path: root/system/binutils/BTS-196.patch
blob: d442f59211569f8a9ae7ebb6435d12cff6471e88 (plain) (blame)
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
https://bts.adelielinux.org/show_bug.cgi?id=196

--- binutils-2.41/ld/testsuite/ld-i386/no-plt.exp	2019-09-17 13:51:35.771111471 -0500
+++ binutils-2.41/ld/testsuite/ld-i386/no-plt.exp	2019-09-17 14:00:48.581118647 -0500
@@ -63,69 +63,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" \
@@ -143,15 +80,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 \
@@ -165,24 +93,6 @@ run_ld_link_exec_tests [list \
 	"pass.out" \
     ] \
     [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 } \
-	"no-plt-1b" \
-	"pass.out" \
-    ] \
-    [list \
-	"No PLT (dynamic 1c)" \
-	"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 } \
-	"no-plt-1c" \
-	"pass.out" \
-    ] \
-    [list \
 	"No PLT (static 1d)" \
 	"-static tmpdir/no-plt-check1a.o tmpdir/no-plt-main1.o \
 	 tmpdir/no-plt-func1.o tmpdir/no-plt-extern1a.o" \
@@ -201,24 +111,6 @@ run_ld_link_exec_tests [list \
 	"pass.out" \
     ] \
     [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 } \
-	"no-plt-1f" \
-	"pass.out" \
-    ] \
-    [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 } \
-	"no-plt-1g" \
-	"pass.out" \
-    ] \
-    [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" \
@@ -236,15 +128,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.