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