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