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