Use bfd_get_filename throughout gas
[deliverable/binutils-gdb.git] / ld / ChangeLog
... / ...
CommitLineData
12020-05-18 Douglas B Rupp <rupp@adacore.com>
2
3 * ldemul.h (ldemul_print_symbol): New.
4 (ld_emulation_xfer_type) <print_symbol): Likewise.
5 * ldemul.c (ldemul_print_symbol): New.
6 * ldlang.c (SECTION_NAME_MAP_LANGTH): Move to ...
7 (print_one_symbol): Make global and move declaration to ...
8 (print_all_symbols): Rename print_one_symbol to ldemul_print_symbol
9 (print_input_section): Likewise
10 * ldlang.h: ... here.
11 * emultempl/aix.em (gld${EMULATION_NAME}_print_symbol): New.
12 (ld_emulation_xfer_struct): Use it.
13 * emultempl/armcoff.em (ld_emulation_xfer_struct): Add print_symbol
14 and default to NULL.
15 * emultempl/beos.em (ld_emulation_xfer_struct): Likewise
16 * emultempl/elf.em (ld_emulation_xfer_struct): Likewise
17 * emultempl/generic.em (ld_emulation_xfer_struct): Likewise
18 * emultempl/linux.em (ld_emulation_xfer_struct): Likewise
19 * emultempl/msp430.em (ld_emulation_xfer_struct): Likewise
20 * emultempl/pe.em (ld_emulation_xfer_struct): Likewise
21 * emultempl/pep.em (ld_emulation_xfer_struct): Likewise
22 * emultempl/ticoff.em (ld_emulation_xfer_struct): Likewise
23 * emultempl/vanilla.em (ld_emulation_xfer_struct): Likewise
24
252020-05-18 Sergei Trofimovich <siarheit@google.com>
26
27 * ldmain.c (add_archive_element): Fix s/claimi/claim/ typo
28 in info message.
29
302020-05-18 Nick Clifton <nickc@redhat.com>
31
32 * po/sv.po: Update Swedish translation.
33
342020-05-18 Nick Clifton <nickc@redhat.com>
35
36 PR 25993
37 * emultempl/pe.em (_after_open): Check for duplicate filename
38 pointers before renaming the dll.
39 * emultempl/pep.em (_after_open): Likewise.
40
412020-05-13 Nick Clifton <nickc@redhat.com>
42
43 PR 25979
44 * lexsup.c (elf_shlib_list_options): Include the default value for
45 the hash style in the output text.
46
472020-05-11 Alan Modra <amodra@gmail.com>
48
49 * testsuite/ld-powerpc/pcrelopt.s: Add lxvp and stxvp.
50 * testsuite/ld-powerpc/pcrelopt.d: Update.
51
522020-05-11 Alan Modra <amodra@gmail.com>
53
54 * testsuite/ld-powerpc/callstub-1.d: Use -mpower10/-Mpower10 in
55 place of -mfuture/-Mfuture.
56 * testsuite/ld-powerpc/notoc2.d: Likewise.
57 * testsuite/ld-powerpc/powerpc.exp: Likewise.
58 * testsuite/ld-powerpc/tlsgd.d: Likewise.
59 * testsuite/ld-powerpc/tlsie.d: Likewise.
60 * testsuite/ld-powerpc/tlsld.d: Likewise.
61
622020-05-11 Nick Clifton <nickc@redhat.com>
63
64 * po/es.po: Updated Spanish translation.
65
662020-05-01 Wilco Dijkstra <wdijkstr@arm.com>
67
68 PR ld/25665
69 * testsuite/ld-aarch64/farcall-group.s: New large group test.
70 * testsuite/ld-aarch64/farcall-group.d: New test driver.
71 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
72
732020-05-01 Alan Modra <amodra@gmail.com>
74
75 PR 25882
76 * ldlang.c (lang_check): Call bfd_merge_private_bfd_data for
77 shared libraries.
78
792020-05-01 Alan Modra <amodra@gmail.com>
80
81 * po/BLD-POTFILES.in: Regenerate.
82
832020-04-30 Alex Coplan <alex.coplan@arm.com>
84
85 * testsuite/ld-aarch64/erratum843419_tls_ie.d: Use udf in disassembly.
86 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
87 * testsuite/ld-aarch64/farcall-back.d: Likewise.
88 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
89
902020-04-30 Nick Clifton <nickc@redhat.com>
91
92 * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
93 not support the -shared command line option.
94 * /ld-elf/compressed1c.d: Likewise.
95 * /ld-elf/compressed1e.d: Likewise.
96 * /ld-elf/dynamic1.d: Likewise.
97 * /ld-elf/dynsym1.d: Likewise.
98 * /ld-elf/ehdr_start-shared.d: Likewise.
99 * /ld-elf/exclude3b.d: Likewise.
100 * /ld-elf/global1.d: Likewise.
101 * /ld-elf/hash.d: Likewise.
102 * /ld-elf/local1.d: Likewise.
103 * /ld-elf/mbind1b.d: Likewise.
104 * /ld-elf/now-1.d: Likewise.
105 * /ld-elf/now-2.d: Likewise.
106 * /ld-elf/now-3.d: Likewise.
107 * /ld-elf/now-4.d: Likewise.
108 * /ld-elf/pr12975.d: Likewise.
109 * /ld-elf/pr13177.d: Likewise.
110 * /ld-elf/pr13195.d: Likewise.
111 * /ld-elf/pr16322.d: Likewise.
112 * /ld-elf/pr16498a.d: Likewise.
113 * /ld-elf/pr16498b.d: Likewise.
114 * /ld-elf/pr17615.d: Likewise.
115 * /ld-elf/pr19162.d: Likewise.
116 * /ld-elf/pr19698.d: Likewise.
117 * /ld-elf/pr20513c.d: Likewise.
118 * /ld-elf/pr20513d.d: Likewise.
119 * /ld-elf/pr21389a.d: Likewise.
120 * /ld-elf/pr21389b.d: Likewise.
121 * /ld-elf/pr21389c.d: Likewise.
122 * /ld-elf/pr21562a.d: Likewise.
123 * /ld-elf/pr21562b.d: Likewise.
124 * /ld-elf/pr21562c.d: Likewise.
125 * /ld-elf/pr21562d.d: Likewise.
126 * /ld-elf/pr21562e.d: Likewise.
127 * /ld-elf/pr21562f.d: Likewise.
128 * /ld-elf/pr21562g.d: Likewise.
129 * /ld-elf/pr21562h.d: Likewise.
130 * /ld-elf/pr21562i.d: Likewise.
131 * /ld-elf/pr21562j.d: Likewise.
132 * /ld-elf/pr21562k.d: Likewise.
133 * /ld-elf/pr21562l.d: Likewise.
134 * /ld-elf/pr21562m.d: Likewise.
135 * /ld-elf/pr21562n.d: Likewise.
136 * /ld-elf/pr21903a.d: Likewise.
137 * /ld-elf/pr21903b.d: Likewise.
138 * /ld-elf/pr22269b.d: Likewise.
139 * /ld-elf/pr22393-1a.d: Likewise.
140 * /ld-elf/pr22393-1b.d: Likewise.
141 * /ld-elf/pr23658-1c.d: Likewise.
142 * /ld-elf/pr25708.d: Likewise.
143 * /ld-elf/rpath-1.d: Likewise.
144 * /ld-elf/rpath-2.d: Likewise.
145 * /ld-elf/runpath-1.d: Likewise.
146 * /ld-elf/runpath-2.d: Likewise.
147 * /ld-elf/sizeofb.d: Likewise.
148 * /ld-elf/startofb.d: Likewise.
149 * /ld-elf/strtab.d: Likewise.
150 * /ld-elf/textaddr2.d: Likewise.
151 * /ld-elf/textaddr5.d: Likewise.
152 * /ld-elf/textaddr6.d: Likewise.
153 * /ld-elf/unknown2.d: Likewise.
154 * /ld-undefined/entry-3.d: Likewise.
155 * /ld-undefined/entry-4.d: Likewise.
156 * /ld-elf/mbind1c.d: XFAIL if the target linker does not support
157 the -pie option.
158 * /ld-elf/pie.d: Likewise.
159 * /ld-elf/pr19539.d: Likewise.
160 * /ld-elf/pr21903d.d: Likewise.
161 * /ld-elf/pr22269a.d: Likewise.
162 * /ld-elf/pr22393-1c.d: Likewise.
163 * /ld-elf/pr22393-1d.d: Likewise.
164 * /ld-elf/pr22423.d: Likewise.
165 * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
166 * /ld-elf/loadaddr2.d: Likewise.
167 * /ld-elf/pr22393-1e.d: Likewise.
168 * /ld-elf/pr22393-1f.d: Likewise.
169 * /ld-elf/textaddr1.d: Likewise.
170 * /ld-elf/textaddr4.d: Likewise.
171
1722020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
173
174 * emulparams/elf32rx_linux.sh: New rx-linux emulation.
175 * emultempl/rxlinux.em: New.
176 * configure.tgt: Add rx-linux.
177 * Makefile.am: Add eelf32rx_linux.c
178 * Makefile.in: Regenerate.
179
1802020-04-29 Max Filippov <jcmvbkbc@gmail.com>
181
182 * testsuite/ld-xtensa/relax-diff1.d: New test definition.
183 * testsuite/ld-xtensa/relax-diff1.s: New test source.
184 * testsuite/ld-xtensa/relax-ndiff.d: New test definition.
185 * testsuite/ld-xtensa/relax-ndiff.s: New test source.
186 * testsuite/ld-xtensa/xtensa.exp: (relax-diff1)
187 (relax-ndiff): New tests.
188
1892020-04-29 Stephen Casner <casner@acm.org>
190
191 PR 25829
192 * testsuite/ld-scripts/default-script.exp: Add --image-base=0 to
193 LDFLAGS for targets *-*-mingw64 x86_64-*-cygwin.
194 * testsuite/ld-scripts/default-script1.d: No longer have to skip
195 test for those targets.
196 * testsuite/ld-scripts/default-script2.d: Likewise.
197 * testsuite/ld-scripts/default-script3.d: Likewise.
198 * testsuite/ld-scripts/default-script4.d: Likewise.
199
2002020-04-27 Tamar Christina <tamar.christina@arm.com>
201
202 * pe-dll.c (pe_detail_list): Add pe-bigobj-i386.
203
2042020-04-22 Max Filippov <jcmvbkbc@gmail.com>
205
206 PR ld/25861
207 * testsuite/ld-xtensa/relax-loc.d: New test definition.
208 * testsuite/ld-xtensa/relax-loc.s: New test source.
209 * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test.
210
2112020-04-22 Fangrui Song <maskray@google.com>
212
213 PR ld/25806
214 * ldlang.h (struct lang_input_statement_struct): Add extra_search_path.
215 * ldlang.c (current_input_file): New.
216 (ldirname): New.
217 (new_afile): Add from_filename parameter. Set extra_search_path.
218 (lang_add_input_file): Pass current_input_file to new_afile.
219 (load_symbols): Set current_input_file.
220 * ldfile.c (ldfile_open_file): If extra_search_path has been set
221 then scan it for the file that needs to be opened.
222 * ld.texi: Document the new behaviour.
223 * NEWS: Mention the new feature.
224
2252020-04-22 Alan Modra <amodra@gmail.com>
226
227 * testsuite/ld-scripts/default-script1.d: Correct mingw skip.
228 * testsuite/ld-scripts/default-script2.d: Likewise.
229 * testsuite/ld-scripts/default-script3.d: Likewise.
230 * testsuite/ld-scripts/default-script4.d: Likewise.
231
2322020-04-21 Stephen Casner <casner@acm.org>
233
234 PR 25829
235 * testsuite/ld-scripts/script.exp (check_script)
236 (extract_symbol_test): Make test addresses fit in 16 bits.
237 * testsuite/ld-scripts/memory.t: Likewise.
238 * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
239 * testsuite/ld-scripts/default-script.t (_START): Likewise.
240 * testsuite/ld-scripts/default-script1.d: Likewise.
241 * testsuite/ld-scripts/default-script2.d: Likewise.
242 * testsuite/ld-scripts/default-script3.d: Likewise.
243 * testsuite/ld-scripts/default-script4.d: Likewise.
244 * testsuite/ld-scripts/empty-address-1.t: Likewise.
245 * testsuite/ld-scripts/empty-address-1.d: Likewise.
246 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
247 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
248 * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
249 fit target address size.
250 * testsuite/ld-scripts/empty-address-1.s: Likewise.
251 * testsuite/ld-scripts/empty-address-2.s: Likewise.
252
2532020-04-21 H.J. Lu <hongjiu.lu@intel.com>
254
255 PR ld/25849
256 * ldelfgen.c (ldelf_map_segments): Call
257 elf_backend_strip_zero_sized_dynamic_sections.
258 * testsuite/ld-alpha/tlsbinr.rd: Updated.
259
2602020-04-20 Alan Modra <amodra@gmail.com>
261
262 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
263 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
264 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
265
2662020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
267
268 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
269 * testsuite/ld-elf/warn2.d: Likewise.
270
2712020-04-18 H.J. Lu <hongjiu.lu@intel.com>
272
273 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
274 alpha target.
275 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
276
2772020-04-16 Stephen Casner <casner@acm.org>
278
279 PR 18963
280 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
281 16-bit address space.
282 * testsuite/ld-scripts/pr18963.d: Likewise.
283
2842020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
285 Jan W. Jagersma <jwjagersma@gmail.com>
286
287 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
288 .ctors and .dtors. Discard LTO sections.
289
2902020-04-17 Nick Clifton <nickc@redhat.com>
291
292 * testsuite/config/default.exp: If not already set then create the
293 CCC_OVERRIDE_OPTIONS environment variable to help when running the
294 testsuite with clang.
295 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
296 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
297 were built before attempting to copy them.
298
2992020-04-15 Fangrui Song <maskray@google.com>
300
301 PR binutils/24613
302 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
303 RM_GENERATE_ERROR to RM_DIAGNOSE.
304 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
305 RM_GENERATE_ERROR to RM_DIAGNOSE.
306 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
307
3082020-04-14 Stephen Casner <casner@acm.org>
309
310 PR ld/25677
311 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
312 (EXTRA_EM_FILE): New, add emulation file pdp11.
313 * scripttempl/pdp11.sc: New, derived from aout.sc without
314 irrelevant input sections.
315 * emultempl/pdp11.em (_add_options, _handle_option)
316 (_list_options): New. Add options -z, --imagic for pdp11-aout.
317 (_before_parse): Make --omagic be default instead of --nmagic.
318 (_get_script): Modify special-case linker script for --imagic.
319 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
320 * ld.texi (Options): Add documentation of PDP11-specific options.
321 (Options): Fix unrelated typo to --no-compact-branches.
322 * gen-doc.texi: @set PDP11.
323 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
324 * testsuite/ld-pdp11/sections.s: New, source for options tests.
325 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
326 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
327 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
328 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
329
3302020-04-14 H.J. Lu <hongjiu.lu@intel.com>
331
332 PR binutils/25707
333 * testsuite/ld-arm/armthumb-lib.sym: Updated.
334 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
335 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
336 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
337 * testsuite/ld-arm/fdpic-main.sym: Likewise.
338 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
339 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
340 * testsuite/ld-arm/mixed-app.sym: Likewise.
341 * testsuite/ld-arm/mixed-lib.sym: Likewise.
342 * testsuite/ld-arm/preempt-app.sym: Likewise.
343 * testsuite/ld-elf/hash.d: Likewise.
344 * testsuite/ld-elf/pr13195.d: Likewise.
345 * testsuite/ld-elfvsb/hidden2.d: Likewise.
346 * testsuite/ld-mips-elf/hash2.d: Likewise.
347
3482020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
349
350 * testsuite/ld-shared/shared.exp: Remove dangling comments.
351 xfail shared non PIC tests on Solaris.
352
3532020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
354
355 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
356
3572020-04-02 H.J. Lu <hongjiu.lu@intel.com>
358
359 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
360 nopie with available.
361
3622020-04-02 H.J. Lu <hongjiu.lu@intel.com>
363
364 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
365 Set to "-fcf-protection=none" if target compiler supports it.
366 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
367 CC and CXX.
368 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
369 to PLT BND tests.
370
3712020-04-02 H.J. Lu <hongjiu.lu@intel.com>
372
373 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
374 -I../bfd.
375 (check_pr25749b): Likewise.
376
3772020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
378
379 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
380 notarget.
381 * ifunc-11-i386.d: Likewise.
382 * ifunc-12-i386.d: Likewise.
383 * ifunc-13-i386.d: Likewise.
384 * ifunc-14a-i386.d: Likewise.
385 * ifunc-14b-i386.d: Likewise.
386 * ifunc-14c-i386.d: Likewise.
387 * ifunc-14d-i386.d: Likewise.
388 * ifunc-14e-i386.d: Likewise.
389 * ifunc-14f-i386.d: Likewise.
390 * ifunc-15-i386.d: Likewise.
391 * ifunc-16-i386-now.d: Likewise.
392 * ifunc-16-i386.d: Likewise.
393 * ifunc-17a-i386.d: Likewise.
394 * ifunc-17b-i386.d: Likewise.
395 * ifunc-18a-i386.d: Likewise.
396 * ifunc-18b-i386.d: Likewise.
397 * ifunc-19a-i386.d: Likewise.
398 * ifunc-19b-i386.d: Likewise.
399 * ifunc-2-i386-now.d: Likewise.
400 * ifunc-2-i386.d: Likewise.
401 * ifunc-2-local-i386-now.d: Likewise.
402 * ifunc-2-local-i386.d: Likewise.
403 * ifunc-20-i386.d: Likewise.
404 * ifunc-21-i386.d: Likewise.
405 * ifunc-22-i386.d: Likewise.
406 * ifunc-5a-i386.d: Likewise.
407 * ifunc-5a-local-i386.d: Likewise.
408 * ifunc-5b-i386.d: Likewise.
409 * ifunc-5b-local-i386.d: Likewise.
410 * ifunc-5r-local-i386.d: Likewise.
411 * ifunc-6a-i386.d: Likewise.
412 * ifunc-6b-i386.d: Likewise.
413 * ifunc-7a-i386.d: Likewise.
414 * ifunc-7b-i386.d: Likewise.
415 * ifunc-8-i386.d: Likewise.
416 * ifunc-9-i386.d: Likewise.
417 * pr17154-i386-now.d: Likewise.
418 * pr17154-i386.d: Likewise.
419
420 * ifunc-23a-x86.d: Remove notarget.
421 * ifunc-24a-x86.d: Likewise.
422 * ifunc-25a-x86.d: Likewise.
423
4242020-04-02 Nick Clifton <nickc@redhat.com>
425
426 PR ld/25747
427 * ldfile.c (ldfile_open_file): Fix typo in warning message.
428
4292020-04-01 H.J. Lu <hongjiu.lu@intel.com>
430
431 PR ld/25749
432 PR ld/25754
433 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
434 * testsuite/ld-elf/pr25749-1.c: New file.
435 * testsuite/ld-elf/pr25749-1a.c: Likewise.
436 * testsuite/ld-elf/pr25749-1b.c: Likewise.
437 * testsuite/ld-elf/pr25749-1b.err: Likewise.
438 * testsuite/ld-elf/pr25749-1c.c: Likewise.
439 * testsuite/ld-elf/pr25749-1d.c: Likewise.
440 * testsuite/ld-elf/pr25749-2.c: Likewise.
441 * testsuite/ld-elf/pr25749-2a.s: Likewise.
442 * testsuite/ld-elf/pr25749-2b.s: Likewise.
443 * testsuite/ld-elf/pr25749.rd: Likewise.
444 * testsuite/ld-elf/pr25754-1a.c: Likewise.
445 * testsuite/ld-elf/pr25754-1b.s: Likewise.
446 * testsuite/ld-elf/pr25754-2a.c: Likewise.
447 * testsuite/ld-elf/pr25754-2b.err: Likewise.
448 * testsuite/ld-elf/pr25754-2b.s: Likewise.
449 * testsuite/ld-elf/pr25754-3a.c: Likewise.
450 * testsuite/ld-elf/pr25754-3b.s: Likewise.
451 * testsuite/ld-elf/pr25754-4a.c: Likewise.
452 * testsuite/ld-elf/pr25754-4b.s: Likewise.
453 * testsuite/ld-elf/pr25754-4c.s: Likewise.
454 * testsuite/ld-elf/pr25754-5a.c: Likewise.
455 * testsuite/ld-elf/pr25754-5b.s: Likewise.
456 * testsuite/ld-elf/pr25754-5c.s: Likewise.
457 * testsuite/ld-elf/pr25754-6a.c: Likewise.
458 * testsuite/ld-elf/pr25754-6b.s: Likewise.
459 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
460
4612020-04-01 Tamar Christina <tamar.christina@arm.com>
462
463 PR ld/16017
464 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
465
4662020-04-01 Nick Clifton <nickc@redhat.com>
467
468 PR ld/25747
469 * ldfile.c (ldfile_open_file): If a search for a library fails,
470 but there is a file that would match if it had a "lib" prefix to
471 its name, then tell the user.
472
4732020-04-01 Tamar Christina <tamar.christina@arm.com>
474
475 PR ld/16017
476 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
477 * testsuite/ld-arm/thumb-plt-got.d: New test.
478
4792020-04-01 Tamar Christina <tamar.christina@arm.com>
480
481 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
482 * testsuite/ld-arm/thumb-plt.d: New test.
483 * testsuite/ld-arm/thumb-plt.s: New test.
484
4852020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
486
487 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
488
4892020-03-30 Nick Clifton <nickc@redhat.com>
490
491 PR binutils/25662
492 * emultempl/pe.em (after_open): Replace initialisation of the
493 insert_timestamp field in the pe_data structure with an
494 initialisation of the timestamp field.
495 * emultemp/pep.em: Likewise.
496 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
497 structure instead of the insert_timestamp field.
498
4992020-03-28 H.J. Lu <hongjiu.lu@intel.com>
500
501 PR 25732
502 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
503 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
504 Solaris.
505
5062020-03-27 H.J. Lu <hongjiu.lu@intel.com>
507
508 PR 25732
509 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
510
5112020-03-27 H.J. Lu <hongjiu.lu@intel.com>
512
513 PR 25732
514 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
515 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
516 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
517
5182020-03-25 Alan Modra <amodra@gmail.com>
519
520 * testsuite/ld-elf/compress1c.d: xfail h8300.
521 * testsuite/ld-elf/compressed1c.d: Likewise.
522 * testsuite/ld-elf/compressed1e.d: Likewise.
523 * testsuite/ld-elf/dynamic1.d: Likewise.
524 * testsuite/ld-elf/dynsym1.d: Likewise.
525 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
526 * testsuite/ld-elf/exclude3b.d: Likewise.
527 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
528 * testsuite/ld-elf/global1.d: xfail h8300.
529 * testsuite/ld-elf/hash.d: Likewise.
530 * testsuite/ld-elf/loadaddr1.d: Likewise.
531 * testsuite/ld-elf/loadaddr2.d: Likewise.
532 * testsuite/ld-elf/local1.d: Likewise.
533 * testsuite/ld-elf/mbind1b.d: Likewise.
534 * testsuite/ld-elf/mbind1c.d: Likewise.
535 * testsuite/ld-elf/now-1.d: Likewise.
536 * testsuite/ld-elf/now-2.d: Likewise.
537 * testsuite/ld-elf/now-3.d: Likewise.
538 * testsuite/ld-elf/now-4.d: Likewise.
539 * testsuite/ld-elf/pie.d: Likewise.
540 * testsuite/ld-elf/pr12975.d: Likewise.
541 * testsuite/ld-elf/pr13177.d: Likewise.
542 * testsuite/ld-elf/pr13195.d: Likewise.
543 * testsuite/ld-elf/pr16322.d: Likewise.
544 * testsuite/ld-elf/pr16498a.d: Likewise.
545 * testsuite/ld-elf/pr16498b.d: Likewise.
546 * testsuite/ld-elf/pr17615.d: Likewise.
547 * testsuite/ld-elf/pr19162.d: Likewise.
548 * testsuite/ld-elf/pr19539.d: Likewise.
549 * testsuite/ld-elf/pr19617a.d: Likewise.
550 * testsuite/ld-elf/pr19698.d: Likewise.
551 * testsuite/ld-elf/pr20513c.d: Likewise.
552 * testsuite/ld-elf/pr20513d.d: Likewise.
553 * testsuite/ld-elf/pr21389a.d: Likewise.
554 * testsuite/ld-elf/pr21389b.d: Likewise.
555 * testsuite/ld-elf/pr21389c.d: Likewise.
556 * testsuite/ld-elf/pr21562a.d: Likewise.
557 * testsuite/ld-elf/pr21562b.d: Likewise.
558 * testsuite/ld-elf/pr21562c.d: Likewise.
559 * testsuite/ld-elf/pr21562d.d: Likewise.
560 * testsuite/ld-elf/pr21562e.d: Likewise.
561 * testsuite/ld-elf/pr21562f.d: Likewise.
562 * testsuite/ld-elf/pr21562g.d: Likewise.
563 * testsuite/ld-elf/pr21562h.d: Likewise.
564 * testsuite/ld-elf/pr21562i.d: Likewise.
565 * testsuite/ld-elf/pr21562j.d: Likewise.
566 * testsuite/ld-elf/pr21562k.d: Likewise.
567 * testsuite/ld-elf/pr21562l.d: Likewise.
568 * testsuite/ld-elf/pr21562m.d: Likewise.
569 * testsuite/ld-elf/pr21562n.d: Likewise.
570 * testsuite/ld-elf/pr21903a.d: Likewise.
571 * testsuite/ld-elf/pr21903b.d: Likewise.
572 * testsuite/ld-elf/pr21903d.d: Likewise.
573 * testsuite/ld-elf/pr22269a.d: Likewise.
574 * testsuite/ld-elf/pr22269b.d: Likewise.
575 * testsuite/ld-elf/pr22393-1a.d: Likewise.
576 * testsuite/ld-elf/pr22393-1b.d: Likewise.
577 * testsuite/ld-elf/pr22393-1c.d: Likewise.
578 * testsuite/ld-elf/pr22393-1d.d: Likewise.
579 * testsuite/ld-elf/pr22393-1e.d: Likewise.
580 * testsuite/ld-elf/pr22393-1f.d: Likewise.
581 * testsuite/ld-elf/pr22423.d: Likewise.
582 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
583 and xc16x.
584 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
585 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
586 * testsuite/ld-elf/rpath-1.d: xfail h8300.
587 * testsuite/ld-elf/rpath-2.d: Likewise.
588 * testsuite/ld-elf/runpath-1.d: Likewise.
589 * testsuite/ld-elf/runpath-2.d: Likewise.
590 * testsuite/ld-elf/sizeofb.d: Likewise.
591 * testsuite/ld-elf/startofb.d: Likewise.
592 * testsuite/ld-elf/strtab.d: Likewise.
593 * testsuite/ld-elf/textaddr1.d: Likewise.
594 * testsuite/ld-elf/textaddr2.d: Likewise.
595 * testsuite/ld-elf/textaddr4.d: Likewise.
596 * testsuite/ld-elf/textaddr5.d: Likewise.
597 * testsuite/ld-elf/textaddr6.d: Likewise.
598 * testsuite/ld-elf/unknown2.d: Likewise.
599 * testsuite/ld-undefined/entry-3.d: Likewise.
600 * testsuite/ld-undefined/entry-4.d: Likewise.
601 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
602 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
603 file format match.
604 * testsuite/ld-h8300/relax-2.d: Likewise.
605 * testsuite/ld-h8300/relax-3.d: Likewise.
606 * testsuite/ld-h8300/relax-4.d: Likewise.
607 * testsuite/ld-h8300/relax-5.d: Likewise.
608 * testsuite/ld-h8300/relax-6.d: Likewise.
609 * testsuite/ld-h8300/relax-7.d: Likewise.
610 * testsuite/ld-h8300/relax.d: Relax file format match.
611
6122020-03-24 H.J. Lu <hongjiu.lu@intel.com>
613
614 PR binutils/25708
615 * testsuite/ld-elf/pr25708.d: New file.
616
6172020-03-23 Alan Modra <amodra@gmail.com>
618
619 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
620 Include ei386aout dep file.
621 * Makefile.in: Regenerate.
622 * po/BLD-POTFILES.in: Regenerate.
623
6242020-03-20 H.J. Lu <hongjiu.lu@intel.com>
625
626 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
627 test only for GCC 10 or newer.
628
6292020-03-20 Alan Modra <amodra@gmail.com>
630
631 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
632 clear new fields.
633 * testplug2.c (parse_symdefstr): Likewise.
634 * testplug3.c (parse_symdefstr): Likewise.
635 * testplug4.c (parse_symdefstr): Likewise.
636
6372020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
638
639 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
640 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
641
6422020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
643
644 * emultempl/xtensaelf.em: Emit a fatal error message
645 instead of calling abort.
646 * ldlang.c: Likewise.
647
6482020-03-14 Alan Modra <amodra@gmail.com>
649
650 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
651 targets. Don't skip xtensa, xfail instead.
652
6532020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
654
655 * ldlang.c (lang_add_section): Add support for
656 non_contiguous_regions.
657 (size_input_section): Likewise.
658 (lang_size_sections_1): Likewise.
659 (process_insert_statements): Likewise.
660 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
661 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
662 * lexsup.c (ld_options): Add entries for
663 --enable-non-contiguous-regions and
664 --enable-non-contiguous-regions-warnings.
665 (parse_args): Handle it.
666 * NEWS: Add --enable-non-contiguous-regions and
667 --enable-non-contiguous-regions-warnings.
668 * ld.texi: Add --enable-non-contiguous-regions and
669 --enable-non-contiguous-regions-warnings documentation.
670 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
671 SEC_LINKER_CREATED flag.
672 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
673 Emit an error when --enable-non-contiguous-regions is used.
674 * testsuite/ld-elf/non-contiguous.d: New.
675 * testsuite/ld-elf/non-contiguous.ld: New.
676 * testsuite/ld-elf/non-contiguous.s: New.
677 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
678 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
679 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
680 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
681 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
682 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
683 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
684 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
685 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
686 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
687 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
688 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
689 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
690 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
691 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
692 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
693 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
694 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
695 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
696
6972020-03-13 H.J. Lu <hongjiu.lu@intel.com>
698
699 PR ld/24920
700 * emulparams/elf32_x86_64.sh: Use static.sh.
701 * emulparams/elf_i386.sh: Likewise.
702 * emulparams/elf_x86_64.sh: Likewise.
703 * emulparams/static.sh: New file.
704 * emultempl/elf-x86.em: Include "ldlex.h".
705 * testsuite/ld-elf/pr24920.err: New file.
706 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
707
7082020-03-13 Christian Eggers <ceggers@gmx.de>
709
710 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
711
7122020-03-11 Alan Modra <amodra@gmail.com>
713
714 * ldelf.c (elf_orphan_compatible): Return false when two sections
715 have differing SHF_MASKPROC or SHF_MASKOS flags.
716
7172020-03-05 Alan Modra <amodra@gmail.com>
718
719 PR 25570
720 * ldlang.c (lang_size_sections_1): Don't report changes on
721 second and subsequent iterations that make no change in
722 alignment from that already reported.
723
7242020-03-05 Alan Modra <amodra@gmail.com>
725
726 PR 25570
727 * ldlang.c (lang_sizing_iteration): New static var.
728 (lang_size_sections_1): Warn about no memory region only on first
729 iteration. Warn about changing start address on first iteration
730 then any delta from that on subsequent iterations. Report a signed
731 delta.
732 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
733
7342020-03-03 Nick Clifton <nickc@redhat.com>
735
736 PR 25588
737 * ld.texi (Options): Update the description of the --rpath-link
738 option.
739
7402020-03-02 Alan Modra <amodra@gmail.com>
741
742 * plugin.c (plugin_object_p): Return a bfd_cleanup.
743 (plugin_cleanup): New function.
744
7452020-03-01 H.J. Lu <hongjiu.lu@intel.com>
746
747 PR ld/25618
748 * plugin.c (plugin_object_p): Copy the no_export field to the IR
749 dummy object.
750 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
751 PR ld/25618 tests.
752 * testsuite/ld-plugin/pr25618.d: New file.
753 * testsuite/ld-plugin/pr25618a.cc: Likewise.
754 * testsuite/ld-plugin/pr25618a.h: Likewise.
755 * testsuite/ld-plugin/pr25618b.cc: Likewise.
756 * testsuite/ld-plugin/pr25618b.h: Likewise.
757
7582020-02-27 Alan Modra <amodra@gmail.com>
759
760 PR 24511
761 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
762 * testsuite/ld-mmix/sec-2.d: Likewise.
763 * testsuite/ld-mmix/sec-3.d: Likewise.
764 * testsuite/ld-mmix/sec-4.d: Likewise.
765 * testsuite/ld-mmix/spec802.d: Likewise.
766 * testsuite/ld-mmix/spec803.d: Likewise.
767 * testsuite/ld-mmix/spec804.d: Likewise.
768 * testsuite/ld-mmix/spec805.d: Likewise.
769 * testsuite/ld-mmix/spec806.d: Likewise.
770 * testsuite/ld-mmix/spec807.d: Likewise.
771 * testsuite/ld-mmix/spec808.d: Likewise.
772
7732020-02-26 H.J. Lu <hongjiu.lu@intel.com>
774
775 PR ld/25593
776 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
777 * testsuite/ld-plugin/pr25593.d: New file.
778 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
779 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
780 * testsuite/ld-plugin/pr25593b.c: Likewise.
781 * testsuite/ld-plugin/pr25593c.c: Likewise.
782 * testsuite/ld-plugin/pr25593d.c: Likewise.
783 * testsuite/ld-plugin/pr25593e.c: Likewise.
784
7852020-02-26 Alan Modra <amodra@gmail.com>
786
787 * emultempl/cskyelf.em: Indent labels correctly.
788 * ldfile.c: Likewise.
789 * ldlang.c: Likewise.
790 * plugin.c: Likewise.
791
7922020-02-26 Alan Modra <amodra@gmail.com>
793
794 PR 25593
795 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
796 (ldelf_after_open): Save state of input_bfds list before loading
797 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
798 Restore input_bfds list.
799 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
800
8012020-02-24 Nick Clifton <nickc@redhat.com>
802
803 * po/fr.po: Update French translation.
804
8052020-02-22 Alan Modra <amodra@gmail.com>
806
807 PR 25585
808 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
809 checking.
810
8112020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
812
813 PR 25537
814 * emultempl/z80.em: Remove machine compatability checking.
815
8162020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
817
818 PR 25517
819 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
820 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
821 * testsuite/ld-z80/arch_r800.d: Likewise.
822 * testsuite/ld-z80/arch_z180.d: Likewise.
823 * testsuite/ld-z80/arch_z80n.d: Likewise.
824 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
825 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
826 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
827 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
828 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
829 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
830 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
831 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
832 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
833 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
834
8352020-02-19 Alan Modra <amodra@gmail.com>
836
837 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
838
8392020-02-10 H.J. Lu <hongjiu.lu@intel.com>
840
841 PR binutils/25355
842 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
843 * testsuite/ld-plugin/pr25355.c: New file.
844 * testsuite/ld-plugin/pr25355.d: Likewise.
845 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
846 only dump.
847
8482020-02-07 H.J. Lu <hongjiu.lu@intel.com>
849
850 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
851
8522020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
853
854 PR 25469
855 * emulparams/elf32z80.sh: Use z80 emulation.
856 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
857 * emultempl/z80elf.em: Delete.
858 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
859 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
860 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
861 * testsuite/ld-unique/unique.s: Likewise.
862 * testsuite/ld-unique/unique_empty.s: Likewise.
863 * testsuite/ld-unique/unique_shared.s: Likewise.
864 * testsuite/ld-unique/unique.d: Updated expected output.
865 * testsuite/ld-z80/arch_z80n.d: New file.
866 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
867 * testsuite/ld-z80/labels.s: Add more labels.
868 * testsuite/ld-z80/relocs.s: Add more reloc tests.
869 * testsuite/ld-z80/relocs_f_z80n.d: New file
870
8712020-02-07 H.J. Lu <hongjiu.lu@intel.com>
872
873 PR ld/25022
874 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
875 ldelf_before_place_orphans.
876
8772020-02-06 H.J. Lu <hongjiu.lu@intel.com>
878
879 PR ld/25022
880 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
881 before_place_orphans_default.
882 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
883 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
884 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
885 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
886 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
887 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
888 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
889 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
890 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
891 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
892 ldelf_before_place_orphans.
893 * ldelf.c (ldelf_before_place_orphans): New.
894 * ldelf.h (ldelf_before_place_orphans): Likewise.
895 * ldemul.c (ldemul_before_place_orphans): Likewise.
896 (before_place_orphans_default): Likewise.
897 * ldemul.h (ldemul_before_place_orphans): Likewise.
898 (before_place_orphans_default): Likewise.
899 (ld_emulation_xfer_struct): Add before_place_orphans.
900 * ldlang.c (lang_process): Call ldemul_before_place_orphans
901 before lang_place_orphans.
902 * testsuite/ld-elf/pr25022.d: New file.
903 * testsuite/ld-elf/pr25022.s: Likewise.
904 * testsuite/ld-elf/pr25022.t: Likewise.
905
9062020-02-06 H.J. Lu <hongjiu.lu@intel.com>
907
908 PR ld/25490
909 * testsuite/ld-elf/pr25490-1.d: New file.
910 * testsuite/ld-elf/pr25490-1.s: Likewise.
911
9122020-02-06 H.J. Lu <hongjiu.lu@intel.com>
913
914 PR ld/24526
915 PR ld/25021
916 PR ld/25490
917 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
918 * testsuite/ld-elf/pr24526.d: New file.
919 * testsuite/ld-elf/pr24526.s: Likewise.
920 * testsuite/ld-elf/pr25021.d: Likewise.
921 * testsuite/ld-elf/pr25021.s: Likewise.
922 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
923 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
924 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
925 * testsuite/ld-elf/pr25490-2.s: Likewise.
926 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
927 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
928 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
929 * testsuite/ld-elf/pr25490-3.s: Likewise.
930 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
931 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
932 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
933 * testsuite/ld-elf/pr25490-4.s: Likewise.
934 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
935 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
936 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
937 * testsuite/ld-elf/pr25490-5.s: Likewise.
938 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
939 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
940 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
941 * testsuite/ld-elf/pr25490-6.s: Likewise.
942
9432020-02-06 H.J. Lu <hongjiu.lu@intel.com>
944
945 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
946 z80 as not supported.
947
9482020-02-06 Alan Modra <amodra@gmail.com>
949
950 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
951 targets that don't support ifunc rather than ones that do.
952 (contains_irelative_reloc): Match R_PARISC_IPLT.
953 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
954 * testsuite/ld-ifunc/ifunc-23-x86.s,
955 * testsuite/ld-ifunc/ifunc-24-x86.s,
956 * testsuite/ld-ifunc/ifunc-25-x86.s,
957 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
958 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
959 * testsuite/ld-ifunc/ifunc-10-i386.d,
960 * testsuite/ld-ifunc/ifunc-11-i386.d,
961 * testsuite/ld-ifunc/ifunc-12-i386.d,
962 * testsuite/ld-ifunc/ifunc-13-i386.d,
963 * testsuite/ld-ifunc/ifunc-14a-i386.d,
964 * testsuite/ld-ifunc/ifunc-14b-i386.d,
965 * testsuite/ld-ifunc/ifunc-14c-i386.d,
966 * testsuite/ld-ifunc/ifunc-14d-i386.d,
967 * testsuite/ld-ifunc/ifunc-14e-i386.d,
968 * testsuite/ld-ifunc/ifunc-14f-i386.d,
969 * testsuite/ld-ifunc/ifunc-15-i386.d,
970 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
971 * testsuite/ld-ifunc/ifunc-16-i386.d,
972 * testsuite/ld-ifunc/ifunc-17a-i386.d,
973 * testsuite/ld-ifunc/ifunc-17b-i386.d,
974 * testsuite/ld-ifunc/ifunc-18a-i386.d,
975 * testsuite/ld-ifunc/ifunc-18b-i386.d,
976 * testsuite/ld-ifunc/ifunc-19a-i386.d,
977 * testsuite/ld-ifunc/ifunc-19b-i386.d,
978 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
979 * testsuite/ld-ifunc/ifunc-2-i386.d,
980 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
981 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
982 * testsuite/ld-ifunc/ifunc-20-i386.d,
983 * testsuite/ld-ifunc/ifunc-21-i386.d,
984 * testsuite/ld-ifunc/ifunc-22-i386.d,
985 * testsuite/ld-ifunc/ifunc-26.d,
986 * testsuite/ld-ifunc/ifunc-5a-i386.d,
987 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
988 * testsuite/ld-ifunc/ifunc-5b-i386.d,
989 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
990 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
991 * testsuite/ld-ifunc/ifunc-6a-i386.d,
992 * testsuite/ld-ifunc/ifunc-6b-i386.d,
993 * testsuite/ld-ifunc/ifunc-7a-i386.d,
994 * testsuite/ld-ifunc/ifunc-7b-i386.d,
995 * testsuite/ld-ifunc/ifunc-8-i386.d,
996 * testsuite/ld-ifunc/ifunc-9-i386.d,
997 * testsuite/ld-ifunc/pr17154-i386-now.d,
998 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
999
10002020-02-06 Alan Modra <amodra@gmail.com>
1001
1002 * testsuite/lib/ld-lib.exp (is_generic): Delete.
1003 * testsuite/ld-unique/unique.exp: Exclude tic6x.
1004
10052020-02-06 Alan Modra <amodra@gmail.com>
1006
1007 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
1008 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
1009
10102020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1011
1012 PR gas/25380
1013 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
1014 directives.
1015 * testsuite/ld-i386/tls-gd1.S: Likewise.
1016 * testsuite/ld-x86-64/pr21481b.S: Likewise.
1017
10182020-01-30 Jan Beulich <jbeulich@suse.com>
1019
1020 * ld.texi: Remove space between @option and brace.
1021
10222020-01-29 Alan Modra <amodra@gmail.com>
1023
1024 PR 25477
1025 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
1026 correct concat.
1027 (ldelf_after_open): Add prefix parameter.
1028 * ldelf.h (ldelf_after_open): Update prototype.
1029 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
1030 to ldelf_after_open.
1031 * Makefile.am: Correct z80 dependencies.
1032 * Makefile.in: Regenerate.
1033
10342020-01-28 Alan Modra <amodra@gmail.com>
1035
1036 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
1037 in first phase.
1038
10392020-01-27 Alan Modra <amodra@gmail.com>
1040
1041 * testsuite/ld-elfvers/vers.exp: Replace case statements with
1042 switch statements.
1043 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1044 * testsuite/ld-unique/unique.exp: Likewise.
1045
10462020-01-27 H.J. Lu <hongjiu.lu@intel.com>
1047 Alan Modra <amodra@gmail.com>
1048
1049 PR ld/25458
1050 * testsuite/ld-elf/pr25458.map: New file.
1051 * testsuite/ld-elf/pr25458.rd: Likewise.
1052 * testsuite/ld-elf/pr25458a.s: Likewise.
1053 * testsuite/ld-elf/pr25458b.s: Likewise.
1054 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
1055
10562020-01-22 H.J. Lu <hongjiu.lu@intel.com>
1057
1058 PR ld/25416
1059 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
1060 compiler support.
1061
10622020-01-22 Alan Modra <amodra@gmail.com>
1063
1064 * testsuite/ld-powerpc/tlsdesc3.d,
1065 * testsuite/ld-powerpc/tlsdesc3.wf,
1066 * testsuite/ld-powerpc/tlsdesc4.d,
1067 * testsuite/ld-powerpc/tlsdesc4.s,
1068 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
1069 * testsuite/ld-powerpc/powerpc.exp: Run them.
1070
10712020-01-22 Alan Modra <amodra@gmail.com>
1072
1073 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
1074 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
1075 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
1076 (params): Init new field.
1077 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
1078 Document.
1079 * testsuite/ld-powerpc/tlsdesc.s,
1080 * testsuite/ld-powerpc/tlsdesc.d,
1081 * testsuite/ld-powerpc/tlsdesc.wf,
1082 * testsuite/ld-powerpc/tlsdesc2.d,
1083 * testsuite/ld-powerpc/tlsdesc2.wf,
1084 * testsuite/ld-powerpc/tlsexenors.d,
1085 * testsuite/ld-powerpc/tlsexenors.r,
1086 * testsuite/ld-powerpc/tlsexers.d,
1087 * testsuite/ld-powerpc/tlsexers.r,
1088 * testsuite/ld-powerpc/tlsexetocnors.d,
1089 * testsuite/ld-powerpc/tlsexetocrs.d,
1090 * testsuite/ld-powerpc/tlsexetocrs.r,
1091 * testsuite/ld-powerpc/tlsopt6.d,
1092 * testsuite/ld-powerpc/tlsopt6.wf: New.
1093 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1094
10952020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1096
1097 PR 25417
1098 * ldlang.c (ldlang_open_ctf): Fix error message typo.
1099 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
1100
11012020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * testsuite/ld-elf/pr23900-1.d: Adjusted.
1104
11052020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
1108
11092020-01-20 Nick Clifton <nickc@redhat.com>
1110
1111 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1112 * po/uk.po: Updated Ukranian translation.
1113
11142020-01-20 H.J. Lu <hongjiu.lu@intel.com>
1115
1116 PR ld/25416
1117 * testsuite/ld-x86-64/pr25416-1.s: New file
1118 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
1119 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
1120 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
1121 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
1122 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
1123 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
1124 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1125 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
1126 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1127 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
1128 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
1129 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
1130 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
1131 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
1132 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
1133 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
1134
11352020-01-20 Alan Modra <amodra@gmail.com>
1136
1137 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
1138 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
1139 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
1140 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
1141 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1142
11432020-01-18 Roland McGrath <mcgrathr@google.com>
1144
1145 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
1146 to admit whatever absolute address. The label-relative address is
1147 what the test needs to verify.
1148
11492020-01-18 Nick Clifton <nickc@redhat.com>
1150
1151 * configure: Regenerate.
1152 * po/ld.pot: Regenerate.
1153
11542020-01-18 Nick Clifton <nickc@redhat.com>
1155
1156 Binutils 2.34 branch created.
1157
11582020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1159
1160 * scripttempl/elf32msp430_3.sc: Remove.
1161
11622020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1163
1164 * scripttempl/elf32msp430.sc: Add input section rules for
1165 .upper.{text,data,rodata,bss}.
1166 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1167 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
1168
11692020-01-15 Lars Brinkhoff <lars@nocrew.org>
1170
1171 PR 20694
1172 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
1173
11742020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1175
1176 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1177 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
1178
11792020-01-15 Alan Modra <amodra@gmail.com>
1180
1181 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
1182 * testsuite/ld-powerpc/funref.s: Align func_tab.
1183 * testsuite/ld-powerpc/funref2.s: Likewise.
1184 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
1185
11862020-01-14 Lili Cui <lili.cui@intel.com>
1187
1188 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
1189
11902020-01-13 Alan Modra <amodra@gmail.com>
1191
1192 * po/BLD-POTFILES.in: Regenerate.
1193
11942020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1195
1196 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
1197
11982020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1199
1200 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
1201 emulations.
1202 * configure.tgt: Likewise.
1203 * Makefile.in: Regenerate.
1204 * emulparams/arcelf_prof.sh: Remove file.
1205 * emulparams/arclinux_prof.sh: Likewise.
1206
12072020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1208
1209 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
1210 located at an arbitrary address. Use DWARF.sc file.
1211 * scripttempl/elfarc.sc: Use DWARF.sc file.
1212
12132020-01-07 Alan Modra <amodra@gmail.com>
1214
1215 * testsuite/ld-mips-elf/eh-frame5.s,
1216 * testsuite/ld-mips-elf/ehdr_start-new.s,
1217 * testsuite/ld-mips-elf/ehdr_start-o32.s,
1218 * testsuite/ld-mips-elf/mips16-call-global-1.s,
1219 * testsuite/ld-mips-elf/mips16-intermix-1.s,
1220 * testsuite/ld-mips-elf/mips16-pic-1b.s,
1221 * testsuite/ld-mips-elf/mips16-pic-4c.s,
1222 * testsuite/ld-mips-elf/no-shared-1-n64.s,
1223 * testsuite/ld-mips-elf/no-shared-1-o32.s,
1224 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
1225 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
1226 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
1227 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
1228 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
1229 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
1230 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
1231 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
1232 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
1233 * testsuite/ld-mips-elf/pie.s,
1234 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
1235
12362020-01-06 Nick Clifton <nickc@redhat.com>
1237
1238 PR 25327
1239 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1240 command line when building libcomm1.o and pr13250 tests.
1241 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
1242
12432020-01-06 Nick Clifton <nickc@redhat.com>
1244
1245 PR 25326
1246 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1247 command line when building pr19579 binaries.
1248
12492020-01-03 Hannes Domani <ssbssa@yahoo.de>
1250
1251 * emultempl/pe.em: Add new option --enable-reloc-section.
1252 * emultempl/pep.em: Likewise.
1253 * ld.texi: Document --enable-reloc-section.
1254 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
1255 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
1256 * pe-dll.h: Add extern declaration of option flag.
1257 * pep-dll.c (pe_dll_enable_reloc_section):
1258 Add alias define for pep_dll_enable_reloc_section.
1259 * pep-dll.h: Add extern declaration of option flag.
1260
12612020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1262
1263 * Makefile.am: Add new target z80-elf
1264 * configure.tgt: Likewise.
1265 * Makefile.in: Regenerate.
1266 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
1267 * emulparams/elf32z80.sh: New file.
1268 * emultempl/z80elf.em: Likewise.
1269 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
1270 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
1271 * testsuite/ld-scripts/fill16.d: Fix for Z80.
1272 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
1273 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1274 * testsuite/ld-z80/arch_r800.d: Likewise.
1275 * testsuite/ld-z80/arch_z180.d: Likewise.
1276 * testsuite/ld-z80/arch_z80.d: Likewise.
1277 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1278 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
1279 * testsuite/ld-z80/labels.s: Likewise.
1280 * testsuite/ld-z80/relocs.s: Likewise.
1281 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1282 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1283 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1284 * testsuite/ld-z80/z80.exp: Likewise.
1285 * NEWS: Mention the new support.
1286
12872020-01-02 Tamar Christina <tamar.christina@arm.com>
1288
1289 PR 25210
1290 PR 24753
1291 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1292 Remove SEC_LINKER_CREATED.
1293 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1294 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1295
12962020-01-01 Alan Modra <amodra@gmail.com>
1297
1298 Update year range in copyright notice of all files.
1299
1300For older changes see ChangeLog-2019
1301\f
1302Copyright (C) 2020 Free Software Foundation, Inc.
1303
1304Copying and distribution of this file, with or without modification,
1305are permitted in any medium without royalty provided the copyright
1306notice and this notice are preserved.
1307
1308Local Variables:
1309mode: change-log
1310left-margin: 8
1311fill-column: 74
1312version-control: never
1313End:
This page took 0.028454 seconds and 4 git commands to generate.