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