1 2020-04-16 Stephen Casner <casner@acm.org>
4 * testsuite/ld-scripts/pr18963.s: New, replaces empty data.s to
5 allocate space in text, data, bss here rather than pr18963.t.
6 * testsuite/ld-scripts/pr18963.t: Remove assignments to dot.
7 * testsuite/ld-scripts/pr18963.d: Change addresses to fit 16 bits.
9 2020-04-15 Fangrui Song <maskray@google.com>
12 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
13 RM_GENERATE_ERROR to RM_DIAGNOSE.
14 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
15 RM_GENERATE_ERROR to RM_DIAGNOSE.
16 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
18 2020-04-14 Stephen Casner <casner@acm.org>
21 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
22 (EXTRA_EM_FILE): New, add emulation file pdp11.
23 * scripttempl/pdp11.sc: New, derived from aout.sc without
24 irrelevant input sections.
25 * emultempl/pdp11.em (_add_options, _handle_option)
26 (_list_options): New. Add options -z, --imagic for pdp11-aout.
27 (_before_parse): Make --omagic be default instead of --nmagic.
28 (_get_script): Modify special-case linker script for --imagic.
29 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
30 * ld.texi (Options): Add documentation of PDP11-specific options.
31 (Options): Fix unrelated typo to --no-compact-branches.
32 * gen-doc.texi: @set PDP11.
33 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
34 * testsuite/ld-pdp11/sections.s: New, source for options tests.
35 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
36 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
37 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
38 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
40 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
43 * testsuite/ld-arm/armthumb-lib.sym: Updated.
44 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
45 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
46 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
47 * testsuite/ld-arm/fdpic-main.sym: Likewise.
48 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
49 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
50 * testsuite/ld-arm/mixed-app.sym: Likewise.
51 * testsuite/ld-arm/mixed-lib.sym: Likewise.
52 * testsuite/ld-arm/preempt-app.sym: Likewise.
53 * testsuite/ld-elf/hash.d: Likewise.
54 * testsuite/ld-elf/pr13195.d: Likewise.
55 * testsuite/ld-elfvsb/hidden2.d: Likewise.
56 * testsuite/ld-mips-elf/hash2.d: Likewise.
58 2020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
60 * testsuite/ld-shared/shared.exp: Remove dangling comments.
61 xfail shared non PIC tests on Solaris.
63 2020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
65 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
67 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
69 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
72 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
74 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
75 Set to "-fcf-protection=none" if target compiler supports it.
76 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
78 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
81 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
83 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
85 (check_pr25749b): Likewise.
87 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
89 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
91 * ifunc-11-i386.d: Likewise.
92 * ifunc-12-i386.d: Likewise.
93 * ifunc-13-i386.d: Likewise.
94 * ifunc-14a-i386.d: Likewise.
95 * ifunc-14b-i386.d: Likewise.
96 * ifunc-14c-i386.d: Likewise.
97 * ifunc-14d-i386.d: Likewise.
98 * ifunc-14e-i386.d: Likewise.
99 * ifunc-14f-i386.d: Likewise.
100 * ifunc-15-i386.d: Likewise.
101 * ifunc-16-i386-now.d: Likewise.
102 * ifunc-16-i386.d: Likewise.
103 * ifunc-17a-i386.d: Likewise.
104 * ifunc-17b-i386.d: Likewise.
105 * ifunc-18a-i386.d: Likewise.
106 * ifunc-18b-i386.d: Likewise.
107 * ifunc-19a-i386.d: Likewise.
108 * ifunc-19b-i386.d: Likewise.
109 * ifunc-2-i386-now.d: Likewise.
110 * ifunc-2-i386.d: Likewise.
111 * ifunc-2-local-i386-now.d: Likewise.
112 * ifunc-2-local-i386.d: Likewise.
113 * ifunc-20-i386.d: Likewise.
114 * ifunc-21-i386.d: Likewise.
115 * ifunc-22-i386.d: Likewise.
116 * ifunc-5a-i386.d: Likewise.
117 * ifunc-5a-local-i386.d: Likewise.
118 * ifunc-5b-i386.d: Likewise.
119 * ifunc-5b-local-i386.d: Likewise.
120 * ifunc-5r-local-i386.d: Likewise.
121 * ifunc-6a-i386.d: Likewise.
122 * ifunc-6b-i386.d: Likewise.
123 * ifunc-7a-i386.d: Likewise.
124 * ifunc-7b-i386.d: Likewise.
125 * ifunc-8-i386.d: Likewise.
126 * ifunc-9-i386.d: Likewise.
127 * pr17154-i386-now.d: Likewise.
128 * pr17154-i386.d: Likewise.
130 * ifunc-23a-x86.d: Remove notarget.
131 * ifunc-24a-x86.d: Likewise.
132 * ifunc-25a-x86.d: Likewise.
134 2020-04-02 Nick Clifton <nickc@redhat.com>
137 * ldfile.c (ldfile_open_file): Fix typo in warning message.
139 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
143 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
144 * testsuite/ld-elf/pr25749-1.c: New file.
145 * testsuite/ld-elf/pr25749-1a.c: Likewise.
146 * testsuite/ld-elf/pr25749-1b.c: Likewise.
147 * testsuite/ld-elf/pr25749-1b.err: Likewise.
148 * testsuite/ld-elf/pr25749-1c.c: Likewise.
149 * testsuite/ld-elf/pr25749-1d.c: Likewise.
150 * testsuite/ld-elf/pr25749-2.c: Likewise.
151 * testsuite/ld-elf/pr25749-2a.s: Likewise.
152 * testsuite/ld-elf/pr25749-2b.s: Likewise.
153 * testsuite/ld-elf/pr25749.rd: Likewise.
154 * testsuite/ld-elf/pr25754-1a.c: Likewise.
155 * testsuite/ld-elf/pr25754-1b.s: Likewise.
156 * testsuite/ld-elf/pr25754-2a.c: Likewise.
157 * testsuite/ld-elf/pr25754-2b.err: Likewise.
158 * testsuite/ld-elf/pr25754-2b.s: Likewise.
159 * testsuite/ld-elf/pr25754-3a.c: Likewise.
160 * testsuite/ld-elf/pr25754-3b.s: Likewise.
161 * testsuite/ld-elf/pr25754-4a.c: Likewise.
162 * testsuite/ld-elf/pr25754-4b.s: Likewise.
163 * testsuite/ld-elf/pr25754-4c.s: Likewise.
164 * testsuite/ld-elf/pr25754-5a.c: Likewise.
165 * testsuite/ld-elf/pr25754-5b.s: Likewise.
166 * testsuite/ld-elf/pr25754-5c.s: Likewise.
167 * testsuite/ld-elf/pr25754-6a.c: Likewise.
168 * testsuite/ld-elf/pr25754-6b.s: Likewise.
169 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
171 2020-04-01 Tamar Christina <tamar.christina@arm.com>
174 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
176 2020-04-01 Nick Clifton <nickc@redhat.com>
179 * ldfile.c (ldfile_open_file): If a search for a library fails,
180 but there is a file that would match if it had a "lib" prefix to
181 its name, then tell the user.
183 2020-04-01 Tamar Christina <tamar.christina@arm.com>
186 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
187 * testsuite/ld-arm/thumb-plt-got.d: New test.
189 2020-04-01 Tamar Christina <tamar.christina@arm.com>
191 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
192 * testsuite/ld-arm/thumb-plt.d: New test.
193 * testsuite/ld-arm/thumb-plt.s: New test.
195 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
197 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
199 2020-03-30 Nick Clifton <nickc@redhat.com>
202 * emultempl/pe.em (after_open): Replace initialisation of the
203 insert_timestamp field in the pe_data structure with an
204 initialisation of the timestamp field.
205 * emultemp/pep.em: Likewise.
206 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
207 structure instead of the insert_timestamp field.
209 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
212 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
213 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
216 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
219 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
221 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
224 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
225 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
226 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
228 2020-03-25 Alan Modra <amodra@gmail.com>
230 * testsuite/ld-elf/compress1c.d: xfail h8300.
231 * testsuite/ld-elf/compressed1c.d: Likewise.
232 * testsuite/ld-elf/compressed1e.d: Likewise.
233 * testsuite/ld-elf/dynamic1.d: Likewise.
234 * testsuite/ld-elf/dynsym1.d: Likewise.
235 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
236 * testsuite/ld-elf/exclude3b.d: Likewise.
237 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
238 * testsuite/ld-elf/global1.d: xfail h8300.
239 * testsuite/ld-elf/hash.d: Likewise.
240 * testsuite/ld-elf/loadaddr1.d: Likewise.
241 * testsuite/ld-elf/loadaddr2.d: Likewise.
242 * testsuite/ld-elf/local1.d: Likewise.
243 * testsuite/ld-elf/mbind1b.d: Likewise.
244 * testsuite/ld-elf/mbind1c.d: Likewise.
245 * testsuite/ld-elf/now-1.d: Likewise.
246 * testsuite/ld-elf/now-2.d: Likewise.
247 * testsuite/ld-elf/now-3.d: Likewise.
248 * testsuite/ld-elf/now-4.d: Likewise.
249 * testsuite/ld-elf/pie.d: Likewise.
250 * testsuite/ld-elf/pr12975.d: Likewise.
251 * testsuite/ld-elf/pr13177.d: Likewise.
252 * testsuite/ld-elf/pr13195.d: Likewise.
253 * testsuite/ld-elf/pr16322.d: Likewise.
254 * testsuite/ld-elf/pr16498a.d: Likewise.
255 * testsuite/ld-elf/pr16498b.d: Likewise.
256 * testsuite/ld-elf/pr17615.d: Likewise.
257 * testsuite/ld-elf/pr19162.d: Likewise.
258 * testsuite/ld-elf/pr19539.d: Likewise.
259 * testsuite/ld-elf/pr19617a.d: Likewise.
260 * testsuite/ld-elf/pr19698.d: Likewise.
261 * testsuite/ld-elf/pr20513c.d: Likewise.
262 * testsuite/ld-elf/pr20513d.d: Likewise.
263 * testsuite/ld-elf/pr21389a.d: Likewise.
264 * testsuite/ld-elf/pr21389b.d: Likewise.
265 * testsuite/ld-elf/pr21389c.d: Likewise.
266 * testsuite/ld-elf/pr21562a.d: Likewise.
267 * testsuite/ld-elf/pr21562b.d: Likewise.
268 * testsuite/ld-elf/pr21562c.d: Likewise.
269 * testsuite/ld-elf/pr21562d.d: Likewise.
270 * testsuite/ld-elf/pr21562e.d: Likewise.
271 * testsuite/ld-elf/pr21562f.d: Likewise.
272 * testsuite/ld-elf/pr21562g.d: Likewise.
273 * testsuite/ld-elf/pr21562h.d: Likewise.
274 * testsuite/ld-elf/pr21562i.d: Likewise.
275 * testsuite/ld-elf/pr21562j.d: Likewise.
276 * testsuite/ld-elf/pr21562k.d: Likewise.
277 * testsuite/ld-elf/pr21562l.d: Likewise.
278 * testsuite/ld-elf/pr21562m.d: Likewise.
279 * testsuite/ld-elf/pr21562n.d: Likewise.
280 * testsuite/ld-elf/pr21903a.d: Likewise.
281 * testsuite/ld-elf/pr21903b.d: Likewise.
282 * testsuite/ld-elf/pr21903d.d: Likewise.
283 * testsuite/ld-elf/pr22269a.d: Likewise.
284 * testsuite/ld-elf/pr22269b.d: Likewise.
285 * testsuite/ld-elf/pr22393-1a.d: Likewise.
286 * testsuite/ld-elf/pr22393-1b.d: Likewise.
287 * testsuite/ld-elf/pr22393-1c.d: Likewise.
288 * testsuite/ld-elf/pr22393-1d.d: Likewise.
289 * testsuite/ld-elf/pr22393-1e.d: Likewise.
290 * testsuite/ld-elf/pr22393-1f.d: Likewise.
291 * testsuite/ld-elf/pr22423.d: Likewise.
292 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
294 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
295 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
296 * testsuite/ld-elf/rpath-1.d: xfail h8300.
297 * testsuite/ld-elf/rpath-2.d: Likewise.
298 * testsuite/ld-elf/runpath-1.d: Likewise.
299 * testsuite/ld-elf/runpath-2.d: Likewise.
300 * testsuite/ld-elf/sizeofb.d: Likewise.
301 * testsuite/ld-elf/startofb.d: Likewise.
302 * testsuite/ld-elf/strtab.d: Likewise.
303 * testsuite/ld-elf/textaddr1.d: Likewise.
304 * testsuite/ld-elf/textaddr2.d: Likewise.
305 * testsuite/ld-elf/textaddr4.d: Likewise.
306 * testsuite/ld-elf/textaddr5.d: Likewise.
307 * testsuite/ld-elf/textaddr6.d: Likewise.
308 * testsuite/ld-elf/unknown2.d: Likewise.
309 * testsuite/ld-undefined/entry-3.d: Likewise.
310 * testsuite/ld-undefined/entry-4.d: Likewise.
311 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
312 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
314 * testsuite/ld-h8300/relax-2.d: Likewise.
315 * testsuite/ld-h8300/relax-3.d: Likewise.
316 * testsuite/ld-h8300/relax-4.d: Likewise.
317 * testsuite/ld-h8300/relax-5.d: Likewise.
318 * testsuite/ld-h8300/relax-6.d: Likewise.
319 * testsuite/ld-h8300/relax-7.d: Likewise.
320 * testsuite/ld-h8300/relax.d: Relax file format match.
322 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
325 * testsuite/ld-elf/pr25708.d: New file.
327 2020-03-23 Alan Modra <amodra@gmail.com>
329 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
330 Include ei386aout dep file.
331 * Makefile.in: Regenerate.
332 * po/BLD-POTFILES.in: Regenerate.
334 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
336 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
337 test only for GCC 10 or newer.
339 2020-03-20 Alan Modra <amodra@gmail.com>
341 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
343 * testplug2.c (parse_symdefstr): Likewise.
344 * testplug3.c (parse_symdefstr): Likewise.
345 * testplug4.c (parse_symdefstr): Likewise.
347 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
349 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
350 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
352 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
354 * emultempl/xtensaelf.em: Emit a fatal error message
355 instead of calling abort.
356 * ldlang.c: Likewise.
358 2020-03-14 Alan Modra <amodra@gmail.com>
360 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
361 targets. Don't skip xtensa, xfail instead.
363 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
365 * ldlang.c (lang_add_section): Add support for
366 non_contiguous_regions.
367 (size_input_section): Likewise.
368 (lang_size_sections_1): Likewise.
369 (process_insert_statements): Likewise.
370 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
371 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
372 * lexsup.c (ld_options): Add entries for
373 --enable-non-contiguous-regions and
374 --enable-non-contiguous-regions-warnings.
375 (parse_args): Handle it.
376 * NEWS: Add --enable-non-contiguous-regions and
377 --enable-non-contiguous-regions-warnings.
378 * ld.texi: Add --enable-non-contiguous-regions and
379 --enable-non-contiguous-regions-warnings documentation.
380 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
381 SEC_LINKER_CREATED flag.
382 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
383 Emit an error when --enable-non-contiguous-regions is used.
384 * testsuite/ld-elf/non-contiguous.d: New.
385 * testsuite/ld-elf/non-contiguous.ld: New.
386 * testsuite/ld-elf/non-contiguous.s: New.
387 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
388 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
389 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
390 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
391 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
392 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
393 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
394 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
395 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
396 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
397 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
398 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
399 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
400 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
401 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
402 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
403 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
404 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
405 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
407 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
410 * emulparams/elf32_x86_64.sh: Use static.sh.
411 * emulparams/elf_i386.sh: Likewise.
412 * emulparams/elf_x86_64.sh: Likewise.
413 * emulparams/static.sh: New file.
414 * emultempl/elf-x86.em: Include "ldlex.h".
415 * testsuite/ld-elf/pr24920.err: New file.
416 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
418 2020-03-13 Christian Eggers <ceggers@gmx.de>
420 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
422 2020-03-11 Alan Modra <amodra@gmail.com>
424 * ldelf.c (elf_orphan_compatible): Return false when two sections
425 have differing SHF_MASKPROC or SHF_MASKOS flags.
427 2020-03-05 Alan Modra <amodra@gmail.com>
430 * ldlang.c (lang_size_sections_1): Don't report changes on
431 second and subsequent iterations that make no change in
432 alignment from that already reported.
434 2020-03-05 Alan Modra <amodra@gmail.com>
437 * ldlang.c (lang_sizing_iteration): New static var.
438 (lang_size_sections_1): Warn about no memory region only on first
439 iteration. Warn about changing start address on first iteration
440 then any delta from that on subsequent iterations. Report a signed
442 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
444 2020-03-03 Nick Clifton <nickc@redhat.com>
447 * ld.texi (Options): Update the description of the --rpath-link
450 2020-03-02 Alan Modra <amodra@gmail.com>
452 * plugin.c (plugin_object_p): Return a bfd_cleanup.
453 (plugin_cleanup): New function.
455 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
458 * plugin.c (plugin_object_p): Copy the no_export field to the IR
460 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
462 * testsuite/ld-plugin/pr25618.d: New file.
463 * testsuite/ld-plugin/pr25618a.cc: Likewise.
464 * testsuite/ld-plugin/pr25618a.h: Likewise.
465 * testsuite/ld-plugin/pr25618b.cc: Likewise.
466 * testsuite/ld-plugin/pr25618b.h: Likewise.
468 2020-02-27 Alan Modra <amodra@gmail.com>
471 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
472 * testsuite/ld-mmix/sec-2.d: Likewise.
473 * testsuite/ld-mmix/sec-3.d: Likewise.
474 * testsuite/ld-mmix/sec-4.d: Likewise.
475 * testsuite/ld-mmix/spec802.d: Likewise.
476 * testsuite/ld-mmix/spec803.d: Likewise.
477 * testsuite/ld-mmix/spec804.d: Likewise.
478 * testsuite/ld-mmix/spec805.d: Likewise.
479 * testsuite/ld-mmix/spec806.d: Likewise.
480 * testsuite/ld-mmix/spec807.d: Likewise.
481 * testsuite/ld-mmix/spec808.d: Likewise.
483 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
486 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
487 * testsuite/ld-plugin/pr25593.d: New file.
488 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
489 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
490 * testsuite/ld-plugin/pr25593b.c: Likewise.
491 * testsuite/ld-plugin/pr25593c.c: Likewise.
492 * testsuite/ld-plugin/pr25593d.c: Likewise.
493 * testsuite/ld-plugin/pr25593e.c: Likewise.
495 2020-02-26 Alan Modra <amodra@gmail.com>
497 * emultempl/cskyelf.em: Indent labels correctly.
498 * ldfile.c: Likewise.
499 * ldlang.c: Likewise.
500 * plugin.c: Likewise.
502 2020-02-26 Alan Modra <amodra@gmail.com>
505 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
506 (ldelf_after_open): Save state of input_bfds list before loading
507 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
508 Restore input_bfds list.
509 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
511 2020-02-24 Nick Clifton <nickc@redhat.com>
513 * po/fr.po: Update French translation.
515 2020-02-22 Alan Modra <amodra@gmail.com>
518 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
521 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
524 * emultempl/z80.em: Remove machine compatability checking.
526 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
529 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
530 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
531 * testsuite/ld-z80/arch_r800.d: Likewise.
532 * testsuite/ld-z80/arch_z180.d: Likewise.
533 * testsuite/ld-z80/arch_z80n.d: Likewise.
534 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
535 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
536 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
537 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
538 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
539 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
540 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
541 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
542 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
543 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
545 2020-02-19 Alan Modra <amodra@gmail.com>
547 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
549 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
552 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
553 * testsuite/ld-plugin/pr25355.c: New file.
554 * testsuite/ld-plugin/pr25355.d: Likewise.
555 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
558 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
560 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
562 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
565 * emulparams/elf32z80.sh: Use z80 emulation.
566 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
567 * emultempl/z80elf.em: Delete.
568 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
569 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
570 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
571 * testsuite/ld-unique/unique.s: Likewise.
572 * testsuite/ld-unique/unique_empty.s: Likewise.
573 * testsuite/ld-unique/unique_shared.s: Likewise.
574 * testsuite/ld-unique/unique.d: Updated expected output.
575 * testsuite/ld-z80/arch_z80n.d: New file.
576 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
577 * testsuite/ld-z80/labels.s: Add more labels.
578 * testsuite/ld-z80/relocs.s: Add more reloc tests.
579 * testsuite/ld-z80/relocs_f_z80n.d: New file
581 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
584 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
585 ldelf_before_place_orphans.
587 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
590 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
591 before_place_orphans_default.
592 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
593 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
594 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
595 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
596 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
597 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
598 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
599 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
600 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
601 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
602 ldelf_before_place_orphans.
603 * ldelf.c (ldelf_before_place_orphans): New.
604 * ldelf.h (ldelf_before_place_orphans): Likewise.
605 * ldemul.c (ldemul_before_place_orphans): Likewise.
606 (before_place_orphans_default): Likewise.
607 * ldemul.h (ldemul_before_place_orphans): Likewise.
608 (before_place_orphans_default): Likewise.
609 (ld_emulation_xfer_struct): Add before_place_orphans.
610 * ldlang.c (lang_process): Call ldemul_before_place_orphans
611 before lang_place_orphans.
612 * testsuite/ld-elf/pr25022.d: New file.
613 * testsuite/ld-elf/pr25022.s: Likewise.
614 * testsuite/ld-elf/pr25022.t: Likewise.
616 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
619 * testsuite/ld-elf/pr25490-1.d: New file.
620 * testsuite/ld-elf/pr25490-1.s: Likewise.
622 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
627 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
628 * testsuite/ld-elf/pr24526.d: New file.
629 * testsuite/ld-elf/pr24526.s: Likewise.
630 * testsuite/ld-elf/pr25021.d: Likewise.
631 * testsuite/ld-elf/pr25021.s: Likewise.
632 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
633 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
634 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
635 * testsuite/ld-elf/pr25490-2.s: Likewise.
636 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
637 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
638 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
639 * testsuite/ld-elf/pr25490-3.s: Likewise.
640 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
641 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
642 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
643 * testsuite/ld-elf/pr25490-4.s: Likewise.
644 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
645 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
646 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
647 * testsuite/ld-elf/pr25490-5.s: Likewise.
648 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
649 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
650 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
651 * testsuite/ld-elf/pr25490-6.s: Likewise.
653 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
655 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
656 z80 as not supported.
658 2020-02-06 Alan Modra <amodra@gmail.com>
660 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
661 targets that don't support ifunc rather than ones that do.
662 (contains_irelative_reloc): Match R_PARISC_IPLT.
663 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
664 * testsuite/ld-ifunc/ifunc-23-x86.s,
665 * testsuite/ld-ifunc/ifunc-24-x86.s,
666 * testsuite/ld-ifunc/ifunc-25-x86.s,
667 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
668 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
669 * testsuite/ld-ifunc/ifunc-10-i386.d,
670 * testsuite/ld-ifunc/ifunc-11-i386.d,
671 * testsuite/ld-ifunc/ifunc-12-i386.d,
672 * testsuite/ld-ifunc/ifunc-13-i386.d,
673 * testsuite/ld-ifunc/ifunc-14a-i386.d,
674 * testsuite/ld-ifunc/ifunc-14b-i386.d,
675 * testsuite/ld-ifunc/ifunc-14c-i386.d,
676 * testsuite/ld-ifunc/ifunc-14d-i386.d,
677 * testsuite/ld-ifunc/ifunc-14e-i386.d,
678 * testsuite/ld-ifunc/ifunc-14f-i386.d,
679 * testsuite/ld-ifunc/ifunc-15-i386.d,
680 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
681 * testsuite/ld-ifunc/ifunc-16-i386.d,
682 * testsuite/ld-ifunc/ifunc-17a-i386.d,
683 * testsuite/ld-ifunc/ifunc-17b-i386.d,
684 * testsuite/ld-ifunc/ifunc-18a-i386.d,
685 * testsuite/ld-ifunc/ifunc-18b-i386.d,
686 * testsuite/ld-ifunc/ifunc-19a-i386.d,
687 * testsuite/ld-ifunc/ifunc-19b-i386.d,
688 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
689 * testsuite/ld-ifunc/ifunc-2-i386.d,
690 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
691 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
692 * testsuite/ld-ifunc/ifunc-20-i386.d,
693 * testsuite/ld-ifunc/ifunc-21-i386.d,
694 * testsuite/ld-ifunc/ifunc-22-i386.d,
695 * testsuite/ld-ifunc/ifunc-26.d,
696 * testsuite/ld-ifunc/ifunc-5a-i386.d,
697 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
698 * testsuite/ld-ifunc/ifunc-5b-i386.d,
699 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
700 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
701 * testsuite/ld-ifunc/ifunc-6a-i386.d,
702 * testsuite/ld-ifunc/ifunc-6b-i386.d,
703 * testsuite/ld-ifunc/ifunc-7a-i386.d,
704 * testsuite/ld-ifunc/ifunc-7b-i386.d,
705 * testsuite/ld-ifunc/ifunc-8-i386.d,
706 * testsuite/ld-ifunc/ifunc-9-i386.d,
707 * testsuite/ld-ifunc/pr17154-i386-now.d,
708 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
710 2020-02-06 Alan Modra <amodra@gmail.com>
712 * testsuite/lib/ld-lib.exp (is_generic): Delete.
713 * testsuite/ld-unique/unique.exp: Exclude tic6x.
715 2020-02-06 Alan Modra <amodra@gmail.com>
717 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
718 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
720 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
723 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
725 * testsuite/ld-i386/tls-gd1.S: Likewise.
726 * testsuite/ld-x86-64/pr21481b.S: Likewise.
728 2020-01-30 Jan Beulich <jbeulich@suse.com>
730 * ld.texi: Remove space between @option and brace.
732 2020-01-29 Alan Modra <amodra@gmail.com>
735 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
737 (ldelf_after_open): Add prefix parameter.
738 * ldelf.h (ldelf_after_open): Update prototype.
739 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
741 * Makefile.am: Correct z80 dependencies.
742 * Makefile.in: Regenerate.
744 2020-01-28 Alan Modra <amodra@gmail.com>
746 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
749 2020-01-27 Alan Modra <amodra@gmail.com>
751 * testsuite/ld-elfvers/vers.exp: Replace case statements with
753 * testsuite/ld-ifunc/ifunc.exp: Likewise.
754 * testsuite/ld-unique/unique.exp: Likewise.
756 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
757 Alan Modra <amodra@gmail.com>
760 * testsuite/ld-elf/pr25458.map: New file.
761 * testsuite/ld-elf/pr25458.rd: Likewise.
762 * testsuite/ld-elf/pr25458a.s: Likewise.
763 * testsuite/ld-elf/pr25458b.s: Likewise.
764 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
766 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
769 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
772 2020-01-22 Alan Modra <amodra@gmail.com>
774 * testsuite/ld-powerpc/tlsdesc3.d,
775 * testsuite/ld-powerpc/tlsdesc3.wf,
776 * testsuite/ld-powerpc/tlsdesc4.d,
777 * testsuite/ld-powerpc/tlsdesc4.s,
778 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
779 * testsuite/ld-powerpc/powerpc.exp: Run them.
781 2020-01-22 Alan Modra <amodra@gmail.com>
783 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
784 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
785 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
786 (params): Init new field.
787 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
789 * testsuite/ld-powerpc/tlsdesc.s,
790 * testsuite/ld-powerpc/tlsdesc.d,
791 * testsuite/ld-powerpc/tlsdesc.wf,
792 * testsuite/ld-powerpc/tlsdesc2.d,
793 * testsuite/ld-powerpc/tlsdesc2.wf,
794 * testsuite/ld-powerpc/tlsexenors.d,
795 * testsuite/ld-powerpc/tlsexenors.r,
796 * testsuite/ld-powerpc/tlsexers.d,
797 * testsuite/ld-powerpc/tlsexers.r,
798 * testsuite/ld-powerpc/tlsexetocnors.d,
799 * testsuite/ld-powerpc/tlsexetocrs.d,
800 * testsuite/ld-powerpc/tlsexetocrs.r,
801 * testsuite/ld-powerpc/tlsopt6.d,
802 * testsuite/ld-powerpc/tlsopt6.wf: New.
803 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
805 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
808 * ldlang.c (ldlang_open_ctf): Fix error message typo.
809 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
811 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
813 * testsuite/ld-elf/pr23900-1.d: Adjusted.
815 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
817 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
819 2020-01-20 Nick Clifton <nickc@redhat.com>
821 * po/pt_BR.po: Updated Brazilian Portuguese translation.
822 * po/uk.po: Updated Ukranian translation.
824 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
827 * testsuite/ld-x86-64/pr25416-1.s: New file
828 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
829 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
830 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
831 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
832 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
833 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
834 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
835 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
836 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
837 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
838 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
839 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
840 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
841 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
842 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
843 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
845 2020-01-20 Alan Modra <amodra@gmail.com>
847 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
848 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
849 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
850 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
851 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
853 2020-01-18 Roland McGrath <mcgrathr@google.com>
855 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
856 to admit whatever absolute address. The label-relative address is
857 what the test needs to verify.
859 2020-01-18 Nick Clifton <nickc@redhat.com>
861 * configure: Regenerate.
862 * po/ld.pot: Regenerate.
864 2020-01-18 Nick Clifton <nickc@redhat.com>
866 Binutils 2.34 branch created.
868 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
870 * scripttempl/elf32msp430_3.sc: Remove.
872 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
874 * scripttempl/elf32msp430.sc: Add input section rules for
875 .upper.{text,data,rodata,bss}.
876 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
877 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
879 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
882 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
884 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
886 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
887 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
889 2020-01-15 Alan Modra <amodra@gmail.com>
891 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
892 * testsuite/ld-powerpc/funref.s: Align func_tab.
893 * testsuite/ld-powerpc/funref2.s: Likewise.
894 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
896 2020-01-14 Lili Cui <lili.cui@intel.com>
898 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
900 2020-01-13 Alan Modra <amodra@gmail.com>
902 * po/BLD-POTFILES.in: Regenerate.
904 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
906 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
908 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
910 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
912 * configure.tgt: Likewise.
913 * Makefile.in: Regenerate.
914 * emulparams/arcelf_prof.sh: Remove file.
915 * emulparams/arclinux_prof.sh: Likewise.
917 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
919 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
920 located at an arbitrary address. Use DWARF.sc file.
921 * scripttempl/elfarc.sc: Use DWARF.sc file.
923 2020-01-07 Alan Modra <amodra@gmail.com>
925 * testsuite/ld-mips-elf/eh-frame5.s,
926 * testsuite/ld-mips-elf/ehdr_start-new.s,
927 * testsuite/ld-mips-elf/ehdr_start-o32.s,
928 * testsuite/ld-mips-elf/mips16-call-global-1.s,
929 * testsuite/ld-mips-elf/mips16-intermix-1.s,
930 * testsuite/ld-mips-elf/mips16-pic-1b.s,
931 * testsuite/ld-mips-elf/mips16-pic-4c.s,
932 * testsuite/ld-mips-elf/no-shared-1-n64.s,
933 * testsuite/ld-mips-elf/no-shared-1-o32.s,
934 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
935 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
936 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
937 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
938 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
939 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
940 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
941 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
942 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
943 * testsuite/ld-mips-elf/pie.s,
944 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
946 2020-01-06 Nick Clifton <nickc@redhat.com>
949 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
950 command line when building libcomm1.o and pr13250 tests.
951 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
953 2020-01-06 Nick Clifton <nickc@redhat.com>
956 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
957 command line when building pr19579 binaries.
959 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
961 * emultempl/pe.em: Add new option --enable-reloc-section.
962 * emultempl/pep.em: Likewise.
963 * ld.texi: Document --enable-reloc-section.
964 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
965 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
966 * pe-dll.h: Add extern declaration of option flag.
967 * pep-dll.c (pe_dll_enable_reloc_section):
968 Add alias define for pep_dll_enable_reloc_section.
969 * pep-dll.h: Add extern declaration of option flag.
971 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
973 * Makefile.am: Add new target z80-elf
974 * configure.tgt: Likewise.
975 * Makefile.in: Regenerate.
976 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
977 * emulparams/elf32z80.sh: New file.
978 * emultempl/z80elf.em: Likewise.
979 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
980 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
981 * testsuite/ld-scripts/fill16.d: Fix for Z80.
982 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
983 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
984 * testsuite/ld-z80/arch_r800.d: Likewise.
985 * testsuite/ld-z80/arch_z180.d: Likewise.
986 * testsuite/ld-z80/arch_z80.d: Likewise.
987 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
988 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
989 * testsuite/ld-z80/labels.s: Likewise.
990 * testsuite/ld-z80/relocs.s: Likewise.
991 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
992 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
993 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
994 * testsuite/ld-z80/z80.exp: Likewise.
995 * NEWS: Mention the new support.
997 2020-01-02 Tamar Christina <tamar.christina@arm.com>
1001 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1002 Remove SEC_LINKER_CREATED.
1003 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1004 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1006 2020-01-01 Alan Modra <amodra@gmail.com>
1008 Update year range in copyright notice of all files.
1010 For older changes see ChangeLog-2019
1012 Copyright (C) 2020 Free Software Foundation, Inc.
1014 Copying and distribution of this file, with or without modification,
1015 are permitted in any medium without royalty provided the copyright
1016 notice and this notice are preserved.
1022 version-control: never