1 2020-05-20 Nelson Chu <nelson.chu@sifive.com>
3 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Updated
4 priv attributes according to the -mpriv-spec option.
5 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
6 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
7 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
8 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
9 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
10 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
11 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
12 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
13 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
14 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
15 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
17 2020-05-20 Alan Modra <amodra@gmail.com>
20 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't copy
21 other_bfd_filename for bfd_set_filename, and test result of
22 bfd_set_filename call. Don't create a new is->filename, simply
23 copy from bfd filename. Free new_name after bfd_set_filename.
24 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
26 2020-05-19 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
28 * testsuite/ld-aarch64/aarch64-elf.exp: New test
30 * testsuite/ld-aarch64/emit-relocs-560.d: New file.
31 * testsuite/ld-aarch64/emit-relocs-560.s: New file.
33 2020-05-19 Alan Modra <amodra@gmail.com>
35 * emultempl/beos.em (sort_by_file_name): Use bfd_get_filename
36 rather than accessing bfd->filename directly.
37 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
38 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
39 * emultempl/spuelf.em (embedded_spu_file): Likewise.
40 * ldlang.c (input_statement_is_archive_path, wild_sort),
41 (check_excluded_libs): Likewise.
42 * ldmain.c (add_archive_element): Likewise.
43 * ldmisc.c (vfinfo): Likewise.
44 * pe-dll.c (auto_export, generate_edata, pe_create_import_fixup),
45 (pe_dll_generate_implib, pe_process_import_defs): Likewise.
46 * plugin.c (plugin_object_p): Likewise.
48 2020-05-18 Douglas B Rupp <rupp@adacore.com>
50 * ldemul.h (ldemul_print_symbol): New.
51 (ld_emulation_xfer_type) <print_symbol): Likewise.
52 * ldemul.c (ldemul_print_symbol): New.
53 * ldlang.c (SECTION_NAME_MAP_LANGTH): Move to ...
54 (print_one_symbol): Make global and move declaration to ...
55 (print_all_symbols): Rename print_one_symbol to ldemul_print_symbol
56 (print_input_section): Likewise
58 * emultempl/aix.em (gld${EMULATION_NAME}_print_symbol): New.
59 (ld_emulation_xfer_struct): Use it.
60 * emultempl/armcoff.em (ld_emulation_xfer_struct): Add print_symbol
62 * emultempl/beos.em (ld_emulation_xfer_struct): Likewise
63 * emultempl/elf.em (ld_emulation_xfer_struct): Likewise
64 * emultempl/generic.em (ld_emulation_xfer_struct): Likewise
65 * emultempl/linux.em (ld_emulation_xfer_struct): Likewise
66 * emultempl/msp430.em (ld_emulation_xfer_struct): Likewise
67 * emultempl/pe.em (ld_emulation_xfer_struct): Likewise
68 * emultempl/pep.em (ld_emulation_xfer_struct): Likewise
69 * emultempl/ticoff.em (ld_emulation_xfer_struct): Likewise
70 * emultempl/vanilla.em (ld_emulation_xfer_struct): Likewise
72 2020-05-18 Sergei Trofimovich <siarheit@google.com>
74 * ldmain.c (add_archive_element): Fix s/claimi/claim/ typo
77 2020-05-18 Nick Clifton <nickc@redhat.com>
79 * po/sv.po: Update Swedish translation.
81 2020-05-18 Nick Clifton <nickc@redhat.com>
84 * emultempl/pe.em (_after_open): Check for duplicate filename
85 pointers before renaming the dll.
86 * emultempl/pep.em (_after_open): Likewise.
88 2020-05-13 Nick Clifton <nickc@redhat.com>
91 * lexsup.c (elf_shlib_list_options): Include the default value for
92 the hash style in the output text.
94 2020-05-11 Alan Modra <amodra@gmail.com>
96 * testsuite/ld-powerpc/pcrelopt.s: Add lxvp and stxvp.
97 * testsuite/ld-powerpc/pcrelopt.d: Update.
99 2020-05-11 Alan Modra <amodra@gmail.com>
101 * testsuite/ld-powerpc/callstub-1.d: Use -mpower10/-Mpower10 in
102 place of -mfuture/-Mfuture.
103 * testsuite/ld-powerpc/notoc2.d: Likewise.
104 * testsuite/ld-powerpc/powerpc.exp: Likewise.
105 * testsuite/ld-powerpc/tlsgd.d: Likewise.
106 * testsuite/ld-powerpc/tlsie.d: Likewise.
107 * testsuite/ld-powerpc/tlsld.d: Likewise.
109 2020-05-11 Nick Clifton <nickc@redhat.com>
111 * po/es.po: Updated Spanish translation.
113 2020-05-01 Wilco Dijkstra <wdijkstr@arm.com>
116 * testsuite/ld-aarch64/farcall-group.s: New large group test.
117 * testsuite/ld-aarch64/farcall-group.d: New test driver.
118 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
120 2020-05-01 Alan Modra <amodra@gmail.com>
123 * ldlang.c (lang_check): Call bfd_merge_private_bfd_data for
126 2020-05-01 Alan Modra <amodra@gmail.com>
128 * po/BLD-POTFILES.in: Regenerate.
130 2020-04-30 Alex Coplan <alex.coplan@arm.com>
132 * testsuite/ld-aarch64/erratum843419_tls_ie.d: Use udf in disassembly.
133 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
134 * testsuite/ld-aarch64/farcall-back.d: Likewise.
135 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
137 2020-04-30 Nick Clifton <nickc@redhat.com>
139 * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
140 not support the -shared command line option.
141 * /ld-elf/compressed1c.d: Likewise.
142 * /ld-elf/compressed1e.d: Likewise.
143 * /ld-elf/dynamic1.d: Likewise.
144 * /ld-elf/dynsym1.d: Likewise.
145 * /ld-elf/ehdr_start-shared.d: Likewise.
146 * /ld-elf/exclude3b.d: Likewise.
147 * /ld-elf/global1.d: Likewise.
148 * /ld-elf/hash.d: Likewise.
149 * /ld-elf/local1.d: Likewise.
150 * /ld-elf/mbind1b.d: Likewise.
151 * /ld-elf/now-1.d: Likewise.
152 * /ld-elf/now-2.d: Likewise.
153 * /ld-elf/now-3.d: Likewise.
154 * /ld-elf/now-4.d: Likewise.
155 * /ld-elf/pr12975.d: Likewise.
156 * /ld-elf/pr13177.d: Likewise.
157 * /ld-elf/pr13195.d: Likewise.
158 * /ld-elf/pr16322.d: Likewise.
159 * /ld-elf/pr16498a.d: Likewise.
160 * /ld-elf/pr16498b.d: Likewise.
161 * /ld-elf/pr17615.d: Likewise.
162 * /ld-elf/pr19162.d: Likewise.
163 * /ld-elf/pr19698.d: Likewise.
164 * /ld-elf/pr20513c.d: Likewise.
165 * /ld-elf/pr20513d.d: Likewise.
166 * /ld-elf/pr21389a.d: Likewise.
167 * /ld-elf/pr21389b.d: Likewise.
168 * /ld-elf/pr21389c.d: Likewise.
169 * /ld-elf/pr21562a.d: Likewise.
170 * /ld-elf/pr21562b.d: Likewise.
171 * /ld-elf/pr21562c.d: Likewise.
172 * /ld-elf/pr21562d.d: Likewise.
173 * /ld-elf/pr21562e.d: Likewise.
174 * /ld-elf/pr21562f.d: Likewise.
175 * /ld-elf/pr21562g.d: Likewise.
176 * /ld-elf/pr21562h.d: Likewise.
177 * /ld-elf/pr21562i.d: Likewise.
178 * /ld-elf/pr21562j.d: Likewise.
179 * /ld-elf/pr21562k.d: Likewise.
180 * /ld-elf/pr21562l.d: Likewise.
181 * /ld-elf/pr21562m.d: Likewise.
182 * /ld-elf/pr21562n.d: Likewise.
183 * /ld-elf/pr21903a.d: Likewise.
184 * /ld-elf/pr21903b.d: Likewise.
185 * /ld-elf/pr22269b.d: Likewise.
186 * /ld-elf/pr22393-1a.d: Likewise.
187 * /ld-elf/pr22393-1b.d: Likewise.
188 * /ld-elf/pr23658-1c.d: Likewise.
189 * /ld-elf/pr25708.d: Likewise.
190 * /ld-elf/rpath-1.d: Likewise.
191 * /ld-elf/rpath-2.d: Likewise.
192 * /ld-elf/runpath-1.d: Likewise.
193 * /ld-elf/runpath-2.d: Likewise.
194 * /ld-elf/sizeofb.d: Likewise.
195 * /ld-elf/startofb.d: Likewise.
196 * /ld-elf/strtab.d: Likewise.
197 * /ld-elf/textaddr2.d: Likewise.
198 * /ld-elf/textaddr5.d: Likewise.
199 * /ld-elf/textaddr6.d: Likewise.
200 * /ld-elf/unknown2.d: Likewise.
201 * /ld-undefined/entry-3.d: Likewise.
202 * /ld-undefined/entry-4.d: Likewise.
203 * /ld-elf/mbind1c.d: XFAIL if the target linker does not support
205 * /ld-elf/pie.d: Likewise.
206 * /ld-elf/pr19539.d: Likewise.
207 * /ld-elf/pr21903d.d: Likewise.
208 * /ld-elf/pr22269a.d: Likewise.
209 * /ld-elf/pr22393-1c.d: Likewise.
210 * /ld-elf/pr22393-1d.d: Likewise.
211 * /ld-elf/pr22423.d: Likewise.
212 * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
213 * /ld-elf/loadaddr2.d: Likewise.
214 * /ld-elf/pr22393-1e.d: Likewise.
215 * /ld-elf/pr22393-1f.d: Likewise.
216 * /ld-elf/textaddr1.d: Likewise.
217 * /ld-elf/textaddr4.d: Likewise.
219 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
221 * emulparams/elf32rx_linux.sh: New rx-linux emulation.
222 * emultempl/rxlinux.em: New.
223 * configure.tgt: Add rx-linux.
224 * Makefile.am: Add eelf32rx_linux.c
225 * Makefile.in: Regenerate.
227 2020-04-29 Max Filippov <jcmvbkbc@gmail.com>
229 * testsuite/ld-xtensa/relax-diff1.d: New test definition.
230 * testsuite/ld-xtensa/relax-diff1.s: New test source.
231 * testsuite/ld-xtensa/relax-ndiff.d: New test definition.
232 * testsuite/ld-xtensa/relax-ndiff.s: New test source.
233 * testsuite/ld-xtensa/xtensa.exp: (relax-diff1)
234 (relax-ndiff): New tests.
236 2020-04-29 Stephen Casner <casner@acm.org>
239 * testsuite/ld-scripts/default-script.exp: Add --image-base=0 to
240 LDFLAGS for targets *-*-mingw64 x86_64-*-cygwin.
241 * testsuite/ld-scripts/default-script1.d: No longer have to skip
242 test for those targets.
243 * testsuite/ld-scripts/default-script2.d: Likewise.
244 * testsuite/ld-scripts/default-script3.d: Likewise.
245 * testsuite/ld-scripts/default-script4.d: Likewise.
247 2020-04-27 Tamar Christina <tamar.christina@arm.com>
249 * pe-dll.c (pe_detail_list): Add pe-bigobj-i386.
251 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
254 * testsuite/ld-xtensa/relax-loc.d: New test definition.
255 * testsuite/ld-xtensa/relax-loc.s: New test source.
256 * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test.
258 2020-04-22 Fangrui Song <maskray@google.com>
261 * ldlang.h (struct lang_input_statement_struct): Add extra_search_path.
262 * ldlang.c (current_input_file): New.
264 (new_afile): Add from_filename parameter. Set extra_search_path.
265 (lang_add_input_file): Pass current_input_file to new_afile.
266 (load_symbols): Set current_input_file.
267 * ldfile.c (ldfile_open_file): If extra_search_path has been set
268 then scan it for the file that needs to be opened.
269 * ld.texi: Document the new behaviour.
270 * NEWS: Mention the new feature.
272 2020-04-22 Alan Modra <amodra@gmail.com>
274 * testsuite/ld-scripts/default-script1.d: Correct mingw skip.
275 * testsuite/ld-scripts/default-script2.d: Likewise.
276 * testsuite/ld-scripts/default-script3.d: Likewise.
277 * testsuite/ld-scripts/default-script4.d: Likewise.
279 2020-04-21 Stephen Casner <casner@acm.org>
282 * testsuite/ld-scripts/script.exp (check_script)
283 (extract_symbol_test): Make test addresses fit in 16 bits.
284 * testsuite/ld-scripts/memory.t: Likewise.
285 * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
286 * testsuite/ld-scripts/default-script.t (_START): Likewise.
287 * testsuite/ld-scripts/default-script1.d: Likewise.
288 * testsuite/ld-scripts/default-script2.d: Likewise.
289 * testsuite/ld-scripts/default-script3.d: Likewise.
290 * testsuite/ld-scripts/default-script4.d: Likewise.
291 * testsuite/ld-scripts/empty-address-1.t: Likewise.
292 * testsuite/ld-scripts/empty-address-1.d: Likewise.
293 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
294 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
295 * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
296 fit target address size.
297 * testsuite/ld-scripts/empty-address-1.s: Likewise.
298 * testsuite/ld-scripts/empty-address-2.s: Likewise.
300 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
303 * ldelfgen.c (ldelf_map_segments): Call
304 elf_backend_strip_zero_sized_dynamic_sections.
305 * testsuite/ld-alpha/tlsbinr.rd: Updated.
307 2020-04-20 Alan Modra <amodra@gmail.com>
309 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
310 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
311 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
313 2020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
315 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
316 * testsuite/ld-elf/warn2.d: Likewise.
318 2020-04-18 H.J. Lu <hongjiu.lu@intel.com>
320 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
322 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
324 2020-04-16 Stephen Casner <casner@acm.org>
327 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
328 16-bit address space.
329 * testsuite/ld-scripts/pr18963.d: Likewise.
331 2020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
332 Jan W. Jagersma <jwjagersma@gmail.com>
334 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
335 .ctors and .dtors. Discard LTO sections.
337 2020-04-17 Nick Clifton <nickc@redhat.com>
339 * testsuite/config/default.exp: If not already set then create the
340 CCC_OVERRIDE_OPTIONS environment variable to help when running the
341 testsuite with clang.
342 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
343 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
344 were built before attempting to copy them.
346 2020-04-15 Fangrui Song <maskray@google.com>
349 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
350 RM_GENERATE_ERROR to RM_DIAGNOSE.
351 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
352 RM_GENERATE_ERROR to RM_DIAGNOSE.
353 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
355 2020-04-14 Stephen Casner <casner@acm.org>
358 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
359 (EXTRA_EM_FILE): New, add emulation file pdp11.
360 * scripttempl/pdp11.sc: New, derived from aout.sc without
361 irrelevant input sections.
362 * emultempl/pdp11.em (_add_options, _handle_option)
363 (_list_options): New. Add options -z, --imagic for pdp11-aout.
364 (_before_parse): Make --omagic be default instead of --nmagic.
365 (_get_script): Modify special-case linker script for --imagic.
366 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
367 * ld.texi (Options): Add documentation of PDP11-specific options.
368 (Options): Fix unrelated typo to --no-compact-branches.
369 * gen-doc.texi: @set PDP11.
370 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
371 * testsuite/ld-pdp11/sections.s: New, source for options tests.
372 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
373 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
374 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
375 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
377 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
380 * testsuite/ld-arm/armthumb-lib.sym: Updated.
381 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
382 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
383 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
384 * testsuite/ld-arm/fdpic-main.sym: Likewise.
385 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
386 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
387 * testsuite/ld-arm/mixed-app.sym: Likewise.
388 * testsuite/ld-arm/mixed-lib.sym: Likewise.
389 * testsuite/ld-arm/preempt-app.sym: Likewise.
390 * testsuite/ld-elf/hash.d: Likewise.
391 * testsuite/ld-elf/pr13195.d: Likewise.
392 * testsuite/ld-elfvsb/hidden2.d: Likewise.
393 * testsuite/ld-mips-elf/hash2.d: Likewise.
395 2020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
397 * testsuite/ld-shared/shared.exp: Remove dangling comments.
398 xfail shared non PIC tests on Solaris.
400 2020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
402 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
404 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
406 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
407 nopie with available.
409 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
411 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
412 Set to "-fcf-protection=none" if target compiler supports it.
413 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
415 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
418 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
420 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
422 (check_pr25749b): Likewise.
424 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
426 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
428 * ifunc-11-i386.d: Likewise.
429 * ifunc-12-i386.d: Likewise.
430 * ifunc-13-i386.d: Likewise.
431 * ifunc-14a-i386.d: Likewise.
432 * ifunc-14b-i386.d: Likewise.
433 * ifunc-14c-i386.d: Likewise.
434 * ifunc-14d-i386.d: Likewise.
435 * ifunc-14e-i386.d: Likewise.
436 * ifunc-14f-i386.d: Likewise.
437 * ifunc-15-i386.d: Likewise.
438 * ifunc-16-i386-now.d: Likewise.
439 * ifunc-16-i386.d: Likewise.
440 * ifunc-17a-i386.d: Likewise.
441 * ifunc-17b-i386.d: Likewise.
442 * ifunc-18a-i386.d: Likewise.
443 * ifunc-18b-i386.d: Likewise.
444 * ifunc-19a-i386.d: Likewise.
445 * ifunc-19b-i386.d: Likewise.
446 * ifunc-2-i386-now.d: Likewise.
447 * ifunc-2-i386.d: Likewise.
448 * ifunc-2-local-i386-now.d: Likewise.
449 * ifunc-2-local-i386.d: Likewise.
450 * ifunc-20-i386.d: Likewise.
451 * ifunc-21-i386.d: Likewise.
452 * ifunc-22-i386.d: Likewise.
453 * ifunc-5a-i386.d: Likewise.
454 * ifunc-5a-local-i386.d: Likewise.
455 * ifunc-5b-i386.d: Likewise.
456 * ifunc-5b-local-i386.d: Likewise.
457 * ifunc-5r-local-i386.d: Likewise.
458 * ifunc-6a-i386.d: Likewise.
459 * ifunc-6b-i386.d: Likewise.
460 * ifunc-7a-i386.d: Likewise.
461 * ifunc-7b-i386.d: Likewise.
462 * ifunc-8-i386.d: Likewise.
463 * ifunc-9-i386.d: Likewise.
464 * pr17154-i386-now.d: Likewise.
465 * pr17154-i386.d: Likewise.
467 * ifunc-23a-x86.d: Remove notarget.
468 * ifunc-24a-x86.d: Likewise.
469 * ifunc-25a-x86.d: Likewise.
471 2020-04-02 Nick Clifton <nickc@redhat.com>
474 * ldfile.c (ldfile_open_file): Fix typo in warning message.
476 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
480 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
481 * testsuite/ld-elf/pr25749-1.c: New file.
482 * testsuite/ld-elf/pr25749-1a.c: Likewise.
483 * testsuite/ld-elf/pr25749-1b.c: Likewise.
484 * testsuite/ld-elf/pr25749-1b.err: Likewise.
485 * testsuite/ld-elf/pr25749-1c.c: Likewise.
486 * testsuite/ld-elf/pr25749-1d.c: Likewise.
487 * testsuite/ld-elf/pr25749-2.c: Likewise.
488 * testsuite/ld-elf/pr25749-2a.s: Likewise.
489 * testsuite/ld-elf/pr25749-2b.s: Likewise.
490 * testsuite/ld-elf/pr25749.rd: Likewise.
491 * testsuite/ld-elf/pr25754-1a.c: Likewise.
492 * testsuite/ld-elf/pr25754-1b.s: Likewise.
493 * testsuite/ld-elf/pr25754-2a.c: Likewise.
494 * testsuite/ld-elf/pr25754-2b.err: Likewise.
495 * testsuite/ld-elf/pr25754-2b.s: Likewise.
496 * testsuite/ld-elf/pr25754-3a.c: Likewise.
497 * testsuite/ld-elf/pr25754-3b.s: Likewise.
498 * testsuite/ld-elf/pr25754-4a.c: Likewise.
499 * testsuite/ld-elf/pr25754-4b.s: Likewise.
500 * testsuite/ld-elf/pr25754-4c.s: Likewise.
501 * testsuite/ld-elf/pr25754-5a.c: Likewise.
502 * testsuite/ld-elf/pr25754-5b.s: Likewise.
503 * testsuite/ld-elf/pr25754-5c.s: Likewise.
504 * testsuite/ld-elf/pr25754-6a.c: Likewise.
505 * testsuite/ld-elf/pr25754-6b.s: Likewise.
506 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
508 2020-04-01 Tamar Christina <tamar.christina@arm.com>
511 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
513 2020-04-01 Nick Clifton <nickc@redhat.com>
516 * ldfile.c (ldfile_open_file): If a search for a library fails,
517 but there is a file that would match if it had a "lib" prefix to
518 its name, then tell the user.
520 2020-04-01 Tamar Christina <tamar.christina@arm.com>
523 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
524 * testsuite/ld-arm/thumb-plt-got.d: New test.
526 2020-04-01 Tamar Christina <tamar.christina@arm.com>
528 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
529 * testsuite/ld-arm/thumb-plt.d: New test.
530 * testsuite/ld-arm/thumb-plt.s: New test.
532 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
534 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
536 2020-03-30 Nick Clifton <nickc@redhat.com>
539 * emultempl/pe.em (after_open): Replace initialisation of the
540 insert_timestamp field in the pe_data structure with an
541 initialisation of the timestamp field.
542 * emultemp/pep.em: Likewise.
543 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
544 structure instead of the insert_timestamp field.
546 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
549 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
550 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
553 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
556 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
558 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
561 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
562 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
563 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
565 2020-03-25 Alan Modra <amodra@gmail.com>
567 * testsuite/ld-elf/compress1c.d: xfail h8300.
568 * testsuite/ld-elf/compressed1c.d: Likewise.
569 * testsuite/ld-elf/compressed1e.d: Likewise.
570 * testsuite/ld-elf/dynamic1.d: Likewise.
571 * testsuite/ld-elf/dynsym1.d: Likewise.
572 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
573 * testsuite/ld-elf/exclude3b.d: Likewise.
574 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
575 * testsuite/ld-elf/global1.d: xfail h8300.
576 * testsuite/ld-elf/hash.d: Likewise.
577 * testsuite/ld-elf/loadaddr1.d: Likewise.
578 * testsuite/ld-elf/loadaddr2.d: Likewise.
579 * testsuite/ld-elf/local1.d: Likewise.
580 * testsuite/ld-elf/mbind1b.d: Likewise.
581 * testsuite/ld-elf/mbind1c.d: Likewise.
582 * testsuite/ld-elf/now-1.d: Likewise.
583 * testsuite/ld-elf/now-2.d: Likewise.
584 * testsuite/ld-elf/now-3.d: Likewise.
585 * testsuite/ld-elf/now-4.d: Likewise.
586 * testsuite/ld-elf/pie.d: Likewise.
587 * testsuite/ld-elf/pr12975.d: Likewise.
588 * testsuite/ld-elf/pr13177.d: Likewise.
589 * testsuite/ld-elf/pr13195.d: Likewise.
590 * testsuite/ld-elf/pr16322.d: Likewise.
591 * testsuite/ld-elf/pr16498a.d: Likewise.
592 * testsuite/ld-elf/pr16498b.d: Likewise.
593 * testsuite/ld-elf/pr17615.d: Likewise.
594 * testsuite/ld-elf/pr19162.d: Likewise.
595 * testsuite/ld-elf/pr19539.d: Likewise.
596 * testsuite/ld-elf/pr19617a.d: Likewise.
597 * testsuite/ld-elf/pr19698.d: Likewise.
598 * testsuite/ld-elf/pr20513c.d: Likewise.
599 * testsuite/ld-elf/pr20513d.d: Likewise.
600 * testsuite/ld-elf/pr21389a.d: Likewise.
601 * testsuite/ld-elf/pr21389b.d: Likewise.
602 * testsuite/ld-elf/pr21389c.d: Likewise.
603 * testsuite/ld-elf/pr21562a.d: Likewise.
604 * testsuite/ld-elf/pr21562b.d: Likewise.
605 * testsuite/ld-elf/pr21562c.d: Likewise.
606 * testsuite/ld-elf/pr21562d.d: Likewise.
607 * testsuite/ld-elf/pr21562e.d: Likewise.
608 * testsuite/ld-elf/pr21562f.d: Likewise.
609 * testsuite/ld-elf/pr21562g.d: Likewise.
610 * testsuite/ld-elf/pr21562h.d: Likewise.
611 * testsuite/ld-elf/pr21562i.d: Likewise.
612 * testsuite/ld-elf/pr21562j.d: Likewise.
613 * testsuite/ld-elf/pr21562k.d: Likewise.
614 * testsuite/ld-elf/pr21562l.d: Likewise.
615 * testsuite/ld-elf/pr21562m.d: Likewise.
616 * testsuite/ld-elf/pr21562n.d: Likewise.
617 * testsuite/ld-elf/pr21903a.d: Likewise.
618 * testsuite/ld-elf/pr21903b.d: Likewise.
619 * testsuite/ld-elf/pr21903d.d: Likewise.
620 * testsuite/ld-elf/pr22269a.d: Likewise.
621 * testsuite/ld-elf/pr22269b.d: Likewise.
622 * testsuite/ld-elf/pr22393-1a.d: Likewise.
623 * testsuite/ld-elf/pr22393-1b.d: Likewise.
624 * testsuite/ld-elf/pr22393-1c.d: Likewise.
625 * testsuite/ld-elf/pr22393-1d.d: Likewise.
626 * testsuite/ld-elf/pr22393-1e.d: Likewise.
627 * testsuite/ld-elf/pr22393-1f.d: Likewise.
628 * testsuite/ld-elf/pr22423.d: Likewise.
629 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
631 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
632 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
633 * testsuite/ld-elf/rpath-1.d: xfail h8300.
634 * testsuite/ld-elf/rpath-2.d: Likewise.
635 * testsuite/ld-elf/runpath-1.d: Likewise.
636 * testsuite/ld-elf/runpath-2.d: Likewise.
637 * testsuite/ld-elf/sizeofb.d: Likewise.
638 * testsuite/ld-elf/startofb.d: Likewise.
639 * testsuite/ld-elf/strtab.d: Likewise.
640 * testsuite/ld-elf/textaddr1.d: Likewise.
641 * testsuite/ld-elf/textaddr2.d: Likewise.
642 * testsuite/ld-elf/textaddr4.d: Likewise.
643 * testsuite/ld-elf/textaddr5.d: Likewise.
644 * testsuite/ld-elf/textaddr6.d: Likewise.
645 * testsuite/ld-elf/unknown2.d: Likewise.
646 * testsuite/ld-undefined/entry-3.d: Likewise.
647 * testsuite/ld-undefined/entry-4.d: Likewise.
648 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
649 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
651 * testsuite/ld-h8300/relax-2.d: Likewise.
652 * testsuite/ld-h8300/relax-3.d: Likewise.
653 * testsuite/ld-h8300/relax-4.d: Likewise.
654 * testsuite/ld-h8300/relax-5.d: Likewise.
655 * testsuite/ld-h8300/relax-6.d: Likewise.
656 * testsuite/ld-h8300/relax-7.d: Likewise.
657 * testsuite/ld-h8300/relax.d: Relax file format match.
659 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
662 * testsuite/ld-elf/pr25708.d: New file.
664 2020-03-23 Alan Modra <amodra@gmail.com>
666 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
667 Include ei386aout dep file.
668 * Makefile.in: Regenerate.
669 * po/BLD-POTFILES.in: Regenerate.
671 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
673 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
674 test only for GCC 10 or newer.
676 2020-03-20 Alan Modra <amodra@gmail.com>
678 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
680 * testplug2.c (parse_symdefstr): Likewise.
681 * testplug3.c (parse_symdefstr): Likewise.
682 * testplug4.c (parse_symdefstr): Likewise.
684 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
686 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
687 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
689 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
691 * emultempl/xtensaelf.em: Emit a fatal error message
692 instead of calling abort.
693 * ldlang.c: Likewise.
695 2020-03-14 Alan Modra <amodra@gmail.com>
697 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
698 targets. Don't skip xtensa, xfail instead.
700 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
702 * ldlang.c (lang_add_section): Add support for
703 non_contiguous_regions.
704 (size_input_section): Likewise.
705 (lang_size_sections_1): Likewise.
706 (process_insert_statements): Likewise.
707 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
708 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
709 * lexsup.c (ld_options): Add entries for
710 --enable-non-contiguous-regions and
711 --enable-non-contiguous-regions-warnings.
712 (parse_args): Handle it.
713 * NEWS: Add --enable-non-contiguous-regions and
714 --enable-non-contiguous-regions-warnings.
715 * ld.texi: Add --enable-non-contiguous-regions and
716 --enable-non-contiguous-regions-warnings documentation.
717 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
718 SEC_LINKER_CREATED flag.
719 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
720 Emit an error when --enable-non-contiguous-regions is used.
721 * testsuite/ld-elf/non-contiguous.d: New.
722 * testsuite/ld-elf/non-contiguous.ld: New.
723 * testsuite/ld-elf/non-contiguous.s: New.
724 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
725 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
726 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
727 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
728 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
729 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
730 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
731 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
732 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
733 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
734 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
735 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
736 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
737 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
738 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
739 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
740 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
741 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
742 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
744 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
747 * emulparams/elf32_x86_64.sh: Use static.sh.
748 * emulparams/elf_i386.sh: Likewise.
749 * emulparams/elf_x86_64.sh: Likewise.
750 * emulparams/static.sh: New file.
751 * emultempl/elf-x86.em: Include "ldlex.h".
752 * testsuite/ld-elf/pr24920.err: New file.
753 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
755 2020-03-13 Christian Eggers <ceggers@gmx.de>
757 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
759 2020-03-11 Alan Modra <amodra@gmail.com>
761 * ldelf.c (elf_orphan_compatible): Return false when two sections
762 have differing SHF_MASKPROC or SHF_MASKOS flags.
764 2020-03-05 Alan Modra <amodra@gmail.com>
767 * ldlang.c (lang_size_sections_1): Don't report changes on
768 second and subsequent iterations that make no change in
769 alignment from that already reported.
771 2020-03-05 Alan Modra <amodra@gmail.com>
774 * ldlang.c (lang_sizing_iteration): New static var.
775 (lang_size_sections_1): Warn about no memory region only on first
776 iteration. Warn about changing start address on first iteration
777 then any delta from that on subsequent iterations. Report a signed
779 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
781 2020-03-03 Nick Clifton <nickc@redhat.com>
784 * ld.texi (Options): Update the description of the --rpath-link
787 2020-03-02 Alan Modra <amodra@gmail.com>
789 * plugin.c (plugin_object_p): Return a bfd_cleanup.
790 (plugin_cleanup): New function.
792 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
795 * plugin.c (plugin_object_p): Copy the no_export field to the IR
797 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
799 * testsuite/ld-plugin/pr25618.d: New file.
800 * testsuite/ld-plugin/pr25618a.cc: Likewise.
801 * testsuite/ld-plugin/pr25618a.h: Likewise.
802 * testsuite/ld-plugin/pr25618b.cc: Likewise.
803 * testsuite/ld-plugin/pr25618b.h: Likewise.
805 2020-02-27 Alan Modra <amodra@gmail.com>
808 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
809 * testsuite/ld-mmix/sec-2.d: Likewise.
810 * testsuite/ld-mmix/sec-3.d: Likewise.
811 * testsuite/ld-mmix/sec-4.d: Likewise.
812 * testsuite/ld-mmix/spec802.d: Likewise.
813 * testsuite/ld-mmix/spec803.d: Likewise.
814 * testsuite/ld-mmix/spec804.d: Likewise.
815 * testsuite/ld-mmix/spec805.d: Likewise.
816 * testsuite/ld-mmix/spec806.d: Likewise.
817 * testsuite/ld-mmix/spec807.d: Likewise.
818 * testsuite/ld-mmix/spec808.d: Likewise.
820 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
823 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
824 * testsuite/ld-plugin/pr25593.d: New file.
825 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
826 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
827 * testsuite/ld-plugin/pr25593b.c: Likewise.
828 * testsuite/ld-plugin/pr25593c.c: Likewise.
829 * testsuite/ld-plugin/pr25593d.c: Likewise.
830 * testsuite/ld-plugin/pr25593e.c: Likewise.
832 2020-02-26 Alan Modra <amodra@gmail.com>
834 * emultempl/cskyelf.em: Indent labels correctly.
835 * ldfile.c: Likewise.
836 * ldlang.c: Likewise.
837 * plugin.c: Likewise.
839 2020-02-26 Alan Modra <amodra@gmail.com>
842 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
843 (ldelf_after_open): Save state of input_bfds list before loading
844 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
845 Restore input_bfds list.
846 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
848 2020-02-24 Nick Clifton <nickc@redhat.com>
850 * po/fr.po: Update French translation.
852 2020-02-22 Alan Modra <amodra@gmail.com>
855 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
858 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
861 * emultempl/z80.em: Remove machine compatability checking.
863 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
866 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
867 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
868 * testsuite/ld-z80/arch_r800.d: Likewise.
869 * testsuite/ld-z80/arch_z180.d: Likewise.
870 * testsuite/ld-z80/arch_z80n.d: Likewise.
871 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
872 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
873 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
874 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
875 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
876 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
877 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
878 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
879 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
880 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
882 2020-02-19 Alan Modra <amodra@gmail.com>
884 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
886 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
889 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
890 * testsuite/ld-plugin/pr25355.c: New file.
891 * testsuite/ld-plugin/pr25355.d: Likewise.
892 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
895 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
897 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
899 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
902 * emulparams/elf32z80.sh: Use z80 emulation.
903 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
904 * emultempl/z80elf.em: Delete.
905 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
906 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
907 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
908 * testsuite/ld-unique/unique.s: Likewise.
909 * testsuite/ld-unique/unique_empty.s: Likewise.
910 * testsuite/ld-unique/unique_shared.s: Likewise.
911 * testsuite/ld-unique/unique.d: Updated expected output.
912 * testsuite/ld-z80/arch_z80n.d: New file.
913 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
914 * testsuite/ld-z80/labels.s: Add more labels.
915 * testsuite/ld-z80/relocs.s: Add more reloc tests.
916 * testsuite/ld-z80/relocs_f_z80n.d: New file
918 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
921 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
922 ldelf_before_place_orphans.
924 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
927 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
928 before_place_orphans_default.
929 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
930 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
931 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
932 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
933 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
934 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
935 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
936 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
937 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
938 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
939 ldelf_before_place_orphans.
940 * ldelf.c (ldelf_before_place_orphans): New.
941 * ldelf.h (ldelf_before_place_orphans): Likewise.
942 * ldemul.c (ldemul_before_place_orphans): Likewise.
943 (before_place_orphans_default): Likewise.
944 * ldemul.h (ldemul_before_place_orphans): Likewise.
945 (before_place_orphans_default): Likewise.
946 (ld_emulation_xfer_struct): Add before_place_orphans.
947 * ldlang.c (lang_process): Call ldemul_before_place_orphans
948 before lang_place_orphans.
949 * testsuite/ld-elf/pr25022.d: New file.
950 * testsuite/ld-elf/pr25022.s: Likewise.
951 * testsuite/ld-elf/pr25022.t: Likewise.
953 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
956 * testsuite/ld-elf/pr25490-1.d: New file.
957 * testsuite/ld-elf/pr25490-1.s: Likewise.
959 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
964 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
965 * testsuite/ld-elf/pr24526.d: New file.
966 * testsuite/ld-elf/pr24526.s: Likewise.
967 * testsuite/ld-elf/pr25021.d: Likewise.
968 * testsuite/ld-elf/pr25021.s: Likewise.
969 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
970 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
971 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
972 * testsuite/ld-elf/pr25490-2.s: Likewise.
973 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
974 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
975 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
976 * testsuite/ld-elf/pr25490-3.s: Likewise.
977 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
978 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
979 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
980 * testsuite/ld-elf/pr25490-4.s: Likewise.
981 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
982 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
983 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
984 * testsuite/ld-elf/pr25490-5.s: Likewise.
985 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
986 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
987 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
988 * testsuite/ld-elf/pr25490-6.s: Likewise.
990 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
992 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
993 z80 as not supported.
995 2020-02-06 Alan Modra <amodra@gmail.com>
997 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
998 targets that don't support ifunc rather than ones that do.
999 (contains_irelative_reloc): Match R_PARISC_IPLT.
1000 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
1001 * testsuite/ld-ifunc/ifunc-23-x86.s,
1002 * testsuite/ld-ifunc/ifunc-24-x86.s,
1003 * testsuite/ld-ifunc/ifunc-25-x86.s,
1004 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
1005 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
1006 * testsuite/ld-ifunc/ifunc-10-i386.d,
1007 * testsuite/ld-ifunc/ifunc-11-i386.d,
1008 * testsuite/ld-ifunc/ifunc-12-i386.d,
1009 * testsuite/ld-ifunc/ifunc-13-i386.d,
1010 * testsuite/ld-ifunc/ifunc-14a-i386.d,
1011 * testsuite/ld-ifunc/ifunc-14b-i386.d,
1012 * testsuite/ld-ifunc/ifunc-14c-i386.d,
1013 * testsuite/ld-ifunc/ifunc-14d-i386.d,
1014 * testsuite/ld-ifunc/ifunc-14e-i386.d,
1015 * testsuite/ld-ifunc/ifunc-14f-i386.d,
1016 * testsuite/ld-ifunc/ifunc-15-i386.d,
1017 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
1018 * testsuite/ld-ifunc/ifunc-16-i386.d,
1019 * testsuite/ld-ifunc/ifunc-17a-i386.d,
1020 * testsuite/ld-ifunc/ifunc-17b-i386.d,
1021 * testsuite/ld-ifunc/ifunc-18a-i386.d,
1022 * testsuite/ld-ifunc/ifunc-18b-i386.d,
1023 * testsuite/ld-ifunc/ifunc-19a-i386.d,
1024 * testsuite/ld-ifunc/ifunc-19b-i386.d,
1025 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
1026 * testsuite/ld-ifunc/ifunc-2-i386.d,
1027 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
1028 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
1029 * testsuite/ld-ifunc/ifunc-20-i386.d,
1030 * testsuite/ld-ifunc/ifunc-21-i386.d,
1031 * testsuite/ld-ifunc/ifunc-22-i386.d,
1032 * testsuite/ld-ifunc/ifunc-26.d,
1033 * testsuite/ld-ifunc/ifunc-5a-i386.d,
1034 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
1035 * testsuite/ld-ifunc/ifunc-5b-i386.d,
1036 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
1037 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
1038 * testsuite/ld-ifunc/ifunc-6a-i386.d,
1039 * testsuite/ld-ifunc/ifunc-6b-i386.d,
1040 * testsuite/ld-ifunc/ifunc-7a-i386.d,
1041 * testsuite/ld-ifunc/ifunc-7b-i386.d,
1042 * testsuite/ld-ifunc/ifunc-8-i386.d,
1043 * testsuite/ld-ifunc/ifunc-9-i386.d,
1044 * testsuite/ld-ifunc/pr17154-i386-now.d,
1045 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
1047 2020-02-06 Alan Modra <amodra@gmail.com>
1049 * testsuite/lib/ld-lib.exp (is_generic): Delete.
1050 * testsuite/ld-unique/unique.exp: Exclude tic6x.
1052 2020-02-06 Alan Modra <amodra@gmail.com>
1054 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
1055 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
1057 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1060 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
1062 * testsuite/ld-i386/tls-gd1.S: Likewise.
1063 * testsuite/ld-x86-64/pr21481b.S: Likewise.
1065 2020-01-30 Jan Beulich <jbeulich@suse.com>
1067 * ld.texi: Remove space between @option and brace.
1069 2020-01-29 Alan Modra <amodra@gmail.com>
1072 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
1074 (ldelf_after_open): Add prefix parameter.
1075 * ldelf.h (ldelf_after_open): Update prototype.
1076 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
1077 to ldelf_after_open.
1078 * Makefile.am: Correct z80 dependencies.
1079 * Makefile.in: Regenerate.
1081 2020-01-28 Alan Modra <amodra@gmail.com>
1083 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
1086 2020-01-27 Alan Modra <amodra@gmail.com>
1088 * testsuite/ld-elfvers/vers.exp: Replace case statements with
1090 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1091 * testsuite/ld-unique/unique.exp: Likewise.
1093 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
1094 Alan Modra <amodra@gmail.com>
1097 * testsuite/ld-elf/pr25458.map: New file.
1098 * testsuite/ld-elf/pr25458.rd: Likewise.
1099 * testsuite/ld-elf/pr25458a.s: Likewise.
1100 * testsuite/ld-elf/pr25458b.s: Likewise.
1101 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
1103 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
1106 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
1109 2020-01-22 Alan Modra <amodra@gmail.com>
1111 * testsuite/ld-powerpc/tlsdesc3.d,
1112 * testsuite/ld-powerpc/tlsdesc3.wf,
1113 * testsuite/ld-powerpc/tlsdesc4.d,
1114 * testsuite/ld-powerpc/tlsdesc4.s,
1115 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
1116 * testsuite/ld-powerpc/powerpc.exp: Run them.
1118 2020-01-22 Alan Modra <amodra@gmail.com>
1120 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
1121 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
1122 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
1123 (params): Init new field.
1124 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
1126 * testsuite/ld-powerpc/tlsdesc.s,
1127 * testsuite/ld-powerpc/tlsdesc.d,
1128 * testsuite/ld-powerpc/tlsdesc.wf,
1129 * testsuite/ld-powerpc/tlsdesc2.d,
1130 * testsuite/ld-powerpc/tlsdesc2.wf,
1131 * testsuite/ld-powerpc/tlsexenors.d,
1132 * testsuite/ld-powerpc/tlsexenors.r,
1133 * testsuite/ld-powerpc/tlsexers.d,
1134 * testsuite/ld-powerpc/tlsexers.r,
1135 * testsuite/ld-powerpc/tlsexetocnors.d,
1136 * testsuite/ld-powerpc/tlsexetocrs.d,
1137 * testsuite/ld-powerpc/tlsexetocrs.r,
1138 * testsuite/ld-powerpc/tlsopt6.d,
1139 * testsuite/ld-powerpc/tlsopt6.wf: New.
1140 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1142 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1145 * ldlang.c (ldlang_open_ctf): Fix error message typo.
1146 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
1148 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1150 * testsuite/ld-elf/pr23900-1.d: Adjusted.
1152 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1154 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
1156 2020-01-20 Nick Clifton <nickc@redhat.com>
1158 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1159 * po/uk.po: Updated Ukranian translation.
1161 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
1164 * testsuite/ld-x86-64/pr25416-1.s: New file
1165 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
1166 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
1167 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
1168 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
1169 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
1170 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
1171 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1172 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
1173 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1174 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
1175 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
1176 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
1177 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
1178 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
1179 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
1180 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
1182 2020-01-20 Alan Modra <amodra@gmail.com>
1184 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
1185 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
1186 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
1187 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
1188 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1190 2020-01-18 Roland McGrath <mcgrathr@google.com>
1192 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
1193 to admit whatever absolute address. The label-relative address is
1194 what the test needs to verify.
1196 2020-01-18 Nick Clifton <nickc@redhat.com>
1198 * configure: Regenerate.
1199 * po/ld.pot: Regenerate.
1201 2020-01-18 Nick Clifton <nickc@redhat.com>
1203 Binutils 2.34 branch created.
1205 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1207 * scripttempl/elf32msp430_3.sc: Remove.
1209 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1211 * scripttempl/elf32msp430.sc: Add input section rules for
1212 .upper.{text,data,rodata,bss}.
1213 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1214 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
1216 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
1219 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
1221 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1223 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1224 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
1226 2020-01-15 Alan Modra <amodra@gmail.com>
1228 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
1229 * testsuite/ld-powerpc/funref.s: Align func_tab.
1230 * testsuite/ld-powerpc/funref2.s: Likewise.
1231 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
1233 2020-01-14 Lili Cui <lili.cui@intel.com>
1235 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
1237 2020-01-13 Alan Modra <amodra@gmail.com>
1239 * po/BLD-POTFILES.in: Regenerate.
1241 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1243 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
1245 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1247 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
1249 * configure.tgt: Likewise.
1250 * Makefile.in: Regenerate.
1251 * emulparams/arcelf_prof.sh: Remove file.
1252 * emulparams/arclinux_prof.sh: Likewise.
1254 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1256 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
1257 located at an arbitrary address. Use DWARF.sc file.
1258 * scripttempl/elfarc.sc: Use DWARF.sc file.
1260 2020-01-07 Alan Modra <amodra@gmail.com>
1262 * testsuite/ld-mips-elf/eh-frame5.s,
1263 * testsuite/ld-mips-elf/ehdr_start-new.s,
1264 * testsuite/ld-mips-elf/ehdr_start-o32.s,
1265 * testsuite/ld-mips-elf/mips16-call-global-1.s,
1266 * testsuite/ld-mips-elf/mips16-intermix-1.s,
1267 * testsuite/ld-mips-elf/mips16-pic-1b.s,
1268 * testsuite/ld-mips-elf/mips16-pic-4c.s,
1269 * testsuite/ld-mips-elf/no-shared-1-n64.s,
1270 * testsuite/ld-mips-elf/no-shared-1-o32.s,
1271 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
1272 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
1273 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
1274 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
1275 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
1276 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
1277 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
1278 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
1279 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
1280 * testsuite/ld-mips-elf/pie.s,
1281 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
1283 2020-01-06 Nick Clifton <nickc@redhat.com>
1286 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1287 command line when building libcomm1.o and pr13250 tests.
1288 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
1290 2020-01-06 Nick Clifton <nickc@redhat.com>
1293 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1294 command line when building pr19579 binaries.
1296 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
1298 * emultempl/pe.em: Add new option --enable-reloc-section.
1299 * emultempl/pep.em: Likewise.
1300 * ld.texi: Document --enable-reloc-section.
1301 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
1302 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
1303 * pe-dll.h: Add extern declaration of option flag.
1304 * pep-dll.c (pe_dll_enable_reloc_section):
1305 Add alias define for pep_dll_enable_reloc_section.
1306 * pep-dll.h: Add extern declaration of option flag.
1308 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1310 * Makefile.am: Add new target z80-elf
1311 * configure.tgt: Likewise.
1312 * Makefile.in: Regenerate.
1313 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
1314 * emulparams/elf32z80.sh: New file.
1315 * emultempl/z80elf.em: Likewise.
1316 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
1317 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
1318 * testsuite/ld-scripts/fill16.d: Fix for Z80.
1319 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
1320 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1321 * testsuite/ld-z80/arch_r800.d: Likewise.
1322 * testsuite/ld-z80/arch_z180.d: Likewise.
1323 * testsuite/ld-z80/arch_z80.d: Likewise.
1324 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1325 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
1326 * testsuite/ld-z80/labels.s: Likewise.
1327 * testsuite/ld-z80/relocs.s: Likewise.
1328 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1329 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1330 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1331 * testsuite/ld-z80/z80.exp: Likewise.
1332 * NEWS: Mention the new support.
1334 2020-01-02 Tamar Christina <tamar.christina@arm.com>
1338 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1339 Remove SEC_LINKER_CREATED.
1340 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1341 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1343 2020-01-01 Alan Modra <amodra@gmail.com>
1345 Update year range in copyright notice of all files.
1347 For older changes see ChangeLog-2019
1349 Copyright (C) 2020 Free Software Foundation, Inc.
1351 Copying and distribution of this file, with or without modification,
1352 are permitted in any medium without royalty provided the copyright
1353 notice and this notice are preserved.
1359 version-control: never