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