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