Hack crossref tests for powerpc64
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2016-05-19 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
4 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
5 * testsuite/ld-scripts/cross3.t: Likewise.
6 * testsuite/ld-scripts/cross4.t: Likewise.
7 * testsuite/ld-scripts/cross5.t: Likewise.
8 * testsuite/ld-scripts/cross6.t: Likewise.
9 * testsuite/ld-scripts/cross7.t: Likewise.
10
11 2016-05-19 Alan Modra <amodra@gmail.com>
12
13 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
14 exe name rather than constructing testname. Fix typo in
15 sub-test name. Log copying. Use -rpath rather than -R.
16
17 2016-05-18 Nick Clifton <nickc@redhat.com>
18
19 * scripttempl/ft32.sc: Use fixed constants for memory region
20 lengths. Include DWARF debug sections.
21 (.data .bss): Do not assign locations during relocatable links.
22 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
23 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
24 * testsuite/ld-elf/sec64k.exp: Likewise.
25 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
26 * testsuite/ld-elf/merge.d: Likewise.
27 * testsuite/ld-elf/orphan-region.d: Likewise.
28 * testsuite/ld-elf/orphan.s: Likewise.
29 * testsuite/ld-elf/orphan3.d: Likewise.
30 * testsuite/ld-elf/pr349.d: Likewise.
31 * testsuite/ld-elf/warn2.d: Likewise.
32 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
33 that the FT32 does not support shared libraries.
34
35 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
36
37 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
38 global CC.
39
40 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
41
42 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
43 above .progmem*.
44 * scripttempl/avrtiny.sc (text): Likewise.
45
46 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
47
48 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
49 `supports_gnu_unique' to qualify testing.
50
51 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
52
53 * testsuite/ld-elf/flags1.d: Update the xfail list.
54
55 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
56
57 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
58 removal.
59
60 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
61
62 PR ld/20097
63 * testplug2.c (onall_symbols_read): Remove redundant sizeof
64 on EXPECTED_VIEW_LENGTH.
65 * testplug4.c (onall_symbols_read): Likewise.
66
67 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
68
69 PR ld/20093
70 * testsuite/ld-x86-64/pr20093-1.d: New file.
71 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
72 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
73 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
74 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
75
76 2016-05-13 Alan Modra <amodra@gmail.com>
77
78 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
79 Use different output file name for static app without .rel.plt.
80 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
81 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
82 * testsuite/ld-arm/arm-no-rel-plt.r: New.
83 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
84 * testsuite/ld-arm/arm-static-app.r: Likewise.
85
86 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
87
88 PR ld/20070
89 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
90 (libldtestplug4_la_SOURCES): New.
91 (libldtestplug4_la_CFLAGS): Likewise.
92 (libldtestplug4_la_LDFLAGS): Likewise.
93 * Makefile.in: Regenerated.
94 * plugin.c (get_symbols): Return resolution based on IR symbol
95 kinds for symbols defined/referenced only within IR.
96 * testplug4.c: New file.
97 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
98 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
99 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
100 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
101 (plugin4_path): Likewise.
102 Add a test for ld/20070.
103
104 2016-05-11 Alan Modra <amodra@gmail.com>
105
106 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
107 Call elf32_hppa_init_stub_bfd.
108
109 2016-05-11 Alan Modra <amodra@gmail.com>
110
111 PR 20060
112 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
113 * testsuite/ld-powerpc/tlsdll.s: New.
114 * testsuite/ld-powerpc/tlsdll.ver: New.
115 * testsuite/ld-powerpc/tlsdll_32.s: New.
116 * testsuite/ld-powerpc/tlsopt5.d: New.
117 * testsuite/ld-powerpc/tlsopt5.s: New.
118 * testsuite/ld-powerpc/tlsopt5_32.d: New.
119 * testsuite/ld-powerpc/tlsopt5_32.s: New.
120
121 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
122
123 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
124 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
125
126 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
127
128 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
129 parameter and rename input_section parameter to after_input_section.
130 Append input stub section to the output section if after_input_section
131 is NULL.
132
133 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
134
135 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
136 test.
137 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
138 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
139
140 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
141
142 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
143
144 2016-05-09 Christophe Monat <christophe.monat@st.com>
145
146 PR ld/20030
147 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
148 tests. Fix misnamed stm32l4xx-fix-all.
149 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
150 loads with DP registers.
151 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
152 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
153 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
154 loads with DP registers.
155 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
156
157 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
158
159 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
160 program headers.
161 (xfail): Remove avr-*-*.
162 Update regex to check the section flags.
163 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
164
165 2016-05-09 Alan Modra <amodra@gmail.com>
166
167 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
168 * Makefile.in: Regenerate.
169
170 2016-05-09 Alan Modra <amodra@gmail.com>
171
172 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
173 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
174 * testsuite/ld-scripts/section-match-1.t: Likewise.
175
176 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
177
178 PR ld/17550
179 * testsuite/ld-elf/pr17550-1.s: New file.
180 * testsuite/ld-elf/pr17550-2.s: Likewise.
181 * testsuite/ld-elf/pr17550-3.s: Likewise.
182 * testsuite/ld-elf/pr17550-4.s: Likewise.
183 * testsuite/ld-elf/pr17550a.d: Likewise.
184 * testsuite/ld-elf/pr17550b.d: Likewise.
185 * testsuite/ld-elf/pr17550c.d: Likewise.
186 * testsuite/ld-elf/pr17550d.d: Likewise.
187
188 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
189
190 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
191
192 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
193
194 * testsuite/ld-i386/i386.exp: Run load7.
195 * testsuite/ld-i386/load7.d: New file.
196 * testsuite/ld-i386/load7.map: Likewise.
197 * testsuite/ld-i386/load7.s: Likewise.
198 * testsuite/ld-x86-64/load2.d: Likewise.
199 * testsuite/ld-x86-64/load2.map: Likewise.
200 * testsuite/ld-x86-64/load2.s: Likewise.
201 * testsuite/ld-x86-64/x86-64.exp: Run load2.
202
203 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
204
205 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
206 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
207 Likewise.
208 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
209 Likewise.
210
211 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
212
213 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
214
215 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
216
217 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
218
219 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
220
221 * testsuite/ld-unique/unique.d: New test.
222 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
223 messages for compiled tests.
224
225 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
226
227 * testsuite/ld-elf/pr18735.d: Allow other symbols.
228 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
229 * testsuite/ld-gc/pr14265.d: Allow other symbols.
230 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
231 plugin_tests only if check_shared_lib_support is true.
232 * testsuite/ld-selective/selective.exp: Add --section-start
233 flag for avr.
234
235 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
236
237 PR 10549
238 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
239
240 2016-05-03 Jiong Wang <jiong.wang@arm.com>
241
242 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
243 * NEWS: Mention --no-apply-dynamic-relocs.
244 * ld.texinfo (ld and the ARM family): Document
245 --no-apply-dynamic-relocs.
246 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
247 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
248 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
249 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
250 option.
251
252 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
253
254 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
255 before running STT_COMMON tests.
256
257 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
258
259 * config/default.exp (NOPIE_CFLAGS): Download source only on
260 remote host.
261 (NOPIE_LDFLAGS): Likewise.
262 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
263 (check_lto_fat_available): Likewise.
264 (check_lto_shared_available): Likewise.
265 (check_ifunc_available): Likewise.
266 (check_ifunc_attribute_available): Likewise.
267
268 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
269
270 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
271
272 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
273
274 PR ld/20006
275 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
276 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
277 ELF targets.
278
279 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
280
281 * testsuite/ld-elf/compressed1b.d: Pass
282 --compress-debug-sections=none to ld.
283 * testsuite/ld-elf/compressed1c.d: Likewise.
284
285 2016-04-27 Alan Modra <amodra@gmail.com>
286
287 PR target/19985
288 * configure.tgt: Don't use var+=.
289
290 2016-04-25 Nick Clifton <nickc@redhat.com>
291
292 PR target/19985
293 * configure.tgt: Include big endian PPC64 emulations with little
294 endian PPC64 targets.
295
296 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
297
298 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
299
300 2016-04-21 Nick Clifton <nickc@redhat.com>
301
302 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
303 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
304 targets. Do not stop the checks when problems are encountered.
305
306 2016-04-21 Alan Modra <amodra@gmail.com>
307
308 * testsuite/ld-scripts/cross3.t: Add commonly used data
309 and text section names to output section statements.
310 * testsuite/ld-scripts/cross4.t: Likewise.
311 * testsuite/ld-scripts/cross5.t: Likewise.
312 * testsuite/ld-scripts/cross6.t: Likewise.
313 * testsuite/ld-scripts/cross7.t: Likewise.
314
315 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
316
317 * ldlang.c (lang_check_relocs): New function.
318 (lang_process): Call lang_check_relocs after lang_gc_sections.
319 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
320 call _bfd_elf_link_check_relocs here.
321
322 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
323
324 PR ld/19972
325 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
326 R_386_NONE or R_X86_64_NONE.
327
328 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
329
330 * testsuite/ld-x86-64/pic1.d: New file.
331 * testsuite/ld-x86-64/pic1.s: Likewise.
332 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
333
334 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
335
336 * testsuite/ld-x86-64/pie2.d: New file.
337 * testsuite/ld-x86-64/pie2.s: Likewise.
338 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
339
340 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
341
342 PR ld/19969
343 * testsuite/ld-x86-64/pr19969.d: New file.
344 * testsuite/ld-x86-64/pr19969a.S: Likewise.
345 * testsuite/ld-x86-64/pr19969b.S: Likewise.
346 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
347
348 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
349
350 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
351 New.
352 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
353 Likewise.
354 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
355 Likewise.
356 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
357 Likewise.
358 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
359 Likewise.
360 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
361 Likewise.
362 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
363 Likewise.
364 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
365 Likewise.
366 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
367 Set check_relocs_after_open_input to TRUE if
368 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
369 (gld${EMULATION_NAME}_after_open): Call
370 _bfd_elf_link_check_relocs on all inputs if
371 check_relocs_after_open_input is TRUE.
372
373 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
374
375 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
376 my_personality_v0.
377
378 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
379
380 * emultempl/scoreelf.em: Likewise.
381
382 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
383
384 PR ld/19719
385 * testsuite/ld-x86-64/pr19719.d: New file.
386 * testsuite/ld-x86-64/pr19719.s: Likewise.
387 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
388
389 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
390
391 * ld.texinfo: Document NOCROSSREFS_TO script command.
392 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
393 (lang_add_nocrossref_to): New prototype.
394 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
395 symbols defined in the first section.
396 (check_nocrossref): Likewise.
397 * ldgram.y (NOCROSSREFS_TO): New script command.
398 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
399 (lang_add_nocrossref_to): New function.
400 * ldlex.l (NOCROSSREFS_TO): New token.
401 * NEWS: Mention NOCROSSREFS_TO.
402 * testsuite/ld-scripts/cross4.t: New file.
403 * testsuite/ld-scripts/cross5.t: Likewise.
404 * testsuite/ld-scripts/cross6.t: Likewise.
405 * testsuite/ld-scripts/cross7.t: Likewise.
406 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
407 tests.
408
409 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
410
411 * Makefile.in: Regenerated with automake 1.11.6.
412 * aclocal.m4: Likewise.
413
414 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
415
416 * testsuite/ld-arc/arc.exp: New file.
417 * testsuite/ld-arc/nps-1.s: New file.
418 * testsuite/ld-arc/nps-1a.d: New file.
419 * testsuite/ld-arc/nps-1b.d: New file.
420 * testsuite/ld-arc/nps-1b.err: New file.
421
422 2016-04-14 Nick Clifton <nickc@redhat.com>
423
424 PR 19457
425 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
426 exceptions for Mingw and Cygwin.
427
428 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
429
430 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
431 check_ld(terminal).
432
433 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
434
435 PR ld/19774
436 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
437 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
438 tests.
439
440 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
441
442 PR ld/19939
443 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
444 * testsuite/ld-x86-64/x86-64.exp: Likewise.
445 * testsuite/ld-i386/pr19939.s: New file.
446 * testsuite/ld-i386/pr19939a.d: Likewise.
447 * testsuite/ld-i386/pr19939b.d: Likewise.
448 * testsuite/ld-x86-64/pr19939.s: Likewise.
449 * testsuite/ld-x86-64/pr19939a.d: Likewise.
450 * testsuite/ld-x86-64/pr19939b.d: Likewise.
451
452 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
453
454 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
455
456 2016-04-08 Alan Modra <amodra@gmail.com>
457
458 PR 18452
459 * ldlang.c (maybe_overlays): Delete.
460 (lang_size_sections_1): Remove code setting maybe_overlays.
461 (lang_check_section_addresses): Instead detect overlays by
462 exact match of section VMAs here. Fix memory leak.
463
464 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
465
466 * ldlang.c (print_output_section_statement): Show minfo size
467 in target machine address units.
468 (print_reloc_statement): Likewise.
469 (print_padding_statement): Likewise.
470 (print_data_statement): Likewise. Ensure minimum print_dot
471 increment of one address unit.
472
473 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
474
475 * emulparams/arc-endianness.sh: Make little endian default choice.
476
477 2016-04-07 Nick Clifton <nickc@redhat.com>
478
479 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
480 section name.
481 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
482
483 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
484
485 * emulparams/arc-endianness.sh: New file.
486 * emulparams/arcebelf.sh: Deleted.
487 * emulparams/arcebelf_prof.sh: Deleted.
488 * emulparams/arceblinux.sh: Deleted.
489 * emulparams/arceblinux_prof.sh: Deleted.
490 * emulparams/arcelf.sh: Include arc-endinness.sh.
491 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
492 * emulparams/arclinux.sh: Include arc-endinness.sh.
493 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
494 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
495 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
496 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
497 little endian arc targets.
498 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
499 * testsuite/ld-elf/group1.d: Likewise.
500 * testsuite/ld-elf/group3b.d: Likewise.
501 * testsuite/ld-elf/group8a.d: Likewise.
502 * testsuite/ld-elf/group8b.d: Likewise.
503 * testsuite/ld-elf/group9a.d: Likewise.
504 * testsuite/ld-elf/group9b.d: Likewise.
505 * testsuite/ld-elf/linkonce2.d: Likewise.
506 * testsuite/ld-elf/pr12851.d: Likewise.
507 * testsuite/ld-elf/pr12975.d: Likewise.
508 * testsuite/ld-elf/pr13177.d: Likewise.
509 * testsuite/ld-elf/pr13195.d: Likewise.
510 * testsuite/ld-elf/pr17615.d: Likewise.
511 * testsuite/ld-elf/pr19162.d: Likewise.
512 * testsuite/ld-elf/sec64k.exp: Likewise.
513 * testsuite/lib/ld-lib.exp: Likewise.
514
515 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
516
517 PR ld/19908
518 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
519 handling fix.
520 * testsuite/ld-cris/tls-e-20a.d: Likewise.
521 * testsuite/ld-cris/tls-e-21.d: Likewise.
522 * testsuite/ld-cris/tls-e-23.d: Likewise.
523 * testsuite/ld-cris/tls-e-80.d: Likewise.
524 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
525 * testsuite/ld-cris/tls-leie-19.d: Likewise.
526 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
527 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
528 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
529 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
530 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
531 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
532 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
533 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
534
535 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
536
537 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
538 * testsuite/ld-discard/start.d: Likewise.
539 * testsuite/ld-discard/static.d: Likewise.
540 * testsuite/ld-elf/group1.d: Likewise.
541 * testsuite/ld-elf/group3b.d: Likewise.
542 * testsuite/ld-elf/orphan-region.d: Likewise.
543 * testsuite/ld-elf/orphan.d: Likewise.
544 * testsuite/ld-elf/orphan3.d: Likewise.
545 * testsuite/ld-elf/pr349.d: Likewise.
546 * testsuite/ld-elf/warn1.d: Likewise.
547 * testsuite/ld-elf/warn2.d: Likewise.
548 * testsuite/ld-elf/warn3.d: Likewise.
549 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
550 through linker flags.
551 * testsuite/ld-srec/srec.exp: Set as xfail.
552
553 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
554
555 PR ld/19827
556 * testsuite/ld-i386/pr19827-nacl.rd: New file.
557 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
558
559 2016-04-04 Nick Clifton <nickc@redhat.com>
560
561 PR 19803
562 * emultempl/pe.em (change_undef): New function. Encapsulates
563 duplicated code in pe_fixup_stdcalls and adds the newly defined
564 sym to the gc root list.
565 (pe_fixup_stdcall): Use the new function.
566 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
567 symbol to gc root list.
568
569 2016-03-31 Alan Modra <amodra@gmail.com>
570
571 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
572 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
573 (print_input_section): Don't use TO_ADDR when printing section
574 size.
575 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
576 (lang_size_sections): Use TO_ADDR in relro end calculation.
577
578 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
579
580 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
581 value from regexp_diff.
582 * testsuite/ld-elf/orphan-5.l: Fix expected output.
583 * testsuite/ld-elf/orphan-6.l: Likewise.
584
585 2016-03-30 Alan Modra <amodra@gmail.com>
586
587 PR 18452
588 * ldlang.c (maybe_overlays): New static var.
589 (lang_size_sections_1): Set it here.
590 (struct check_sec): New.
591 (sort_sections_by_lma): Adjust for array of structs.
592 (sort_sections_by_vma): New function.
593 (lang_check_section_addresses): Check both LMA and VMA for overlap.
594 * testsuite/ld-scripts/rgn-over7.d: Adjust.
595
596 2016-03-30 Alan Modra <amodra@gmail.com>
597
598 * ldlang.c (lang_size_sections_1): Correct code detecting a
599 backward non-overlapping move.
600
601 2016-03-30 Alan Modra <amodra@gmail.com>
602
603 * ldlang.c (IS_TBSS): New macro, extracted from..
604 (IGNORE_SECTION): ..here.
605 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
606 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
607
608 2016-03-22 Nick Clifton <nickc@redhat.com>
609
610 PR ld/19803
611 * ldlang.c (lang_add_gc_name): New function. Adds the provided
612 symbol name to the list of gc symbols.
613 (lang_process): Call lang_add_gc_name with entry_symbol_default if
614 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
615 and fini function names.
616 * pe-dll.c (process_def_file_and_drectve): Add exported names to
617 the gc symbol list.
618 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
619 * testsuite/ld-pe/pr19803.d: Tweak expected output.
620
621 2016-03-22 Nick Clifton <nickc@redhat.com>
622
623 * configure: Regenerate.
624
625 2016-03-21 Nick Clifton <nickc@redhat.com>
626
627 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
628 * plugin.c: Likewise.
629 * pe-dll.c: Likewise.
630
631 2016-03-18 Awson <kyrab@mail.ru>
632
633 PR 19531
634 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
635 this section.
636 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
637
638 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
639
640 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
641
642 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
643
644 PR ld/19827
645 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
646 * testsuite/ld-x86-64/x86-64.exp: Likewise.
647 * testsuite/ld-i386/pr19827.rd: New file.
648 * testsuite/ld-i386/pr19827a.S: Likewise.
649 * testsuite/ld-i386/pr19827b.S: Likewise.
650 * testsuite/ld-x86-64/pr19827.rd: Likewise.
651 * testsuite/ld-x86-64/pr19827a.S: Likewise.
652 * testsuite/ld-x86-64/pr19827b.S: Likewise.
653
654 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
655
656 PR ld/19807
657 * Makefile.am (ELF_X86_DEPS): Add
658 $(srcdir)/emulparams/reloc_overflow.sh.
659 * Makefile.in: Regenerated.
660 * NEWS: Mention -z noreloc-overflow.
661 * ld.texinfo: Document -z noreloc-overflow.
662 * emulparams/elf32_x86_64.sh: Source
663 ${srcdir}/emulparams/reloc_overflow.sh.
664 * emulparams/elf_x86_64.sh: Likewise.
665 * emulparams/reloc_overflow.sh: New file.
666 * testsuite/ld-x86-64/pr19807-1.s: New file.
667 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
668 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
669 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
670 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
671 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
672 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
673 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
674 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
675 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
676
677 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
678
679 PR ld/19539
680 * testsuite/ld-i386/i386.exp: Run pr19539.
681 * testsuite/ld-i386/pr19539.d: New file.
682 * testsuite/ld-i386/pr19539.s: Likewise.
683 * testsuite/ld-i386/pr19539.t: Likewise.
684 * testsuite/ld-x86-64/pr19539.s: Likewise.
685 * testsuite/ld-x86-64/pr19539.t: Likewise.
686 * testsuite/ld-x86-64/pr19539a.d: Likewise.
687 * testsuite/ld-x86-64/pr19539b.d: Likewise.
688 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
689
690 2016-03-10 Mickael Guene <mickael.guene@st.com>
691
692 PR gas/19744
693 * testsuite/ld-arm/arm-elf.exp: New tests.
694 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
695 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
696
697 2016-03-10 Nick Clifton <nickc@redhat.com>
698
699 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
700
701 2016-03-09 Pedro Alves <palves@redhat.com>
702
703 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
704 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
705
706 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
707
708 PR ld/19789
709 * testsuite/ld-elf/pr19789.d: New file.
710 * testsuite/ld-elf/pr19789.s: Likewise.
711
712 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
713
714 PR ld/19784
715 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
716 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
717 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
718 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
719 * testsuite/ld-ifunc/pass.out: New file.
720 * testsuite/ld-ifunc/pr19784a.c: Likewise.
721 * testsuite/ld-ifunc/pr19784b.c: Likewise.
722 * testsuite/ld-ifunc/pr19784c.c: Likewise.
723
724 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
725
726 PR ld/19774
727 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
728 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
729 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
730 --as-needed for pr18841c.
731
732 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
733
734 PR ld/19774
735 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
736 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
737 before tmpdir/got1d.so and test --as-needed.
738 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
739 tmpdir/pr18900.so and test --as-needed.
740
741 2016-03-07 Jiong Wang <jiong.wang@arm.com>
742
743 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
744 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
745 result.
746 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
747
748 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
749
750 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
751 before tmpdir/copyreloc-lib.so and test --as-needed.
752 * testsuite/ld-x86-64/x86-64.exp: Likewise.
753
754 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
755
756 PR ld/19579
757 * testsuite/ld-elf/pr19579a.c: New file.
758 * testsuite/ld-elf/pr19579b.c: Likewise.
759 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
760
761 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
762
763 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
764
765 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
766
767 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
768 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
769
770 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
771
772 PR ld/19739
773 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
774 input sections for relocatable link.
775 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
776 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
777
778 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
779
780 PR ld/19739
781 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
782 merge flags of other input sections for relocatable link.
783
784 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
785
786 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
787
788 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
789
790 * testsuite/ld-elf/pr19162.d: Skip arc target.
791
792 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
793
794 PR ld/19162
795 * testsuite/ld-elf/pr19162.d: New file.
796 * testsuite/ld-elf/pr19162a.s: Likwise.
797 * testsuite/ld-elf/pr19162b.s: Likwise.
798
799 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
800
801 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
802 * testsuite/ld-elf/merge2.d: Likewise.
803 * testsuite/ld-elf/merge3.d: Likewise.
804
805 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
806
807 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
808 generated.
809
810 2016-02-26 Renlin Li <renlin.li@arm.com>
811
812 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
813 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
814 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
815 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
816 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
817 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
818 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
819 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
820 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
821 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
822
823 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
824
825 PR ld/19609
826 * testsuite/ld-i386/got1.dd: Updated.
827 * testsuite/ld-i386/lea1c.d: Likewise.
828 * testsuite/ld-i386/load1-nacl.d: Likewise.
829 * testsuite/ld-i386/load1.d: Likewise.
830 * testsuite/ld-i386/load4b.d: Likewise.
831 * testsuite/ld-i386/load5b.d: Likewise.
832 * testsuite/ld-i386/mov1b.d: Likewise.
833 * testsuite/ld-x86-64/mov1b.d: Likewise.
834 * testsuite/ld-x86-64/mov1d.d: Likewise.
835 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
836 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
837 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
838 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
839 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
840 * testsuite/ld-x86-64/lea1a.d: Likewise.
841 * testsuite/ld-x86-64/lea1b.d: Likewise.
842 * testsuite/ld-x86-64/lea1c.d: Likewise.
843 * testsuite/ld-x86-64/lea1d.d: Likewise.
844 * testsuite/ld-x86-64/lea1e.d: Likewise.
845 * testsuite/ld-x86-64/lea1f.d: Likewise.
846 * testsuite/ld-x86-64/mov1b.d: Likewise.
847 * testsuite/ld-x86-64/mov1d.d: Likewise.
848 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
849 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
850 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
851 * testsuite/ld-i386/pr19609-1.s: New file.
852 * testsuite/ld-i386/pr19609-1a.d: Likewise.
853 * testsuite/ld-i386/pr19609-1b.d: Likewise.
854 * testsuite/ld-i386/pr19609-1c.d: Likewise.
855 * testsuite/ld-i386/pr19609-1d.d: Likewise.
856 * testsuite/ld-i386/pr19609-1e.d: Likewise.
857 * testsuite/ld-i386/pr19609-1f.d: Likewise.
858 * testsuite/ld-i386/pr19609-1g.d: Likewise.
859 * testsuite/ld-i386/pr19609-1h.d: Likewise.
860 * testsuite/ld-i386/pr19609-1i.d: Likewise.
861 * testsuite/ld-i386/pr19609-2.s: Likewise.
862 * testsuite/ld-i386/pr19609-2a.d: Likewise.
863 * testsuite/ld-i386/pr19609-2b.d: Likewise.
864 * testsuite/ld-i386/pr19609-2c.d: Likewise.
865 * testsuite/ld-i386/undefweak.s: Likewise.
866 * testsuite/ld-i386/undefweaka.d: Likewise.
867 * testsuite/ld-i386/undefweakb.d: Likewise.
868 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
869 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
870 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
871 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
872 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
873 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
874 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
875 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
876 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
877 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
878 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
879 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
880 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
881 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
882 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
883 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
884 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
885 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
886 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
887 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
888 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
889 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
890 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
891 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
892 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
893 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
894 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
895 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
896 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
897 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
898 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
899 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
900 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
901 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
902 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
903 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
904 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
905 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
906 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
907 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
908 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
909 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
910 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
911 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
912 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
913 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
914 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
915 PR ld/19609.
916 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
917 and tests for PR ld/19609.
918
919 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
920
921 PR ld/19645
922 * NEWS: Mention -z common/-z nocommon for ELF targets.
923 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
924 -z common and -z nocommon.
925 * ld.texinfo: Document -z common/-z nocommon.
926 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
927 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
928 --elf-stt-common=yes with assembler.
929 * testsuite/ld-elfcomm/common-1.s: New file.
930 * testsuite/ld-elfcomm/common-1a.d: Likewise.
931 * testsuite/ld-elfcomm/common-1b.d: Likewise.
932 * testsuite/ld-elfcomm/common-1c.d: Likewise.
933 * testsuite/ld-elfcomm/common-1d.d: Likewise.
934 * testsuite/ld-elfcomm/common-1e.d: Likewise.
935 * testsuite/ld-elfcomm/common-1f.d: Likewise.
936 * testsuite/ld-elfcomm/common-2.s: Likewise.
937 * testsuite/ld-elfcomm/common-2a.d: Likewise.
938 * testsuite/ld-elfcomm/common-2b.d: Likewise.
939 * testsuite/ld-elfcomm/common-2c.d: Likewise.
940 * testsuite/ld-elfcomm/common-2d.d: Likewise.
941 * testsuite/ld-elfcomm/common-2e.d: Likewise.
942 * testsuite/ld-elfcomm/common-2f.d: Likewise.
943 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
944 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
945 * testsuite/ld-i386/pr19645.d: Likewise.
946 * testsuite/ld-i386/pr19645.s: Likewise.
947 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
948 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
949 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
950 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
951 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
952 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
953 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
954 * testsuite/ld-x86-64/pr19645.d: Likewise.
955 * testsuite/ld-x86-64/pr19645.s: Likewise.
956 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
957 with assembler.
958 (assembler_generates_commons): Removed.
959 Run -z common/-z nocommon tests. Run *.d tests.
960 * testsuite/ld-i386/i386.exp: Run pr19645.
961 * testsuite/ld-x86-64/x86-64.exp: Likewise.
962 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
963 assembler. Test STT_COMMON with readelf.
964
965 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
966
967 PR ld/19636
968 PR ld/19704
969 PR ld/19719
970 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
971 * Makefile.in: Regenerated.
972 * NEWS: Mention -z nodynamic-undefined-weak.
973 * ld.texinfo: Document -z nodynamic-undefined-weak.
974 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
975 * emulparams/dynamic_undefined_weak.sh: New file.
976 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
977 * emulparams/elf_i386.sh: Likewise.
978 * emulparams/elf_i386_be.sh: Likewise.
979 * emulparams/elf_i386_chaos.sh: Likewise.
980 * emulparams/elf_i386_ldso.sh: Likewise.
981 * emulparams/elf_i386_vxworks.sh: Likewise.
982 * emulparams/elf_iamcu.sh: Likewise.
983 * emulparams/elf_k1om.sh: Likewise.
984 * emulparams/elf_l1om.sh: Likewise.
985 * emulparams/elf_x86_64.sh: Likewise.
986 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
987 Append.
988 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
989 * testsuite/ld-elf/pr19719a.c: New file.
990 * testsuite/ld-elf/pr19719b.c: Likewise.
991 * testsuite/ld-elf/pr19719c.c: Likewise.
992 * testsuite/ld-elf/pr19719d.c: Likewise.
993 * testsuite/ld-i386/pr19636-1.s: Likewise.
994 * testsuite/ld-i386/pr19636-1a.d: Likewise.
995 * testsuite/ld-i386/pr19636-1b.d: Likewise.
996 * testsuite/ld-i386/pr19636-1c.d: Likewise.
997 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
998 * testsuite/ld-i386/pr19636-1d.d: Likewise.
999 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1000 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1001 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1002 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1003 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1004 * testsuite/ld-i386/pr19636-2.s: Likewise.
1005 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1006 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1007 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1008 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1009 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1010 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1011 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1012 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1013 * testsuite/ld-i386/pr19636-3.s: Likewise.
1014 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1015 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1016 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1017 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1018 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1019 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1020 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1021 * testsuite/ld-i386/pr19636-4.s: Likewise.
1022 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1023 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1024 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1025 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1026 * testsuite/ld-i386/pr19704.out: Likewise.
1027 * testsuite/ld-i386/pr19704a.c: Likewise.
1028 * testsuite/ld-i386/pr19704b.c: Likewise.
1029 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1030 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1031 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1032 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1033 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1034 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1035 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1036 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1037 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1038 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1039 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1040 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1041 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1042 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1043 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1044 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1045 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1046 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1047 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1048 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1049 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1050 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1051 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1052 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1053 * testsuite/ld-x86-64/pr19704.out: Likewise.
1054 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1055 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1056 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1057 Run mix_pic_and_non_pic.
1058 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1059 Run undefined_weak and PR ld/19636 tests.
1060 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1061 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1062 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1063
1064 2016-02-25 Nick Clifton <nickc@redhat.com>
1065
1066 * ld.h (struct ld_config_type): Remove specified_data_size field.
1067
1068 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 PR ld/19698
1071 * testsuite/ld-elf/pr19698.d: New file.
1072 * testsuite/ld-elf/pr19698.s: Likewise.
1073 * testsuite/ld-elf/pr19698.t: Likewise.
1074
1075 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * Makefile.am (ELF_X86_DEPS): New.
1078 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1079 (eelf_i386_chaos.c): Likewise.
1080 (eelf_i386_fbsd.c): Likewise.
1081 (eelf_i386_ldso.c): Likewise.
1082 (eelf_i386_nacl.c): Likewise.
1083 (eelf_i386_sol2.c): Likewise.
1084 (eelf_iamcu.c): Likewise.
1085 (eelf32_x86_64.c): Likewise.
1086 (eelf32_x86_64_nacl.c): Likewise.
1087 (eelf_l1om.c): Likewise.
1088 (eelf_l1om_fbsd.c): Likewise.
1089 (eelf_k1om.c): Likewise.
1090 (eelf_k1om_fbsd.c): Likewise.
1091 (eelf_x86_64.c): Likewise.
1092 (eelf_x86_64_cloudabi.c): Likewise.
1093 (eelf_x86_64_fbsd.c): Likewise.
1094 (eelf_x86_64_sol2.c): Likewise.
1095 * Makefile.in: Regenerated.
1096
1097 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1100 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1101 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1102 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1103
1104 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1105
1106 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1107
1108 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1109
1110 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1111 *-*-gnu* and *-*-solaris*.
1112 * testsuite/ld-elf/pr19617b.d: Likewise.
1113 * testsuite/ld-elf/pr19617c.d: Likewise.
1114
1115 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 PR ld/19617
1118 * testsuite/ld-elf/pr19617.s: New file.
1119 * testsuite/ld-elf/pr19617a.d: Likewise.
1120 * testsuite/ld-elf/pr19617b.d: Likewise.
1121 * testsuite/ld-elf/pr19617c.d: Likewise.
1122
1123 2016-02-18 Nick Clifton <nickc@redhat.com>
1124
1125 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1126 in-tree xg++ executable after checking for the presence of an
1127 in-tree g++ executable.
1128 * Makefile.in: Regenerate.
1129
1130 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1133 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1134 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1135
1136 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1137
1138 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1139 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1140 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1141 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1142 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1143 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1144 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1145 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1146 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1147 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1148 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1149 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1150 * testsuite/ld-x86-64/load1c.d: Likewise.
1151 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1152 * testsuite/ld-x86-64/load1d.d: Likewise.
1153 * testsuite/ld-x86-64/pr14207.d: Likewise.
1154 * testsuite/ld-x86-64/pr19162.d: Likewise.
1155 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1156 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1157 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1158 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1159 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1160 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1161
1162 2016-02-17 Nick Clifton <nickc@redhat.com>
1163
1164 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1165
1166 2016-02-15 Nick Clifton <nickc@redhat.com>
1167
1168 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1169 description of the flags produced by readelf.
1170 * testsuite/ld-i386/pr12921.d: Likewise.
1171 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1172 * testsuite/ld-i386/tlsbin.rd: Likewise.
1173 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1174 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1175 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1176 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1177 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1178 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1179 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1180 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1181 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1182 * testsuite/ld-i386/tlspic.rd: Likewise.
1183 * testsuite/ld-s390/tlsbin.rd: Likewise.
1184 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1185 * testsuite/ld-s390/tlspic.rd: Likewise.
1186 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1187 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1188 * testsuite/ld-sh/tlspic-2.d: Likewise.
1189 * testsuite/ld-tic6x/common.d: Likewise.
1190 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1191 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1192 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1193 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1194 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1195 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1196 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1197 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1198 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1199 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1200 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1201 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1202 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1203 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1204 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1205 * testsuite/ld-x86-64/pr12718.d: Likewise.
1206 * testsuite/ld-x86-64/pr12921.d: Likewise.
1207 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1208 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1209 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1210 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1211 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1212 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1213 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1214 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1215 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1216 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1217 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1218 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1219 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1220 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1221
1222 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1223
1224 PR ld/19615
1225 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1226 PIE.
1227 * lexsup.c (parse_args): Enable -Bsymbolic and
1228 -Bsymbolic-functions for PIE.
1229 * testsuite/ld-i386/i386.exp: Run pr19615.
1230 * testsuite/ld-i386/pr19615.d: New file.
1231 * testsuite/ld-i386/pr19615.s: Likewise.
1232 * testsuite/ld-x86-64/pr19615.d: Likewise.
1233 * testsuite/ld-x86-64/pr19615.s: Likewise.
1234
1235 2016-02-09 Nick Clifton <nickc@redhat.com>
1236
1237 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1238 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1239 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1240 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1241
1242 2016-02-04 Nick Clifton <nickc@redhat.com>
1243
1244 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1245 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1246 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1247 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1248 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1249 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1250 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1251 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1252 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1253
1254 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1255
1256 PR gas/19520
1257 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1258 * testsuite/ld-i386/call1.d: Likewise.
1259 * testsuite/ld-i386/call2.d: Likewise.
1260 * testsuite/ld-i386/call3a.d: Likewise.
1261 * testsuite/ld-i386/call3b.d: Likewise.
1262 * testsuite/ld-i386/call3c.d: Likewise.
1263 * testsuite/ld-i386/call3d.d: Likewise.
1264 * testsuite/ld-i386/call3e.d: Likewise.
1265 * testsuite/ld-i386/call3f.d: Likewise.
1266 * testsuite/ld-i386/call3g.d: Likewise.
1267 * testsuite/ld-i386/call3h.d: Likewise.
1268 * testsuite/ld-i386/jmp1.d: Likewise.
1269 * testsuite/ld-i386/jmp2.d: Likewise.
1270 * testsuite/ld-i386/lea1c.d: Likewise.
1271 * testsuite/ld-i386/load1.d: Likewise.
1272 * testsuite/ld-i386/load2.d: Likewise.
1273 * testsuite/ld-i386/load3.d: Likewise.
1274 * testsuite/ld-i386/load4a.d: Likewise.
1275 * testsuite/ld-i386/load5a.d: Likewise.
1276 * testsuite/ld-i386/mov2b.d: Likewise.
1277 * testsuite/ld-i386/mov3.d: Likewise.
1278 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1279 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1280 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1281 * testsuite/ld-x86-64/call1a.d: Likewise.
1282 * testsuite/ld-x86-64/call1b.d: Likewise.
1283 * testsuite/ld-x86-64/call1c.d: Likewise.
1284 * testsuite/ld-x86-64/call1d.d: Likewise.
1285 * testsuite/ld-x86-64/call1e.d: Likewise.
1286 * testsuite/ld-x86-64/call1f.d: Likewise.
1287 * testsuite/ld-x86-64/call1h.d: Likewise.
1288 * testsuite/ld-x86-64/call1i.d: Likewise.
1289 * testsuite/ld-x86-64/load1a.d: Likewise.
1290 * testsuite/ld-x86-64/load1b.d: Likewise.
1291 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1292 * testsuite/ld-i386/got1.dd: Updated.
1293 * testsuite/ld-i386/got1d.S (1): Removed.
1294 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1295 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1296
1297 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1298
1299 PR ld/18591
1300 * testsuite/ld-x86-64/pr18591.d: New file.
1301 * testsuite/ld-x86-64/pr18591.s: Likewise.
1302 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1303
1304 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1305
1306 PR ld/19553
1307 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1308 * testsuite/ld-elf/pr19553.map: New file.
1309 * testsuite/ld-elf/pr19553.map: Likewise.
1310 * testsuite/ld-elf/pr19553a.c: Likewise.
1311 * testsuite/ld-elf/pr19553b.c: Likewise.
1312 * testsuite/ld-elf/pr19553b.out: Likewise.
1313 * testsuite/ld-elf/pr19553c.c: Likewise.
1314 * testsuite/ld-elf/pr19553c.out: Likewise.
1315 * testsuite/ld-elf/pr19553d.c: Likewise.
1316 * testsuite/ld-elf/pr19553d.out: Likewise.
1317
1318 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 PR ld/19539
1321 * testsuite/ld-elf/pr19539.d: New file.
1322 * testsuite/ld-elf/pr19539.s: Likewise.
1323 * testsuite/ld-elf/pr19539.t: Likewise.
1324
1325 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 PR ld/19533
1328 * configure.ac (compressed_debug_sections): Replace == with =.
1329 * configure: Regenerated.
1330
1331 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1332
1333 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1334 * scripttempl/avrtiny.sc (.noinit): Likewise.
1335
1336 2016-01-21 Nick Clifton <nickc@redhat.com>
1337
1338 PR ld/19453
1339 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1340 the arm-netbsdelf target.
1341
1342 PR ld/19455
1343 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1344 disassmebler output.
1345 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1346 * testsuite/ld-arm/vxworks1.dd: Likewise.
1347 * testsuite/ld-arm/vxworks1.rd: Likewise.
1348 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1349
1350 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1351
1352 * testsuite/ld-aarch64/farcall-section.d: Delete.
1353 * testsuite/ld-aarch64/farcall-section.s: Delete.
1354 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1355 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1356 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1357 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1358 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1359
1360 2016-01-20 Nick Clifton <nickc@redhat.com>
1361
1362 PR 19457
1363 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1364 early for PE based targets.
1365 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1366 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1367
1368 2016-01-20 Mickael Guene <mickael.guene@st.com>
1369
1370 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1371 Add 'y' attribute usage.
1372 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1373 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1374 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1375
1376 2016-01-19 Nick Clifton <nickc@redhat.com>
1377
1378 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1379 foo@FOO and bar@@FOO.
1380
1381 2016-01-18 Alan Modra <amodra@gmail.com>
1382
1383 * configure: Regenerate.
1384
1385 2016-01-18 Nick Clifton <nickc@redhat.com>
1386
1387 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1388 is not configured to support plugins.
1389
1390 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1391 but with 16 byte section alignment.
1392 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1393 test for MIPS targets.
1394
1395 2016-01-17 Alan Modra <amodra@gmail.com>
1396
1397 * configure: Regenerate.
1398
1399 2016-01-17 Alan Modra <amodra@gmail.com>
1400
1401 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1402 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1403 * testsuite/ld-elf/pr14156a.d: Likewise.
1404 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1405 * testsuite/ld-elf/sec64k.exp: Likewise.
1406
1407 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1408
1409 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1410 Set address of .foo section when linking.
1411 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1412 in .foo section.
1413 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1414 output to the above changes.
1415
1416 2016-01-13 Nick Clifton <nickc@redhat.com>
1417
1418 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1419 for MIPS targets.
1420
1421 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1422 fail for MIPS targets.
1423
1424 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1425 MIPS targets.
1426
1427 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1428
1429 * testsuite/ld-arm/arm-elf.exp: New test.
1430 * testsuite/ld-arm/unwind-mix.d: New file.
1431 * testsuite/ld-arm/unwind-mix1.s: New file.
1432 * testsuite/ld-arm/unwind-mix2.s: New file.
1433
1434 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1435
1436 PR ld/19368
1437 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1438 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1439 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1440 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1441 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1442 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1443
1444 2016-01-05 Nick Clifton <nickc@redhat.com>
1445
1446 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1447 MSP430 hardware multiply address range.
1448 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1449 (__romdatacopysize): Define.
1450 * scripttempl/elf32msp430_3.sc: Likewise.
1451
1452 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1453
1454 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1455 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1456
1457 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1458
1459 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1460 messages expected according to MIPS BFD private data merge
1461 changes.
1462 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1463 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1464 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1465 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1466 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1467 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1468 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1469 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1470 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1471 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1472 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1473 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1474 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1475
1476 2016-01-01 Alan Modra <amodra@gmail.com>
1477
1478 Update year range in copyright notice of all files.
1479
1480 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1481 \f
1482 Copyright (C) 2016 Free Software Foundation, Inc.
1483
1484 Copying and distribution of this file, with or without modification,
1485 are permitted in any medium without royalty provided the copyright
1486 notice and this notice are preserved.
1487
1488 Local Variables:
1489 mode: change-log
1490 left-margin: 8
1491 fill-column: 74
1492 version-control: never
1493 End:
This page took 0.060515 seconds and 5 git commands to generate.