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