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