98de1fb325de4f59a31decbf8e7c3db5d44a0264
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
2
3 * testsuite/ld-arc/nps-1b.err: Update test to handle more
4 verbosity.
5
6 2016-07-09 Alan Modra <amodra@gmail.com>
7
8 * testsuite/ld-powerpc/elfv2exe.d: Update.
9
10 2016-07-06 James Bowman <james.bowman@ftdichip.com>
11
12 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
13 (DATA): add ALIGN.
14 (BSS): add ALIGN
15
16 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
17
18 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
19
20 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
21
22 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
23 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
24 * testsuite/ld-arm/arm-elf.exp: Run it.
25
26 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
27
28 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
29 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
30 all noread's by purecode.
31
32 2016-07-05 Jan Beulich <jbeulich@suse.com>
33
34 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
35 assignment line number.
36 * ldlex.l (lineno): Drop initializer.
37 (<<EOF>>): Set lineno to zero after reaching top of stack.
38
39 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
40
41 PR ld/20321
42 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
43 been loaded already.
44 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
45 * testsuite/ld-plugin/pr20321.c: New file.
46
47 2016-07-04 Nick Clifton <nickc@redhat.com>
48
49 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
50 (__RAMSIZE): If not defined, set to 64K.
51 (MEMORY): Set the flash region size to __PMSIZE and the ram region
52 size to __RAMSIZE.
53
54 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
55
56 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
57 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
58
59 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
60
61 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
62 (Thumb-2 BL on ARMv6-M): New testcase.
63 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
64 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
65
66 2016-07-01 Tristan Gingold <gingold@adacore.com>
67
68 * NEWS: Add marker for 2.27.
69
70 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
71
72 * testsuite/ld-gc/gc.exp: Run pr20306 test.
73 * ld-gc/pr20306.c: New file.
74 * ld-gc/pr20306.d: Likewise.
75
76 2016-06-28 Nick Clifton <nickc@redhat.com>
77
78 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
79 for bfin.
80 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
81 tests to fail for bfin.
82 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
83 nds32 and visium.
84 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
85 microblaze.
86 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
87 mcore-pe.
88
89 2016-06-28 Nick Clifton <nickc@redhat.com>
90
91 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
92 expect to fail this test.
93 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
94 RX.
95 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
96 fail for the RX.
97 * testsuite/ld-scripts/rgn-at11.d: Likewise.
98 * testsuite/ld-scripts/rgn-at2.d: Likewise.
99 * testsuite/ld-scripts/rgn-at6.d: Likewise.
100 * testsuite/ld-scripts/rgn-at7.d: Likewise.
101 * testsuite/ld-scripts/rgn-at8.d: Likewise.
102
103 2016-06-28 James Clarke <jrtc27@jrtc27.com>
104
105 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
106 .text.
107
108 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
109
110 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
111 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
112 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
113 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
114
115 2016-06-28 Alan Modra <amodra@gmail.com>
116
117 PR ld/20302
118 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
119
120 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
121
122 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
123 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
124 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
125 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
126 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
127 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
128
129 2016-06-27 Nick Clifton <nickc@redhat.com>
130
131 PR ld/20302
132 * lexsup.c (set_segment_start): If resetting the start address of
133 a section, remember to generate a new script element as well.
134 * testsuite/ld-scripts/pr20302.d: New test.
135 * testsuite/ld-scripts/scripts.exp: Run the new test.
136
137 2016-06-24 Alan Modra <amodra@gmail.com>
138
139 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
140 Don't error out, always return an emulation.
141
142 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
143 H.J. Lu <hongjiu.lu@intel.com>
144
145 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
146 for -z relro help message.
147
148 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
149
150 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
151 address matching.
152
153 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
154
155 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
156 `undefweak-overflow' tests.
157
158 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
159
160 PR ld/20283
161 * NEWS: Mention --enable-relro.
162 * configure.ac: Add --enable-relro.
163 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
164 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
165 some Linux targets.
166 * config.in: Regenerated.
167 * configure: Likewise.
168 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
169 link_info.relro to DEFAULT_LD_Z_RELRO.
170 * testsuite/config/default.exp (ld_elf_shared_opt): New.
171 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
172 $ld_elf_shared_opt to ld for ELF targets with shared object
173 support.
174 (run_ld_link_tests): Likewise.
175
176 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
177
178 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
179 twice rather than once.
180 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
181 accordingly. Remove the full stop from the end of the message.
182
183 2016-06-21 Graham Markall <graham.markall@embecosm.com>
184
185 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
186 * testsuite/ld-arc/nps-1b.d: Likewise.
187
188 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
189
190 PR ld/20267
191 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
192 PR ld/20267.
193 (lto_run_tests): Likewise.
194 * testsuite/ld-plugin/pr20267a.c: New file.
195 * testsuite/ld-plugin/pr20267b.c: Likewise.
196
197 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
198 Alan Modra <amodra@gmail.com>
199
200 PR ld/20276
201 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
202 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
203 PR ld/20276.
204 (lto_run_tests): Likewise.
205 * testsuite/ld-plugin/pass.out: New file.
206 * testsuite/ld-plugin/pr20276a.c: Likewise.
207 * testsuite/ld-plugin/pr20276b.c: Likewise.
208
209 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
210
211 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
212 with bfd_plugin_unknown.
213
214 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
215
216 PR ld/20253
217 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
218 * testsuite/ld-i386/no-plt.exp: Likewise.
219 * testsuite/ld-x86-64/no-plt.exp: Likewise.
220 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
221 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
222 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
223 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
224 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
225 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
226 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
227 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
228 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
229 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
230 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
231 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
232 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
233 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
234 * testsuite/ld-i386/pr20244-2b.d: Updated.
235 * testsuite/ld-i386/pr20244-2c.d: Likewise.
236 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
237 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
238 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
239 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
240 * testsuite/ld-i386/pr20253-1a.c: New file.
241 * testsuite/ld-i386/pr20253-1b.S: Likewise.
242 * testsuite/ld-i386/pr20253-1c.S: Likewise.
243 * testsuite/ld-i386/pr20253-1d.S: Likewise.
244 * testsuite/ld-i386/pr20253-2a.c: Likewise.
245 * testsuite/ld-i386/pr20253-2b.S: Likewise.
246 * testsuite/ld-i386/pr20253-2c.S: Likewise.
247 * testsuite/ld-i386/pr20253-2d.S: Likewise.
248 * testsuite/ld-i386/pr20253-3.d: Likewise.
249 * testsuite/ld-i386/pr20253-3.s: Likewise.
250 * testsuite/ld-i386/pr20253-4.s: Likewise.
251 * testsuite/ld-i386/pr20253-4a.d: Likewise.
252 * testsuite/ld-i386/pr20253-4b.d: Likewise.
253 * testsuite/ld-i386/pr20253-4c.d: Likewise.
254 * testsuite/ld-i386/pr20253-5.d: Likewise.
255 * testsuite/ld-i386/pr20253-5.s: Likewise.
256 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
257 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
258 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
259 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
260 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
261 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
262 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
263 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
264 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
265 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
266 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
267 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
268 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
269 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
270 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
271 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
272 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
273 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
274 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
275 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
276 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
277 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
278 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
279 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
280 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
281 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
282 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
283 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
284 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
285 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
286 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
287 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
288 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
289 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
290 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
291 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
292 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
293 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
294 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
295 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
296 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
297 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
298 relocation.
299 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
300 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
301 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
302 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
303 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
304
305 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
306 Tony Wang <tony.wang@arm.com>
307
308 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
309 Assemble for ARMv6-M.
310 (Thumb2-Thumb2 farcall M profile): New testcase.
311 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
312 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
313 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
314 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
315
316 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
317
318 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
319 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
320 Remove .rel.plt section.
321 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
322
323 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
324
325 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
326 function pointer.
327 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
328 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
329 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
330 function pointer.
331 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
332 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
333 * testsuite/ld-i386/no-plt-1a.dd: Updated.
334 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
335 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
336 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
337 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
338 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
339 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
340 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
341 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
342 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
343 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
344 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
345 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
346 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
347 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
348 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
349 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
350
351 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
352
353 PR ld/20254
354 * testsuite/ld-avr/avr-prop-6.d: New test.
355 * testsuite/ld-avr/avr-prop-6.s: New test.
356
357 2016-06-14 Alan Modra <amodra@gmail.com>
358
359 * ldbuildid.c: Formatting.
360 * ldcref.c: Formatting.
361 * ldctor.c: Formatting.
362 * ldemul.c: Formatting.
363 * ldexp.c: Formatting.
364 * ldfile.c: Formatting.
365 * ldlang.c: Formatting.
366 * ldmain.c: Formatting.
367 * ldwrite.c: Formatting.
368
369 2016-06-14 Alan Modra <amodra@gmail.com>
370
371 * ldlang.c: Expand uses of bfd_my_archive.
372 * ldmain.c: Likewise.
373 * ldmisc.c: Likewise.
374 * plugin.c: Likewise.
375
376 2016-06-14 Alan Modra <amodra@gmail.com>
377
378 PR ld/20241
379 * ldmain.c (add_archive_element): Just print file name of file within
380 thin archives.
381 * ldmisc.c (vfinfo): Likewise.
382 * plugin.c (plugin_object_p): Open file within thin archives.
383 (plugin_maybe_claim): Expand comment.
384
385 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
386
387 PR ld/20244
388 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
389 pr20244-2c and pr20244-2d.
390 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
391 * testsuite/ld-i386/pr20244-2.s: New file.
392 * testsuite/ld-i386/pr20244-2a.d: Likewise.
393 * testsuite/ld-i386/pr20244-2b.d: Likewise.
394 * testsuite/ld-i386/pr20244-2c.d: Likewise.
395 * testsuite/ld-i386/pr20244-2d.d: Likewise.
396 * testsuite/ld-i386/pr20244-3a.c: Likewise.
397 * testsuite/ld-i386/pr20244-3b.S: Likewise.
398 * testsuite/ld-i386/pr20244-3c.S: Likewise.
399 * testsuite/ld-i386/pr20244-3d.S: Likewise.
400
401 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
402
403 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
404 * testsuite/ld-i386/ifunc-1a.c: New file.
405 * testsuite/ld-i386/ifunc-1b.S: Likewise.
406 * testsuite/ld-i386/ifunc-1c.S: Likewise.
407 * testsuite/ld-i386/ifunc-1d.S: Likewise.
408
409 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
410
411 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
412 big endian ARC targets.
413
414 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
415
416 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
417 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
418 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
419 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
420 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
421 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
422 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
423 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
424 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
425 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
426 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
427 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
428 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
429 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
430 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
431
432 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
433
434 PR ld/20244
435 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
436 * testsuite/ld-i386/pr20244-1.s: New file.
437 * testsuite/ld-i386/pr20244-1a.d: Likewise.
438 * testsuite/ld-i386/pr20244-1b.d: Likewise.
439 * testsuite/ld-i386/pr20244-1c.d: Likewise.
440
441 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
442
443 PR ld/20221
444 * testsuite/ld-avr/avr-prop-5.d: New.
445 * testsuite/ld-avr/avr-prop-5.s: New.
446
447 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
448
449 * testsuite/ld-avr/lds-mega.d: New test.
450 * testsuite/ld-avr/lds-mega.s: New test source.
451 * testsuite/ld-avr/lds-tiny.d: New test.
452 * testsuite/ld-avr/lds-tiny.s: New test source.
453
454 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
455
456 * testsuite/ld-i386/libno-plt-1b.dd: New file.
457 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
458 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
459 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
460 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
461 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
462 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
463 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
464 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
465 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
466 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
467 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
468 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
469 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
470 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
471 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
472 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
473 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
474 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
475 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
476 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
477 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
478 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
479 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
480 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
481 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
482 * testsuite/ld-i386/no-plt-func1.c: Likewise.
483 * testsuite/ld-i386/no-plt-main1.c: Likewise.
484 * testsuite/ld-i386/no-plt.exp: Likewise.
485
486 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
487
488 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
489 name.
490
491 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
492
493 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
494 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
495 * testsuite/ld-i386/pass.out: New file.
496 * testsuite/ld-i386/tls-def1.c: Likewise.
497 * testsuite/ld-i386/tls-gd1.S: Likewise.
498 * testsuite/ld-i386/tls-ld1.S: Likewise.
499 * testsuite/ld-i386/tls-main1.c: Likewise.
500 * testsuite/ld-i386/tls.exp: Likewise.
501 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
502 * testsuite/ld-i386/tlsbin2.dd: Likewise.
503 * testsuite/ld-i386/tlsbin2.rd: Likewise.
504 * testsuite/ld-i386/tlsbin2.sd: Likewise.
505 * testsuite/ld-i386/tlsbin2.td: Likewise.
506 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
507 * testsuite/ld-i386/tlsgd3.dd: Likewise.
508 * testsuite/ld-i386/tlsgd3.s: Likewise.
509 * testsuite/ld-i386/tlsgd4.d: Likewise.
510 * testsuite/ld-i386/tlsgd4.s: Likewise.
511 * testsuite/ld-i386/tlsld2.s: Likewise.
512 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
513 * testsuite/ld-i386/tlspic2.dd: Likewise.
514 * testsuite/ld-i386/tlspic2.rd: Likewise.
515 * testsuite/ld-i386/tlspic2.sd: Likewise.
516 * testsuite/ld-i386/tlspic2.td: Likewise.
517 * testsuite/ld-i386/tlspic3.s: Likewise.
518 * testsuite/ld-i386/tlspie3.s: Likewise.
519 * testsuite/ld-i386/tlspie3a.d: Likewise.
520 * testsuite/ld-i386/tlspie3b.d: Likewise.
521 * testsuite/ld-i386/tlspie3c.d: Likewise.
522
523 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
524
525 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
526 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
527 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
528 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
529 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
530 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
531 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
532 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
533
534 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
535
536 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
537 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
538 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
539 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
540 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
541 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
542 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
543 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
544 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
545 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
546 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
547 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
548 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
549 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
550 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
551 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
552 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
553 * testsuite/ld-x86-64/no-plt.exp: Likewise.
554 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
555 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
556 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
557
558 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
559
560 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
561
562 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
563
564 * testsuite/ld-s390/pltoffset-1.dd: New test.
565 * testsuite/ld-s390/pltoffset-1.ld: New test.
566 * testsuite/ld-s390/pltoffset-1.s: New test.
567 * testsuite/ld-s390/s390.exp: Run new test.
568
569 2016-06-07 Alan Modra <amodra@gmail.com>
570
571 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
572 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
573 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
574
575 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
576
577 * testsuite/ld-x86-64/pass.out: New file.
578 * testsuite/ld-x86-64/tls-def1.c: Likewise.
579 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
580 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
581 * testsuite/ld-x86-64/tls-main1.c: Likewise.
582 * testsuite/ld-x86-64/tls.exp: Likewise.
583 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
584 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
585 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
586 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
587 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
588 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
589 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
590 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
591 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
592 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
593 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
594 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
595 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
596 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
597 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
598 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
599 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
600 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
601 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
602 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
603 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
604 * testsuite/ld-x86-64/tlsld4.s: Likewise.
605 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
606 * testsuite/ld-x86-64/tlsld5.s: Likewise.
607 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
608 * testsuite/ld-x86-64/tlsld6.s: Likewise.
609 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
610 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
611 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
612 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
613 * testsuite/ld-x86-64/tlspic2.td: Likewise.
614 * testsuite/ld-x86-64/tlspic3.s: Likewise.
615 * testsuite/ld-x86-64/tlspie2.s: Likewise.
616 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
617 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
618 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
619 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
620 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
621 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
622 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
623 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
624 tlspie2c.
625
626 2016-06-04 Christian Groessler <chris@groessler.org>
627
628 * testsuite/ld-z8k/0filler.s: New file.
629 * testsuite/ld-z8k/branch-target.s: New file.
630 * testsuite/ld-z8k/branch-target2.s: New file.
631 * testsuite/ld-z8k/calr-back-8001.d: New file.
632 * testsuite/ld-z8k/calr-back-8002.d: New file.
633 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
634 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
635 * testsuite/ld-z8k/calr-forw-8001.d: New file.
636 * testsuite/ld-z8k/calr-forw-8002.d: New file.
637 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
638 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
639 * testsuite/ld-z8k/calr-opcode.s: New file.
640 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
641 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
642 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
643 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
644 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
645 * testsuite/ld-z8k/djnz-back-8001.d: New file.
646 * testsuite/ld-z8k/djnz-back-8002.d: New file.
647 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
648 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
649 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
650 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
651 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
652 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
653 * testsuite/ld-z8k/djnz-opcode.s: New file.
654 * testsuite/ld-z8k/filler.s: New file.
655 * testsuite/ld-z8k/jr-back-8001.d: New file.
656 * testsuite/ld-z8k/jr-back-8002.d: New file.
657 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
658 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
659 * testsuite/ld-z8k/jr-forw-8001.d: New file.
660 * testsuite/ld-z8k/jr-forw-8002.d: New file.
661 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
662 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
663 * testsuite/ld-z8k/jr-opcode.s: New file.
664 * testsuite/ld-z8k/ldr-back-8001.d: New file.
665 * testsuite/ld-z8k/ldr-back-8002.d: New file.
666 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
667 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
668 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
669 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
670 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
671 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
672 * testsuite/ld-z8k/ldr-opcode.s: New file.
673 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
674 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
675 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
676 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
677 * testsuite/ld-z8k/ldrb-opcode.s: New file.
678 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
679 * testsuite/ld-z8k/other-file.s: New file.
680 * testsuite/ld-z8k/reloc.dd: New file.
681 * testsuite/ld-z8k/reloc.ld: New file.
682 * testsuite/ld-z8k/relocseg.dd: New file.
683 * testsuite/ld-z8k/relocseg.ld: New file.
684 * testsuite/ld-z8k/relocseg1.dd: New file.
685 * testsuite/ld-z8k/this-file.s: New file.
686 * testsuite/ld-z8k/z8k.exp: New file.
687
688 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
689
690 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
691 with -mrelax-relocations=yes.
692 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
693 * testsuite/ld-i386/lea1b.d (as): Likewise.
694 * testsuite/ld-i386/lea1d.d (as): Likewise.
695 * testsuite/ld-i386/lea1e.d (as): Likewise.
696 * testsuite/ld-i386/lea1f.d (as): Likewise.
697 * testsuite/ld-i386/load7.d (as): Likewise.
698 * testsuite/ld-i386/mov1b.d (as): Likewise.
699 * testsuite/ld-i386/pr19175.d (as): Likewise.
700 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
701 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
702 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
703 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
704 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
705
706 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
707
708 * configure.tgt: Replace -uclibc with *.
709
710 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
711
712 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
713 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
714 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
715 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
716
717 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
718
719 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
720 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
721 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
722 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
723 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
724 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
725
726 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
727
728 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
729 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
730 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
731 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
732 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
733 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
734 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
735
736 2016-05-28 Alan Modra <amodra@gmail.com>
737
738 * ldmain.c (multiple_definition, multiple_common, add_to_set,
739 constructor_callback, warning_callback, undefined_symbol,
740 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
741 * emultempl/elf32.em: Adjust callback calls.
742
743 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
744
745 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
746 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
747 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
748 test.
749 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
750 test.
751 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
752 test.
753 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
754 test.
755 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
756 source.
757 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
758 source.
759 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
760
761 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
762
763 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
764 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
765 new test.
766 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
767
768 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
769
770 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
771 `unaligned-jalx-2' here.
772 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
773 `unaligned-jalx-mips16-2' here.
774 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
775 `unaligned-jalx-micromips-2' here.
776 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
777 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
778 message.
779 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
780 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
781 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
782 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
783 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
784 test.
785 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
786 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
787 `unaligned-lwpc-3' here.
788 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
789 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
790 `unaligned-lwpc-2' here.
791 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
792 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
793 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
794 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
795 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
796 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
797 `unaligned-ldpc-4' here.
798 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
799 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
800 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
801 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
802 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
803 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
804 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
805 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
806 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
807 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
808 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
809
810 2016-05-26 Nick Clifton <nickc@redhat.com>
811
812 PR target/20134
813 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
814 __bsssize.
815 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
816
817 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
818
819 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
820 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
821 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
822 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
823 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
824 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
825 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
826 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
827 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
828 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
829 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
830 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
831 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
832 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
833 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
834 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
835 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
836 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
837 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
838 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
839 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
840 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
841 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
842 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
843 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
844 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
845 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
846 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
847 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
848 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
849 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
850 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
851 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
852
853 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
854
855 PR ld/20103
856 * ldmain.c (add_archive_element): Don't claim new IR symbols
857 after all IR symbols have been claimed.
858 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
859 check.
860 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
861 Run PR ld/20103 tests.
862 * testsuite/ld-plugin/pr20103a.c: New file.
863 * testsuite/ld-plugin/pr20103b.c: Likewise.
864 * testsuite/ld-plugin/pr20103c.c: Likewise.
865
866 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
867
868 * testsuite/ld-mips-elf/jalx-local.d: New test.
869 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
870 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
871 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
872
873 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
874
875 * Makefile.am: Add earmelf_phoenix.c.
876 * Makefile.in: Regenerate.
877 * configure.tgt: Add entry for arm-phoenix.
878 * emulparams/armelf_phoenix.sh: New file.
879
880 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
881
882 * emultempl/armelf.em (arm_elf_before_allocation): Call
883 bfd_elf32_arm_keep_private_stub_output_sections before generic
884 before_allocation function.
885
886 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
887
888 * testsuite/ld-mips-elf/jalx-addend.d: New test.
889 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
890 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
891 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
892
893 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
894
895 PR ld/20117
896 * testsuite/ld-i386/i386.exp: Run pr20117.
897 * testsuite/ld-i386/pr19609-1i.d: Updated.
898 * testsuite/ld-i386/pr20117.d: New file.
899 * testsuite/ld-i386/pr20117.s: Likewise.
900
901 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
902
903 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
904 * testsuite/ld-elf/group8a.d: Likewise.
905 * testsuite/ld-elf/group8b.d: Likewise.
906 * testsuite/ld-elf/group9a.d: Likewise.
907 * testsuite/ld-elf/group9b.d: Likewise.
908 * testsuite/ld-elf/pr12851.d: Likewise.
909 * testsuite/ld-elf/pr12975.d: Likewise.
910 * testsuite/ld-elf/pr13177.d: Likewise.
911 * testsuite/ld-elf/pr13195.d: Likewise.
912 * testsuite/ld-elf/pr17615.d: Likewise.
913 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
914 * testsuite/ld-elf/group3b.d: Likewise.
915 * testsuite/ld-srec/srec.exp: Likewise.
916 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
917 as supporting gc.
918 (check_shared_lib_support): Mark ARC as supporting.
919
920 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
921
922 * emulparams/arcelf.sh: Changed.
923 * emulparams/arclinux.sh: Likewise.
924 * scripttempl/arclinux.sc: Moved to a more standard implementation
925 similar to elf.sc.
926
927 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
928
929 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
930 `ft32-*-*' behind `frv-*-*'.
931
932 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
933
934 * configure.tgt: Remove `am34-*-linux*' support.
935
936 2016-05-19 Alan Modra <amodra@gmail.com>
937
938 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
939 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
940 * testsuite/ld-scripts/cross3.t: Likewise.
941 * testsuite/ld-scripts/cross4.t: Likewise.
942 * testsuite/ld-scripts/cross5.t: Likewise.
943 * testsuite/ld-scripts/cross6.t: Likewise.
944 * testsuite/ld-scripts/cross7.t: Likewise.
945
946 2016-05-19 Alan Modra <amodra@gmail.com>
947
948 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
949 exe name rather than constructing testname. Fix typo in
950 sub-test name. Log copying. Use -rpath rather than -R.
951
952 2016-05-18 Nick Clifton <nickc@redhat.com>
953
954 * scripttempl/ft32.sc: Use fixed constants for memory region
955 lengths. Include DWARF debug sections.
956 (.data .bss): Do not assign locations during relocatable links.
957 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
958 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
959 * testsuite/ld-elf/sec64k.exp: Likewise.
960 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
961 * testsuite/ld-elf/merge.d: Likewise.
962 * testsuite/ld-elf/orphan-region.d: Likewise.
963 * testsuite/ld-elf/orphan.s: Likewise.
964 * testsuite/ld-elf/orphan3.d: Likewise.
965 * testsuite/ld-elf/pr349.d: Likewise.
966 * testsuite/ld-elf/warn2.d: Likewise.
967 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
968 that the FT32 does not support shared libraries.
969
970 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
971
972 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
973 global CC.
974
975 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
976
977 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
978 above .progmem*.
979 * scripttempl/avrtiny.sc (text): Likewise.
980
981 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
982
983 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
984 `supports_gnu_unique' to qualify testing.
985
986 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
987
988 * testsuite/ld-elf/flags1.d: Update the xfail list.
989
990 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
991
992 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
993 removal.
994
995 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
996
997 PR ld/20097
998 * testplug2.c (onall_symbols_read): Remove redundant sizeof
999 on EXPECTED_VIEW_LENGTH.
1000 * testplug4.c (onall_symbols_read): Likewise.
1001
1002 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
1003
1004 PR ld/20093
1005 * testsuite/ld-x86-64/pr20093-1.d: New file.
1006 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
1007 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
1008 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
1009 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
1010
1011 2016-05-13 Alan Modra <amodra@gmail.com>
1012
1013 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
1014 Use different output file name for static app without .rel.plt.
1015 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
1016 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
1017 * testsuite/ld-arm/arm-no-rel-plt.r: New.
1018 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
1019 * testsuite/ld-arm/arm-static-app.r: Likewise.
1020
1021 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 PR ld/20070
1024 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
1025 (libldtestplug4_la_SOURCES): New.
1026 (libldtestplug4_la_CFLAGS): Likewise.
1027 (libldtestplug4_la_LDFLAGS): Likewise.
1028 * Makefile.in: Regenerated.
1029 * plugin.c (get_symbols): Return resolution based on IR symbol
1030 kinds for symbols defined/referenced only within IR.
1031 * testplug4.c: New file.
1032 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
1033 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
1034 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
1035 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
1036 (plugin4_path): Likewise.
1037 Add a test for ld/20070.
1038
1039 2016-05-11 Alan Modra <amodra@gmail.com>
1040
1041 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1042 Call elf32_hppa_init_stub_bfd.
1043
1044 2016-05-11 Alan Modra <amodra@gmail.com>
1045
1046 PR 20060
1047 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1048 * testsuite/ld-powerpc/tlsdll.s: New.
1049 * testsuite/ld-powerpc/tlsdll.ver: New.
1050 * testsuite/ld-powerpc/tlsdll_32.s: New.
1051 * testsuite/ld-powerpc/tlsopt5.d: New.
1052 * testsuite/ld-powerpc/tlsopt5.s: New.
1053 * testsuite/ld-powerpc/tlsopt5_32.d: New.
1054 * testsuite/ld-powerpc/tlsopt5_32.s: New.
1055
1056 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1057
1058 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
1059 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
1060
1061 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1062
1063 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
1064 parameter and rename input_section parameter to after_input_section.
1065 Append input stub section to the output section if after_input_section
1066 is NULL.
1067
1068 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
1069
1070 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
1071 test.
1072 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
1073 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
1074
1075 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
1076
1077 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
1078
1079 2016-05-09 Christophe Monat <christophe.monat@st.com>
1080
1081 PR ld/20030
1082 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
1083 tests. Fix misnamed stm32l4xx-fix-all.
1084 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
1085 loads with DP registers.
1086 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
1087 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
1088 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
1089 loads with DP registers.
1090 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
1091
1092 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1093
1094 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
1095 program headers.
1096 (xfail): Remove avr-*-*.
1097 Update regex to check the section flags.
1098 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
1099
1100 2016-05-09 Alan Modra <amodra@gmail.com>
1101
1102 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
1103 * Makefile.in: Regenerate.
1104
1105 2016-05-09 Alan Modra <amodra@gmail.com>
1106
1107 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
1108 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
1109 * testsuite/ld-scripts/section-match-1.t: Likewise.
1110
1111 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 PR ld/17550
1114 * testsuite/ld-elf/pr17550-1.s: New file.
1115 * testsuite/ld-elf/pr17550-2.s: Likewise.
1116 * testsuite/ld-elf/pr17550-3.s: Likewise.
1117 * testsuite/ld-elf/pr17550-4.s: Likewise.
1118 * testsuite/ld-elf/pr17550a.d: Likewise.
1119 * testsuite/ld-elf/pr17550b.d: Likewise.
1120 * testsuite/ld-elf/pr17550c.d: Likewise.
1121 * testsuite/ld-elf/pr17550d.d: Likewise.
1122
1123 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1124
1125 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1126
1127 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 * testsuite/ld-i386/i386.exp: Run load7.
1130 * testsuite/ld-i386/load7.d: New file.
1131 * testsuite/ld-i386/load7.map: Likewise.
1132 * testsuite/ld-i386/load7.s: Likewise.
1133 * testsuite/ld-x86-64/load2.d: Likewise.
1134 * testsuite/ld-x86-64/load2.map: Likewise.
1135 * testsuite/ld-x86-64/load2.s: Likewise.
1136 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1137
1138 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1139
1140 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1141 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1142 Likewise.
1143 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1144 Likewise.
1145
1146 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1147
1148 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1149
1150 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1151
1152 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1153
1154 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1155
1156 * testsuite/ld-unique/unique.d: New test.
1157 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1158 messages for compiled tests.
1159
1160 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1161
1162 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1163 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1164 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1165 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1166 plugin_tests only if check_shared_lib_support is true.
1167 * testsuite/ld-selective/selective.exp: Add --section-start
1168 flag for avr.
1169
1170 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1171
1172 PR 10549
1173 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1174
1175 2016-05-03 Jiong Wang <jiong.wang@arm.com>
1176
1177 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1178 * NEWS: Mention --no-apply-dynamic-relocs.
1179 * ld.texinfo (ld and the ARM family): Document
1180 --no-apply-dynamic-relocs.
1181 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1182 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1183 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1184 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1185 option.
1186
1187 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1188
1189 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1190 before running STT_COMMON tests.
1191
1192 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * config/default.exp (NOPIE_CFLAGS): Download source only on
1195 remote host.
1196 (NOPIE_LDFLAGS): Likewise.
1197 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1198 (check_lto_fat_available): Likewise.
1199 (check_lto_shared_available): Likewise.
1200 (check_ifunc_available): Likewise.
1201 (check_ifunc_attribute_available): Likewise.
1202
1203 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1204
1205 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1206
1207 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1208
1209 PR ld/20006
1210 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1211 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1212 ELF targets.
1213
1214 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 * testsuite/ld-elf/compressed1b.d: Pass
1217 --compress-debug-sections=none to ld.
1218 * testsuite/ld-elf/compressed1c.d: Likewise.
1219
1220 2016-04-27 Alan Modra <amodra@gmail.com>
1221
1222 PR target/19985
1223 * configure.tgt: Don't use var+=.
1224
1225 2016-04-25 Nick Clifton <nickc@redhat.com>
1226
1227 PR target/19985
1228 * configure.tgt: Include big endian PPC64 emulations with little
1229 endian PPC64 targets.
1230
1231 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1232
1233 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1234
1235 2016-04-21 Nick Clifton <nickc@redhat.com>
1236
1237 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1238 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1239 targets. Do not stop the checks when problems are encountered.
1240
1241 2016-04-21 Alan Modra <amodra@gmail.com>
1242
1243 * testsuite/ld-scripts/cross3.t: Add commonly used data
1244 and text section names to output section statements.
1245 * testsuite/ld-scripts/cross4.t: Likewise.
1246 * testsuite/ld-scripts/cross5.t: Likewise.
1247 * testsuite/ld-scripts/cross6.t: Likewise.
1248 * testsuite/ld-scripts/cross7.t: Likewise.
1249
1250 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1251
1252 * ldlang.c (lang_check_relocs): New function.
1253 (lang_process): Call lang_check_relocs after lang_gc_sections.
1254 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1255 call _bfd_elf_link_check_relocs here.
1256
1257 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1258
1259 PR ld/19972
1260 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1261 R_386_NONE or R_X86_64_NONE.
1262
1263 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1264
1265 * testsuite/ld-x86-64/pic1.d: New file.
1266 * testsuite/ld-x86-64/pic1.s: Likewise.
1267 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1268
1269 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * testsuite/ld-x86-64/pie2.d: New file.
1272 * testsuite/ld-x86-64/pie2.s: Likewise.
1273 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1274
1275 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1276
1277 PR ld/19969
1278 * testsuite/ld-x86-64/pr19969.d: New file.
1279 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1280 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1281 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1282
1283 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1284
1285 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1286 New.
1287 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1288 Likewise.
1289 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1290 Likewise.
1291 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1292 Likewise.
1293 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1294 Likewise.
1295 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1296 Likewise.
1297 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1298 Likewise.
1299 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1300 Likewise.
1301 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1302 Set check_relocs_after_open_input to TRUE if
1303 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1304 (gld${EMULATION_NAME}_after_open): Call
1305 _bfd_elf_link_check_relocs on all inputs if
1306 check_relocs_after_open_input is TRUE.
1307
1308 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1309
1310 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1311 my_personality_v0.
1312
1313 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1314
1315 * emultempl/scoreelf.em: Likewise.
1316
1317 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1318
1319 PR ld/19719
1320 * testsuite/ld-x86-64/pr19719.d: New file.
1321 * testsuite/ld-x86-64/pr19719.s: Likewise.
1322 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1323
1324 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1325
1326 * ld.texinfo: Document NOCROSSREFS_TO script command.
1327 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1328 (lang_add_nocrossref_to): New prototype.
1329 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1330 symbols defined in the first section.
1331 (check_nocrossref): Likewise.
1332 * ldgram.y (NOCROSSREFS_TO): New script command.
1333 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1334 (lang_add_nocrossref_to): New function.
1335 * ldlex.l (NOCROSSREFS_TO): New token.
1336 * NEWS: Mention NOCROSSREFS_TO.
1337 * testsuite/ld-scripts/cross4.t: New file.
1338 * testsuite/ld-scripts/cross5.t: Likewise.
1339 * testsuite/ld-scripts/cross6.t: Likewise.
1340 * testsuite/ld-scripts/cross7.t: Likewise.
1341 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1342 tests.
1343
1344 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1345
1346 * Makefile.in: Regenerated with automake 1.11.6.
1347 * aclocal.m4: Likewise.
1348
1349 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1350
1351 * testsuite/ld-arc/arc.exp: New file.
1352 * testsuite/ld-arc/nps-1.s: New file.
1353 * testsuite/ld-arc/nps-1a.d: New file.
1354 * testsuite/ld-arc/nps-1b.d: New file.
1355 * testsuite/ld-arc/nps-1b.err: New file.
1356
1357 2016-04-14 Nick Clifton <nickc@redhat.com>
1358
1359 PR 19457
1360 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1361 exceptions for Mingw and Cygwin.
1362
1363 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1364
1365 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1366 check_ld(terminal).
1367
1368 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1369
1370 PR ld/19774
1371 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1372 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1373 tests.
1374
1375 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1376
1377 PR ld/19939
1378 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1379 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1380 * testsuite/ld-i386/pr19939.s: New file.
1381 * testsuite/ld-i386/pr19939a.d: Likewise.
1382 * testsuite/ld-i386/pr19939b.d: Likewise.
1383 * testsuite/ld-x86-64/pr19939.s: Likewise.
1384 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1385 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1386
1387 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1388
1389 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1390
1391 2016-04-08 Alan Modra <amodra@gmail.com>
1392
1393 PR 18452
1394 * ldlang.c (maybe_overlays): Delete.
1395 (lang_size_sections_1): Remove code setting maybe_overlays.
1396 (lang_check_section_addresses): Instead detect overlays by
1397 exact match of section VMAs here. Fix memory leak.
1398
1399 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1400
1401 * ldlang.c (print_output_section_statement): Show minfo size
1402 in target machine address units.
1403 (print_reloc_statement): Likewise.
1404 (print_padding_statement): Likewise.
1405 (print_data_statement): Likewise. Ensure minimum print_dot
1406 increment of one address unit.
1407
1408 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1409
1410 * emulparams/arc-endianness.sh: Make little endian default choice.
1411
1412 2016-04-07 Nick Clifton <nickc@redhat.com>
1413
1414 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1415 section name.
1416 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1417
1418 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1419
1420 * emulparams/arc-endianness.sh: New file.
1421 * emulparams/arcebelf.sh: Deleted.
1422 * emulparams/arcebelf_prof.sh: Deleted.
1423 * emulparams/arceblinux.sh: Deleted.
1424 * emulparams/arceblinux_prof.sh: Deleted.
1425 * emulparams/arcelf.sh: Include arc-endinness.sh.
1426 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1427 * emulparams/arclinux.sh: Include arc-endinness.sh.
1428 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1429 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1430 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1431 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1432 little endian arc targets.
1433 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1434 * testsuite/ld-elf/group1.d: Likewise.
1435 * testsuite/ld-elf/group3b.d: Likewise.
1436 * testsuite/ld-elf/group8a.d: Likewise.
1437 * testsuite/ld-elf/group8b.d: Likewise.
1438 * testsuite/ld-elf/group9a.d: Likewise.
1439 * testsuite/ld-elf/group9b.d: Likewise.
1440 * testsuite/ld-elf/linkonce2.d: Likewise.
1441 * testsuite/ld-elf/pr12851.d: Likewise.
1442 * testsuite/ld-elf/pr12975.d: Likewise.
1443 * testsuite/ld-elf/pr13177.d: Likewise.
1444 * testsuite/ld-elf/pr13195.d: Likewise.
1445 * testsuite/ld-elf/pr17615.d: Likewise.
1446 * testsuite/ld-elf/pr19162.d: Likewise.
1447 * testsuite/ld-elf/sec64k.exp: Likewise.
1448 * testsuite/lib/ld-lib.exp: Likewise.
1449
1450 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1451
1452 PR ld/19908
1453 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1454 handling fix.
1455 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1456 * testsuite/ld-cris/tls-e-21.d: Likewise.
1457 * testsuite/ld-cris/tls-e-23.d: Likewise.
1458 * testsuite/ld-cris/tls-e-80.d: Likewise.
1459 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1460 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1461 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1462 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1463 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1464 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1465 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1466 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1467 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1468 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1469
1470 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1471
1472 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1473 * testsuite/ld-discard/start.d: Likewise.
1474 * testsuite/ld-discard/static.d: Likewise.
1475 * testsuite/ld-elf/group1.d: Likewise.
1476 * testsuite/ld-elf/group3b.d: Likewise.
1477 * testsuite/ld-elf/orphan-region.d: Likewise.
1478 * testsuite/ld-elf/orphan.d: Likewise.
1479 * testsuite/ld-elf/orphan3.d: Likewise.
1480 * testsuite/ld-elf/pr349.d: Likewise.
1481 * testsuite/ld-elf/warn1.d: Likewise.
1482 * testsuite/ld-elf/warn2.d: Likewise.
1483 * testsuite/ld-elf/warn3.d: Likewise.
1484 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1485 through linker flags.
1486 * testsuite/ld-srec/srec.exp: Set as xfail.
1487
1488 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1489
1490 PR ld/19827
1491 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1492 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1493
1494 2016-04-04 Nick Clifton <nickc@redhat.com>
1495
1496 PR 19803
1497 * emultempl/pe.em (change_undef): New function. Encapsulates
1498 duplicated code in pe_fixup_stdcalls and adds the newly defined
1499 sym to the gc root list.
1500 (pe_fixup_stdcall): Use the new function.
1501 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1502 symbol to gc root list.
1503
1504 2016-03-31 Alan Modra <amodra@gmail.com>
1505
1506 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1507 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1508 (print_input_section): Don't use TO_ADDR when printing section
1509 size.
1510 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1511 (lang_size_sections): Use TO_ADDR in relro end calculation.
1512
1513 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1514
1515 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1516 value from regexp_diff.
1517 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1518 * testsuite/ld-elf/orphan-6.l: Likewise.
1519
1520 2016-03-30 Alan Modra <amodra@gmail.com>
1521
1522 PR 18452
1523 * ldlang.c (maybe_overlays): New static var.
1524 (lang_size_sections_1): Set it here.
1525 (struct check_sec): New.
1526 (sort_sections_by_lma): Adjust for array of structs.
1527 (sort_sections_by_vma): New function.
1528 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1529 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1530
1531 2016-03-30 Alan Modra <amodra@gmail.com>
1532
1533 * ldlang.c (lang_size_sections_1): Correct code detecting a
1534 backward non-overlapping move.
1535
1536 2016-03-30 Alan Modra <amodra@gmail.com>
1537
1538 * ldlang.c (IS_TBSS): New macro, extracted from..
1539 (IGNORE_SECTION): ..here.
1540 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1541 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1542
1543 2016-03-22 Nick Clifton <nickc@redhat.com>
1544
1545 PR ld/19803
1546 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1547 symbol name to the list of gc symbols.
1548 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1549 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1550 and fini function names.
1551 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1552 the gc symbol list.
1553 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1554 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1555
1556 2016-03-22 Nick Clifton <nickc@redhat.com>
1557
1558 * configure: Regenerate.
1559
1560 2016-03-21 Nick Clifton <nickc@redhat.com>
1561
1562 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1563 * plugin.c: Likewise.
1564 * pe-dll.c: Likewise.
1565
1566 2016-03-18 Awson <kyrab@mail.ru>
1567
1568 PR 19531
1569 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1570 this section.
1571 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1572
1573 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1574
1575 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1576
1577 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 PR ld/19827
1580 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1581 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1582 * testsuite/ld-i386/pr19827.rd: New file.
1583 * testsuite/ld-i386/pr19827a.S: Likewise.
1584 * testsuite/ld-i386/pr19827b.S: Likewise.
1585 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1586 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1587 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1588
1589 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 PR ld/19807
1592 * Makefile.am (ELF_X86_DEPS): Add
1593 $(srcdir)/emulparams/reloc_overflow.sh.
1594 * Makefile.in: Regenerated.
1595 * NEWS: Mention -z noreloc-overflow.
1596 * ld.texinfo: Document -z noreloc-overflow.
1597 * emulparams/elf32_x86_64.sh: Source
1598 ${srcdir}/emulparams/reloc_overflow.sh.
1599 * emulparams/elf_x86_64.sh: Likewise.
1600 * emulparams/reloc_overflow.sh: New file.
1601 * testsuite/ld-x86-64/pr19807-1.s: New file.
1602 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1603 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1604 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1605 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1606 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1607 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1608 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1609 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1610 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1611
1612 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1613
1614 PR ld/19539
1615 * testsuite/ld-i386/i386.exp: Run pr19539.
1616 * testsuite/ld-i386/pr19539.d: New file.
1617 * testsuite/ld-i386/pr19539.s: Likewise.
1618 * testsuite/ld-i386/pr19539.t: Likewise.
1619 * testsuite/ld-x86-64/pr19539.s: Likewise.
1620 * testsuite/ld-x86-64/pr19539.t: Likewise.
1621 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1622 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1623 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1624
1625 2016-03-10 Mickael Guene <mickael.guene@st.com>
1626
1627 PR gas/19744
1628 * testsuite/ld-arm/arm-elf.exp: New tests.
1629 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1630 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1631
1632 2016-03-10 Nick Clifton <nickc@redhat.com>
1633
1634 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1635
1636 2016-03-09 Pedro Alves <palves@redhat.com>
1637
1638 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1639 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1640
1641 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1642
1643 PR ld/19789
1644 * testsuite/ld-elf/pr19789.d: New file.
1645 * testsuite/ld-elf/pr19789.s: Likewise.
1646
1647 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 PR ld/19784
1650 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1651 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1652 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1653 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1654 * testsuite/ld-ifunc/pass.out: New file.
1655 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1656 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1657 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1658
1659 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 PR ld/19774
1662 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1663 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1664 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1665 --as-needed for pr18841c.
1666
1667 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 PR ld/19774
1670 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1671 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1672 before tmpdir/got1d.so and test --as-needed.
1673 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1674 tmpdir/pr18900.so and test --as-needed.
1675
1676 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1677
1678 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1679 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1680 result.
1681 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1682
1683 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1686 before tmpdir/copyreloc-lib.so and test --as-needed.
1687 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1688
1689 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 PR ld/19579
1692 * testsuite/ld-elf/pr19579a.c: New file.
1693 * testsuite/ld-elf/pr19579b.c: Likewise.
1694 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1695
1696 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1697
1698 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1699
1700 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1703 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1704
1705 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1706
1707 PR ld/19739
1708 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1709 input sections for relocatable link.
1710 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1711 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1712
1713 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1714
1715 PR ld/19739
1716 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1717 merge flags of other input sections for relocatable link.
1718
1719 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1720
1721 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1722
1723 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1724
1725 * testsuite/ld-elf/pr19162.d: Skip arc target.
1726
1727 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1728
1729 PR ld/19162
1730 * testsuite/ld-elf/pr19162.d: New file.
1731 * testsuite/ld-elf/pr19162a.s: Likwise.
1732 * testsuite/ld-elf/pr19162b.s: Likwise.
1733
1734 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1735
1736 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1737 * testsuite/ld-elf/merge2.d: Likewise.
1738 * testsuite/ld-elf/merge3.d: Likewise.
1739
1740 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1741
1742 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1743 generated.
1744
1745 2016-02-26 Renlin Li <renlin.li@arm.com>
1746
1747 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1748 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1749 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1750 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1751 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1752 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1753 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1754 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1755 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1756 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1757
1758 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1759
1760 PR ld/19609
1761 * testsuite/ld-i386/got1.dd: Updated.
1762 * testsuite/ld-i386/lea1c.d: Likewise.
1763 * testsuite/ld-i386/load1-nacl.d: Likewise.
1764 * testsuite/ld-i386/load1.d: Likewise.
1765 * testsuite/ld-i386/load4b.d: Likewise.
1766 * testsuite/ld-i386/load5b.d: Likewise.
1767 * testsuite/ld-i386/mov1b.d: Likewise.
1768 * testsuite/ld-x86-64/mov1b.d: Likewise.
1769 * testsuite/ld-x86-64/mov1d.d: Likewise.
1770 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1771 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1772 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1773 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1774 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1775 * testsuite/ld-x86-64/lea1a.d: Likewise.
1776 * testsuite/ld-x86-64/lea1b.d: Likewise.
1777 * testsuite/ld-x86-64/lea1c.d: Likewise.
1778 * testsuite/ld-x86-64/lea1d.d: Likewise.
1779 * testsuite/ld-x86-64/lea1e.d: Likewise.
1780 * testsuite/ld-x86-64/lea1f.d: Likewise.
1781 * testsuite/ld-x86-64/mov1b.d: Likewise.
1782 * testsuite/ld-x86-64/mov1d.d: Likewise.
1783 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1784 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1785 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1786 * testsuite/ld-i386/pr19609-1.s: New file.
1787 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1788 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1789 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1790 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1791 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1792 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1793 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1794 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1795 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1796 * testsuite/ld-i386/pr19609-2.s: Likewise.
1797 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1798 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1799 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1800 * testsuite/ld-i386/undefweak.s: Likewise.
1801 * testsuite/ld-i386/undefweaka.d: Likewise.
1802 * testsuite/ld-i386/undefweakb.d: Likewise.
1803 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1804 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1805 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1806 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1807 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1808 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1809 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1810 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1811 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1812 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1813 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1814 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1815 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1816 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1817 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1818 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1819 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1820 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1821 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1822 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1823 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1824 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1825 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1826 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1827 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1828 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1829 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1830 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1831 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1832 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1833 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1834 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1835 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1836 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1837 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1838 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1839 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1840 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1841 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1842 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1843 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1844 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1845 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1846 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1847 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1848 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1849 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1850 PR ld/19609.
1851 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1852 and tests for PR ld/19609.
1853
1854 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1855
1856 PR ld/19645
1857 * NEWS: Mention -z common/-z nocommon for ELF targets.
1858 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1859 -z common and -z nocommon.
1860 * ld.texinfo: Document -z common/-z nocommon.
1861 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1862 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1863 --elf-stt-common=yes with assembler.
1864 * testsuite/ld-elfcomm/common-1.s: New file.
1865 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1866 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1867 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1868 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1869 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1870 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1871 * testsuite/ld-elfcomm/common-2.s: Likewise.
1872 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1873 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1874 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1875 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1876 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1877 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1878 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1879 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1880 * testsuite/ld-i386/pr19645.d: Likewise.
1881 * testsuite/ld-i386/pr19645.s: Likewise.
1882 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1883 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1884 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1885 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1886 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1887 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1888 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1889 * testsuite/ld-x86-64/pr19645.d: Likewise.
1890 * testsuite/ld-x86-64/pr19645.s: Likewise.
1891 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1892 with assembler.
1893 (assembler_generates_commons): Removed.
1894 Run -z common/-z nocommon tests. Run *.d tests.
1895 * testsuite/ld-i386/i386.exp: Run pr19645.
1896 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1897 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1898 assembler. Test STT_COMMON with readelf.
1899
1900 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 PR ld/19636
1903 PR ld/19704
1904 PR ld/19719
1905 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1906 * Makefile.in: Regenerated.
1907 * NEWS: Mention -z nodynamic-undefined-weak.
1908 * ld.texinfo: Document -z nodynamic-undefined-weak.
1909 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1910 * emulparams/dynamic_undefined_weak.sh: New file.
1911 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1912 * emulparams/elf_i386.sh: Likewise.
1913 * emulparams/elf_i386_be.sh: Likewise.
1914 * emulparams/elf_i386_chaos.sh: Likewise.
1915 * emulparams/elf_i386_ldso.sh: Likewise.
1916 * emulparams/elf_i386_vxworks.sh: Likewise.
1917 * emulparams/elf_iamcu.sh: Likewise.
1918 * emulparams/elf_k1om.sh: Likewise.
1919 * emulparams/elf_l1om.sh: Likewise.
1920 * emulparams/elf_x86_64.sh: Likewise.
1921 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1922 Append.
1923 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1924 * testsuite/ld-elf/pr19719a.c: New file.
1925 * testsuite/ld-elf/pr19719b.c: Likewise.
1926 * testsuite/ld-elf/pr19719c.c: Likewise.
1927 * testsuite/ld-elf/pr19719d.c: Likewise.
1928 * testsuite/ld-i386/pr19636-1.s: Likewise.
1929 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1930 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1931 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1932 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1933 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1934 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1935 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1936 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1937 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1938 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1939 * testsuite/ld-i386/pr19636-2.s: Likewise.
1940 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1941 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1942 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1943 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1944 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1945 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1946 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1947 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1948 * testsuite/ld-i386/pr19636-3.s: Likewise.
1949 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1950 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1951 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1952 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1953 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1954 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1955 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1956 * testsuite/ld-i386/pr19636-4.s: Likewise.
1957 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1958 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1959 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1960 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1961 * testsuite/ld-i386/pr19704.out: Likewise.
1962 * testsuite/ld-i386/pr19704a.c: Likewise.
1963 * testsuite/ld-i386/pr19704b.c: Likewise.
1964 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1965 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1966 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1967 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1968 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1969 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1970 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1971 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1972 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1973 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1974 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1975 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1976 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1977 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1978 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1979 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1980 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1981 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1982 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1983 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1984 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1985 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1986 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1987 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1988 * testsuite/ld-x86-64/pr19704.out: Likewise.
1989 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1990 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1991 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1992 Run mix_pic_and_non_pic.
1993 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1994 Run undefined_weak and PR ld/19636 tests.
1995 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1996 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1997 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1998
1999 2016-02-25 Nick Clifton <nickc@redhat.com>
2000
2001 * ld.h (struct ld_config_type): Remove specified_data_size field.
2002
2003 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 PR ld/19698
2006 * testsuite/ld-elf/pr19698.d: New file.
2007 * testsuite/ld-elf/pr19698.s: Likewise.
2008 * testsuite/ld-elf/pr19698.t: Likewise.
2009
2010 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2011
2012 * Makefile.am (ELF_X86_DEPS): New.
2013 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
2014 (eelf_i386_chaos.c): Likewise.
2015 (eelf_i386_fbsd.c): Likewise.
2016 (eelf_i386_ldso.c): Likewise.
2017 (eelf_i386_nacl.c): Likewise.
2018 (eelf_i386_sol2.c): Likewise.
2019 (eelf_iamcu.c): Likewise.
2020 (eelf32_x86_64.c): Likewise.
2021 (eelf32_x86_64_nacl.c): Likewise.
2022 (eelf_l1om.c): Likewise.
2023 (eelf_l1om_fbsd.c): Likewise.
2024 (eelf_k1om.c): Likewise.
2025 (eelf_k1om_fbsd.c): Likewise.
2026 (eelf_x86_64.c): Likewise.
2027 (eelf_x86_64_cloudabi.c): Likewise.
2028 (eelf_x86_64_fbsd.c): Likewise.
2029 (eelf_x86_64_sol2.c): Likewise.
2030 * Makefile.in: Regenerated.
2031
2032 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
2033
2034 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
2035 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
2036 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
2037 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
2038
2039 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
2040
2041 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
2042
2043 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
2046 *-*-gnu* and *-*-solaris*.
2047 * testsuite/ld-elf/pr19617b.d: Likewise.
2048 * testsuite/ld-elf/pr19617c.d: Likewise.
2049
2050 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
2051
2052 PR ld/19617
2053 * testsuite/ld-elf/pr19617.s: New file.
2054 * testsuite/ld-elf/pr19617a.d: Likewise.
2055 * testsuite/ld-elf/pr19617b.d: Likewise.
2056 * testsuite/ld-elf/pr19617c.d: Likewise.
2057
2058 2016-02-18 Nick Clifton <nickc@redhat.com>
2059
2060 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
2061 in-tree xg++ executable after checking for the presence of an
2062 in-tree g++ executable.
2063 * Makefile.in: Regenerate.
2064
2065 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2066
2067 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2068 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2069 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2070
2071 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
2072
2073 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2074 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2075 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2076 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2077 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2078 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2079 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
2080 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2081 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2082 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2083 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2084 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
2085 * testsuite/ld-x86-64/load1c.d: Likewise.
2086 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
2087 * testsuite/ld-x86-64/load1d.d: Likewise.
2088 * testsuite/ld-x86-64/pr14207.d: Likewise.
2089 * testsuite/ld-x86-64/pr19162.d: Likewise.
2090 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2091 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2092 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2093 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2094 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2095 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2096
2097 2016-02-17 Nick Clifton <nickc@redhat.com>
2098
2099 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
2100
2101 2016-02-15 Nick Clifton <nickc@redhat.com>
2102
2103 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
2104 description of the flags produced by readelf.
2105 * testsuite/ld-i386/pr12921.d: Likewise.
2106 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
2107 * testsuite/ld-i386/tlsbin.rd: Likewise.
2108 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
2109 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
2110 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
2111 * testsuite/ld-i386/tlsdesc.rd: Likewise.
2112 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
2113 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2114 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2115 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2116 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2117 * testsuite/ld-i386/tlspic.rd: Likewise.
2118 * testsuite/ld-s390/tlsbin.rd: Likewise.
2119 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2120 * testsuite/ld-s390/tlspic.rd: Likewise.
2121 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2122 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2123 * testsuite/ld-sh/tlspic-2.d: Likewise.
2124 * testsuite/ld-tic6x/common.d: Likewise.
2125 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2126 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2127 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2128 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2129 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2130 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2131 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2132 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2133 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2134 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2135 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2136 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2137 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2138 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2139 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2140 * testsuite/ld-x86-64/pr12718.d: Likewise.
2141 * testsuite/ld-x86-64/pr12921.d: Likewise.
2142 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2143 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2144 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2145 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2146 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2147 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2148 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2149 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2150 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2151 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2152 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2153 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2154 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2155 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2156
2157 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 PR ld/19615
2160 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2161 PIE.
2162 * lexsup.c (parse_args): Enable -Bsymbolic and
2163 -Bsymbolic-functions for PIE.
2164 * testsuite/ld-i386/i386.exp: Run pr19615.
2165 * testsuite/ld-i386/pr19615.d: New file.
2166 * testsuite/ld-i386/pr19615.s: Likewise.
2167 * testsuite/ld-x86-64/pr19615.d: Likewise.
2168 * testsuite/ld-x86-64/pr19615.s: Likewise.
2169
2170 2016-02-09 Nick Clifton <nickc@redhat.com>
2171
2172 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2173 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2174 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2175 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2176
2177 2016-02-04 Nick Clifton <nickc@redhat.com>
2178
2179 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2180 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2181 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2182 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2183 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2184 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2185 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2186 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2187 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2188
2189 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2190
2191 PR gas/19520
2192 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2193 * testsuite/ld-i386/call1.d: Likewise.
2194 * testsuite/ld-i386/call2.d: Likewise.
2195 * testsuite/ld-i386/call3a.d: Likewise.
2196 * testsuite/ld-i386/call3b.d: Likewise.
2197 * testsuite/ld-i386/call3c.d: Likewise.
2198 * testsuite/ld-i386/call3d.d: Likewise.
2199 * testsuite/ld-i386/call3e.d: Likewise.
2200 * testsuite/ld-i386/call3f.d: Likewise.
2201 * testsuite/ld-i386/call3g.d: Likewise.
2202 * testsuite/ld-i386/call3h.d: Likewise.
2203 * testsuite/ld-i386/jmp1.d: Likewise.
2204 * testsuite/ld-i386/jmp2.d: Likewise.
2205 * testsuite/ld-i386/lea1c.d: Likewise.
2206 * testsuite/ld-i386/load1.d: Likewise.
2207 * testsuite/ld-i386/load2.d: Likewise.
2208 * testsuite/ld-i386/load3.d: Likewise.
2209 * testsuite/ld-i386/load4a.d: Likewise.
2210 * testsuite/ld-i386/load5a.d: Likewise.
2211 * testsuite/ld-i386/mov2b.d: Likewise.
2212 * testsuite/ld-i386/mov3.d: Likewise.
2213 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2214 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2215 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2216 * testsuite/ld-x86-64/call1a.d: Likewise.
2217 * testsuite/ld-x86-64/call1b.d: Likewise.
2218 * testsuite/ld-x86-64/call1c.d: Likewise.
2219 * testsuite/ld-x86-64/call1d.d: Likewise.
2220 * testsuite/ld-x86-64/call1e.d: Likewise.
2221 * testsuite/ld-x86-64/call1f.d: Likewise.
2222 * testsuite/ld-x86-64/call1h.d: Likewise.
2223 * testsuite/ld-x86-64/call1i.d: Likewise.
2224 * testsuite/ld-x86-64/load1a.d: Likewise.
2225 * testsuite/ld-x86-64/load1b.d: Likewise.
2226 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2227 * testsuite/ld-i386/got1.dd: Updated.
2228 * testsuite/ld-i386/got1d.S (1): Removed.
2229 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2230 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2231
2232 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2233
2234 PR ld/18591
2235 * testsuite/ld-x86-64/pr18591.d: New file.
2236 * testsuite/ld-x86-64/pr18591.s: Likewise.
2237 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2238
2239 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2240
2241 PR ld/19553
2242 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2243 * testsuite/ld-elf/pr19553.map: New file.
2244 * testsuite/ld-elf/pr19553.map: Likewise.
2245 * testsuite/ld-elf/pr19553a.c: Likewise.
2246 * testsuite/ld-elf/pr19553b.c: Likewise.
2247 * testsuite/ld-elf/pr19553b.out: Likewise.
2248 * testsuite/ld-elf/pr19553c.c: Likewise.
2249 * testsuite/ld-elf/pr19553c.out: Likewise.
2250 * testsuite/ld-elf/pr19553d.c: Likewise.
2251 * testsuite/ld-elf/pr19553d.out: Likewise.
2252
2253 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2254
2255 PR ld/19539
2256 * testsuite/ld-elf/pr19539.d: New file.
2257 * testsuite/ld-elf/pr19539.s: Likewise.
2258 * testsuite/ld-elf/pr19539.t: Likewise.
2259
2260 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 PR ld/19533
2263 * configure.ac (compressed_debug_sections): Replace == with =.
2264 * configure: Regenerated.
2265
2266 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2267
2268 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2269 * scripttempl/avrtiny.sc (.noinit): Likewise.
2270
2271 2016-01-21 Nick Clifton <nickc@redhat.com>
2272
2273 PR ld/19453
2274 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2275 the arm-netbsdelf target.
2276
2277 PR ld/19455
2278 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2279 disassmebler output.
2280 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2281 * testsuite/ld-arm/vxworks1.dd: Likewise.
2282 * testsuite/ld-arm/vxworks1.rd: Likewise.
2283 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2284
2285 2016-01-20 Jiong Wang <jiong.wang@arm.com>
2286
2287 * testsuite/ld-aarch64/farcall-section.d: Delete.
2288 * testsuite/ld-aarch64/farcall-section.s: Delete.
2289 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2290 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2291 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2292 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2293 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2294
2295 2016-01-20 Nick Clifton <nickc@redhat.com>
2296
2297 PR 19457
2298 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2299 early for PE based targets.
2300 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2301 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2302
2303 2016-01-20 Mickael Guene <mickael.guene@st.com>
2304
2305 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2306 Add 'y' attribute usage.
2307 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2308 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2309 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2310
2311 2016-01-19 Nick Clifton <nickc@redhat.com>
2312
2313 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2314 foo@FOO and bar@@FOO.
2315
2316 2016-01-18 Alan Modra <amodra@gmail.com>
2317
2318 * configure: Regenerate.
2319
2320 2016-01-18 Nick Clifton <nickc@redhat.com>
2321
2322 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2323 is not configured to support plugins.
2324
2325 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2326 but with 16 byte section alignment.
2327 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2328 test for MIPS targets.
2329
2330 2016-01-17 Alan Modra <amodra@gmail.com>
2331
2332 * configure: Regenerate.
2333
2334 2016-01-17 Alan Modra <amodra@gmail.com>
2335
2336 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2337 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2338 * testsuite/ld-elf/pr14156a.d: Likewise.
2339 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2340 * testsuite/ld-elf/sec64k.exp: Likewise.
2341
2342 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2343
2344 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2345 Set address of .foo section when linking.
2346 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2347 in .foo section.
2348 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2349 output to the above changes.
2350
2351 2016-01-13 Nick Clifton <nickc@redhat.com>
2352
2353 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2354 for MIPS targets.
2355
2356 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2357 fail for MIPS targets.
2358
2359 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2360 MIPS targets.
2361
2362 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2363
2364 * testsuite/ld-arm/arm-elf.exp: New test.
2365 * testsuite/ld-arm/unwind-mix.d: New file.
2366 * testsuite/ld-arm/unwind-mix1.s: New file.
2367 * testsuite/ld-arm/unwind-mix2.s: New file.
2368
2369 2016-01-08 Jiong Wang <jiong.wang@arm.com>
2370
2371 PR ld/19368
2372 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2373 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2374 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2375 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2376 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2377 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2378
2379 2016-01-05 Nick Clifton <nickc@redhat.com>
2380
2381 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2382 MSP430 hardware multiply address range.
2383 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2384 (__romdatacopysize): Define.
2385 * scripttempl/elf32msp430_3.sc: Likewise.
2386
2387 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2388
2389 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2390 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2391
2392 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2393
2394 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2395 messages expected according to MIPS BFD private data merge
2396 changes.
2397 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2398 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2399 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2400 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2401 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2402 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2403 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2404 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2405 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2406 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2407 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2408 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2409 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2410
2411 2016-01-01 Alan Modra <amodra@gmail.com>
2412
2413 Update year range in copyright notice of all files.
2414
2415 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2416 \f
2417 Copyright (C) 2016 Free Software Foundation, Inc.
2418
2419 Copying and distribution of this file, with or without modification,
2420 are permitted in any medium without royalty provided the copyright
2421 notice and this notice are preserved.
2422
2423 Local Variables:
2424 mode: change-log
2425 left-margin: 8
2426 fill-column: 74
2427 version-control: never
2428 End:
This page took 0.081377 seconds and 4 git commands to generate.