1 2020-04-21 Stephen Casner <casner@acm.org>
4 * testsuite/ld-scripts/script.exp (check_script)
5 (extract_symbol_test): Make test addresses fit in 16 bits.
6 * testsuite/ld-scripts/memory.t: Likewise.
7 * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
8 * testsuite/ld-scripts/default-script.t (_START): Likewise.
9 * testsuite/ld-scripts/default-script1.d: Likewise.
10 * testsuite/ld-scripts/default-script2.d: Likewise.
11 * testsuite/ld-scripts/default-script3.d: Likewise.
12 * testsuite/ld-scripts/default-script4.d: Likewise.
13 * testsuite/ld-scripts/empty-address-1.t: Likewise.
14 * testsuite/ld-scripts/empty-address-1.d: Likewise.
15 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
16 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
17 * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
18 fit target address size.
19 * testsuite/ld-scripts/empty-address-1.s: Likewise.
20 * testsuite/ld-scripts/empty-address-2.s: Likewise.
22 2020-04-21 H.J. Lu <hongjiu.lu@intel.com>
25 * ldelfgen.c (ldelf_map_segments): Call
26 elf_backend_strip_zero_sized_dynamic_sections.
27 * testsuite/ld-alpha/tlsbinr.rd: Updated.
29 2020-04-20 Alan Modra <amodra@gmail.com>
31 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
32 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
33 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
35 2020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
37 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
38 * testsuite/ld-elf/warn2.d: Likewise.
40 2020-04-18 H.J. Lu <hongjiu.lu@intel.com>
42 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
44 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
46 2020-04-16 Stephen Casner <casner@acm.org>
49 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
51 * testsuite/ld-scripts/pr18963.d: Likewise.
53 2020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
54 Jan W. Jagersma <jwjagersma@gmail.com>
56 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
57 .ctors and .dtors. Discard LTO sections.
59 2020-04-17 Nick Clifton <nickc@redhat.com>
61 * testsuite/config/default.exp: If not already set then create the
62 CCC_OVERRIDE_OPTIONS environment variable to help when running the
64 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
65 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
66 were built before attempting to copy them.
68 2020-04-15 Fangrui Song <maskray@google.com>
71 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
72 RM_GENERATE_ERROR to RM_DIAGNOSE.
73 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
74 RM_GENERATE_ERROR to RM_DIAGNOSE.
75 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
77 2020-04-14 Stephen Casner <casner@acm.org>
80 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
81 (EXTRA_EM_FILE): New, add emulation file pdp11.
82 * scripttempl/pdp11.sc: New, derived from aout.sc without
83 irrelevant input sections.
84 * emultempl/pdp11.em (_add_options, _handle_option)
85 (_list_options): New. Add options -z, --imagic for pdp11-aout.
86 (_before_parse): Make --omagic be default instead of --nmagic.
87 (_get_script): Modify special-case linker script for --imagic.
88 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
89 * ld.texi (Options): Add documentation of PDP11-specific options.
90 (Options): Fix unrelated typo to --no-compact-branches.
91 * gen-doc.texi: @set PDP11.
92 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
93 * testsuite/ld-pdp11/sections.s: New, source for options tests.
94 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
95 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
96 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
97 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
99 2020-04-14 H.J. Lu <hongjiu.lu@intel.com>
102 * testsuite/ld-arm/armthumb-lib.sym: Updated.
103 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
104 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
105 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
106 * testsuite/ld-arm/fdpic-main.sym: Likewise.
107 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
108 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
109 * testsuite/ld-arm/mixed-app.sym: Likewise.
110 * testsuite/ld-arm/mixed-lib.sym: Likewise.
111 * testsuite/ld-arm/preempt-app.sym: Likewise.
112 * testsuite/ld-elf/hash.d: Likewise.
113 * testsuite/ld-elf/pr13195.d: Likewise.
114 * testsuite/ld-elfvsb/hidden2.d: Likewise.
115 * testsuite/ld-mips-elf/hash2.d: Likewise.
117 2020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
119 * testsuite/ld-shared/shared.exp: Remove dangling comments.
120 xfail shared non PIC tests on Solaris.
122 2020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
124 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
126 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
128 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
129 nopie with available.
131 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
133 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
134 Set to "-fcf-protection=none" if target compiler supports it.
135 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
137 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
140 2020-04-02 H.J. Lu <hongjiu.lu@intel.com>
142 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
144 (check_pr25749b): Likewise.
146 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
148 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
150 * ifunc-11-i386.d: Likewise.
151 * ifunc-12-i386.d: Likewise.
152 * ifunc-13-i386.d: Likewise.
153 * ifunc-14a-i386.d: Likewise.
154 * ifunc-14b-i386.d: Likewise.
155 * ifunc-14c-i386.d: Likewise.
156 * ifunc-14d-i386.d: Likewise.
157 * ifunc-14e-i386.d: Likewise.
158 * ifunc-14f-i386.d: Likewise.
159 * ifunc-15-i386.d: Likewise.
160 * ifunc-16-i386-now.d: Likewise.
161 * ifunc-16-i386.d: Likewise.
162 * ifunc-17a-i386.d: Likewise.
163 * ifunc-17b-i386.d: Likewise.
164 * ifunc-18a-i386.d: Likewise.
165 * ifunc-18b-i386.d: Likewise.
166 * ifunc-19a-i386.d: Likewise.
167 * ifunc-19b-i386.d: Likewise.
168 * ifunc-2-i386-now.d: Likewise.
169 * ifunc-2-i386.d: Likewise.
170 * ifunc-2-local-i386-now.d: Likewise.
171 * ifunc-2-local-i386.d: Likewise.
172 * ifunc-20-i386.d: Likewise.
173 * ifunc-21-i386.d: Likewise.
174 * ifunc-22-i386.d: Likewise.
175 * ifunc-5a-i386.d: Likewise.
176 * ifunc-5a-local-i386.d: Likewise.
177 * ifunc-5b-i386.d: Likewise.
178 * ifunc-5b-local-i386.d: Likewise.
179 * ifunc-5r-local-i386.d: Likewise.
180 * ifunc-6a-i386.d: Likewise.
181 * ifunc-6b-i386.d: Likewise.
182 * ifunc-7a-i386.d: Likewise.
183 * ifunc-7b-i386.d: Likewise.
184 * ifunc-8-i386.d: Likewise.
185 * ifunc-9-i386.d: Likewise.
186 * pr17154-i386-now.d: Likewise.
187 * pr17154-i386.d: Likewise.
189 * ifunc-23a-x86.d: Remove notarget.
190 * ifunc-24a-x86.d: Likewise.
191 * ifunc-25a-x86.d: Likewise.
193 2020-04-02 Nick Clifton <nickc@redhat.com>
196 * ldfile.c (ldfile_open_file): Fix typo in warning message.
198 2020-04-01 H.J. Lu <hongjiu.lu@intel.com>
202 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
203 * testsuite/ld-elf/pr25749-1.c: New file.
204 * testsuite/ld-elf/pr25749-1a.c: Likewise.
205 * testsuite/ld-elf/pr25749-1b.c: Likewise.
206 * testsuite/ld-elf/pr25749-1b.err: Likewise.
207 * testsuite/ld-elf/pr25749-1c.c: Likewise.
208 * testsuite/ld-elf/pr25749-1d.c: Likewise.
209 * testsuite/ld-elf/pr25749-2.c: Likewise.
210 * testsuite/ld-elf/pr25749-2a.s: Likewise.
211 * testsuite/ld-elf/pr25749-2b.s: Likewise.
212 * testsuite/ld-elf/pr25749.rd: Likewise.
213 * testsuite/ld-elf/pr25754-1a.c: Likewise.
214 * testsuite/ld-elf/pr25754-1b.s: Likewise.
215 * testsuite/ld-elf/pr25754-2a.c: Likewise.
216 * testsuite/ld-elf/pr25754-2b.err: Likewise.
217 * testsuite/ld-elf/pr25754-2b.s: Likewise.
218 * testsuite/ld-elf/pr25754-3a.c: Likewise.
219 * testsuite/ld-elf/pr25754-3b.s: Likewise.
220 * testsuite/ld-elf/pr25754-4a.c: Likewise.
221 * testsuite/ld-elf/pr25754-4b.s: Likewise.
222 * testsuite/ld-elf/pr25754-4c.s: Likewise.
223 * testsuite/ld-elf/pr25754-5a.c: Likewise.
224 * testsuite/ld-elf/pr25754-5b.s: Likewise.
225 * testsuite/ld-elf/pr25754-5c.s: Likewise.
226 * testsuite/ld-elf/pr25754-6a.c: Likewise.
227 * testsuite/ld-elf/pr25754-6b.s: Likewise.
228 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
230 2020-04-01 Tamar Christina <tamar.christina@arm.com>
233 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
235 2020-04-01 Nick Clifton <nickc@redhat.com>
238 * ldfile.c (ldfile_open_file): If a search for a library fails,
239 but there is a file that would match if it had a "lib" prefix to
240 its name, then tell the user.
242 2020-04-01 Tamar Christina <tamar.christina@arm.com>
245 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
246 * testsuite/ld-arm/thumb-plt-got.d: New test.
248 2020-04-01 Tamar Christina <tamar.christina@arm.com>
250 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
251 * testsuite/ld-arm/thumb-plt.d: New test.
252 * testsuite/ld-arm/thumb-plt.s: New test.
254 2020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
256 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
258 2020-03-30 Nick Clifton <nickc@redhat.com>
261 * emultempl/pe.em (after_open): Replace initialisation of the
262 insert_timestamp field in the pe_data structure with an
263 initialisation of the timestamp field.
264 * emultemp/pep.em: Likewise.
265 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
266 structure instead of the insert_timestamp field.
268 2020-03-28 H.J. Lu <hongjiu.lu@intel.com>
271 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
272 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
275 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
278 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
280 2020-03-27 H.J. Lu <hongjiu.lu@intel.com>
283 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
284 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
285 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
287 2020-03-25 Alan Modra <amodra@gmail.com>
289 * testsuite/ld-elf/compress1c.d: xfail h8300.
290 * testsuite/ld-elf/compressed1c.d: Likewise.
291 * testsuite/ld-elf/compressed1e.d: Likewise.
292 * testsuite/ld-elf/dynamic1.d: Likewise.
293 * testsuite/ld-elf/dynsym1.d: Likewise.
294 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
295 * testsuite/ld-elf/exclude3b.d: Likewise.
296 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
297 * testsuite/ld-elf/global1.d: xfail h8300.
298 * testsuite/ld-elf/hash.d: Likewise.
299 * testsuite/ld-elf/loadaddr1.d: Likewise.
300 * testsuite/ld-elf/loadaddr2.d: Likewise.
301 * testsuite/ld-elf/local1.d: Likewise.
302 * testsuite/ld-elf/mbind1b.d: Likewise.
303 * testsuite/ld-elf/mbind1c.d: Likewise.
304 * testsuite/ld-elf/now-1.d: Likewise.
305 * testsuite/ld-elf/now-2.d: Likewise.
306 * testsuite/ld-elf/now-3.d: Likewise.
307 * testsuite/ld-elf/now-4.d: Likewise.
308 * testsuite/ld-elf/pie.d: Likewise.
309 * testsuite/ld-elf/pr12975.d: Likewise.
310 * testsuite/ld-elf/pr13177.d: Likewise.
311 * testsuite/ld-elf/pr13195.d: Likewise.
312 * testsuite/ld-elf/pr16322.d: Likewise.
313 * testsuite/ld-elf/pr16498a.d: Likewise.
314 * testsuite/ld-elf/pr16498b.d: Likewise.
315 * testsuite/ld-elf/pr17615.d: Likewise.
316 * testsuite/ld-elf/pr19162.d: Likewise.
317 * testsuite/ld-elf/pr19539.d: Likewise.
318 * testsuite/ld-elf/pr19617a.d: Likewise.
319 * testsuite/ld-elf/pr19698.d: Likewise.
320 * testsuite/ld-elf/pr20513c.d: Likewise.
321 * testsuite/ld-elf/pr20513d.d: Likewise.
322 * testsuite/ld-elf/pr21389a.d: Likewise.
323 * testsuite/ld-elf/pr21389b.d: Likewise.
324 * testsuite/ld-elf/pr21389c.d: Likewise.
325 * testsuite/ld-elf/pr21562a.d: Likewise.
326 * testsuite/ld-elf/pr21562b.d: Likewise.
327 * testsuite/ld-elf/pr21562c.d: Likewise.
328 * testsuite/ld-elf/pr21562d.d: Likewise.
329 * testsuite/ld-elf/pr21562e.d: Likewise.
330 * testsuite/ld-elf/pr21562f.d: Likewise.
331 * testsuite/ld-elf/pr21562g.d: Likewise.
332 * testsuite/ld-elf/pr21562h.d: Likewise.
333 * testsuite/ld-elf/pr21562i.d: Likewise.
334 * testsuite/ld-elf/pr21562j.d: Likewise.
335 * testsuite/ld-elf/pr21562k.d: Likewise.
336 * testsuite/ld-elf/pr21562l.d: Likewise.
337 * testsuite/ld-elf/pr21562m.d: Likewise.
338 * testsuite/ld-elf/pr21562n.d: Likewise.
339 * testsuite/ld-elf/pr21903a.d: Likewise.
340 * testsuite/ld-elf/pr21903b.d: Likewise.
341 * testsuite/ld-elf/pr21903d.d: Likewise.
342 * testsuite/ld-elf/pr22269a.d: Likewise.
343 * testsuite/ld-elf/pr22269b.d: Likewise.
344 * testsuite/ld-elf/pr22393-1a.d: Likewise.
345 * testsuite/ld-elf/pr22393-1b.d: Likewise.
346 * testsuite/ld-elf/pr22393-1c.d: Likewise.
347 * testsuite/ld-elf/pr22393-1d.d: Likewise.
348 * testsuite/ld-elf/pr22393-1e.d: Likewise.
349 * testsuite/ld-elf/pr22393-1f.d: Likewise.
350 * testsuite/ld-elf/pr22423.d: Likewise.
351 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
353 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
354 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
355 * testsuite/ld-elf/rpath-1.d: xfail h8300.
356 * testsuite/ld-elf/rpath-2.d: Likewise.
357 * testsuite/ld-elf/runpath-1.d: Likewise.
358 * testsuite/ld-elf/runpath-2.d: Likewise.
359 * testsuite/ld-elf/sizeofb.d: Likewise.
360 * testsuite/ld-elf/startofb.d: Likewise.
361 * testsuite/ld-elf/strtab.d: Likewise.
362 * testsuite/ld-elf/textaddr1.d: Likewise.
363 * testsuite/ld-elf/textaddr2.d: Likewise.
364 * testsuite/ld-elf/textaddr4.d: Likewise.
365 * testsuite/ld-elf/textaddr5.d: Likewise.
366 * testsuite/ld-elf/textaddr6.d: Likewise.
367 * testsuite/ld-elf/unknown2.d: Likewise.
368 * testsuite/ld-undefined/entry-3.d: Likewise.
369 * testsuite/ld-undefined/entry-4.d: Likewise.
370 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
371 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
373 * testsuite/ld-h8300/relax-2.d: Likewise.
374 * testsuite/ld-h8300/relax-3.d: Likewise.
375 * testsuite/ld-h8300/relax-4.d: Likewise.
376 * testsuite/ld-h8300/relax-5.d: Likewise.
377 * testsuite/ld-h8300/relax-6.d: Likewise.
378 * testsuite/ld-h8300/relax-7.d: Likewise.
379 * testsuite/ld-h8300/relax.d: Relax file format match.
381 2020-03-24 H.J. Lu <hongjiu.lu@intel.com>
384 * testsuite/ld-elf/pr25708.d: New file.
386 2020-03-23 Alan Modra <amodra@gmail.com>
388 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
389 Include ei386aout dep file.
390 * Makefile.in: Regenerate.
391 * po/BLD-POTFILES.in: Regenerate.
393 2020-03-20 H.J. Lu <hongjiu.lu@intel.com>
395 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
396 test only for GCC 10 or newer.
398 2020-03-20 Alan Modra <amodra@gmail.com>
400 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
402 * testplug2.c (parse_symdefstr): Likewise.
403 * testplug3.c (parse_symdefstr): Likewise.
404 * testplug4.c (parse_symdefstr): Likewise.
406 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
408 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
409 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
411 2020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
413 * emultempl/xtensaelf.em: Emit a fatal error message
414 instead of calling abort.
415 * ldlang.c: Likewise.
417 2020-03-14 Alan Modra <amodra@gmail.com>
419 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
420 targets. Don't skip xtensa, xfail instead.
422 2020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
424 * ldlang.c (lang_add_section): Add support for
425 non_contiguous_regions.
426 (size_input_section): Likewise.
427 (lang_size_sections_1): Likewise.
428 (process_insert_statements): Likewise.
429 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
430 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
431 * lexsup.c (ld_options): Add entries for
432 --enable-non-contiguous-regions and
433 --enable-non-contiguous-regions-warnings.
434 (parse_args): Handle it.
435 * NEWS: Add --enable-non-contiguous-regions and
436 --enable-non-contiguous-regions-warnings.
437 * ld.texi: Add --enable-non-contiguous-regions and
438 --enable-non-contiguous-regions-warnings documentation.
439 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
440 SEC_LINKER_CREATED flag.
441 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
442 Emit an error when --enable-non-contiguous-regions is used.
443 * testsuite/ld-elf/non-contiguous.d: New.
444 * testsuite/ld-elf/non-contiguous.ld: New.
445 * testsuite/ld-elf/non-contiguous.s: New.
446 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
447 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
448 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
449 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
450 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
451 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
452 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
453 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
454 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
455 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
456 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
457 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
458 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
459 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
460 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
461 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
462 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
463 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
464 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
466 2020-03-13 H.J. Lu <hongjiu.lu@intel.com>
469 * emulparams/elf32_x86_64.sh: Use static.sh.
470 * emulparams/elf_i386.sh: Likewise.
471 * emulparams/elf_x86_64.sh: Likewise.
472 * emulparams/static.sh: New file.
473 * emultempl/elf-x86.em: Include "ldlex.h".
474 * testsuite/ld-elf/pr24920.err: New file.
475 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
477 2020-03-13 Christian Eggers <ceggers@gmx.de>
479 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
481 2020-03-11 Alan Modra <amodra@gmail.com>
483 * ldelf.c (elf_orphan_compatible): Return false when two sections
484 have differing SHF_MASKPROC or SHF_MASKOS flags.
486 2020-03-05 Alan Modra <amodra@gmail.com>
489 * ldlang.c (lang_size_sections_1): Don't report changes on
490 second and subsequent iterations that make no change in
491 alignment from that already reported.
493 2020-03-05 Alan Modra <amodra@gmail.com>
496 * ldlang.c (lang_sizing_iteration): New static var.
497 (lang_size_sections_1): Warn about no memory region only on first
498 iteration. Warn about changing start address on first iteration
499 then any delta from that on subsequent iterations. Report a signed
501 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
503 2020-03-03 Nick Clifton <nickc@redhat.com>
506 * ld.texi (Options): Update the description of the --rpath-link
509 2020-03-02 Alan Modra <amodra@gmail.com>
511 * plugin.c (plugin_object_p): Return a bfd_cleanup.
512 (plugin_cleanup): New function.
514 2020-03-01 H.J. Lu <hongjiu.lu@intel.com>
517 * plugin.c (plugin_object_p): Copy the no_export field to the IR
519 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
521 * testsuite/ld-plugin/pr25618.d: New file.
522 * testsuite/ld-plugin/pr25618a.cc: Likewise.
523 * testsuite/ld-plugin/pr25618a.h: Likewise.
524 * testsuite/ld-plugin/pr25618b.cc: Likewise.
525 * testsuite/ld-plugin/pr25618b.h: Likewise.
527 2020-02-27 Alan Modra <amodra@gmail.com>
530 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
531 * testsuite/ld-mmix/sec-2.d: Likewise.
532 * testsuite/ld-mmix/sec-3.d: Likewise.
533 * testsuite/ld-mmix/sec-4.d: Likewise.
534 * testsuite/ld-mmix/spec802.d: Likewise.
535 * testsuite/ld-mmix/spec803.d: Likewise.
536 * testsuite/ld-mmix/spec804.d: Likewise.
537 * testsuite/ld-mmix/spec805.d: Likewise.
538 * testsuite/ld-mmix/spec806.d: Likewise.
539 * testsuite/ld-mmix/spec807.d: Likewise.
540 * testsuite/ld-mmix/spec808.d: Likewise.
542 2020-02-26 H.J. Lu <hongjiu.lu@intel.com>
545 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
546 * testsuite/ld-plugin/pr25593.d: New file.
547 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
548 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
549 * testsuite/ld-plugin/pr25593b.c: Likewise.
550 * testsuite/ld-plugin/pr25593c.c: Likewise.
551 * testsuite/ld-plugin/pr25593d.c: Likewise.
552 * testsuite/ld-plugin/pr25593e.c: Likewise.
554 2020-02-26 Alan Modra <amodra@gmail.com>
556 * emultempl/cskyelf.em: Indent labels correctly.
557 * ldfile.c: Likewise.
558 * ldlang.c: Likewise.
559 * plugin.c: Likewise.
561 2020-02-26 Alan Modra <amodra@gmail.com>
564 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
565 (ldelf_after_open): Save state of input_bfds list before loading
566 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
567 Restore input_bfds list.
568 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
570 2020-02-24 Nick Clifton <nickc@redhat.com>
572 * po/fr.po: Update French translation.
574 2020-02-22 Alan Modra <amodra@gmail.com>
577 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
580 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
583 * emultempl/z80.em: Remove machine compatability checking.
585 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
588 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
589 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
590 * testsuite/ld-z80/arch_r800.d: Likewise.
591 * testsuite/ld-z80/arch_z180.d: Likewise.
592 * testsuite/ld-z80/arch_z80n.d: Likewise.
593 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
594 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
595 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
596 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
597 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
598 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
599 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
600 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
601 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
602 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
604 2020-02-19 Alan Modra <amodra@gmail.com>
606 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
608 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
611 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
612 * testsuite/ld-plugin/pr25355.c: New file.
613 * testsuite/ld-plugin/pr25355.d: Likewise.
614 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
617 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
619 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
621 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
624 * emulparams/elf32z80.sh: Use z80 emulation.
625 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
626 * emultempl/z80elf.em: Delete.
627 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
628 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
629 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
630 * testsuite/ld-unique/unique.s: Likewise.
631 * testsuite/ld-unique/unique_empty.s: Likewise.
632 * testsuite/ld-unique/unique_shared.s: Likewise.
633 * testsuite/ld-unique/unique.d: Updated expected output.
634 * testsuite/ld-z80/arch_z80n.d: New file.
635 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
636 * testsuite/ld-z80/labels.s: Add more labels.
637 * testsuite/ld-z80/relocs.s: Add more reloc tests.
638 * testsuite/ld-z80/relocs_f_z80n.d: New file
640 2020-02-07 H.J. Lu <hongjiu.lu@intel.com>
643 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
644 ldelf_before_place_orphans.
646 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
649 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
650 before_place_orphans_default.
651 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
652 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
653 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
654 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
655 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
656 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
657 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
658 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
659 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
660 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
661 ldelf_before_place_orphans.
662 * ldelf.c (ldelf_before_place_orphans): New.
663 * ldelf.h (ldelf_before_place_orphans): Likewise.
664 * ldemul.c (ldemul_before_place_orphans): Likewise.
665 (before_place_orphans_default): Likewise.
666 * ldemul.h (ldemul_before_place_orphans): Likewise.
667 (before_place_orphans_default): Likewise.
668 (ld_emulation_xfer_struct): Add before_place_orphans.
669 * ldlang.c (lang_process): Call ldemul_before_place_orphans
670 before lang_place_orphans.
671 * testsuite/ld-elf/pr25022.d: New file.
672 * testsuite/ld-elf/pr25022.s: Likewise.
673 * testsuite/ld-elf/pr25022.t: Likewise.
675 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
678 * testsuite/ld-elf/pr25490-1.d: New file.
679 * testsuite/ld-elf/pr25490-1.s: Likewise.
681 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
686 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
687 * testsuite/ld-elf/pr24526.d: New file.
688 * testsuite/ld-elf/pr24526.s: Likewise.
689 * testsuite/ld-elf/pr25021.d: Likewise.
690 * testsuite/ld-elf/pr25021.s: Likewise.
691 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
692 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
693 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
694 * testsuite/ld-elf/pr25490-2.s: Likewise.
695 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
696 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
697 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
698 * testsuite/ld-elf/pr25490-3.s: Likewise.
699 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
700 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
701 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
702 * testsuite/ld-elf/pr25490-4.s: Likewise.
703 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
704 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
705 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
706 * testsuite/ld-elf/pr25490-5.s: Likewise.
707 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
708 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
709 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
710 * testsuite/ld-elf/pr25490-6.s: Likewise.
712 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
714 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
715 z80 as not supported.
717 2020-02-06 Alan Modra <amodra@gmail.com>
719 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
720 targets that don't support ifunc rather than ones that do.
721 (contains_irelative_reloc): Match R_PARISC_IPLT.
722 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
723 * testsuite/ld-ifunc/ifunc-23-x86.s,
724 * testsuite/ld-ifunc/ifunc-24-x86.s,
725 * testsuite/ld-ifunc/ifunc-25-x86.s,
726 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
727 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
728 * testsuite/ld-ifunc/ifunc-10-i386.d,
729 * testsuite/ld-ifunc/ifunc-11-i386.d,
730 * testsuite/ld-ifunc/ifunc-12-i386.d,
731 * testsuite/ld-ifunc/ifunc-13-i386.d,
732 * testsuite/ld-ifunc/ifunc-14a-i386.d,
733 * testsuite/ld-ifunc/ifunc-14b-i386.d,
734 * testsuite/ld-ifunc/ifunc-14c-i386.d,
735 * testsuite/ld-ifunc/ifunc-14d-i386.d,
736 * testsuite/ld-ifunc/ifunc-14e-i386.d,
737 * testsuite/ld-ifunc/ifunc-14f-i386.d,
738 * testsuite/ld-ifunc/ifunc-15-i386.d,
739 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
740 * testsuite/ld-ifunc/ifunc-16-i386.d,
741 * testsuite/ld-ifunc/ifunc-17a-i386.d,
742 * testsuite/ld-ifunc/ifunc-17b-i386.d,
743 * testsuite/ld-ifunc/ifunc-18a-i386.d,
744 * testsuite/ld-ifunc/ifunc-18b-i386.d,
745 * testsuite/ld-ifunc/ifunc-19a-i386.d,
746 * testsuite/ld-ifunc/ifunc-19b-i386.d,
747 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
748 * testsuite/ld-ifunc/ifunc-2-i386.d,
749 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
750 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
751 * testsuite/ld-ifunc/ifunc-20-i386.d,
752 * testsuite/ld-ifunc/ifunc-21-i386.d,
753 * testsuite/ld-ifunc/ifunc-22-i386.d,
754 * testsuite/ld-ifunc/ifunc-26.d,
755 * testsuite/ld-ifunc/ifunc-5a-i386.d,
756 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
757 * testsuite/ld-ifunc/ifunc-5b-i386.d,
758 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
759 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
760 * testsuite/ld-ifunc/ifunc-6a-i386.d,
761 * testsuite/ld-ifunc/ifunc-6b-i386.d,
762 * testsuite/ld-ifunc/ifunc-7a-i386.d,
763 * testsuite/ld-ifunc/ifunc-7b-i386.d,
764 * testsuite/ld-ifunc/ifunc-8-i386.d,
765 * testsuite/ld-ifunc/ifunc-9-i386.d,
766 * testsuite/ld-ifunc/pr17154-i386-now.d,
767 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
769 2020-02-06 Alan Modra <amodra@gmail.com>
771 * testsuite/lib/ld-lib.exp (is_generic): Delete.
772 * testsuite/ld-unique/unique.exp: Exclude tic6x.
774 2020-02-06 Alan Modra <amodra@gmail.com>
776 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
777 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
779 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
782 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
784 * testsuite/ld-i386/tls-gd1.S: Likewise.
785 * testsuite/ld-x86-64/pr21481b.S: Likewise.
787 2020-01-30 Jan Beulich <jbeulich@suse.com>
789 * ld.texi: Remove space between @option and brace.
791 2020-01-29 Alan Modra <amodra@gmail.com>
794 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
796 (ldelf_after_open): Add prefix parameter.
797 * ldelf.h (ldelf_after_open): Update prototype.
798 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
800 * Makefile.am: Correct z80 dependencies.
801 * Makefile.in: Regenerate.
803 2020-01-28 Alan Modra <amodra@gmail.com>
805 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
808 2020-01-27 Alan Modra <amodra@gmail.com>
810 * testsuite/ld-elfvers/vers.exp: Replace case statements with
812 * testsuite/ld-ifunc/ifunc.exp: Likewise.
813 * testsuite/ld-unique/unique.exp: Likewise.
815 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
816 Alan Modra <amodra@gmail.com>
819 * testsuite/ld-elf/pr25458.map: New file.
820 * testsuite/ld-elf/pr25458.rd: Likewise.
821 * testsuite/ld-elf/pr25458a.s: Likewise.
822 * testsuite/ld-elf/pr25458b.s: Likewise.
823 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
825 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
828 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
831 2020-01-22 Alan Modra <amodra@gmail.com>
833 * testsuite/ld-powerpc/tlsdesc3.d,
834 * testsuite/ld-powerpc/tlsdesc3.wf,
835 * testsuite/ld-powerpc/tlsdesc4.d,
836 * testsuite/ld-powerpc/tlsdesc4.s,
837 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
838 * testsuite/ld-powerpc/powerpc.exp: Run them.
840 2020-01-22 Alan Modra <amodra@gmail.com>
842 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
843 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
844 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
845 (params): Init new field.
846 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
848 * testsuite/ld-powerpc/tlsdesc.s,
849 * testsuite/ld-powerpc/tlsdesc.d,
850 * testsuite/ld-powerpc/tlsdesc.wf,
851 * testsuite/ld-powerpc/tlsdesc2.d,
852 * testsuite/ld-powerpc/tlsdesc2.wf,
853 * testsuite/ld-powerpc/tlsexenors.d,
854 * testsuite/ld-powerpc/tlsexenors.r,
855 * testsuite/ld-powerpc/tlsexers.d,
856 * testsuite/ld-powerpc/tlsexers.r,
857 * testsuite/ld-powerpc/tlsexetocnors.d,
858 * testsuite/ld-powerpc/tlsexetocrs.d,
859 * testsuite/ld-powerpc/tlsexetocrs.r,
860 * testsuite/ld-powerpc/tlsopt6.d,
861 * testsuite/ld-powerpc/tlsopt6.wf: New.
862 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
864 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
867 * ldlang.c (ldlang_open_ctf): Fix error message typo.
868 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
870 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
872 * testsuite/ld-elf/pr23900-1.d: Adjusted.
874 2020-01-21 H.J. Lu <hongjiu.lu@intel.com>
876 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
878 2020-01-20 Nick Clifton <nickc@redhat.com>
880 * po/pt_BR.po: Updated Brazilian Portuguese translation.
881 * po/uk.po: Updated Ukranian translation.
883 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
886 * testsuite/ld-x86-64/pr25416-1.s: New file
887 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
888 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
889 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
890 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
891 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
892 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
893 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
894 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
895 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
896 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
897 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
898 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
899 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
900 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
901 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
902 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
904 2020-01-20 Alan Modra <amodra@gmail.com>
906 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
907 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
908 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
909 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
910 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
912 2020-01-18 Roland McGrath <mcgrathr@google.com>
914 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
915 to admit whatever absolute address. The label-relative address is
916 what the test needs to verify.
918 2020-01-18 Nick Clifton <nickc@redhat.com>
920 * configure: Regenerate.
921 * po/ld.pot: Regenerate.
923 2020-01-18 Nick Clifton <nickc@redhat.com>
925 Binutils 2.34 branch created.
927 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
929 * scripttempl/elf32msp430_3.sc: Remove.
931 2020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
933 * scripttempl/elf32msp430.sc: Add input section rules for
934 .upper.{text,data,rodata,bss}.
935 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
936 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
938 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
941 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
943 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
945 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
946 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
948 2020-01-15 Alan Modra <amodra@gmail.com>
950 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
951 * testsuite/ld-powerpc/funref.s: Align func_tab.
952 * testsuite/ld-powerpc/funref2.s: Likewise.
953 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
955 2020-01-14 Lili Cui <lili.cui@intel.com>
957 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
959 2020-01-13 Alan Modra <amodra@gmail.com>
961 * po/BLD-POTFILES.in: Regenerate.
963 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
965 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
967 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
969 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
971 * configure.tgt: Likewise.
972 * Makefile.in: Regenerate.
973 * emulparams/arcelf_prof.sh: Remove file.
974 * emulparams/arclinux_prof.sh: Likewise.
976 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
978 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
979 located at an arbitrary address. Use DWARF.sc file.
980 * scripttempl/elfarc.sc: Use DWARF.sc file.
982 2020-01-07 Alan Modra <amodra@gmail.com>
984 * testsuite/ld-mips-elf/eh-frame5.s,
985 * testsuite/ld-mips-elf/ehdr_start-new.s,
986 * testsuite/ld-mips-elf/ehdr_start-o32.s,
987 * testsuite/ld-mips-elf/mips16-call-global-1.s,
988 * testsuite/ld-mips-elf/mips16-intermix-1.s,
989 * testsuite/ld-mips-elf/mips16-pic-1b.s,
990 * testsuite/ld-mips-elf/mips16-pic-4c.s,
991 * testsuite/ld-mips-elf/no-shared-1-n64.s,
992 * testsuite/ld-mips-elf/no-shared-1-o32.s,
993 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
994 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
995 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
996 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
997 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
998 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
999 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
1000 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
1001 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
1002 * testsuite/ld-mips-elf/pie.s,
1003 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
1005 2020-01-06 Nick Clifton <nickc@redhat.com>
1008 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1009 command line when building libcomm1.o and pr13250 tests.
1010 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
1012 2020-01-06 Nick Clifton <nickc@redhat.com>
1015 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1016 command line when building pr19579 binaries.
1018 2020-01-03 Hannes Domani <ssbssa@yahoo.de>
1020 * emultempl/pe.em: Add new option --enable-reloc-section.
1021 * emultempl/pep.em: Likewise.
1022 * ld.texi: Document --enable-reloc-section.
1023 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
1024 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
1025 * pe-dll.h: Add extern declaration of option flag.
1026 * pep-dll.c (pe_dll_enable_reloc_section):
1027 Add alias define for pep_dll_enable_reloc_section.
1028 * pep-dll.h: Add extern declaration of option flag.
1030 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1032 * Makefile.am: Add new target z80-elf
1033 * configure.tgt: Likewise.
1034 * Makefile.in: Regenerate.
1035 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
1036 * emulparams/elf32z80.sh: New file.
1037 * emultempl/z80elf.em: Likewise.
1038 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
1039 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
1040 * testsuite/ld-scripts/fill16.d: Fix for Z80.
1041 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
1042 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1043 * testsuite/ld-z80/arch_r800.d: Likewise.
1044 * testsuite/ld-z80/arch_z180.d: Likewise.
1045 * testsuite/ld-z80/arch_z80.d: Likewise.
1046 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1047 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
1048 * testsuite/ld-z80/labels.s: Likewise.
1049 * testsuite/ld-z80/relocs.s: Likewise.
1050 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1051 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1052 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1053 * testsuite/ld-z80/z80.exp: Likewise.
1054 * NEWS: Mention the new support.
1056 2020-01-02 Tamar Christina <tamar.christina@arm.com>
1060 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1061 Remove SEC_LINKER_CREATED.
1062 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1063 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1065 2020-01-01 Alan Modra <amodra@gmail.com>
1067 Update year range in copyright notice of all files.
1069 For older changes see ChangeLog-2019
1071 Copyright (C) 2020 Free Software Foundation, Inc.
1073 Copying and distribution of this file, with or without modification,
1074 are permitted in any medium without royalty provided the copyright
1075 notice and this notice are preserved.
1081 version-control: never