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