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