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