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