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