1 2020-04-20 Alan Modra <amodra@gmail.com>
3 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
4 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
5 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
7 2020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
9 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
10 * testsuite/ld-elf/warn2.d: Likewise.
12 2020-04-18 H.J. Lu <hongjiu.lu@intel.com>
14 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
16 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
18 2020-04-16 Stephen Casner <casner@acm.org>
21 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
23 * testsuite/ld-scripts/pr18963.d: Likewise.
25 2020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
26 Jan W. Jagersma <jwjagersma@gmail.com>
28 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
29 .ctors and .dtors. Discard LTO sections.
31 2020-04-17 Nick Clifton <nickc@redhat.com>
33 * testsuite/config/default.exp: If not already set then create the
34 CCC_OVERRIDE_OPTIONS environment variable to help when running the
36 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
37 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
38 were built before attempting to copy them.
40 2020-04-15 Fangrui Song <maskray@google.com>
43 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
44 RM_GENERATE_ERROR to RM_DIAGNOSE.
45 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
46 RM_GENERATE_ERROR to RM_DIAGNOSE.
47 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
49 2020-04-14 Stephen Casner <casner@acm.org>
52 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
53 (EXTRA_EM_FILE): New, add emulation file pdp11.
54 * scripttempl/pdp11.sc: New, derived from aout.sc without
55 irrelevant input sections.
56 * emultempl/pdp11.em (_add_options, _handle_option)
57 (_list_options): New. Add options -z, --imagic for pdp11-aout.
58 (_before_parse): Make --omagic be default instead of --nmagic.
59 (_get_script): Modify special-case linker script for --imagic.
60 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
61 * ld.texi (Options): Add documentation of PDP11-specific options.
62 (Options): Fix unrelated typo to --no-compact-branches.
63 * gen-doc.texi: @set PDP11.
64 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
65 * testsuite/ld-pdp11/sections.s: New, source for options tests.
66 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
67 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
68 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
69 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
71 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
74 * testsuite/ld-arm/armthumb-lib.sym: Updated.
75 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
76 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
77 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
78 * testsuite/ld-arm/fdpic-main.sym: Likewise.
79 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
80 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
81 * testsuite/ld-arm/mixed-app.sym: Likewise.
82 * testsuite/ld-arm/mixed-lib.sym: Likewise.
83 * testsuite/ld-arm/preempt-app.sym: Likewise.
84 * testsuite/ld-elf/hash.d: Likewise.
85 * testsuite/ld-elf/pr13195.d: Likewise.
86 * testsuite/ld-elfvsb/hidden2.d: Likewise.
87 * testsuite/ld-mips-elf/hash2.d: Likewise.
89 2020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
91 * testsuite/ld-shared/shared.exp: Remove dangling comments.
92 xfail shared non PIC tests on Solaris.
94 2020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
96 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
98 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
100 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
101 nopie with available.
103 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
105 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
106 Set to "-fcf-protection=none" if target compiler supports it.
107 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
109 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
112 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
114 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
116 (check_pr25749b): Likewise.
118 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
120 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
122 * ifunc-11-i386.d: Likewise.
123 * ifunc-12-i386.d: Likewise.
124 * ifunc-13-i386.d: Likewise.
125 * ifunc-14a-i386.d: Likewise.
126 * ifunc-14b-i386.d: Likewise.
127 * ifunc-14c-i386.d: Likewise.
128 * ifunc-14d-i386.d: Likewise.
129 * ifunc-14e-i386.d: Likewise.
130 * ifunc-14f-i386.d: Likewise.
131 * ifunc-15-i386.d: Likewise.
132 * ifunc-16-i386-now.d: Likewise.
133 * ifunc-16-i386.d: Likewise.
134 * ifunc-17a-i386.d: Likewise.
135 * ifunc-17b-i386.d: Likewise.
136 * ifunc-18a-i386.d: Likewise.
137 * ifunc-18b-i386.d: Likewise.
138 * ifunc-19a-i386.d: Likewise.
139 * ifunc-19b-i386.d: Likewise.
140 * ifunc-2-i386-now.d: Likewise.
141 * ifunc-2-i386.d: Likewise.
142 * ifunc-2-local-i386-now.d: Likewise.
143 * ifunc-2-local-i386.d: Likewise.
144 * ifunc-20-i386.d: Likewise.
145 * ifunc-21-i386.d: Likewise.
146 * ifunc-22-i386.d: Likewise.
147 * ifunc-5a-i386.d: Likewise.
148 * ifunc-5a-local-i386.d: Likewise.
149 * ifunc-5b-i386.d: Likewise.
150 * ifunc-5b-local-i386.d: Likewise.
151 * ifunc-5r-local-i386.d: Likewise.
152 * ifunc-6a-i386.d: Likewise.
153 * ifunc-6b-i386.d: Likewise.
154 * ifunc-7a-i386.d: Likewise.
155 * ifunc-7b-i386.d: Likewise.
156 * ifunc-8-i386.d: Likewise.
157 * ifunc-9-i386.d: Likewise.
158 * pr17154-i386-now.d: Likewise.
159 * pr17154-i386.d: Likewise.
161 * ifunc-23a-x86.d: Remove notarget.
162 * ifunc-24a-x86.d: Likewise.
163 * ifunc-25a-x86.d: Likewise.
165 2020-04-02 Nick Clifton <nickc@redhat.com>
168 * ldfile.c (ldfile_open_file): Fix typo in warning message.
170 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
174 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
175 * testsuite/ld-elf/pr25749-1.c: New file.
176 * testsuite/ld-elf/pr25749-1a.c: Likewise.
177 * testsuite/ld-elf/pr25749-1b.c: Likewise.
178 * testsuite/ld-elf/pr25749-1b.err: Likewise.
179 * testsuite/ld-elf/pr25749-1c.c: Likewise.
180 * testsuite/ld-elf/pr25749-1d.c: Likewise.
181 * testsuite/ld-elf/pr25749-2.c: Likewise.
182 * testsuite/ld-elf/pr25749-2a.s: Likewise.
183 * testsuite/ld-elf/pr25749-2b.s: Likewise.
184 * testsuite/ld-elf/pr25749.rd: Likewise.
185 * testsuite/ld-elf/pr25754-1a.c: Likewise.
186 * testsuite/ld-elf/pr25754-1b.s: Likewise.
187 * testsuite/ld-elf/pr25754-2a.c: Likewise.
188 * testsuite/ld-elf/pr25754-2b.err: Likewise.
189 * testsuite/ld-elf/pr25754-2b.s: Likewise.
190 * testsuite/ld-elf/pr25754-3a.c: Likewise.
191 * testsuite/ld-elf/pr25754-3b.s: Likewise.
192 * testsuite/ld-elf/pr25754-4a.c: Likewise.
193 * testsuite/ld-elf/pr25754-4b.s: Likewise.
194 * testsuite/ld-elf/pr25754-4c.s: Likewise.
195 * testsuite/ld-elf/pr25754-5a.c: Likewise.
196 * testsuite/ld-elf/pr25754-5b.s: Likewise.
197 * testsuite/ld-elf/pr25754-5c.s: Likewise.
198 * testsuite/ld-elf/pr25754-6a.c: Likewise.
199 * testsuite/ld-elf/pr25754-6b.s: Likewise.
200 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
202 2020-04-01 Tamar Christina <tamar.christina@arm.com>
205 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
207 2020-04-01 Nick Clifton <nickc@redhat.com>
210 * ldfile.c (ldfile_open_file): If a search for a library fails,
211 but there is a file that would match if it had a "lib" prefix to
212 its name, then tell the user.
214 2020-04-01 Tamar Christina <tamar.christina@arm.com>
217 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
218 * testsuite/ld-arm/thumb-plt-got.d: New test.
220 2020-04-01 Tamar Christina <tamar.christina@arm.com>
222 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
223 * testsuite/ld-arm/thumb-plt.d: New test.
224 * testsuite/ld-arm/thumb-plt.s: New test.
226 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
228 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
230 2020-03-30 Nick Clifton <nickc@redhat.com>
233 * emultempl/pe.em (after_open): Replace initialisation of the
234 insert_timestamp field in the pe_data structure with an
235 initialisation of the timestamp field.
236 * emultemp/pep.em: Likewise.
237 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
238 structure instead of the insert_timestamp field.
240 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
243 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
244 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
247 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
250 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
252 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
255 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
256 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
257 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
259 2020-03-25 Alan Modra <amodra@gmail.com>
261 * testsuite/ld-elf/compress1c.d: xfail h8300.
262 * testsuite/ld-elf/compressed1c.d: Likewise.
263 * testsuite/ld-elf/compressed1e.d: Likewise.
264 * testsuite/ld-elf/dynamic1.d: Likewise.
265 * testsuite/ld-elf/dynsym1.d: Likewise.
266 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
267 * testsuite/ld-elf/exclude3b.d: Likewise.
268 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
269 * testsuite/ld-elf/global1.d: xfail h8300.
270 * testsuite/ld-elf/hash.d: Likewise.
271 * testsuite/ld-elf/loadaddr1.d: Likewise.
272 * testsuite/ld-elf/loadaddr2.d: Likewise.
273 * testsuite/ld-elf/local1.d: Likewise.
274 * testsuite/ld-elf/mbind1b.d: Likewise.
275 * testsuite/ld-elf/mbind1c.d: Likewise.
276 * testsuite/ld-elf/now-1.d: Likewise.
277 * testsuite/ld-elf/now-2.d: Likewise.
278 * testsuite/ld-elf/now-3.d: Likewise.
279 * testsuite/ld-elf/now-4.d: Likewise.
280 * testsuite/ld-elf/pie.d: Likewise.
281 * testsuite/ld-elf/pr12975.d: Likewise.
282 * testsuite/ld-elf/pr13177.d: Likewise.
283 * testsuite/ld-elf/pr13195.d: Likewise.
284 * testsuite/ld-elf/pr16322.d: Likewise.
285 * testsuite/ld-elf/pr16498a.d: Likewise.
286 * testsuite/ld-elf/pr16498b.d: Likewise.
287 * testsuite/ld-elf/pr17615.d: Likewise.
288 * testsuite/ld-elf/pr19162.d: Likewise.
289 * testsuite/ld-elf/pr19539.d: Likewise.
290 * testsuite/ld-elf/pr19617a.d: Likewise.
291 * testsuite/ld-elf/pr19698.d: Likewise.
292 * testsuite/ld-elf/pr20513c.d: Likewise.
293 * testsuite/ld-elf/pr20513d.d: Likewise.
294 * testsuite/ld-elf/pr21389a.d: Likewise.
295 * testsuite/ld-elf/pr21389b.d: Likewise.
296 * testsuite/ld-elf/pr21389c.d: Likewise.
297 * testsuite/ld-elf/pr21562a.d: Likewise.
298 * testsuite/ld-elf/pr21562b.d: Likewise.
299 * testsuite/ld-elf/pr21562c.d: Likewise.
300 * testsuite/ld-elf/pr21562d.d: Likewise.
301 * testsuite/ld-elf/pr21562e.d: Likewise.
302 * testsuite/ld-elf/pr21562f.d: Likewise.
303 * testsuite/ld-elf/pr21562g.d: Likewise.
304 * testsuite/ld-elf/pr21562h.d: Likewise.
305 * testsuite/ld-elf/pr21562i.d: Likewise.
306 * testsuite/ld-elf/pr21562j.d: Likewise.
307 * testsuite/ld-elf/pr21562k.d: Likewise.
308 * testsuite/ld-elf/pr21562l.d: Likewise.
309 * testsuite/ld-elf/pr21562m.d: Likewise.
310 * testsuite/ld-elf/pr21562n.d: Likewise.
311 * testsuite/ld-elf/pr21903a.d: Likewise.
312 * testsuite/ld-elf/pr21903b.d: Likewise.
313 * testsuite/ld-elf/pr21903d.d: Likewise.
314 * testsuite/ld-elf/pr22269a.d: Likewise.
315 * testsuite/ld-elf/pr22269b.d: Likewise.
316 * testsuite/ld-elf/pr22393-1a.d: Likewise.
317 * testsuite/ld-elf/pr22393-1b.d: Likewise.
318 * testsuite/ld-elf/pr22393-1c.d: Likewise.
319 * testsuite/ld-elf/pr22393-1d.d: Likewise.
320 * testsuite/ld-elf/pr22393-1e.d: Likewise.
321 * testsuite/ld-elf/pr22393-1f.d: Likewise.
322 * testsuite/ld-elf/pr22423.d: Likewise.
323 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
325 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
326 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
327 * testsuite/ld-elf/rpath-1.d: xfail h8300.
328 * testsuite/ld-elf/rpath-2.d: Likewise.
329 * testsuite/ld-elf/runpath-1.d: Likewise.
330 * testsuite/ld-elf/runpath-2.d: Likewise.
331 * testsuite/ld-elf/sizeofb.d: Likewise.
332 * testsuite/ld-elf/startofb.d: Likewise.
333 * testsuite/ld-elf/strtab.d: Likewise.
334 * testsuite/ld-elf/textaddr1.d: Likewise.
335 * testsuite/ld-elf/textaddr2.d: Likewise.
336 * testsuite/ld-elf/textaddr4.d: Likewise.
337 * testsuite/ld-elf/textaddr5.d: Likewise.
338 * testsuite/ld-elf/textaddr6.d: Likewise.
339 * testsuite/ld-elf/unknown2.d: Likewise.
340 * testsuite/ld-undefined/entry-3.d: Likewise.
341 * testsuite/ld-undefined/entry-4.d: Likewise.
342 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
343 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
345 * testsuite/ld-h8300/relax-2.d: Likewise.
346 * testsuite/ld-h8300/relax-3.d: Likewise.
347 * testsuite/ld-h8300/relax-4.d: Likewise.
348 * testsuite/ld-h8300/relax-5.d: Likewise.
349 * testsuite/ld-h8300/relax-6.d: Likewise.
350 * testsuite/ld-h8300/relax-7.d: Likewise.
351 * testsuite/ld-h8300/relax.d: Relax file format match.
353 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
356 * testsuite/ld-elf/pr25708.d: New file.
358 2020-03-23 Alan Modra <amodra@gmail.com>
360 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
361 Include ei386aout dep file.
362 * Makefile.in: Regenerate.
363 * po/BLD-POTFILES.in: Regenerate.
365 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
367 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
368 test only for GCC 10 or newer.
370 2020-03-20 Alan Modra <amodra@gmail.com>
372 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
374 * testplug2.c (parse_symdefstr): Likewise.
375 * testplug3.c (parse_symdefstr): Likewise.
376 * testplug4.c (parse_symdefstr): Likewise.
378 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
380 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
381 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
383 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
385 * emultempl/xtensaelf.em: Emit a fatal error message
386 instead of calling abort.
387 * ldlang.c: Likewise.
389 2020-03-14 Alan Modra <amodra@gmail.com>
391 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
392 targets. Don't skip xtensa, xfail instead.
394 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
396 * ldlang.c (lang_add_section): Add support for
397 non_contiguous_regions.
398 (size_input_section): Likewise.
399 (lang_size_sections_1): Likewise.
400 (process_insert_statements): Likewise.
401 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
402 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
403 * lexsup.c (ld_options): Add entries for
404 --enable-non-contiguous-regions and
405 --enable-non-contiguous-regions-warnings.
406 (parse_args): Handle it.
407 * NEWS: Add --enable-non-contiguous-regions and
408 --enable-non-contiguous-regions-warnings.
409 * ld.texi: Add --enable-non-contiguous-regions and
410 --enable-non-contiguous-regions-warnings documentation.
411 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
412 SEC_LINKER_CREATED flag.
413 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
414 Emit an error when --enable-non-contiguous-regions is used.
415 * testsuite/ld-elf/non-contiguous.d: New.
416 * testsuite/ld-elf/non-contiguous.ld: New.
417 * testsuite/ld-elf/non-contiguous.s: New.
418 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
419 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
420 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
421 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
422 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
423 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
424 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
425 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
426 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
427 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
428 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
429 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
430 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
431 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
432 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
433 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
434 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
435 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
436 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
438 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
441 * emulparams/elf32_x86_64.sh: Use static.sh.
442 * emulparams/elf_i386.sh: Likewise.
443 * emulparams/elf_x86_64.sh: Likewise.
444 * emulparams/static.sh: New file.
445 * emultempl/elf-x86.em: Include "ldlex.h".
446 * testsuite/ld-elf/pr24920.err: New file.
447 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
449 2020-03-13 Christian Eggers <ceggers@gmx.de>
451 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
453 2020-03-11 Alan Modra <amodra@gmail.com>
455 * ldelf.c (elf_orphan_compatible): Return false when two sections
456 have differing SHF_MASKPROC or SHF_MASKOS flags.
458 2020-03-05 Alan Modra <amodra@gmail.com>
461 * ldlang.c (lang_size_sections_1): Don't report changes on
462 second and subsequent iterations that make no change in
463 alignment from that already reported.
465 2020-03-05 Alan Modra <amodra@gmail.com>
468 * ldlang.c (lang_sizing_iteration): New static var.
469 (lang_size_sections_1): Warn about no memory region only on first
470 iteration. Warn about changing start address on first iteration
471 then any delta from that on subsequent iterations. Report a signed
473 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
475 2020-03-03 Nick Clifton <nickc@redhat.com>
478 * ld.texi (Options): Update the description of the --rpath-link
481 2020-03-02 Alan Modra <amodra@gmail.com>
483 * plugin.c (plugin_object_p): Return a bfd_cleanup.
484 (plugin_cleanup): New function.
486 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
489 * plugin.c (plugin_object_p): Copy the no_export field to the IR
491 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
493 * testsuite/ld-plugin/pr25618.d: New file.
494 * testsuite/ld-plugin/pr25618a.cc: Likewise.
495 * testsuite/ld-plugin/pr25618a.h: Likewise.
496 * testsuite/ld-plugin/pr25618b.cc: Likewise.
497 * testsuite/ld-plugin/pr25618b.h: Likewise.
499 2020-02-27 Alan Modra <amodra@gmail.com>
502 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
503 * testsuite/ld-mmix/sec-2.d: Likewise.
504 * testsuite/ld-mmix/sec-3.d: Likewise.
505 * testsuite/ld-mmix/sec-4.d: Likewise.
506 * testsuite/ld-mmix/spec802.d: Likewise.
507 * testsuite/ld-mmix/spec803.d: Likewise.
508 * testsuite/ld-mmix/spec804.d: Likewise.
509 * testsuite/ld-mmix/spec805.d: Likewise.
510 * testsuite/ld-mmix/spec806.d: Likewise.
511 * testsuite/ld-mmix/spec807.d: Likewise.
512 * testsuite/ld-mmix/spec808.d: Likewise.
514 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
517 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
518 * testsuite/ld-plugin/pr25593.d: New file.
519 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
520 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
521 * testsuite/ld-plugin/pr25593b.c: Likewise.
522 * testsuite/ld-plugin/pr25593c.c: Likewise.
523 * testsuite/ld-plugin/pr25593d.c: Likewise.
524 * testsuite/ld-plugin/pr25593e.c: Likewise.
526 2020-02-26 Alan Modra <amodra@gmail.com>
528 * emultempl/cskyelf.em: Indent labels correctly.
529 * ldfile.c: Likewise.
530 * ldlang.c: Likewise.
531 * plugin.c: Likewise.
533 2020-02-26 Alan Modra <amodra@gmail.com>
536 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
537 (ldelf_after_open): Save state of input_bfds list before loading
538 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
539 Restore input_bfds list.
540 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
542 2020-02-24 Nick Clifton <nickc@redhat.com>
544 * po/fr.po: Update French translation.
546 2020-02-22 Alan Modra <amodra@gmail.com>
549 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
552 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
555 * emultempl/z80.em: Remove machine compatability checking.
557 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
560 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
561 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
562 * testsuite/ld-z80/arch_r800.d: Likewise.
563 * testsuite/ld-z80/arch_z180.d: Likewise.
564 * testsuite/ld-z80/arch_z80n.d: Likewise.
565 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
566 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
567 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
568 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
569 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
570 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
571 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
572 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
573 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
574 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
576 2020-02-19 Alan Modra <amodra@gmail.com>
578 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
580 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
583 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
584 * testsuite/ld-plugin/pr25355.c: New file.
585 * testsuite/ld-plugin/pr25355.d: Likewise.
586 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
589 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
591 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
593 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
596 * emulparams/elf32z80.sh: Use z80 emulation.
597 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
598 * emultempl/z80elf.em: Delete.
599 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
600 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
601 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
602 * testsuite/ld-unique/unique.s: Likewise.
603 * testsuite/ld-unique/unique_empty.s: Likewise.
604 * testsuite/ld-unique/unique_shared.s: Likewise.
605 * testsuite/ld-unique/unique.d: Updated expected output.
606 * testsuite/ld-z80/arch_z80n.d: New file.
607 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
608 * testsuite/ld-z80/labels.s: Add more labels.
609 * testsuite/ld-z80/relocs.s: Add more reloc tests.
610 * testsuite/ld-z80/relocs_f_z80n.d: New file
612 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
615 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
616 ldelf_before_place_orphans.
618 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
621 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
622 before_place_orphans_default.
623 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
624 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
625 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
626 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
627 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
628 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
629 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
630 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
631 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
632 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
633 ldelf_before_place_orphans.
634 * ldelf.c (ldelf_before_place_orphans): New.
635 * ldelf.h (ldelf_before_place_orphans): Likewise.
636 * ldemul.c (ldemul_before_place_orphans): Likewise.
637 (before_place_orphans_default): Likewise.
638 * ldemul.h (ldemul_before_place_orphans): Likewise.
639 (before_place_orphans_default): Likewise.
640 (ld_emulation_xfer_struct): Add before_place_orphans.
641 * ldlang.c (lang_process): Call ldemul_before_place_orphans
642 before lang_place_orphans.
643 * testsuite/ld-elf/pr25022.d: New file.
644 * testsuite/ld-elf/pr25022.s: Likewise.
645 * testsuite/ld-elf/pr25022.t: Likewise.
647 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
650 * testsuite/ld-elf/pr25490-1.d: New file.
651 * testsuite/ld-elf/pr25490-1.s: Likewise.
653 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
658 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
659 * testsuite/ld-elf/pr24526.d: New file.
660 * testsuite/ld-elf/pr24526.s: Likewise.
661 * testsuite/ld-elf/pr25021.d: Likewise.
662 * testsuite/ld-elf/pr25021.s: Likewise.
663 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
664 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
665 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
666 * testsuite/ld-elf/pr25490-2.s: Likewise.
667 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
668 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
669 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
670 * testsuite/ld-elf/pr25490-3.s: Likewise.
671 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
672 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
673 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
674 * testsuite/ld-elf/pr25490-4.s: Likewise.
675 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
676 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
677 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
678 * testsuite/ld-elf/pr25490-5.s: Likewise.
679 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
680 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
681 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
682 * testsuite/ld-elf/pr25490-6.s: Likewise.
684 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
686 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
687 z80 as not supported.
689 2020-02-06 Alan Modra <amodra@gmail.com>
691 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
692 targets that don't support ifunc rather than ones that do.
693 (contains_irelative_reloc): Match R_PARISC_IPLT.
694 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
695 * testsuite/ld-ifunc/ifunc-23-x86.s,
696 * testsuite/ld-ifunc/ifunc-24-x86.s,
697 * testsuite/ld-ifunc/ifunc-25-x86.s,
698 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
699 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
700 * testsuite/ld-ifunc/ifunc-10-i386.d,
701 * testsuite/ld-ifunc/ifunc-11-i386.d,
702 * testsuite/ld-ifunc/ifunc-12-i386.d,
703 * testsuite/ld-ifunc/ifunc-13-i386.d,
704 * testsuite/ld-ifunc/ifunc-14a-i386.d,
705 * testsuite/ld-ifunc/ifunc-14b-i386.d,
706 * testsuite/ld-ifunc/ifunc-14c-i386.d,
707 * testsuite/ld-ifunc/ifunc-14d-i386.d,
708 * testsuite/ld-ifunc/ifunc-14e-i386.d,
709 * testsuite/ld-ifunc/ifunc-14f-i386.d,
710 * testsuite/ld-ifunc/ifunc-15-i386.d,
711 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
712 * testsuite/ld-ifunc/ifunc-16-i386.d,
713 * testsuite/ld-ifunc/ifunc-17a-i386.d,
714 * testsuite/ld-ifunc/ifunc-17b-i386.d,
715 * testsuite/ld-ifunc/ifunc-18a-i386.d,
716 * testsuite/ld-ifunc/ifunc-18b-i386.d,
717 * testsuite/ld-ifunc/ifunc-19a-i386.d,
718 * testsuite/ld-ifunc/ifunc-19b-i386.d,
719 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
720 * testsuite/ld-ifunc/ifunc-2-i386.d,
721 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
722 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
723 * testsuite/ld-ifunc/ifunc-20-i386.d,
724 * testsuite/ld-ifunc/ifunc-21-i386.d,
725 * testsuite/ld-ifunc/ifunc-22-i386.d,
726 * testsuite/ld-ifunc/ifunc-26.d,
727 * testsuite/ld-ifunc/ifunc-5a-i386.d,
728 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
729 * testsuite/ld-ifunc/ifunc-5b-i386.d,
730 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
731 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
732 * testsuite/ld-ifunc/ifunc-6a-i386.d,
733 * testsuite/ld-ifunc/ifunc-6b-i386.d,
734 * testsuite/ld-ifunc/ifunc-7a-i386.d,
735 * testsuite/ld-ifunc/ifunc-7b-i386.d,
736 * testsuite/ld-ifunc/ifunc-8-i386.d,
737 * testsuite/ld-ifunc/ifunc-9-i386.d,
738 * testsuite/ld-ifunc/pr17154-i386-now.d,
739 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
741 2020-02-06 Alan Modra <amodra@gmail.com>
743 * testsuite/lib/ld-lib.exp (is_generic): Delete.
744 * testsuite/ld-unique/unique.exp: Exclude tic6x.
746 2020-02-06 Alan Modra <amodra@gmail.com>
748 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
749 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
751 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
754 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
756 * testsuite/ld-i386/tls-gd1.S: Likewise.
757 * testsuite/ld-x86-64/pr21481b.S: Likewise.
759 2020-01-30 Jan Beulich <jbeulich@suse.com>
761 * ld.texi: Remove space between @option and brace.
763 2020-01-29 Alan Modra <amodra@gmail.com>
766 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
768 (ldelf_after_open): Add prefix parameter.
769 * ldelf.h (ldelf_after_open): Update prototype.
770 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
772 * Makefile.am: Correct z80 dependencies.
773 * Makefile.in: Regenerate.
775 2020-01-28 Alan Modra <amodra@gmail.com>
777 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
780 2020-01-27 Alan Modra <amodra@gmail.com>
782 * testsuite/ld-elfvers/vers.exp: Replace case statements with
784 * testsuite/ld-ifunc/ifunc.exp: Likewise.
785 * testsuite/ld-unique/unique.exp: Likewise.
787 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
788 Alan Modra <amodra@gmail.com>
791 * testsuite/ld-elf/pr25458.map: New file.
792 * testsuite/ld-elf/pr25458.rd: Likewise.
793 * testsuite/ld-elf/pr25458a.s: Likewise.
794 * testsuite/ld-elf/pr25458b.s: Likewise.
795 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
797 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
800 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
803 2020-01-22 Alan Modra <amodra@gmail.com>
805 * testsuite/ld-powerpc/tlsdesc3.d,
806 * testsuite/ld-powerpc/tlsdesc3.wf,
807 * testsuite/ld-powerpc/tlsdesc4.d,
808 * testsuite/ld-powerpc/tlsdesc4.s,
809 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
810 * testsuite/ld-powerpc/powerpc.exp: Run them.
812 2020-01-22 Alan Modra <amodra@gmail.com>
814 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
815 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
816 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
817 (params): Init new field.
818 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
820 * testsuite/ld-powerpc/tlsdesc.s,
821 * testsuite/ld-powerpc/tlsdesc.d,
822 * testsuite/ld-powerpc/tlsdesc.wf,
823 * testsuite/ld-powerpc/tlsdesc2.d,
824 * testsuite/ld-powerpc/tlsdesc2.wf,
825 * testsuite/ld-powerpc/tlsexenors.d,
826 * testsuite/ld-powerpc/tlsexenors.r,
827 * testsuite/ld-powerpc/tlsexers.d,
828 * testsuite/ld-powerpc/tlsexers.r,
829 * testsuite/ld-powerpc/tlsexetocnors.d,
830 * testsuite/ld-powerpc/tlsexetocrs.d,
831 * testsuite/ld-powerpc/tlsexetocrs.r,
832 * testsuite/ld-powerpc/tlsopt6.d,
833 * testsuite/ld-powerpc/tlsopt6.wf: New.
834 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
836 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
839 * ldlang.c (ldlang_open_ctf): Fix error message typo.
840 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
842 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
844 * testsuite/ld-elf/pr23900-1.d: Adjusted.
846 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
848 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
850 2020-01-20 Nick Clifton <nickc@redhat.com>
852 * po/pt_BR.po: Updated Brazilian Portuguese translation.
853 * po/uk.po: Updated Ukranian translation.
855 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
858 * testsuite/ld-x86-64/pr25416-1.s: New file
859 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
860 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
861 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
862 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
863 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
864 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
865 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
866 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
867 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
868 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
869 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
870 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
871 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
872 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
873 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
874 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
876 2020-01-20 Alan Modra <amodra@gmail.com>
878 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
879 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
880 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
881 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
882 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
884 2020-01-18 Roland McGrath <mcgrathr@google.com>
886 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
887 to admit whatever absolute address. The label-relative address is
888 what the test needs to verify.
890 2020-01-18 Nick Clifton <nickc@redhat.com>
892 * configure: Regenerate.
893 * po/ld.pot: Regenerate.
895 2020-01-18 Nick Clifton <nickc@redhat.com>
897 Binutils 2.34 branch created.
899 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
901 * scripttempl/elf32msp430_3.sc: Remove.
903 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
905 * scripttempl/elf32msp430.sc: Add input section rules for
906 .upper.{text,data,rodata,bss}.
907 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
908 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
910 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
913 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
915 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
917 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
918 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
920 2020-01-15 Alan Modra <amodra@gmail.com>
922 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
923 * testsuite/ld-powerpc/funref.s: Align func_tab.
924 * testsuite/ld-powerpc/funref2.s: Likewise.
925 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
927 2020-01-14 Lili Cui <lili.cui@intel.com>
929 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
931 2020-01-13 Alan Modra <amodra@gmail.com>
933 * po/BLD-POTFILES.in: Regenerate.
935 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
937 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
939 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
941 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
943 * configure.tgt: Likewise.
944 * Makefile.in: Regenerate.
945 * emulparams/arcelf_prof.sh: Remove file.
946 * emulparams/arclinux_prof.sh: Likewise.
948 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
950 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
951 located at an arbitrary address. Use DWARF.sc file.
952 * scripttempl/elfarc.sc: Use DWARF.sc file.
954 2020-01-07 Alan Modra <amodra@gmail.com>
956 * testsuite/ld-mips-elf/eh-frame5.s,
957 * testsuite/ld-mips-elf/ehdr_start-new.s,
958 * testsuite/ld-mips-elf/ehdr_start-o32.s,
959 * testsuite/ld-mips-elf/mips16-call-global-1.s,
960 * testsuite/ld-mips-elf/mips16-intermix-1.s,
961 * testsuite/ld-mips-elf/mips16-pic-1b.s,
962 * testsuite/ld-mips-elf/mips16-pic-4c.s,
963 * testsuite/ld-mips-elf/no-shared-1-n64.s,
964 * testsuite/ld-mips-elf/no-shared-1-o32.s,
965 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
966 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
967 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
968 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
969 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
970 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
971 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
972 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
973 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
974 * testsuite/ld-mips-elf/pie.s,
975 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
977 2020-01-06 Nick Clifton <nickc@redhat.com>
980 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
981 command line when building libcomm1.o and pr13250 tests.
982 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
984 2020-01-06 Nick Clifton <nickc@redhat.com>
987 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
988 command line when building pr19579 binaries.
990 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
992 * emultempl/pe.em: Add new option --enable-reloc-section.
993 * emultempl/pep.em: Likewise.
994 * ld.texi: Document --enable-reloc-section.
995 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
996 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
997 * pe-dll.h: Add extern declaration of option flag.
998 * pep-dll.c (pe_dll_enable_reloc_section):
999 Add alias define for pep_dll_enable_reloc_section.
1000 * pep-dll.h: Add extern declaration of option flag.
1002 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1004 * Makefile.am: Add new target z80-elf
1005 * configure.tgt: Likewise.
1006 * Makefile.in: Regenerate.
1007 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
1008 * emulparams/elf32z80.sh: New file.
1009 * emultempl/z80elf.em: Likewise.
1010 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
1011 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
1012 * testsuite/ld-scripts/fill16.d: Fix for Z80.
1013 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
1014 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1015 * testsuite/ld-z80/arch_r800.d: Likewise.
1016 * testsuite/ld-z80/arch_z180.d: Likewise.
1017 * testsuite/ld-z80/arch_z80.d: Likewise.
1018 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1019 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
1020 * testsuite/ld-z80/labels.s: Likewise.
1021 * testsuite/ld-z80/relocs.s: Likewise.
1022 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1023 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1024 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1025 * testsuite/ld-z80/z80.exp: Likewise.
1026 * NEWS: Mention the new support.
1028 2020-01-02 Tamar Christina <tamar.christina@arm.com>
1032 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1033 Remove SEC_LINKER_CREATED.
1034 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1035 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1037 2020-01-01 Alan Modra <amodra@gmail.com>
1039 Update year range in copyright notice of all files.
1041 For older changes see ChangeLog-2019
1043 Copyright (C) 2020 Free Software Foundation, Inc.
1045 Copying and distribution of this file, with or without modification,
1046 are permitted in any medium without royalty provided the copyright
1047 notice and this notice are preserved.
1053 version-control: never