Use nm/readelf with "failif"
[binutils-gdb.git] / ld / testsuite / ChangeLog
1 2015-02-19 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/4317
4 * ld-i386/compressed1.d: Use nm/readelf with "failif".
5 * ld-x86-64/compressed1.d: Likewise.
6 * ld-x86-64/pie1.d: Likewise.
7
8 2015-02-19 Alan Modra <amodra@gmail.com>
9
10 PR ld/4317
11 * ld-aarch64/gc-tls-relocs.d, * ld-cris/locref2.d,
12 * ld-elf/ehdr_start-weak.d, * ld-elf/group1.d,
13 * ld-i386/compressed1.d, * ld-ia64/error1.d, * ld-ia64/error2.d,
14 * ld-ia64/error3.d, * ld-mips-elf/pic-and-nonpic-1.nd,
15 * ld-mmix/undef-3.d, * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
16 * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
17 * ld-x86-64/compressed1.d, * ld-x86-64/pie1.d: Update.
18
19 2015-02-17 Alan Modra <amodra@gmail.com>
20
21 PR ld/17975
22 * ld-aarch64/gc-tls-relocs.d, * ld-alpha/tlspic.rd,
23 * ld-cris/libdso-2.d, * ld-i386/tlsdesc-nacl.rd, * ld-i386/tlsdesc.rd,
24 * ld-i386/tlsnopic-nacl.rd, * ld-i386/tlsnopic.rd,
25 * ld-i386/tlspic-nacl.rd, * ld-i386/tlspic.rd, * ld-ia64/tlspic.rd,
26 * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexetoc.r,
27 * ld-powerpc/tlsso.r, * ld-powerpc/tlstocso.r,
28 * ld-s390/tlspic.rd, * ld-s390/tlspic_64.rd,
29 * ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd,
30 * ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd,
31 * ld-tic6x/shlib-1.rd, * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd,
32 * ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-noindex.rd,
33 * ld-x86-64/tlsdesc-nacl.rd, * ld-x86-64/tlsdesc.rd,
34 * ld-x86-64/tlspic-nacl.rd, * ld-x86-64/tlspic.rd: Update.
35
36 2015-02-16 H.J. Lu <hongjiu.lu@intel.com>
37
38 PR ld/17975
39 * ld-i386/tlsbin-nacl.rd: Updated.
40 * ld-i386/tlsbin.rd: Likewise.
41 * ld-i386/tlsbindesc-nacl.rd: Likewise.
42 * ld-i386/tlsbindesc.rd: Likewise.
43 * ld-i386/tlsdesc-nacl.rd: Likewise.
44 * ld-i386/tlsdesc.rd: Likewise.
45 * ld-i386/tlsnopic-nacl.rd: Likewise.
46 * ld-i386/tlsnopic.rd: Likewise.
47 * ld-i386/tlspic-nacl.rd: Likewise.
48 * ld-i386/tlspic.rd: Likewise.
49 * ld-x86-64/tlsbin-nacl.rd: Likewise.
50 * ld-x86-64/tlsbin.rd: Likewise.
51 * ld-x86-64/tlsbindesc-nacl.rd: Likewise.
52 * ld-x86-64/tlsbindesc.rd: Likewise.
53 * ld-x86-64/tlsdesc-nacl.rd: Likewise.
54 * ld-x86-64/tlsdesc.rd: Likewise.
55 * ld-x86-64/tlspic-nacl.rd: Likewise.
56 * ld-x86-64/tlspic.rd: Likewise.
57 * ld-alpha/tlspic.rd: Likewise.
58 * ld-powerpc/tlsexe.r: Likewise.
59 * ld-powerpc/tlsexetoc.r: Likewise.
60 * ld-powerpc/tlsso.r: Likewise.
61 * ld-powerpc/tlstocso.r: Likewise.
62 * ld-s390/tlspic.rd: Likewise.
63 * ld-s390/tlspic_64.rd: Likewise.
64 * ld-sparc/gotop32.dd: Likewise.
65 * ld-sparc/gotop64.dd: Likewise.
66 * ld-sparc/tlssunnopic32.rd: Likewise.
67 * ld-sparc/tlssunnopic64.rd: Likewise.
68 * ld-sparc/tlssunpic32.rd: Likewise.
69 * ld-sparc/tlssunpic64.rd: Likewise.
70 * ld-tic6x/shlib-1.rd: Likewise.
71 * ld-tic6x/shlib-1b.rd: Likewise.
72 * ld-tic6x/shlib-1r.rd: Likewise.
73 * ld-tic6x/shlib-1rb.rd: Likewise.
74 * ld-tic6x/shlib-noindex.rd: Likewise.
75
76 2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
77
78 PR ld/17973
79 * ld-plugin/plugin.exp (regassilent): New.
80 Compile tmpdir/dummy.s and ld-plugin/pr17973.s.
81 (plugin_tests): Add a test for PR ld/17973.
82 * ld-plugin/pr17973.d: New file.
83 * ld-plugin/pr17973.s: Likewise.
84
85 2015-02-12 H.J. Lu <hongjiu.lu@intel.com>
86
87 * ld-i386/i386.exp: Replace elf_i386 with elf_i386_nacl for nacl.
88
89 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
90
91 * ld-plugin/plugin-27.d: New.
92 * ld-plugin/plugin-28.d: Likewise.
93 * ld-plugin/plugin-29.d: Likewise.
94 * plugin.exp (plugin_tests): Add tests for LDPL_FATAL, LDPL_ERROR
95 and LDPL_WARNING.
96
97 2015-02-11 H.J. Lu <hongjiu.lu@intel.com>
98
99 PR ld/17878
100 * ld-plugin/func.c: Add some comments.
101 * ld-plugin/plugin-13.d: New file.
102 * ld-plugin/plugin-14.d: Likewise.
103 * ld-plugin/plugin-15.d: Likewise.
104 * ld-plugin/plugin-16.d: Likewise.
105 * ld-plugin/plugin-17.d: Likewise.
106 * ld-plugin/plugin-18.d: Likewise.
107 * ld-plugin/plugin-19.d: Likewise.
108 * ld-plugin/plugin-20.d: Likewise.
109 * ld-plugin/plugin-21.d: Likewise.
110 * ld-plugin/plugin-22.d: Likewise.
111 * ld-plugin/plugin-23.d: Likewise.
112 * ld-plugin/plugin-24.d: Likewise.
113 * ld-plugin/plugin-25.d: Likewise.
114 * ld-plugin/plugin-26.d: Likewise.
115 * ld-plugin/plugin.exp (plugin2_name): New.
116 (plugin3_name): Likewise.
117 (plugin2_path): Likewise.
118 (plugin3_path): Likewise.
119 (testsrcfiles): Likewise.
120 (testsrcfiles_notext): Likewise.
121 (plugin_tests): Add tests for non-object IR file.
122 (plugin_lib_tests): Likewise.
123 (plugin_extra_elf_tests): Likewise.
124 (plugin_src_tests): New tests for non-object IR file.
125 Run nm --plugin test.
126 Run ar --plugin test.
127 Run plugin_src_tests.
128
129 2015-02-07 H.J. Lu <hongjiu.lu@intel.com>
130
131 PR ld/17935
132 * ld-i386/i386.exp: Run pr17935-1 and pr17935-2.
133 * ld-x86-64/x86-64.exp: Likewise.
134
135 * ld-i386/pr17935-1.d: New file.
136 * ld-i386/pr17935-1.s: Likewise.
137 * ld-i386/pr17935-2.d: Likewise.
138 * ld-i386/pr17935-2.s: Likewise.
139 * ld-x86-64/pr17935-1.d: Likewise.
140 * ld-x86-64/pr17935-1.s: Likewise.
141 * ld-x86-64/pr17935-2.d: Likewise.
142 * ld-x86-64/pr17935-2.s: Likewise.
143
144 2015-02-06 H.J. Lu <hongjiu.lu@intel.com>
145
146 PR ld/12365
147 PR ld/14272
148 * ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
149 * ld-plugin/plugin-7.d: Updated.
150 * ld-plugin/plugin-8.d: Likewise.
151
152 2015-02-04 H.J. Lu <hongjiu.lu@intel.com>
153
154 * ld-plugin/lto.exp: Pass -flto-partition=none to the PR
155 ld/12365 test.
156
157 2015-02-03 H.J. Lu <hongjiu.lu@intel.com>
158
159 PR ld/12365
160 * ld-plugin/pr12365a.c: New file.
161 * ld-plugin/pr12365b.c: Likewise.
162 * ld-plugin/pr12365c.c: Likewise.
163
164 * ld-plugin/lto.exp (lto_link_tests): Prepare for the PR ld/12365
165 test.
166 Run the PR ld/12365 test.
167
168 2015-02-03 H.J. Lu <hongjiu.lu@intel.com>
169
170 PR ld/14918
171 * ld-plugin/lto.exp (lto_link_elf_tests): Add PR ld/14918 test.
172
173 * ld-plugin/pr14918.c: New file.
174 * ld-plugin/pr14918.d: Likewise.
175
176 2015-01-29 H.J. Lu <hongjiu.lu@intel.com>
177
178 * lib/ld-lib.exp (ar_simple_create): Move -rc before $aropts.
179
180 2015-01-29 Alan Modra <amodra@gmail.com>
181
182 * ld-powerpc/tlsld.d, * ld-powerpc/tlsld.s: New test.
183 * ld-powerpc/tlsld32.d, * ld-powerpc/tlsld32.s: New test.
184 * ld-powerpc/powerpc.exp: Run them. Move tocvar and tocnovar.
185
186 2015-01-28 H.J. Lu <hongjiu.lu@intel.com>
187
188 PR ld/17878
189 * ld-plugin/plugin-1.d: Add LDPT_GET_VIEW.
190 * ld-plugin/plugin-10.d: Likewise.
191 * ld-plugin/plugin-11.d: Likewise.
192 * ld-plugin/plugin-2.d: Likewise.
193 * ld-plugin/plugin-3.d: Likewise.
194 * ld-plugin/plugin-4.d: Likewise.
195 * ld-plugin/plugin-5.d: Likewise.
196 * ld-plugin/plugin-6.d: Likewise.
197 * ld-plugin/plugin-7.d: Likewise.
198 * ld-plugin/plugin-8.d: Likewise.
199 * ld-plugin/plugin-9.d: Likewise.
200
201 2015-01-28 Jan Beulich <jbeulich@suse.com>
202
203 * ld-elf/pr16322.s (p1): Rename to px1.
204 (f1): Rename to fx1.
205
206 2015-01-28 Alan Modra <amodra@gmail.com>
207
208 * ld-powerpc/tocvar.d, * ld-powerpc/tocvar.s: New test.
209 * ld-powerpc/tocnovar.d, * ld-powerpc/tocnovar.s: New test.
210 * ld-powerpc/powerpc.exp: Run tocvar and tocnovar.
211
212 2015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
213
214 * ld-scripts/memory.t: Define new symbol tred.
215 * ld-scripts/memory_sym.t: New.
216 * ld-scripts/script.exp: Perform MEMORY with symbols test, and
217 conditionally check values of linker symbols.
218
219 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
220
221 * ld-scripts/provide-4-map.d: Update expected output.
222 * ld-scripts/provide-5-map.d: Likewise.
223
224 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
225
226 * ld-scripts/provide-4.d: New file.
227 * ld-scripts/provide-4-map.d: New file.
228 * ld-scripts/provide-4.t: New file.
229 * ld-scripts/provide-5.d: New file.
230 * ld-scripts/provide-5.s: New file.
231 * ld-scripts/provide-5-map.d: New file.
232 * ld-scripts/provide-5.t: New file.
233 * ld-scripts/provide.exp: Run the provide-4.d and provide-5.d
234 tests.
235
236 2015-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
237
238 * ld-scripts/overlay-size.d: Add 'map' option.
239 * ld-scripts/overlay-size.exp: Remove manual check of mapfile.
240 * lib/ld-lib.exp (run_dump_test): Add support for new 'map'
241 option, checking linker mapfile output.
242
243 2015-01-20 Alan Modra <amodra@gmail.com>
244
245 * ld-powerpc/ambiguousv1.d,
246 * ld-powerpc/ambiguousv1b.d,
247 * ld-powerpc/ambiguousv2.d,
248 * ld-powerpc/ambiguousv2b.d,
249 * ld-powerpc/elfv2exe.d,
250 * ld-powerpc/elfv2so.d,
251 * ld-powerpc/tlsexe.r,
252 * ld-powerpc/tlsexetoc.r,
253 * ld-powerpc/tlsso.r,
254 * ld-powerpc/tlstocso.r: Update.
255
256 2015-01-20 Alan Modra <amodra@gmail.com>
257
258 PR ld/17615
259 * ld-elf/pr17615.d: Match .sbss too.
260
261 2015-01-19 H.J. Lu <hongjiu.lu@intel.com>
262
263 PR ld/17615
264 * ld-elf/pr17615.d: New file.
265 * ld-elf/pr17615.s: Likewise.
266
267 2015-01-19 Alan Modra <amodra@gmail.com>
268
269 * ld-gc/pr14265.d,
270 * ld-cris/tls-gc-68.d,
271 * ld-cris/tls-gc-69.d,
272 * ld-cris/tls-gc-70.d,
273 * ld-cris/tls-gc-71.d,
274 * ld-cris/tls-gc-75.d,
275 * ld-cris/tls-gc-76.d,
276 * ld-cris/tls-gc-79.d,
277 * ld-mmix/bpo-10.d,
278 * ld-mmix/bpo-11.d: Update.
279
280 2015-01-16 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
281
282 * ld-s390/tlsbin.dd: The nopr register operand is optional and not
283 printed if 0 anymore.
284
285 2015-01-15 H.J. Lu <hongjiu.lu@intel.com>
286
287 PR ld/17847
288 * ld-x86-64/pie1.d: New file.
289 * ld-x86-64/pie1.s: Likwise.
290 * ld-x86-64/x86-64.exp: Run pie1.
291
292 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
293
294 * ld-aarch64/aarch64-elf.exp: Added relocs-257-symbolic-func test.
295 * ld-aarch64/relocs-257-symbolic-func.d: New file.
296 * ld-aarch64/relocs-257-symbolic-func.s: Likewise.
297
298 2015-01-13 Jiong Wang <jiong.wang@arm.com>
299
300 * ld-aarch64/tprel_g2_overflow.s: New testcase.
301 * ld-aarch64/tprel_g2_overflow.d: New expectation file.
302 * ld-aarch64/aarch64-elf.exp: Run new testcase.
303
304 2015-01-13 Jiong Wang <jiong.wang@arm.com>
305
306 PR ld/17415
307 * ld-aarch64/pr17415.s: Source file for new test.
308 * ld-aarch64/pr17415.d: Expect file for new test.
309 * ld-aarch64/aarch64-elf.exp: Run the new test.
310
311 2015-01-11 H.J. Lu <hongjiu.lu@intel.com>
312
313 PR ld/17827
314 * ld-x86-64/pr17689.out: Updated.
315 * ld-x86-64/pr17689b.S: Likewise.
316
317 * ld-x86-64/pr17827.rd: New file.
318
319 * ld-x86-64/x86-64.exp: Run PR ld/17827 test.
320
321 2015-01-08 Jan Beulich <jbeulich@suse.com>
322
323 * ld-x86-64/pr14207.d: Adjust expecations to cover the
324 enable_initfini_array=no case.
325
326 2015-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * lib/ld-lib.exp (run_dump_test): Extend comment to mention
329 readelf.
330
331 2015-01-01 Alan Modra <amodra@gmail.com>
332
333 Update year range in copyright notice of all files.
334
335 For older changes see ChangeLog-2014
336 \f
337 Copyright (C) 2015 Free Software Foundation, Inc.
338
339 Copying and distribution of this file, with or without modification,
340 are permitted in any medium without royalty provided the copyright
341 notice and this notice are preserved.
342
343 Local Variables:
344 mode: change-log
345 left-margin: 8
346 fill-column: 74
347 version-control: never
348 End: