]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
Automatic date update in version.in
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
16171946
FS
12020-04-22 Fangrui Song <maskray@google.com>
2
3 PR ld/25806
4 * ldlang.h (struct lang_input_statement_struct): Add extra_search_path.
5 * ldlang.c (current_input_file): New.
6 (ldirname): New.
7 (new_afile): Add from_filename parameter. Set extra_search_path.
8 (lang_add_input_file): Pass current_input_file to new_afile.
9 (load_symbols): Set current_input_file.
10 * ldfile.c (ldfile_open_file): If extra_search_path has been set
11 then scan it for the file that needs to be opened.
12 * ld.texi: Document the new behaviour.
13 * NEWS: Mention the new feature.
14
1d934d76
AM
152020-04-22 Alan Modra <amodra@gmail.com>
16
17 * testsuite/ld-scripts/default-script1.d: Correct mingw skip.
18 * testsuite/ld-scripts/default-script2.d: Likewise.
19 * testsuite/ld-scripts/default-script3.d: Likewise.
20 * testsuite/ld-scripts/default-script4.d: Likewise.
21
39a7b38f
SC
222020-04-21 Stephen Casner <casner@acm.org>
23
24 PR 25829
25 * testsuite/ld-scripts/script.exp (check_script)
26 (extract_symbol_test): Make test addresses fit in 16 bits.
27 * testsuite/ld-scripts/memory.t: Likewise.
28 * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
29 * testsuite/ld-scripts/default-script.t (_START): Likewise.
30 * testsuite/ld-scripts/default-script1.d: Likewise.
31 * testsuite/ld-scripts/default-script2.d: Likewise.
32 * testsuite/ld-scripts/default-script3.d: Likewise.
33 * testsuite/ld-scripts/default-script4.d: Likewise.
34 * testsuite/ld-scripts/empty-address-1.t: Likewise.
35 * testsuite/ld-scripts/empty-address-1.d: Likewise.
36 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
37 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
38 * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
39 fit target address size.
1d934d76 40 * testsuite/ld-scripts/empty-address-1.s: Likewise.
39a7b38f
SC
41 * testsuite/ld-scripts/empty-address-2.s: Likewise.
42
6f6fd151
L
432020-04-21 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR ld/25849
46 * ldelfgen.c (ldelf_map_segments): Call
47 elf_backend_strip_zero_sized_dynamic_sections.
48 * testsuite/ld-alpha/tlsbinr.rd: Updated.
49
2efec98b
AM
502020-04-20 Alan Modra <amodra@gmail.com>
51
52 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
53 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
54 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
55
dbe23755
RO
562020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
57
58 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
59 * testsuite/ld-elf/warn2.d: Likewise.
60
54975ae9
L
612020-04-18 H.J. Lu <hongjiu.lu@intel.com>
62
63 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
64 alpha target.
65 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
66
0203cad2
SC
672020-04-16 Stephen Casner <casner@acm.org>
68
69 PR 18963
70 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
71 16-bit address space.
72 * testsuite/ld-scripts/pr18963.d: Likewise.
73
0fe0f2d6
JMG
742020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
75 Jan W. Jagersma <jwjagersma@gmail.com>
76
77 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
78 .ctors and .dtors. Discard LTO sections.
79
49c16254
NC
802020-04-17 Nick Clifton <nickc@redhat.com>
81
82 * testsuite/config/default.exp: If not already set then create the
83 CCC_OVERRIDE_OPTIONS environment variable to help when running the
84 testsuite with clang.
85 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
86 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
87 were built before attempting to copy them.
88
95a51568
FS
892020-04-15 Fangrui Song <maskray@google.com>
90
91 PR binutils/24613
92 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
93 RM_GENERATE_ERROR to RM_DIAGNOSE.
94 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
95 RM_GENERATE_ERROR to RM_DIAGNOSE.
96 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
97
fa1477dc
SC
982020-04-14 Stephen Casner <casner@acm.org>
99
100 PR ld/25677
101 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
102 (EXTRA_EM_FILE): New, add emulation file pdp11.
103 * scripttempl/pdp11.sc: New, derived from aout.sc without
104 irrelevant input sections.
105 * emultempl/pdp11.em (_add_options, _handle_option)
106 (_list_options): New. Add options -z, --imagic for pdp11-aout.
107 (_before_parse): Make --omagic be default instead of --nmagic.
108 (_get_script): Modify special-case linker script for --imagic.
109 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
110 * ld.texi (Options): Add documentation of PDP11-specific options.
111 (Options): Fix unrelated typo to --no-compact-branches.
112 * gen-doc.texi: @set PDP11.
113 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
114 * testsuite/ld-pdp11/sections.s: New, source for options tests.
115 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
116 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
117 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
118 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
119
10ca4b04
L
1202020-04-14 H.J. Lu <hongjiu.lu@intel.com>
121
122 PR binutils/25707
123 * testsuite/ld-arm/armthumb-lib.sym: Updated.
124 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
125 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
126 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
127 * testsuite/ld-arm/fdpic-main.sym: Likewise.
128 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
129 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
130 * testsuite/ld-arm/mixed-app.sym: Likewise.
131 * testsuite/ld-arm/mixed-lib.sym: Likewise.
132 * testsuite/ld-arm/preempt-app.sym: Likewise.
133 * testsuite/ld-elf/hash.d: Likewise.
134 * testsuite/ld-elf/pr13195.d: Likewise.
135 * testsuite/ld-elfvsb/hidden2.d: Likewise.
136 * testsuite/ld-mips-elf/hash2.d: Likewise.
137
a5d21497
RO
1382020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
139
140 * testsuite/ld-shared/shared.exp: Remove dangling comments.
141 xfail shared non PIC tests on Solaris.
142
ae4b1d73
RO
1432020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
144
145 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
146
aa350065
L
1472020-04-02 H.J. Lu <hongjiu.lu@intel.com>
148
149 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
150 nopie with available.
151
8be5def6
L
1522020-04-02 H.J. Lu <hongjiu.lu@intel.com>
153
154 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
155 Set to "-fcf-protection=none" if target compiler supports it.
156 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
157 CC and CXX.
158 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
159 to PLT BND tests.
160
516231b7
L
1612020-04-02 H.J. Lu <hongjiu.lu@intel.com>
162
163 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
164 -I../bfd.
165 (check_pr25749b): Likewise.
166
bb897477
RO
1672020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
168
169 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
170 notarget.
171 * ifunc-11-i386.d: Likewise.
172 * ifunc-12-i386.d: Likewise.
173 * ifunc-13-i386.d: Likewise.
174 * ifunc-14a-i386.d: Likewise.
175 * ifunc-14b-i386.d: Likewise.
176 * ifunc-14c-i386.d: Likewise.
177 * ifunc-14d-i386.d: Likewise.
178 * ifunc-14e-i386.d: Likewise.
179 * ifunc-14f-i386.d: Likewise.
180 * ifunc-15-i386.d: Likewise.
181 * ifunc-16-i386-now.d: Likewise.
182 * ifunc-16-i386.d: Likewise.
183 * ifunc-17a-i386.d: Likewise.
184 * ifunc-17b-i386.d: Likewise.
185 * ifunc-18a-i386.d: Likewise.
186 * ifunc-18b-i386.d: Likewise.
187 * ifunc-19a-i386.d: Likewise.
188 * ifunc-19b-i386.d: Likewise.
189 * ifunc-2-i386-now.d: Likewise.
190 * ifunc-2-i386.d: Likewise.
191 * ifunc-2-local-i386-now.d: Likewise.
192 * ifunc-2-local-i386.d: Likewise.
193 * ifunc-20-i386.d: Likewise.
194 * ifunc-21-i386.d: Likewise.
195 * ifunc-22-i386.d: Likewise.
196 * ifunc-5a-i386.d: Likewise.
197 * ifunc-5a-local-i386.d: Likewise.
198 * ifunc-5b-i386.d: Likewise.
199 * ifunc-5b-local-i386.d: Likewise.
200 * ifunc-5r-local-i386.d: Likewise.
201 * ifunc-6a-i386.d: Likewise.
202 * ifunc-6b-i386.d: Likewise.
203 * ifunc-7a-i386.d: Likewise.
204 * ifunc-7b-i386.d: Likewise.
205 * ifunc-8-i386.d: Likewise.
206 * ifunc-9-i386.d: Likewise.
207 * pr17154-i386-now.d: Likewise.
208 * pr17154-i386.d: Likewise.
209
210 * ifunc-23a-x86.d: Remove notarget.
211 * ifunc-24a-x86.d: Likewise.
212 * ifunc-25a-x86.d: Likewise.
213
4f5bd885
NC
2142020-04-02 Nick Clifton <nickc@redhat.com>
215
216 PR ld/25747
217 * ldfile.c (ldfile_open_file): Fix typo in warning message.
218
382aae06
L
2192020-04-01 H.J. Lu <hongjiu.lu@intel.com>
220
221 PR ld/25749
222 PR ld/25754
223 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
224 * testsuite/ld-elf/pr25749-1.c: New file.
225 * testsuite/ld-elf/pr25749-1a.c: Likewise.
226 * testsuite/ld-elf/pr25749-1b.c: Likewise.
227 * testsuite/ld-elf/pr25749-1b.err: Likewise.
228 * testsuite/ld-elf/pr25749-1c.c: Likewise.
229 * testsuite/ld-elf/pr25749-1d.c: Likewise.
230 * testsuite/ld-elf/pr25749-2.c: Likewise.
231 * testsuite/ld-elf/pr25749-2a.s: Likewise.
232 * testsuite/ld-elf/pr25749-2b.s: Likewise.
233 * testsuite/ld-elf/pr25749.rd: Likewise.
234 * testsuite/ld-elf/pr25754-1a.c: Likewise.
235 * testsuite/ld-elf/pr25754-1b.s: Likewise.
236 * testsuite/ld-elf/pr25754-2a.c: Likewise.
237 * testsuite/ld-elf/pr25754-2b.err: Likewise.
238 * testsuite/ld-elf/pr25754-2b.s: Likewise.
239 * testsuite/ld-elf/pr25754-3a.c: Likewise.
240 * testsuite/ld-elf/pr25754-3b.s: Likewise.
241 * testsuite/ld-elf/pr25754-4a.c: Likewise.
242 * testsuite/ld-elf/pr25754-4b.s: Likewise.
243 * testsuite/ld-elf/pr25754-4c.s: Likewise.
244 * testsuite/ld-elf/pr25754-5a.c: Likewise.
245 * testsuite/ld-elf/pr25754-5b.s: Likewise.
246 * testsuite/ld-elf/pr25754-5c.s: Likewise.
247 * testsuite/ld-elf/pr25754-6a.c: Likewise.
248 * testsuite/ld-elf/pr25754-6b.s: Likewise.
249 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
250
3ce23ca1
TC
2512020-04-01 Tamar Christina <tamar.christina@arm.com>
252
253 PR ld/16017
254 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
255
77bf7b53
NC
2562020-04-01 Nick Clifton <nickc@redhat.com>
257
258 PR ld/25747
259 * ldfile.c (ldfile_open_file): If a search for a library fails,
260 but there is a file that would match if it had a "lib" prefix to
261 its name, then tell the user.
262
a7618269
TC
2632020-04-01 Tamar Christina <tamar.christina@arm.com>
264
265 PR ld/16017
266 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
267 * testsuite/ld-arm/thumb-plt-got.d: New test.
268
15ccbdd7
TC
2692020-04-01 Tamar Christina <tamar.christina@arm.com>
270
271 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
272 * testsuite/ld-arm/thumb-plt.d: New test.
273 * testsuite/ld-arm/thumb-plt.s: New test.
274
41ff29bf
HPN
2752020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
276
277 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
278
00386881
NC
2792020-03-30 Nick Clifton <nickc@redhat.com>
280
281 PR binutils/25662
282 * emultempl/pe.em (after_open): Replace initialisation of the
283 insert_timestamp field in the pe_data structure with an
284 initialisation of the timestamp field.
285 * emultemp/pep.em: Likewise.
286 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
287 structure instead of the insert_timestamp field.
288
767be9d9
L
2892020-03-28 H.J. Lu <hongjiu.lu@intel.com>
290
291 PR 25732
292 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
293 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
294 Solaris.
295
258e8844
L
2962020-03-27 H.J. Lu <hongjiu.lu@intel.com>
297
298 PR 25732
299 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
300
cacb9d87
L
3012020-03-27 H.J. Lu <hongjiu.lu@intel.com>
302
303 PR 25732
304 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
305 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
306 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
307
86fd7e2e
AM
3082020-03-25 Alan Modra <amodra@gmail.com>
309
310 * testsuite/ld-elf/compress1c.d: xfail h8300.
311 * testsuite/ld-elf/compressed1c.d: Likewise.
312 * testsuite/ld-elf/compressed1e.d: Likewise.
313 * testsuite/ld-elf/dynamic1.d: Likewise.
314 * testsuite/ld-elf/dynsym1.d: Likewise.
315 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
316 * testsuite/ld-elf/exclude3b.d: Likewise.
317 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
318 * testsuite/ld-elf/global1.d: xfail h8300.
319 * testsuite/ld-elf/hash.d: Likewise.
320 * testsuite/ld-elf/loadaddr1.d: Likewise.
321 * testsuite/ld-elf/loadaddr2.d: Likewise.
322 * testsuite/ld-elf/local1.d: Likewise.
323 * testsuite/ld-elf/mbind1b.d: Likewise.
324 * testsuite/ld-elf/mbind1c.d: Likewise.
325 * testsuite/ld-elf/now-1.d: Likewise.
326 * testsuite/ld-elf/now-2.d: Likewise.
327 * testsuite/ld-elf/now-3.d: Likewise.
328 * testsuite/ld-elf/now-4.d: Likewise.
329 * testsuite/ld-elf/pie.d: Likewise.
330 * testsuite/ld-elf/pr12975.d: Likewise.
331 * testsuite/ld-elf/pr13177.d: Likewise.
332 * testsuite/ld-elf/pr13195.d: Likewise.
333 * testsuite/ld-elf/pr16322.d: Likewise.
334 * testsuite/ld-elf/pr16498a.d: Likewise.
335 * testsuite/ld-elf/pr16498b.d: Likewise.
336 * testsuite/ld-elf/pr17615.d: Likewise.
337 * testsuite/ld-elf/pr19162.d: Likewise.
338 * testsuite/ld-elf/pr19539.d: Likewise.
339 * testsuite/ld-elf/pr19617a.d: Likewise.
340 * testsuite/ld-elf/pr19698.d: Likewise.
341 * testsuite/ld-elf/pr20513c.d: Likewise.
342 * testsuite/ld-elf/pr20513d.d: Likewise.
343 * testsuite/ld-elf/pr21389a.d: Likewise.
344 * testsuite/ld-elf/pr21389b.d: Likewise.
345 * testsuite/ld-elf/pr21389c.d: Likewise.
346 * testsuite/ld-elf/pr21562a.d: Likewise.
347 * testsuite/ld-elf/pr21562b.d: Likewise.
348 * testsuite/ld-elf/pr21562c.d: Likewise.
349 * testsuite/ld-elf/pr21562d.d: Likewise.
350 * testsuite/ld-elf/pr21562e.d: Likewise.
351 * testsuite/ld-elf/pr21562f.d: Likewise.
352 * testsuite/ld-elf/pr21562g.d: Likewise.
353 * testsuite/ld-elf/pr21562h.d: Likewise.
354 * testsuite/ld-elf/pr21562i.d: Likewise.
355 * testsuite/ld-elf/pr21562j.d: Likewise.
356 * testsuite/ld-elf/pr21562k.d: Likewise.
357 * testsuite/ld-elf/pr21562l.d: Likewise.
358 * testsuite/ld-elf/pr21562m.d: Likewise.
359 * testsuite/ld-elf/pr21562n.d: Likewise.
360 * testsuite/ld-elf/pr21903a.d: Likewise.
361 * testsuite/ld-elf/pr21903b.d: Likewise.
362 * testsuite/ld-elf/pr21903d.d: Likewise.
363 * testsuite/ld-elf/pr22269a.d: Likewise.
364 * testsuite/ld-elf/pr22269b.d: Likewise.
365 * testsuite/ld-elf/pr22393-1a.d: Likewise.
366 * testsuite/ld-elf/pr22393-1b.d: Likewise.
367 * testsuite/ld-elf/pr22393-1c.d: Likewise.
368 * testsuite/ld-elf/pr22393-1d.d: Likewise.
369 * testsuite/ld-elf/pr22393-1e.d: Likewise.
370 * testsuite/ld-elf/pr22393-1f.d: Likewise.
371 * testsuite/ld-elf/pr22423.d: Likewise.
372 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
373 and xc16x.
374 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
375 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
376 * testsuite/ld-elf/rpath-1.d: xfail h8300.
377 * testsuite/ld-elf/rpath-2.d: Likewise.
378 * testsuite/ld-elf/runpath-1.d: Likewise.
379 * testsuite/ld-elf/runpath-2.d: Likewise.
380 * testsuite/ld-elf/sizeofb.d: Likewise.
381 * testsuite/ld-elf/startofb.d: Likewise.
382 * testsuite/ld-elf/strtab.d: Likewise.
383 * testsuite/ld-elf/textaddr1.d: Likewise.
384 * testsuite/ld-elf/textaddr2.d: Likewise.
385 * testsuite/ld-elf/textaddr4.d: Likewise.
386 * testsuite/ld-elf/textaddr5.d: Likewise.
387 * testsuite/ld-elf/textaddr6.d: Likewise.
388 * testsuite/ld-elf/unknown2.d: Likewise.
389 * testsuite/ld-undefined/entry-3.d: Likewise.
390 * testsuite/ld-undefined/entry-4.d: Likewise.
391 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
392 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
393 file format match.
394 * testsuite/ld-h8300/relax-2.d: Likewise.
395 * testsuite/ld-h8300/relax-3.d: Likewise.
396 * testsuite/ld-h8300/relax-4.d: Likewise.
397 * testsuite/ld-h8300/relax-5.d: Likewise.
398 * testsuite/ld-h8300/relax-6.d: Likewise.
399 * testsuite/ld-h8300/relax-7.d: Likewise.
400 * testsuite/ld-h8300/relax.d: Relax file format match.
401
7e6e972f
L
4022020-03-24 H.J. Lu <hongjiu.lu@intel.com>
403
404 PR binutils/25708
405 * testsuite/ld-elf/pr25708.d: New file.
406
5e737279
AM
4072020-03-23 Alan Modra <amodra@gmail.com>
408
409 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
410 Include ei386aout dep file.
411 * Makefile.in: Regenerate.
412 * po/BLD-POTFILES.in: Regenerate.
413
3d98c460
L
4142020-03-20 H.J. Lu <hongjiu.lu@intel.com>
415
416 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
417 test only for GCC 10 or newer.
418
c02d6661
AM
4192020-03-20 Alan Modra <amodra@gmail.com>
420
421 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
422 clear new fields.
423 * testplug2.c (parse_symdefstr): Likewise.
424 * testplug3.c (parse_symdefstr): Likewise.
425 * testplug4.c (parse_symdefstr): Likewise.
426
aef397a1
CL
4272020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
428
429 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
430 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
431
53215f21
CL
4322020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
433
434 * emultempl/xtensaelf.em: Emit a fatal error message
435 instead of calling abort.
436 * ldlang.c: Likewise.
437
02a8180e
AM
4382020-03-14 Alan Modra <amodra@gmail.com>
439
440 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
441 targets. Don't skip xtensa, xfail instead.
442
abf874aa
CL
4432020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
444
445 * ldlang.c (lang_add_section): Add support for
446 non_contiguous_regions.
447 (size_input_section): Likewise.
448 (lang_size_sections_1): Likewise.
449 (process_insert_statements): Likewise.
450 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
451 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
452 * lexsup.c (ld_options): Add entries for
453 --enable-non-contiguous-regions and
454 --enable-non-contiguous-regions-warnings.
455 (parse_args): Handle it.
456 * NEWS: Add --enable-non-contiguous-regions and
457 --enable-non-contiguous-regions-warnings.
458 * ld.texi: Add --enable-non-contiguous-regions and
459 --enable-non-contiguous-regions-warnings documentation.
460 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
461 SEC_LINKER_CREATED flag.
462 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
463 Emit an error when --enable-non-contiguous-regions is used.
464 * testsuite/ld-elf/non-contiguous.d: New.
465 * testsuite/ld-elf/non-contiguous.ld: New.
466 * testsuite/ld-elf/non-contiguous.s: New.
467 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
468 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
469 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
470 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
471 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
472 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
473 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
474 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
475 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
476 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
477 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
478 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
479 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
480 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
481 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
482 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
483 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
484 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
485 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
486
74e10d17
L
4872020-03-13 H.J. Lu <hongjiu.lu@intel.com>
488
489 PR ld/24920
490 * emulparams/elf32_x86_64.sh: Use static.sh.
491 * emulparams/elf_i386.sh: Likewise.
492 * emulparams/elf_x86_64.sh: Likewise.
493 * emulparams/static.sh: New file.
494 * emultempl/elf-x86.em: Include "ldlex.h".
495 * testsuite/ld-elf/pr24920.err: New file.
496 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
497
502794d4
CE
4982020-03-13 Christian Eggers <ceggers@gmx.de>
499
500 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
501
1db6f990
AM
5022020-03-11 Alan Modra <amodra@gmail.com>
503
504 * ldelf.c (elf_orphan_compatible): Return false when two sections
505 have differing SHF_MASKPROC or SHF_MASKOS flags.
506
92d4b13b
AM
5072020-03-05 Alan Modra <amodra@gmail.com>
508
509 PR 25570
510 * ldlang.c (lang_size_sections_1): Don't report changes on
511 second and subsequent iterations that make no change in
512 alignment from that already reported.
513
baf09cba
AM
5142020-03-05 Alan Modra <amodra@gmail.com>
515
516 PR 25570
517 * ldlang.c (lang_sizing_iteration): New static var.
518 (lang_size_sections_1): Warn about no memory region only on first
519 iteration. Warn about changing start address on first iteration
520 then any delta from that on subsequent iterations. Report a signed
521 delta.
522 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
523
d8e4137b
NC
5242020-03-03 Nick Clifton <nickc@redhat.com>
525
526 PR 25588
527 * ld.texi (Options): Update the description of the --rpath-link
528 option.
529
cb001c0d
AM
5302020-03-02 Alan Modra <amodra@gmail.com>
531
532 * plugin.c (plugin_object_p): Return a bfd_cleanup.
533 (plugin_cleanup): New function.
534
2aa90762
L
5352020-03-01 H.J. Lu <hongjiu.lu@intel.com>
536
537 PR ld/25618
538 * plugin.c (plugin_object_p): Copy the no_export field to the IR
539 dummy object.
540 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
541 PR ld/25618 tests.
542 * testsuite/ld-plugin/pr25618.d: New file.
543 * testsuite/ld-plugin/pr25618a.cc: Likewise.
544 * testsuite/ld-plugin/pr25618a.h: Likewise.
545 * testsuite/ld-plugin/pr25618b.cc: Likewise.
546 * testsuite/ld-plugin/pr25618b.h: Likewise.
547
5f602802
AM
5482020-02-27 Alan Modra <amodra@gmail.com>
549
550 PR 24511
551 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
552 * testsuite/ld-mmix/sec-2.d: Likewise.
553 * testsuite/ld-mmix/sec-3.d: Likewise.
554 * testsuite/ld-mmix/sec-4.d: Likewise.
555 * testsuite/ld-mmix/spec802.d: Likewise.
556 * testsuite/ld-mmix/spec803.d: Likewise.
557 * testsuite/ld-mmix/spec804.d: Likewise.
558 * testsuite/ld-mmix/spec805.d: Likewise.
559 * testsuite/ld-mmix/spec806.d: Likewise.
560 * testsuite/ld-mmix/spec807.d: Likewise.
561 * testsuite/ld-mmix/spec808.d: Likewise.
562
3312f67c
L
5632020-02-26 H.J. Lu <hongjiu.lu@intel.com>
564
565 PR ld/25593
566 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
567 * testsuite/ld-plugin/pr25593.d: New file.
568 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
569 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
570 * testsuite/ld-plugin/pr25593b.c: Likewise.
571 * testsuite/ld-plugin/pr25593c.c: Likewise.
572 * testsuite/ld-plugin/pr25593d.c: Likewise.
573 * testsuite/ld-plugin/pr25593e.c: Likewise.
574
dc1e8a47
AM
5752020-02-26 Alan Modra <amodra@gmail.com>
576
577 * emultempl/cskyelf.em: Indent labels correctly.
578 * ldfile.c: Likewise.
579 * ldlang.c: Likewise.
580 * plugin.c: Likewise.
581
e310298c
AM
5822020-02-26 Alan Modra <amodra@gmail.com>
583
584 PR 25593
585 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
586 (ldelf_after_open): Save state of input_bfds list before loading
587 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
588 Restore input_bfds list.
589 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
590
45c63c0f
NC
5912020-02-24 Nick Clifton <nickc@redhat.com>
592
593 * po/fr.po: Update French translation.
594
7b3c2715
AM
5952020-02-22 Alan Modra <amodra@gmail.com>
596
597 PR 25585
598 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
599 checking.
600
fcaaac0a
SB
6012020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
602
603 PR 25537
604 * emultempl/z80.em: Remove machine compatability checking.
605
6062020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
607
608 PR 25517
609 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
610 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
611 * testsuite/ld-z80/arch_r800.d: Likewise.
612 * testsuite/ld-z80/arch_z180.d: Likewise.
613 * testsuite/ld-z80/arch_z80n.d: Likewise.
614 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
615 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
616 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
617 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
618 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
619 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
620 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
621 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
622 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
623 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
624
2e3cd5d0
AM
6252020-02-19 Alan Modra <amodra@gmail.com>
626
627 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
628
0aa99dcd
L
6292020-02-10 H.J. Lu <hongjiu.lu@intel.com>
630
631 PR binutils/25355
632 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
633 * testsuite/ld-plugin/pr25355.c: New file.
634 * testsuite/ld-plugin/pr25355.d: Likewise.
635 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
636 only dump.
637
6e569656
L
6382020-02-07 H.J. Lu <hongjiu.lu@intel.com>
639
640 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
641
9fc0b501
SB
6422020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
643
644 PR 25469
645 * emulparams/elf32z80.sh: Use z80 emulation.
646 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
647 * emultempl/z80elf.em: Delete.
648 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
649 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
650 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
651 * testsuite/ld-unique/unique.s: Likewise.
652 * testsuite/ld-unique/unique_empty.s: Likewise.
653 * testsuite/ld-unique/unique_shared.s: Likewise.
654 * testsuite/ld-unique/unique.d: Updated expected output.
655 * testsuite/ld-z80/arch_z80n.d: New file.
656 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
657 * testsuite/ld-z80/labels.s: Add more labels.
658 * testsuite/ld-z80/relocs.s: Add more reloc tests.
659 * testsuite/ld-z80/relocs_f_z80n.d: New file
660
adb8754e
L
6612020-02-07 H.J. Lu <hongjiu.lu@intel.com>
662
663 PR ld/25022
664 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
665 ldelf_before_place_orphans.
666
9b538ba7
L
6672020-02-06 H.J. Lu <hongjiu.lu@intel.com>
668
669 PR ld/25022
670 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
671 before_place_orphans_default.
672 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
673 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
674 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
675 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
676 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
677 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
678 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
679 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
680 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
681 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
682 ldelf_before_place_orphans.
683 * ldelf.c (ldelf_before_place_orphans): New.
684 * ldelf.h (ldelf_before_place_orphans): Likewise.
685 * ldemul.c (ldemul_before_place_orphans): Likewise.
686 (before_place_orphans_default): Likewise.
687 * ldemul.h (ldemul_before_place_orphans): Likewise.
688 (before_place_orphans_default): Likewise.
689 (ld_emulation_xfer_struct): Add before_place_orphans.
690 * ldlang.c (lang_process): Call ldemul_before_place_orphans
691 before lang_place_orphans.
692 * testsuite/ld-elf/pr25022.d: New file.
693 * testsuite/ld-elf/pr25022.s: Likewise.
694 * testsuite/ld-elf/pr25022.t: Likewise.
695
5242a0a0
L
6962020-02-06 H.J. Lu <hongjiu.lu@intel.com>
697
698 PR ld/25490
699 * testsuite/ld-elf/pr25490-1.d: New file.
700 * testsuite/ld-elf/pr25490-1.s: Likewise.
701
b7d07216
L
7022020-02-06 H.J. Lu <hongjiu.lu@intel.com>
703
704 PR ld/24526
705 PR ld/25021
706 PR ld/25490
707 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
708 * testsuite/ld-elf/pr24526.d: New file.
709 * testsuite/ld-elf/pr24526.s: Likewise.
710 * testsuite/ld-elf/pr25021.d: Likewise.
711 * testsuite/ld-elf/pr25021.s: Likewise.
712 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
713 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
714 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
715 * testsuite/ld-elf/pr25490-2.s: Likewise.
716 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
717 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
718 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
719 * testsuite/ld-elf/pr25490-3.s: Likewise.
720 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
721 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
722 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
723 * testsuite/ld-elf/pr25490-4.s: Likewise.
724 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
725 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
726 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
727 * testsuite/ld-elf/pr25490-5.s: Likewise.
728 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
729 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
730 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
731 * testsuite/ld-elf/pr25490-6.s: Likewise.
732
7332020-02-06 H.J. Lu <hongjiu.lu@intel.com>
9e4d08bb
L
734
735 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
736 z80 as not supported.
737
bb4e012c
AM
7382020-02-06 Alan Modra <amodra@gmail.com>
739
740 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
741 targets that don't support ifunc rather than ones that do.
742 (contains_irelative_reloc): Match R_PARISC_IPLT.
743 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
744 * testsuite/ld-ifunc/ifunc-23-x86.s,
745 * testsuite/ld-ifunc/ifunc-24-x86.s,
746 * testsuite/ld-ifunc/ifunc-25-x86.s,
747 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
748 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
749 * testsuite/ld-ifunc/ifunc-10-i386.d,
750 * testsuite/ld-ifunc/ifunc-11-i386.d,
751 * testsuite/ld-ifunc/ifunc-12-i386.d,
752 * testsuite/ld-ifunc/ifunc-13-i386.d,
753 * testsuite/ld-ifunc/ifunc-14a-i386.d,
754 * testsuite/ld-ifunc/ifunc-14b-i386.d,
755 * testsuite/ld-ifunc/ifunc-14c-i386.d,
756 * testsuite/ld-ifunc/ifunc-14d-i386.d,
757 * testsuite/ld-ifunc/ifunc-14e-i386.d,
758 * testsuite/ld-ifunc/ifunc-14f-i386.d,
759 * testsuite/ld-ifunc/ifunc-15-i386.d,
760 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
761 * testsuite/ld-ifunc/ifunc-16-i386.d,
762 * testsuite/ld-ifunc/ifunc-17a-i386.d,
763 * testsuite/ld-ifunc/ifunc-17b-i386.d,
764 * testsuite/ld-ifunc/ifunc-18a-i386.d,
765 * testsuite/ld-ifunc/ifunc-18b-i386.d,
766 * testsuite/ld-ifunc/ifunc-19a-i386.d,
767 * testsuite/ld-ifunc/ifunc-19b-i386.d,
768 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
769 * testsuite/ld-ifunc/ifunc-2-i386.d,
770 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
771 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
772 * testsuite/ld-ifunc/ifunc-20-i386.d,
773 * testsuite/ld-ifunc/ifunc-21-i386.d,
774 * testsuite/ld-ifunc/ifunc-22-i386.d,
775 * testsuite/ld-ifunc/ifunc-26.d,
776 * testsuite/ld-ifunc/ifunc-5a-i386.d,
777 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
778 * testsuite/ld-ifunc/ifunc-5b-i386.d,
779 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
780 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
781 * testsuite/ld-ifunc/ifunc-6a-i386.d,
782 * testsuite/ld-ifunc/ifunc-6b-i386.d,
783 * testsuite/ld-ifunc/ifunc-7a-i386.d,
784 * testsuite/ld-ifunc/ifunc-7b-i386.d,
785 * testsuite/ld-ifunc/ifunc-8-i386.d,
786 * testsuite/ld-ifunc/ifunc-9-i386.d,
787 * testsuite/ld-ifunc/pr17154-i386-now.d,
788 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
789
02e0be69
AM
7902020-02-06 Alan Modra <amodra@gmail.com>
791
792 * testsuite/lib/ld-lib.exp (is_generic): Delete.
793 * testsuite/ld-unique/unique.exp: Exclude tic6x.
794
b88237bc
AM
7952020-02-06 Alan Modra <amodra@gmail.com>
796
797 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
798 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
799
a8c4d40b
L
8002020-02-02 H.J. Lu <hongjiu.lu@intel.com>
801
802 PR gas/25380
803 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
804 directives.
805 * testsuite/ld-i386/tls-gd1.S: Likewise.
806 * testsuite/ld-x86-64/pr21481b.S: Likewise.
807
5cebc931
JB
8082020-01-30 Jan Beulich <jbeulich@suse.com>
809
810 * ld.texi: Remove space between @option and brace.
811
ef8f08ca
AM
8122020-01-29 Alan Modra <amodra@gmail.com>
813
814 PR 25477
815 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
816 correct concat.
817 (ldelf_after_open): Add prefix parameter.
818 * ldelf.h (ldelf_after_open): Update prototype.
819 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
820 to ldelf_after_open.
821 * Makefile.am: Correct z80 dependencies.
822 * Makefile.in: Regenerate.
823
738174e1
AM
8242020-01-28 Alan Modra <amodra@gmail.com>
825
826 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
827 in first phase.
828
e3696f67
AM
8292020-01-27 Alan Modra <amodra@gmail.com>
830
831 * testsuite/ld-elfvers/vers.exp: Replace case statements with
832 switch statements.
833 * testsuite/ld-ifunc/ifunc.exp: Likewise.
834 * testsuite/ld-unique/unique.exp: Likewise.
835
3024a17a
AM
8362020-01-27 H.J. Lu <hongjiu.lu@intel.com>
837 Alan Modra <amodra@gmail.com>
838
839 PR ld/25458
840 * testsuite/ld-elf/pr25458.map: New file.
841 * testsuite/ld-elf/pr25458.rd: Likewise.
842 * testsuite/ld-elf/pr25458a.s: Likewise.
843 * testsuite/ld-elf/pr25458b.s: Likewise.
844 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
845
6a462ad4
L
8462020-01-22 H.J. Lu <hongjiu.lu@intel.com>
847
848 PR ld/25416
849 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
850 compiler support.
851
a804e476
AM
8522020-01-22 Alan Modra <amodra@gmail.com>
853
854 * testsuite/ld-powerpc/tlsdesc3.d,
855 * testsuite/ld-powerpc/tlsdesc3.wf,
856 * testsuite/ld-powerpc/tlsdesc4.d,
857 * testsuite/ld-powerpc/tlsdesc4.s,
858 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
859 * testsuite/ld-powerpc/powerpc.exp: Run them.
860
9e7028aa
AM
8612020-01-22 Alan Modra <amodra@gmail.com>
862
863 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
864 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
865 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
866 (params): Init new field.
867 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
868 Document.
869 * testsuite/ld-powerpc/tlsdesc.s,
870 * testsuite/ld-powerpc/tlsdesc.d,
871 * testsuite/ld-powerpc/tlsdesc.wf,
872 * testsuite/ld-powerpc/tlsdesc2.d,
873 * testsuite/ld-powerpc/tlsdesc2.wf,
874 * testsuite/ld-powerpc/tlsexenors.d,
875 * testsuite/ld-powerpc/tlsexenors.r,
876 * testsuite/ld-powerpc/tlsexers.d,
877 * testsuite/ld-powerpc/tlsexers.r,
878 * testsuite/ld-powerpc/tlsexetocnors.d,
879 * testsuite/ld-powerpc/tlsexetocrs.d,
880 * testsuite/ld-powerpc/tlsexetocrs.r,
881 * testsuite/ld-powerpc/tlsopt6.d,
882 * testsuite/ld-powerpc/tlsopt6.wf: New.
883 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
884
c48acf6f
YC
8852020-01-22 Yuri Chornoivan <yurchor@mageia.org>
886
887 PR 25417
888 * ldlang.c (ldlang_open_ctf): Fix error message typo.
889 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
890
1e161364
L
8912020-01-21 H.J. Lu <hongjiu.lu@intel.com>
892
893 * testsuite/ld-elf/pr23900-1.d: Adjusted.
894
b4654b10
L
8952020-01-21 H.J. Lu <hongjiu.lu@intel.com>
896
897 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
898
26916852
NC
8992020-01-20 Nick Clifton <nickc@redhat.com>
900
901 * po/pt_BR.po: Updated Brazilian Portuguese translation.
902 * po/uk.po: Updated Ukranian translation.
903
14470f07
L
9042020-01-20 H.J. Lu <hongjiu.lu@intel.com>
905
906 PR ld/25416
907 * testsuite/ld-x86-64/pr25416-1.s: New file
908 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
909 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
910 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
911 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
912 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
913 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
914 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
915 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
916 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
917 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
918 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
919 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
920 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
921 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
922 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
923 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
924
b9ca1af6
AM
9252020-01-20 Alan Modra <amodra@gmail.com>
926
927 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
928 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
929 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
930 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
931 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
932
69d24618
RM
9332020-01-18 Roland McGrath <mcgrathr@google.com>
934
935 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
936 to admit whatever absolute address. The label-relative address is
937 what the test needs to verify.
938
1b1bb2c6
NC
9392020-01-18 Nick Clifton <nickc@redhat.com>
940
941 * configure: Regenerate.
942 * po/ld.pot: Regenerate.
943
ae774686
NC
9442020-01-18 Nick Clifton <nickc@redhat.com>
945
946 Binutils 2.34 branch created.
947
6d0be74b
JL
9482020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
949
950 * scripttempl/elf32msp430_3.sc: Remove.
951
0c3d9485
JL
9522020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
953
954 * scripttempl/elf32msp430.sc: Add input section rules for
955 .upper.{text,data,rodata,bss}.
956 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
957 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
958
0d1cc75d
LB
9592020-01-15 Lars Brinkhoff <lars@nocrew.org>
960
961 PR 20694
962 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
963
131cb553
JL
9642020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
965
966 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
967 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
968
e1c6cf61
AM
9692020-01-15 Alan Modra <amodra@gmail.com>
970
971 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
972 * testsuite/ld-powerpc/funref.s: Align func_tab.
973 * testsuite/ld-powerpc/funref2.s: Likewise.
974 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
975
e44925ae
LC
9762020-01-14 Lili Cui <lili.cui@intel.com>
977
978 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
979
8c7e1c04
AM
9802020-01-13 Alan Modra <amodra@gmail.com>
981
982 * po/BLD-POTFILES.in: Regenerate.
983
4f18d742
CZ
9842020-01-13 Claudiu Zissulescu <claziss@gmail.com>
985
986 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
987
5e4f7e05
CZ
9882020-01-13 Claudiu Zissulescu <claziss@gmail.com>
989
990 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
991 emulations.
992 * configure.tgt: Likewise.
993 * Makefile.in: Regenerate.
994 * emulparams/arcelf_prof.sh: Remove file.
995 * emulparams/arclinux_prof.sh: Likewise.
996
8cb31bad
CZ
9972020-01-13 Claudiu Zissulescu <claziss@gmail.com>
998
999 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
1000 located at an arbitrary address. Use DWARF.sc file.
1001 * scripttempl/elfarc.sc: Use DWARF.sc file.
1002
85e290dc
AM
10032020-01-07 Alan Modra <amodra@gmail.com>
1004
1005 * testsuite/ld-mips-elf/eh-frame5.s,
1006 * testsuite/ld-mips-elf/ehdr_start-new.s,
1007 * testsuite/ld-mips-elf/ehdr_start-o32.s,
1008 * testsuite/ld-mips-elf/mips16-call-global-1.s,
1009 * testsuite/ld-mips-elf/mips16-intermix-1.s,
1010 * testsuite/ld-mips-elf/mips16-pic-1b.s,
1011 * testsuite/ld-mips-elf/mips16-pic-4c.s,
1012 * testsuite/ld-mips-elf/no-shared-1-n64.s,
1013 * testsuite/ld-mips-elf/no-shared-1-o32.s,
1014 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
1015 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
1016 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
1017 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
1018 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
1019 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
1020 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
1021 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
1022 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
1023 * testsuite/ld-mips-elf/pie.s,
1024 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
1025
0e1f1593
NC
10262020-01-06 Nick Clifton <nickc@redhat.com>
1027
1028 PR 25327
1029 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1030 command line when building libcomm1.o and pr13250 tests.
1031 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
1032
d2dbcb18
NC
10332020-01-06 Nick Clifton <nickc@redhat.com>
1034
1035 PR 25326
1036 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1037 command line when building pr19579 binaries.
1038
dc9bd8c9
HD
10392020-01-03 Hannes Domani <ssbssa@yahoo.de>
1040
1041 * emultempl/pe.em: Add new option --enable-reloc-section.
1042 * emultempl/pep.em: Likewise.
1043 * ld.texi: Document --enable-reloc-section.
1044 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
1045 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
1046 * pe-dll.h: Add extern declaration of option flag.
1047 * pep-dll.c (pe_dll_enable_reloc_section):
1048 Add alias define for pep_dll_enable_reloc_section.
1049 * pep-dll.h: Add extern declaration of option flag.
1050
6655dba2
SB
10512020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1052
1053 * Makefile.am: Add new target z80-elf
1054 * configure.tgt: Likewise.
1055 * Makefile.in: Regenerate.
1056 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
1057 * emulparams/elf32z80.sh: New file.
1058 * emultempl/z80elf.em: Likewise.
1059 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
1060 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
1061 * testsuite/ld-scripts/fill16.d: Fix for Z80.
1062 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
1063 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1064 * testsuite/ld-z80/arch_r800.d: Likewise.
1065 * testsuite/ld-z80/arch_z180.d: Likewise.
1066 * testsuite/ld-z80/arch_z80.d: Likewise.
1067 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1068 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
1069 * testsuite/ld-z80/labels.s: Likewise.
1070 * testsuite/ld-z80/relocs.s: Likewise.
1071 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1072 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1073 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1074 * testsuite/ld-z80/z80.exp: Likewise.
1075 * NEWS: Mention the new support.
1076
0db131fb
TC
10772020-01-02 Tamar Christina <tamar.christina@arm.com>
1078
1079 PR 25210
1080 PR 24753
1081 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1082 Remove SEC_LINKER_CREATED.
1083 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1084 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1085
b14ce8bf
AM
10862020-01-01 Alan Modra <amodra@gmail.com>
1087
1088 Update year range in copyright notice of all files.
1089
0b114740 1090For older changes see ChangeLog-2019
3499769a 1091\f
0b114740 1092Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1093
1094Copying and distribution of this file, with or without modification,
1095are permitted in any medium without royalty provided the copyright
1096notice and this notice are preserved.
1097
1098Local Variables:
1099mode: change-log
1100left-margin: 8
1101fill-column: 74
1102version-control: never
1103End: