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