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