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