1 2020-04-30 Nick Clifton <nickc@redhat.com>
3 * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
4 not support the -shared command line option.
5 * /ld-elf/compressed1c.d: Likewise.
6 * /ld-elf/compressed1e.d: Likewise.
7 * /ld-elf/dynamic1.d: Likewise.
8 * /ld-elf/dynsym1.d: Likewise.
9 * /ld-elf/ehdr_start-shared.d: Likewise.
10 * /ld-elf/exclude3b.d: Likewise.
11 * /ld-elf/global1.d: Likewise.
12 * /ld-elf/hash.d: Likewise.
13 * /ld-elf/local1.d: Likewise.
14 * /ld-elf/mbind1b.d: Likewise.
15 * /ld-elf/now-1.d: Likewise.
16 * /ld-elf/now-2.d: Likewise.
17 * /ld-elf/now-3.d: Likewise.
18 * /ld-elf/now-4.d: Likewise.
19 * /ld-elf/pr12975.d: Likewise.
20 * /ld-elf/pr13177.d: Likewise.
21 * /ld-elf/pr13195.d: Likewise.
22 * /ld-elf/pr16322.d: Likewise.
23 * /ld-elf/pr16498a.d: Likewise.
24 * /ld-elf/pr16498b.d: Likewise.
25 * /ld-elf/pr17615.d: Likewise.
26 * /ld-elf/pr19162.d: Likewise.
27 * /ld-elf/pr19698.d: Likewise.
28 * /ld-elf/pr20513c.d: Likewise.
29 * /ld-elf/pr20513d.d: Likewise.
30 * /ld-elf/pr21389a.d: Likewise.
31 * /ld-elf/pr21389b.d: Likewise.
32 * /ld-elf/pr21389c.d: Likewise.
33 * /ld-elf/pr21562a.d: Likewise.
34 * /ld-elf/pr21562b.d: Likewise.
35 * /ld-elf/pr21562c.d: Likewise.
36 * /ld-elf/pr21562d.d: Likewise.
37 * /ld-elf/pr21562e.d: Likewise.
38 * /ld-elf/pr21562f.d: Likewise.
39 * /ld-elf/pr21562g.d: Likewise.
40 * /ld-elf/pr21562h.d: Likewise.
41 * /ld-elf/pr21562i.d: Likewise.
42 * /ld-elf/pr21562j.d: Likewise.
43 * /ld-elf/pr21562k.d: Likewise.
44 * /ld-elf/pr21562l.d: Likewise.
45 * /ld-elf/pr21562m.d: Likewise.
46 * /ld-elf/pr21562n.d: Likewise.
47 * /ld-elf/pr21903a.d: Likewise.
48 * /ld-elf/pr21903b.d: Likewise.
49 * /ld-elf/pr22269b.d: Likewise.
50 * /ld-elf/pr22393-1a.d: Likewise.
51 * /ld-elf/pr22393-1b.d: Likewise.
52 * /ld-elf/pr23658-1c.d: Likewise.
53 * /ld-elf/pr25708.d: Likewise.
54 * /ld-elf/rpath-1.d: Likewise.
55 * /ld-elf/rpath-2.d: Likewise.
56 * /ld-elf/runpath-1.d: Likewise.
57 * /ld-elf/runpath-2.d: Likewise.
58 * /ld-elf/sizeofb.d: Likewise.
59 * /ld-elf/startofb.d: Likewise.
60 * /ld-elf/strtab.d: Likewise.
61 * /ld-elf/textaddr2.d: Likewise.
62 * /ld-elf/textaddr5.d: Likewise.
63 * /ld-elf/textaddr6.d: Likewise.
64 * /ld-elf/unknown2.d: Likewise.
65 * /ld-undefined/entry-3.d: Likewise.
66 * /ld-undefined/entry-4.d: Likewise.
67 * /ld-elf/mbind1c.d: XFAIL if the target linker does not support
69 * /ld-elf/pie.d: Likewise.
70 * /ld-elf/pr19539.d: Likewise.
71 * /ld-elf/pr21903d.d: Likewise.
72 * /ld-elf/pr22269a.d: Likewise.
73 * /ld-elf/pr22393-1c.d: Likewise.
74 * /ld-elf/pr22393-1d.d: Likewise.
75 * /ld-elf/pr22423.d: Likewise.
76 * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
77 * /ld-elf/loadaddr2.d: Likewise.
78 * /ld-elf/pr22393-1e.d: Likewise.
79 * /ld-elf/pr22393-1f.d: Likewise.
80 * /ld-elf/textaddr1.d: Likewise.
81 * /ld-elf/textaddr4.d: Likewise.
83 2020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
85 * emulparams/elf32rx_linux.sh: New rx-linux emulation.
86 * emultempl/rxlinux.em: New.
87 * configure.tgt: Add rx-linux.
88 * Makefile.am: Add eelf32rx_linux.c
89 * Makefile.in: Regenerate.
91 2020-04-29 Max Filippov <jcmvbkbc@gmail.com>
93 * testsuite/ld-xtensa/relax-diff1.d: New test definition.
94 * testsuite/ld-xtensa/relax-diff1.s: New test source.
95 * testsuite/ld-xtensa/relax-ndiff.d: New test definition.
96 * testsuite/ld-xtensa/relax-ndiff.s: New test source.
97 * testsuite/ld-xtensa/xtensa.exp: (relax-diff1)
98 (relax-ndiff): New tests.
100 2020-04-29 Stephen Casner <casner@acm.org>
103 * testsuite/ld-scripts/default-script.exp: Add --image-base=0 to
104 LDFLAGS for targets *-*-mingw64 x86_64-*-cygwin.
105 * testsuite/ld-scripts/default-script1.d: No longer have to skip
106 test for those targets.
107 * testsuite/ld-scripts/default-script2.d: Likewise.
108 * testsuite/ld-scripts/default-script3.d: Likewise.
109 * testsuite/ld-scripts/default-script4.d: Likewise.
111 2020-04-27 Tamar Christina <tamar.christina@arm.com>
113 * pe-dll.c (pe_detail_list): Add pe-bigobj-i386.
115 2020-04-22 Max Filippov <jcmvbkbc@gmail.com>
118 * testsuite/ld-xtensa/relax-loc.d: New test definition.
119 * testsuite/ld-xtensa/relax-loc.s: New test source.
120 * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test.
122 2020-04-22 Fangrui Song <maskray@google.com>
125 * ldlang.h (struct lang_input_statement_struct): Add extra_search_path.
126 * ldlang.c (current_input_file): New.
128 (new_afile): Add from_filename parameter. Set extra_search_path.
129 (lang_add_input_file): Pass current_input_file to new_afile.
130 (load_symbols): Set current_input_file.
131 * ldfile.c (ldfile_open_file): If extra_search_path has been set
132 then scan it for the file that needs to be opened.
133 * ld.texi: Document the new behaviour.
134 * NEWS: Mention the new feature.
136 2020-04-22 Alan Modra <amodra@gmail.com>
138 * testsuite/ld-scripts/default-script1.d: Correct mingw skip.
139 * testsuite/ld-scripts/default-script2.d: Likewise.
140 * testsuite/ld-scripts/default-script3.d: Likewise.
141 * testsuite/ld-scripts/default-script4.d: Likewise.
143 2020-04-21 Stephen Casner <casner@acm.org>
146 * testsuite/ld-scripts/script.exp (check_script)
147 (extract_symbol_test): Make test addresses fit in 16 bits.
148 * testsuite/ld-scripts/memory.t: Likewise.
149 * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
150 * testsuite/ld-scripts/default-script.t (_START): Likewise.
151 * testsuite/ld-scripts/default-script1.d: Likewise.
152 * testsuite/ld-scripts/default-script2.d: Likewise.
153 * testsuite/ld-scripts/default-script3.d: Likewise.
154 * testsuite/ld-scripts/default-script4.d: Likewise.
155 * testsuite/ld-scripts/empty-address-1.t: Likewise.
156 * testsuite/ld-scripts/empty-address-1.d: Likewise.
157 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
158 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
159 * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
160 fit target address size.
161 * testsuite/ld-scripts/empty-address-1.s: Likewise.
162 * testsuite/ld-scripts/empty-address-2.s: Likewise.
164 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
167 * ldelfgen.c (ldelf_map_segments): Call
168 elf_backend_strip_zero_sized_dynamic_sections.
169 * testsuite/ld-alpha/tlsbinr.rd: Updated.
171 2020-04-20 Alan Modra <amodra@gmail.com>
173 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
174 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
175 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
177 2020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
179 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
180 * testsuite/ld-elf/warn2.d: Likewise.
182 2020-04-18 H.J. Lu <hongjiu.lu@intel.com>
184 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
186 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
188 2020-04-16 Stephen Casner <casner@acm.org>
191 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
192 16-bit address space.
193 * testsuite/ld-scripts/pr18963.d: Likewise.
195 2020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
196 Jan W. Jagersma <jwjagersma@gmail.com>
198 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
199 .ctors and .dtors. Discard LTO sections.
201 2020-04-17 Nick Clifton <nickc@redhat.com>
203 * testsuite/config/default.exp: If not already set then create the
204 CCC_OVERRIDE_OPTIONS environment variable to help when running the
205 testsuite with clang.
206 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
207 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
208 were built before attempting to copy them.
210 2020-04-15 Fangrui Song <maskray@google.com>
213 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
214 RM_GENERATE_ERROR to RM_DIAGNOSE.
215 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
216 RM_GENERATE_ERROR to RM_DIAGNOSE.
217 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
219 2020-04-14 Stephen Casner <casner@acm.org>
222 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
223 (EXTRA_EM_FILE): New, add emulation file pdp11.
224 * scripttempl/pdp11.sc: New, derived from aout.sc without
225 irrelevant input sections.
226 * emultempl/pdp11.em (_add_options, _handle_option)
227 (_list_options): New. Add options -z, --imagic for pdp11-aout.
228 (_before_parse): Make --omagic be default instead of --nmagic.
229 (_get_script): Modify special-case linker script for --imagic.
230 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
231 * ld.texi (Options): Add documentation of PDP11-specific options.
232 (Options): Fix unrelated typo to --no-compact-branches.
233 * gen-doc.texi: @set PDP11.
234 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
235 * testsuite/ld-pdp11/sections.s: New, source for options tests.
236 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
237 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
238 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
239 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
241 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
244 * testsuite/ld-arm/armthumb-lib.sym: Updated.
245 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
246 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
247 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
248 * testsuite/ld-arm/fdpic-main.sym: Likewise.
249 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
250 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
251 * testsuite/ld-arm/mixed-app.sym: Likewise.
252 * testsuite/ld-arm/mixed-lib.sym: Likewise.
253 * testsuite/ld-arm/preempt-app.sym: Likewise.
254 * testsuite/ld-elf/hash.d: Likewise.
255 * testsuite/ld-elf/pr13195.d: Likewise.
256 * testsuite/ld-elfvsb/hidden2.d: Likewise.
257 * testsuite/ld-mips-elf/hash2.d: Likewise.
259 2020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
261 * testsuite/ld-shared/shared.exp: Remove dangling comments.
262 xfail shared non PIC tests on Solaris.
264 2020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
266 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
268 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
270 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
271 nopie with available.
273 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
275 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
276 Set to "-fcf-protection=none" if target compiler supports it.
277 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
279 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
282 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
284 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
286 (check_pr25749b): Likewise.
288 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
290 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
292 * ifunc-11-i386.d: Likewise.
293 * ifunc-12-i386.d: Likewise.
294 * ifunc-13-i386.d: Likewise.
295 * ifunc-14a-i386.d: Likewise.
296 * ifunc-14b-i386.d: Likewise.
297 * ifunc-14c-i386.d: Likewise.
298 * ifunc-14d-i386.d: Likewise.
299 * ifunc-14e-i386.d: Likewise.
300 * ifunc-14f-i386.d: Likewise.
301 * ifunc-15-i386.d: Likewise.
302 * ifunc-16-i386-now.d: Likewise.
303 * ifunc-16-i386.d: Likewise.
304 * ifunc-17a-i386.d: Likewise.
305 * ifunc-17b-i386.d: Likewise.
306 * ifunc-18a-i386.d: Likewise.
307 * ifunc-18b-i386.d: Likewise.
308 * ifunc-19a-i386.d: Likewise.
309 * ifunc-19b-i386.d: Likewise.
310 * ifunc-2-i386-now.d: Likewise.
311 * ifunc-2-i386.d: Likewise.
312 * ifunc-2-local-i386-now.d: Likewise.
313 * ifunc-2-local-i386.d: Likewise.
314 * ifunc-20-i386.d: Likewise.
315 * ifunc-21-i386.d: Likewise.
316 * ifunc-22-i386.d: Likewise.
317 * ifunc-5a-i386.d: Likewise.
318 * ifunc-5a-local-i386.d: Likewise.
319 * ifunc-5b-i386.d: Likewise.
320 * ifunc-5b-local-i386.d: Likewise.
321 * ifunc-5r-local-i386.d: Likewise.
322 * ifunc-6a-i386.d: Likewise.
323 * ifunc-6b-i386.d: Likewise.
324 * ifunc-7a-i386.d: Likewise.
325 * ifunc-7b-i386.d: Likewise.
326 * ifunc-8-i386.d: Likewise.
327 * ifunc-9-i386.d: Likewise.
328 * pr17154-i386-now.d: Likewise.
329 * pr17154-i386.d: Likewise.
331 * ifunc-23a-x86.d: Remove notarget.
332 * ifunc-24a-x86.d: Likewise.
333 * ifunc-25a-x86.d: Likewise.
335 2020-04-02 Nick Clifton <nickc@redhat.com>
338 * ldfile.c (ldfile_open_file): Fix typo in warning message.
340 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
344 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
345 * testsuite/ld-elf/pr25749-1.c: New file.
346 * testsuite/ld-elf/pr25749-1a.c: Likewise.
347 * testsuite/ld-elf/pr25749-1b.c: Likewise.
348 * testsuite/ld-elf/pr25749-1b.err: Likewise.
349 * testsuite/ld-elf/pr25749-1c.c: Likewise.
350 * testsuite/ld-elf/pr25749-1d.c: Likewise.
351 * testsuite/ld-elf/pr25749-2.c: Likewise.
352 * testsuite/ld-elf/pr25749-2a.s: Likewise.
353 * testsuite/ld-elf/pr25749-2b.s: Likewise.
354 * testsuite/ld-elf/pr25749.rd: Likewise.
355 * testsuite/ld-elf/pr25754-1a.c: Likewise.
356 * testsuite/ld-elf/pr25754-1b.s: Likewise.
357 * testsuite/ld-elf/pr25754-2a.c: Likewise.
358 * testsuite/ld-elf/pr25754-2b.err: Likewise.
359 * testsuite/ld-elf/pr25754-2b.s: Likewise.
360 * testsuite/ld-elf/pr25754-3a.c: Likewise.
361 * testsuite/ld-elf/pr25754-3b.s: Likewise.
362 * testsuite/ld-elf/pr25754-4a.c: Likewise.
363 * testsuite/ld-elf/pr25754-4b.s: Likewise.
364 * testsuite/ld-elf/pr25754-4c.s: Likewise.
365 * testsuite/ld-elf/pr25754-5a.c: Likewise.
366 * testsuite/ld-elf/pr25754-5b.s: Likewise.
367 * testsuite/ld-elf/pr25754-5c.s: Likewise.
368 * testsuite/ld-elf/pr25754-6a.c: Likewise.
369 * testsuite/ld-elf/pr25754-6b.s: Likewise.
370 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
372 2020-04-01 Tamar Christina <tamar.christina@arm.com>
375 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
377 2020-04-01 Nick Clifton <nickc@redhat.com>
380 * ldfile.c (ldfile_open_file): If a search for a library fails,
381 but there is a file that would match if it had a "lib" prefix to
382 its name, then tell the user.
384 2020-04-01 Tamar Christina <tamar.christina@arm.com>
387 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
388 * testsuite/ld-arm/thumb-plt-got.d: New test.
390 2020-04-01 Tamar Christina <tamar.christina@arm.com>
392 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
393 * testsuite/ld-arm/thumb-plt.d: New test.
394 * testsuite/ld-arm/thumb-plt.s: New test.
396 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
398 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
400 2020-03-30 Nick Clifton <nickc@redhat.com>
403 * emultempl/pe.em (after_open): Replace initialisation of the
404 insert_timestamp field in the pe_data structure with an
405 initialisation of the timestamp field.
406 * emultemp/pep.em: Likewise.
407 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
408 structure instead of the insert_timestamp field.
410 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
413 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
414 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
417 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
420 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
422 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
425 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
426 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
427 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
429 2020-03-25 Alan Modra <amodra@gmail.com>
431 * testsuite/ld-elf/compress1c.d: xfail h8300.
432 * testsuite/ld-elf/compressed1c.d: Likewise.
433 * testsuite/ld-elf/compressed1e.d: Likewise.
434 * testsuite/ld-elf/dynamic1.d: Likewise.
435 * testsuite/ld-elf/dynsym1.d: Likewise.
436 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
437 * testsuite/ld-elf/exclude3b.d: Likewise.
438 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
439 * testsuite/ld-elf/global1.d: xfail h8300.
440 * testsuite/ld-elf/hash.d: Likewise.
441 * testsuite/ld-elf/loadaddr1.d: Likewise.
442 * testsuite/ld-elf/loadaddr2.d: Likewise.
443 * testsuite/ld-elf/local1.d: Likewise.
444 * testsuite/ld-elf/mbind1b.d: Likewise.
445 * testsuite/ld-elf/mbind1c.d: Likewise.
446 * testsuite/ld-elf/now-1.d: Likewise.
447 * testsuite/ld-elf/now-2.d: Likewise.
448 * testsuite/ld-elf/now-3.d: Likewise.
449 * testsuite/ld-elf/now-4.d: Likewise.
450 * testsuite/ld-elf/pie.d: Likewise.
451 * testsuite/ld-elf/pr12975.d: Likewise.
452 * testsuite/ld-elf/pr13177.d: Likewise.
453 * testsuite/ld-elf/pr13195.d: Likewise.
454 * testsuite/ld-elf/pr16322.d: Likewise.
455 * testsuite/ld-elf/pr16498a.d: Likewise.
456 * testsuite/ld-elf/pr16498b.d: Likewise.
457 * testsuite/ld-elf/pr17615.d: Likewise.
458 * testsuite/ld-elf/pr19162.d: Likewise.
459 * testsuite/ld-elf/pr19539.d: Likewise.
460 * testsuite/ld-elf/pr19617a.d: Likewise.
461 * testsuite/ld-elf/pr19698.d: Likewise.
462 * testsuite/ld-elf/pr20513c.d: Likewise.
463 * testsuite/ld-elf/pr20513d.d: Likewise.
464 * testsuite/ld-elf/pr21389a.d: Likewise.
465 * testsuite/ld-elf/pr21389b.d: Likewise.
466 * testsuite/ld-elf/pr21389c.d: Likewise.
467 * testsuite/ld-elf/pr21562a.d: Likewise.
468 * testsuite/ld-elf/pr21562b.d: Likewise.
469 * testsuite/ld-elf/pr21562c.d: Likewise.
470 * testsuite/ld-elf/pr21562d.d: Likewise.
471 * testsuite/ld-elf/pr21562e.d: Likewise.
472 * testsuite/ld-elf/pr21562f.d: Likewise.
473 * testsuite/ld-elf/pr21562g.d: Likewise.
474 * testsuite/ld-elf/pr21562h.d: Likewise.
475 * testsuite/ld-elf/pr21562i.d: Likewise.
476 * testsuite/ld-elf/pr21562j.d: Likewise.
477 * testsuite/ld-elf/pr21562k.d: Likewise.
478 * testsuite/ld-elf/pr21562l.d: Likewise.
479 * testsuite/ld-elf/pr21562m.d: Likewise.
480 * testsuite/ld-elf/pr21562n.d: Likewise.
481 * testsuite/ld-elf/pr21903a.d: Likewise.
482 * testsuite/ld-elf/pr21903b.d: Likewise.
483 * testsuite/ld-elf/pr21903d.d: Likewise.
484 * testsuite/ld-elf/pr22269a.d: Likewise.
485 * testsuite/ld-elf/pr22269b.d: Likewise.
486 * testsuite/ld-elf/pr22393-1a.d: Likewise.
487 * testsuite/ld-elf/pr22393-1b.d: Likewise.
488 * testsuite/ld-elf/pr22393-1c.d: Likewise.
489 * testsuite/ld-elf/pr22393-1d.d: Likewise.
490 * testsuite/ld-elf/pr22393-1e.d: Likewise.
491 * testsuite/ld-elf/pr22393-1f.d: Likewise.
492 * testsuite/ld-elf/pr22423.d: Likewise.
493 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
495 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
496 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
497 * testsuite/ld-elf/rpath-1.d: xfail h8300.
498 * testsuite/ld-elf/rpath-2.d: Likewise.
499 * testsuite/ld-elf/runpath-1.d: Likewise.
500 * testsuite/ld-elf/runpath-2.d: Likewise.
501 * testsuite/ld-elf/sizeofb.d: Likewise.
502 * testsuite/ld-elf/startofb.d: Likewise.
503 * testsuite/ld-elf/strtab.d: Likewise.
504 * testsuite/ld-elf/textaddr1.d: Likewise.
505 * testsuite/ld-elf/textaddr2.d: Likewise.
506 * testsuite/ld-elf/textaddr4.d: Likewise.
507 * testsuite/ld-elf/textaddr5.d: Likewise.
508 * testsuite/ld-elf/textaddr6.d: Likewise.
509 * testsuite/ld-elf/unknown2.d: Likewise.
510 * testsuite/ld-undefined/entry-3.d: Likewise.
511 * testsuite/ld-undefined/entry-4.d: Likewise.
512 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
513 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
515 * testsuite/ld-h8300/relax-2.d: Likewise.
516 * testsuite/ld-h8300/relax-3.d: Likewise.
517 * testsuite/ld-h8300/relax-4.d: Likewise.
518 * testsuite/ld-h8300/relax-5.d: Likewise.
519 * testsuite/ld-h8300/relax-6.d: Likewise.
520 * testsuite/ld-h8300/relax-7.d: Likewise.
521 * testsuite/ld-h8300/relax.d: Relax file format match.
523 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
526 * testsuite/ld-elf/pr25708.d: New file.
528 2020-03-23 Alan Modra <amodra@gmail.com>
530 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
531 Include ei386aout dep file.
532 * Makefile.in: Regenerate.
533 * po/BLD-POTFILES.in: Regenerate.
535 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
537 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
538 test only for GCC 10 or newer.
540 2020-03-20 Alan Modra <amodra@gmail.com>
542 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
544 * testplug2.c (parse_symdefstr): Likewise.
545 * testplug3.c (parse_symdefstr): Likewise.
546 * testplug4.c (parse_symdefstr): Likewise.
548 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
550 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
551 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
553 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
555 * emultempl/xtensaelf.em: Emit a fatal error message
556 instead of calling abort.
557 * ldlang.c: Likewise.
559 2020-03-14 Alan Modra <amodra@gmail.com>
561 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
562 targets. Don't skip xtensa, xfail instead.
564 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
566 * ldlang.c (lang_add_section): Add support for
567 non_contiguous_regions.
568 (size_input_section): Likewise.
569 (lang_size_sections_1): Likewise.
570 (process_insert_statements): Likewise.
571 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
572 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
573 * lexsup.c (ld_options): Add entries for
574 --enable-non-contiguous-regions and
575 --enable-non-contiguous-regions-warnings.
576 (parse_args): Handle it.
577 * NEWS: Add --enable-non-contiguous-regions and
578 --enable-non-contiguous-regions-warnings.
579 * ld.texi: Add --enable-non-contiguous-regions and
580 --enable-non-contiguous-regions-warnings documentation.
581 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
582 SEC_LINKER_CREATED flag.
583 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
584 Emit an error when --enable-non-contiguous-regions is used.
585 * testsuite/ld-elf/non-contiguous.d: New.
586 * testsuite/ld-elf/non-contiguous.ld: New.
587 * testsuite/ld-elf/non-contiguous.s: New.
588 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
589 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
590 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
591 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
592 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
593 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
594 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
595 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
596 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
597 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
598 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
599 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
600 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
601 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
602 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
603 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
604 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
605 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
606 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
608 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
611 * emulparams/elf32_x86_64.sh: Use static.sh.
612 * emulparams/elf_i386.sh: Likewise.
613 * emulparams/elf_x86_64.sh: Likewise.
614 * emulparams/static.sh: New file.
615 * emultempl/elf-x86.em: Include "ldlex.h".
616 * testsuite/ld-elf/pr24920.err: New file.
617 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
619 2020-03-13 Christian Eggers <ceggers@gmx.de>
621 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
623 2020-03-11 Alan Modra <amodra@gmail.com>
625 * ldelf.c (elf_orphan_compatible): Return false when two sections
626 have differing SHF_MASKPROC or SHF_MASKOS flags.
628 2020-03-05 Alan Modra <amodra@gmail.com>
631 * ldlang.c (lang_size_sections_1): Don't report changes on
632 second and subsequent iterations that make no change in
633 alignment from that already reported.
635 2020-03-05 Alan Modra <amodra@gmail.com>
638 * ldlang.c (lang_sizing_iteration): New static var.
639 (lang_size_sections_1): Warn about no memory region only on first
640 iteration. Warn about changing start address on first iteration
641 then any delta from that on subsequent iterations. Report a signed
643 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
645 2020-03-03 Nick Clifton <nickc@redhat.com>
648 * ld.texi (Options): Update the description of the --rpath-link
651 2020-03-02 Alan Modra <amodra@gmail.com>
653 * plugin.c (plugin_object_p): Return a bfd_cleanup.
654 (plugin_cleanup): New function.
656 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
659 * plugin.c (plugin_object_p): Copy the no_export field to the IR
661 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
663 * testsuite/ld-plugin/pr25618.d: New file.
664 * testsuite/ld-plugin/pr25618a.cc: Likewise.
665 * testsuite/ld-plugin/pr25618a.h: Likewise.
666 * testsuite/ld-plugin/pr25618b.cc: Likewise.
667 * testsuite/ld-plugin/pr25618b.h: Likewise.
669 2020-02-27 Alan Modra <amodra@gmail.com>
672 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
673 * testsuite/ld-mmix/sec-2.d: Likewise.
674 * testsuite/ld-mmix/sec-3.d: Likewise.
675 * testsuite/ld-mmix/sec-4.d: Likewise.
676 * testsuite/ld-mmix/spec802.d: Likewise.
677 * testsuite/ld-mmix/spec803.d: Likewise.
678 * testsuite/ld-mmix/spec804.d: Likewise.
679 * testsuite/ld-mmix/spec805.d: Likewise.
680 * testsuite/ld-mmix/spec806.d: Likewise.
681 * testsuite/ld-mmix/spec807.d: Likewise.
682 * testsuite/ld-mmix/spec808.d: Likewise.
684 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
687 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
688 * testsuite/ld-plugin/pr25593.d: New file.
689 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
690 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
691 * testsuite/ld-plugin/pr25593b.c: Likewise.
692 * testsuite/ld-plugin/pr25593c.c: Likewise.
693 * testsuite/ld-plugin/pr25593d.c: Likewise.
694 * testsuite/ld-plugin/pr25593e.c: Likewise.
696 2020-02-26 Alan Modra <amodra@gmail.com>
698 * emultempl/cskyelf.em: Indent labels correctly.
699 * ldfile.c: Likewise.
700 * ldlang.c: Likewise.
701 * plugin.c: Likewise.
703 2020-02-26 Alan Modra <amodra@gmail.com>
706 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
707 (ldelf_after_open): Save state of input_bfds list before loading
708 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
709 Restore input_bfds list.
710 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
712 2020-02-24 Nick Clifton <nickc@redhat.com>
714 * po/fr.po: Update French translation.
716 2020-02-22 Alan Modra <amodra@gmail.com>
719 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
722 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
725 * emultempl/z80.em: Remove machine compatability checking.
727 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
730 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
731 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
732 * testsuite/ld-z80/arch_r800.d: Likewise.
733 * testsuite/ld-z80/arch_z180.d: Likewise.
734 * testsuite/ld-z80/arch_z80n.d: Likewise.
735 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
736 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
737 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
738 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
739 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
740 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
741 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
742 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
743 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
744 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
746 2020-02-19 Alan Modra <amodra@gmail.com>
748 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
750 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
753 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
754 * testsuite/ld-plugin/pr25355.c: New file.
755 * testsuite/ld-plugin/pr25355.d: Likewise.
756 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
759 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
761 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
763 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
766 * emulparams/elf32z80.sh: Use z80 emulation.
767 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
768 * emultempl/z80elf.em: Delete.
769 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
770 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
771 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
772 * testsuite/ld-unique/unique.s: Likewise.
773 * testsuite/ld-unique/unique_empty.s: Likewise.
774 * testsuite/ld-unique/unique_shared.s: Likewise.
775 * testsuite/ld-unique/unique.d: Updated expected output.
776 * testsuite/ld-z80/arch_z80n.d: New file.
777 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
778 * testsuite/ld-z80/labels.s: Add more labels.
779 * testsuite/ld-z80/relocs.s: Add more reloc tests.
780 * testsuite/ld-z80/relocs_f_z80n.d: New file
782 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
785 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
786 ldelf_before_place_orphans.
788 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
791 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
792 before_place_orphans_default.
793 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
794 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
795 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
796 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
797 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
798 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
799 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
800 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
801 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
802 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
803 ldelf_before_place_orphans.
804 * ldelf.c (ldelf_before_place_orphans): New.
805 * ldelf.h (ldelf_before_place_orphans): Likewise.
806 * ldemul.c (ldemul_before_place_orphans): Likewise.
807 (before_place_orphans_default): Likewise.
808 * ldemul.h (ldemul_before_place_orphans): Likewise.
809 (before_place_orphans_default): Likewise.
810 (ld_emulation_xfer_struct): Add before_place_orphans.
811 * ldlang.c (lang_process): Call ldemul_before_place_orphans
812 before lang_place_orphans.
813 * testsuite/ld-elf/pr25022.d: New file.
814 * testsuite/ld-elf/pr25022.s: Likewise.
815 * testsuite/ld-elf/pr25022.t: Likewise.
817 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
820 * testsuite/ld-elf/pr25490-1.d: New file.
821 * testsuite/ld-elf/pr25490-1.s: Likewise.
823 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
828 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
829 * testsuite/ld-elf/pr24526.d: New file.
830 * testsuite/ld-elf/pr24526.s: Likewise.
831 * testsuite/ld-elf/pr25021.d: Likewise.
832 * testsuite/ld-elf/pr25021.s: Likewise.
833 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
834 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
835 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
836 * testsuite/ld-elf/pr25490-2.s: Likewise.
837 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
838 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
839 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
840 * testsuite/ld-elf/pr25490-3.s: Likewise.
841 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
842 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
843 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
844 * testsuite/ld-elf/pr25490-4.s: Likewise.
845 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
846 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
847 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
848 * testsuite/ld-elf/pr25490-5.s: Likewise.
849 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
850 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
851 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
852 * testsuite/ld-elf/pr25490-6.s: Likewise.
854 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
856 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
857 z80 as not supported.
859 2020-02-06 Alan Modra <amodra@gmail.com>
861 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
862 targets that don't support ifunc rather than ones that do.
863 (contains_irelative_reloc): Match R_PARISC_IPLT.
864 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
865 * testsuite/ld-ifunc/ifunc-23-x86.s,
866 * testsuite/ld-ifunc/ifunc-24-x86.s,
867 * testsuite/ld-ifunc/ifunc-25-x86.s,
868 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
869 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
870 * testsuite/ld-ifunc/ifunc-10-i386.d,
871 * testsuite/ld-ifunc/ifunc-11-i386.d,
872 * testsuite/ld-ifunc/ifunc-12-i386.d,
873 * testsuite/ld-ifunc/ifunc-13-i386.d,
874 * testsuite/ld-ifunc/ifunc-14a-i386.d,
875 * testsuite/ld-ifunc/ifunc-14b-i386.d,
876 * testsuite/ld-ifunc/ifunc-14c-i386.d,
877 * testsuite/ld-ifunc/ifunc-14d-i386.d,
878 * testsuite/ld-ifunc/ifunc-14e-i386.d,
879 * testsuite/ld-ifunc/ifunc-14f-i386.d,
880 * testsuite/ld-ifunc/ifunc-15-i386.d,
881 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
882 * testsuite/ld-ifunc/ifunc-16-i386.d,
883 * testsuite/ld-ifunc/ifunc-17a-i386.d,
884 * testsuite/ld-ifunc/ifunc-17b-i386.d,
885 * testsuite/ld-ifunc/ifunc-18a-i386.d,
886 * testsuite/ld-ifunc/ifunc-18b-i386.d,
887 * testsuite/ld-ifunc/ifunc-19a-i386.d,
888 * testsuite/ld-ifunc/ifunc-19b-i386.d,
889 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
890 * testsuite/ld-ifunc/ifunc-2-i386.d,
891 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
892 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
893 * testsuite/ld-ifunc/ifunc-20-i386.d,
894 * testsuite/ld-ifunc/ifunc-21-i386.d,
895 * testsuite/ld-ifunc/ifunc-22-i386.d,
896 * testsuite/ld-ifunc/ifunc-26.d,
897 * testsuite/ld-ifunc/ifunc-5a-i386.d,
898 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
899 * testsuite/ld-ifunc/ifunc-5b-i386.d,
900 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
901 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
902 * testsuite/ld-ifunc/ifunc-6a-i386.d,
903 * testsuite/ld-ifunc/ifunc-6b-i386.d,
904 * testsuite/ld-ifunc/ifunc-7a-i386.d,
905 * testsuite/ld-ifunc/ifunc-7b-i386.d,
906 * testsuite/ld-ifunc/ifunc-8-i386.d,
907 * testsuite/ld-ifunc/ifunc-9-i386.d,
908 * testsuite/ld-ifunc/pr17154-i386-now.d,
909 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
911 2020-02-06 Alan Modra <amodra@gmail.com>
913 * testsuite/lib/ld-lib.exp (is_generic): Delete.
914 * testsuite/ld-unique/unique.exp: Exclude tic6x.
916 2020-02-06 Alan Modra <amodra@gmail.com>
918 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
919 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
921 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
924 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
926 * testsuite/ld-i386/tls-gd1.S: Likewise.
927 * testsuite/ld-x86-64/pr21481b.S: Likewise.
929 2020-01-30 Jan Beulich <jbeulich@suse.com>
931 * ld.texi: Remove space between @option and brace.
933 2020-01-29 Alan Modra <amodra@gmail.com>
936 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
938 (ldelf_after_open): Add prefix parameter.
939 * ldelf.h (ldelf_after_open): Update prototype.
940 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
942 * Makefile.am: Correct z80 dependencies.
943 * Makefile.in: Regenerate.
945 2020-01-28 Alan Modra <amodra@gmail.com>
947 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
950 2020-01-27 Alan Modra <amodra@gmail.com>
952 * testsuite/ld-elfvers/vers.exp: Replace case statements with
954 * testsuite/ld-ifunc/ifunc.exp: Likewise.
955 * testsuite/ld-unique/unique.exp: Likewise.
957 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
958 Alan Modra <amodra@gmail.com>
961 * testsuite/ld-elf/pr25458.map: New file.
962 * testsuite/ld-elf/pr25458.rd: Likewise.
963 * testsuite/ld-elf/pr25458a.s: Likewise.
964 * testsuite/ld-elf/pr25458b.s: Likewise.
965 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
967 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
970 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
973 2020-01-22 Alan Modra <amodra@gmail.com>
975 * testsuite/ld-powerpc/tlsdesc3.d,
976 * testsuite/ld-powerpc/tlsdesc3.wf,
977 * testsuite/ld-powerpc/tlsdesc4.d,
978 * testsuite/ld-powerpc/tlsdesc4.s,
979 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
980 * testsuite/ld-powerpc/powerpc.exp: Run them.
982 2020-01-22 Alan Modra <amodra@gmail.com>
984 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
985 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
986 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
987 (params): Init new field.
988 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
990 * testsuite/ld-powerpc/tlsdesc.s,
991 * testsuite/ld-powerpc/tlsdesc.d,
992 * testsuite/ld-powerpc/tlsdesc.wf,
993 * testsuite/ld-powerpc/tlsdesc2.d,
994 * testsuite/ld-powerpc/tlsdesc2.wf,
995 * testsuite/ld-powerpc/tlsexenors.d,
996 * testsuite/ld-powerpc/tlsexenors.r,
997 * testsuite/ld-powerpc/tlsexers.d,
998 * testsuite/ld-powerpc/tlsexers.r,
999 * testsuite/ld-powerpc/tlsexetocnors.d,
1000 * testsuite/ld-powerpc/tlsexetocrs.d,
1001 * testsuite/ld-powerpc/tlsexetocrs.r,
1002 * testsuite/ld-powerpc/tlsopt6.d,
1003 * testsuite/ld-powerpc/tlsopt6.wf: New.
1004 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1006 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1009 * ldlang.c (ldlang_open_ctf): Fix error message typo.
1010 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
1012 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1014 * testsuite/ld-elf/pr23900-1.d: Adjusted.
1016 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1018 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
1020 2020-01-20 Nick Clifton <nickc@redhat.com>
1022 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1023 * po/uk.po: Updated Ukranian translation.
1025 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
1028 * testsuite/ld-x86-64/pr25416-1.s: New file
1029 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
1030 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
1031 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
1032 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
1033 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
1034 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
1035 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1036 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
1037 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1038 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
1039 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
1040 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
1041 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
1042 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
1043 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
1044 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
1046 2020-01-20 Alan Modra <amodra@gmail.com>
1048 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
1049 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
1050 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
1051 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
1052 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1054 2020-01-18 Roland McGrath <mcgrathr@google.com>
1056 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
1057 to admit whatever absolute address. The label-relative address is
1058 what the test needs to verify.
1060 2020-01-18 Nick Clifton <nickc@redhat.com>
1062 * configure: Regenerate.
1063 * po/ld.pot: Regenerate.
1065 2020-01-18 Nick Clifton <nickc@redhat.com>
1067 Binutils 2.34 branch created.
1069 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1071 * scripttempl/elf32msp430_3.sc: Remove.
1073 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1075 * scripttempl/elf32msp430.sc: Add input section rules for
1076 .upper.{text,data,rodata,bss}.
1077 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1078 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
1080 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
1083 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
1085 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1087 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1088 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
1090 2020-01-15 Alan Modra <amodra@gmail.com>
1092 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
1093 * testsuite/ld-powerpc/funref.s: Align func_tab.
1094 * testsuite/ld-powerpc/funref2.s: Likewise.
1095 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
1097 2020-01-14 Lili Cui <lili.cui@intel.com>
1099 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
1101 2020-01-13 Alan Modra <amodra@gmail.com>
1103 * po/BLD-POTFILES.in: Regenerate.
1105 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1107 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
1109 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1111 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
1113 * configure.tgt: Likewise.
1114 * Makefile.in: Regenerate.
1115 * emulparams/arcelf_prof.sh: Remove file.
1116 * emulparams/arclinux_prof.sh: Likewise.
1118 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1120 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
1121 located at an arbitrary address. Use DWARF.sc file.
1122 * scripttempl/elfarc.sc: Use DWARF.sc file.
1124 2020-01-07 Alan Modra <amodra@gmail.com>
1126 * testsuite/ld-mips-elf/eh-frame5.s,
1127 * testsuite/ld-mips-elf/ehdr_start-new.s,
1128 * testsuite/ld-mips-elf/ehdr_start-o32.s,
1129 * testsuite/ld-mips-elf/mips16-call-global-1.s,
1130 * testsuite/ld-mips-elf/mips16-intermix-1.s,
1131 * testsuite/ld-mips-elf/mips16-pic-1b.s,
1132 * testsuite/ld-mips-elf/mips16-pic-4c.s,
1133 * testsuite/ld-mips-elf/no-shared-1-n64.s,
1134 * testsuite/ld-mips-elf/no-shared-1-o32.s,
1135 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
1136 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
1137 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
1138 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
1139 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
1140 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
1141 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
1142 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
1143 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
1144 * testsuite/ld-mips-elf/pie.s,
1145 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
1147 2020-01-06 Nick Clifton <nickc@redhat.com>
1150 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1151 command line when building libcomm1.o and pr13250 tests.
1152 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
1154 2020-01-06 Nick Clifton <nickc@redhat.com>
1157 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1158 command line when building pr19579 binaries.
1160 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
1162 * emultempl/pe.em: Add new option --enable-reloc-section.
1163 * emultempl/pep.em: Likewise.
1164 * ld.texi: Document --enable-reloc-section.
1165 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
1166 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
1167 * pe-dll.h: Add extern declaration of option flag.
1168 * pep-dll.c (pe_dll_enable_reloc_section):
1169 Add alias define for pep_dll_enable_reloc_section.
1170 * pep-dll.h: Add extern declaration of option flag.
1172 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1174 * Makefile.am: Add new target z80-elf
1175 * configure.tgt: Likewise.
1176 * Makefile.in: Regenerate.
1177 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
1178 * emulparams/elf32z80.sh: New file.
1179 * emultempl/z80elf.em: Likewise.
1180 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
1181 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
1182 * testsuite/ld-scripts/fill16.d: Fix for Z80.
1183 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
1184 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1185 * testsuite/ld-z80/arch_r800.d: Likewise.
1186 * testsuite/ld-z80/arch_z180.d: Likewise.
1187 * testsuite/ld-z80/arch_z80.d: Likewise.
1188 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1189 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
1190 * testsuite/ld-z80/labels.s: Likewise.
1191 * testsuite/ld-z80/relocs.s: Likewise.
1192 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1193 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1194 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1195 * testsuite/ld-z80/z80.exp: Likewise.
1196 * NEWS: Mention the new support.
1198 2020-01-02 Tamar Christina <tamar.christina@arm.com>
1202 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1203 Remove SEC_LINKER_CREATED.
1204 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1205 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1207 2020-01-01 Alan Modra <amodra@gmail.com>
1209 Update year range in copyright notice of all files.
1211 For older changes see ChangeLog-2019
1213 Copyright (C) 2020 Free Software Foundation, Inc.
1215 Copying and distribution of this file, with or without modification,
1216 are permitted in any medium without royalty provided the copyright
1217 notice and this notice are preserved.
1223 version-control: never