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