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