]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/ChangeLog
Update the config.guess and config.sub files from the master repository and regenerat...
[thirdparty/binutils-gdb.git] / ld / ChangeLog
1 2022-01-17 Nick Clifton <nickc@redhat.com>
2
3 * Makefile.in: Regenerate.
4 * po/ld.pot: Regenerate.
5
6 2022-01-11 Martin Storsjö <martin@martin.st>
7
8 * pe-dll.c (make_head): Prefix the symbol name with the dll name.
9 (make_tail, make_one, make_singleton_name_thunk): Likewise.
10 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise.
11 (pe_create_runtime_relocator_reference): Likewise.
12 (pe_dll_generate_implib): Set dll_symname_len.
13 (pe_process_import_defs): Likewise.
14
15 2021-12-16 Nick Clifton <nickc@redhat.com>
16
17 PR 28686
18 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output.
19 * testsuite/ld-avr/avr-prop-8.d: Likewise.
20 * testsuite/ld-avr/pr13402.d: Likewise.
21
22 2021-11-30 Nick Clifton <nickc@redhat.com>
23
24 * scripttempl/pru.sc (.pru_irq_map): Define output section.
25 * testsuite/ld-pru/pru_irq_map-1.d: New test.
26 * testsuite/ld-pru/pru_irq_map-2.d: New test.
27 * testsuite/ld-pru/pru_irq_map.s: New test.
28
29 2021-11-17 Jeremy Drake <cygwin@jdrake.com>
30
31 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for
32 Cygwin targets.
33 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise.
34
35 2021-11-17 Nick Clifton <nickc@redhat.com>
36
37 PR 28452
38 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY.
39 * ldgram.c: Regenerate.
40
41 2021-11-15 Roland McGrath <mcgrathr@google.com>
42
43 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in
44 case ld was configured with --enable-textrel-check=error.
45 * testsuite/ld-aarch64/pr22764.d: Likewise.
46 * testsuite/ld-aarch64/pr20402.d: Likewise.
47
48 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
49
50 * testsuite/ld-ctf/nonrepresentable-member.*: New test.
51
52 2021-10-25 Nick Alcock <nick.alcock@oracle.com>
53
54 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf.
55 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
56 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
57 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
58 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
59 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
60 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
61 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
62 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
63 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
64 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
65 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
66 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
67 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
68 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
69 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
70 * testsuite/ld-ctf/cycle-1.d: Likewise.
71 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
72 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
73 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
74 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
75 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
76 * testsuite/ld-ctf/diag-cuname.d: Likewise.
77 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
78 * testsuite/ld-ctf/enum-forward.d: Likewise.
79 * testsuite/ld-ctf/enums.d: Likewise.
80 * testsuite/ld-ctf/forward.d: Likewise.
81 * testsuite/ld-ctf/function.d: Likewise.
82 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
83 * testsuite/ld-ctf/slice.d: Likewise.
84 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
85
86 2021-09-30 Dimitar Dimitrov <dimitar@dinux.eu>
87
88 * scripttempl/pru.sc (.resource_table): Align the output
89 section, not the first symbol.
90
91 2021-09-27 Nick Alcock <nick.alcock@oracle.com>
92
93 * configure: Regenerate.
94
95 2021-09-21 Nick Clifton <nickc@redhat.com>
96
97 * ldlang.c (lang_end): When computing the entry point, only
98 try the start address of the entry section when creating an
99 executable.
100 * ld.texi (Entry point): Update description of heuristic used to
101 choose the entry point.
102 testsuite/ld-alpha/tlspic.rd: Update expected entry point address.
103 testsuite/ld-arm/tls-gdesc-got.d: Likewise.
104 testsuite/ld-i386/tlsnopic.rd: Likewise.
105 testsuite/ld-ia64/tlspic.rd: Likewise.
106 testsuite/ld-sparc/gotop32.rd: Likewise.
107 testsuite/ld-sparc/gotop64.rd: Likewise.
108 testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
109 testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
110 testsuite/ld-sparc/tlssunpic32.rd: Likewise.
111 testsuite/ld-sparc/tlssunpic64.rd: Likewise.
112 testsuite/ld-tic6x/shlib-1.rd: Likewise.
113 testsuite/ld-tic6x/shlib-1b.rd: Likewise.
114 testsuite/ld-tic6x/shlib-1r.rd: Likewise.
115 testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
116 testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
117 testsuite/ld-x86-64/pr14207.d: Likewise.
118 testsuite/ld-x86-64/tlsdesc.rd: Likewise.
119 testsuite/ld-x86-64/tlspic.rd: Likewise.
120 testsuite/ld-x86-64/tlspic2.rd: Likewise.
121
122 2021-09-15 Claudiu Zissulescu <claziss@synopsys.com>
123
124 * testsuite/ld-arc/got-weak.d: Update file.
125
126 2021-09-14 Claudiu Zissulescu <claziss@synopsys.com>
127
128 * ld-arc/got-weak.d: New file.
129 * ld-arc/got-weak.s: Likewise.
130
131 2021-07-26 Roland McGrath <mcgrathr@google.com>
132
133 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
134
135 2021-07-06 Michael Matz <matz@suse.de>
136
137 PR ld/28021
138 * testsuite/ld-riscv-elf/relax-twice.ver: New.
139 * testsuite/ld-riscv-elf/relax-twice-1.s: New.
140 * testsuite/ld-riscv-elf/relax-twice-2.s: New.
141 * testsuite/ld-riscv-elf/ld-riscv-elf.exp
142 (run_relax_twice_test): New, and call it.
143
144 2021-07-03 Nick Clifton <nickc@redhat.com>
145
146 * configure: Regenerate.
147 * po/ld.pot: Regenerate.
148
149 2021-07-03 Nick Clifton <nickc@redhat.com>
150
151 * 2.37 release branch created.
152
153 2021-06-22 Nelson Chu <nelson.chu@sifive.com>
154
155 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
156 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase.
157 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise.
158 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase.
159 Should report error since the %pcrel_lo with addend refers to
160 %got_pcrel_hi.
161 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise.
162 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase.
163 Should report error since the %got_pcrel_hi with addend.
164 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise.
165 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise.
166
167 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
168
169 PR ld/27998
170 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests.
171 * testsuite/ld-i386/pr27998a.d: New file.
172 * testsuite/ld-i386/pr27998a.s: Likewise.
173 * testsuite/ld-i386/pr27998b.d: Likewise.
174 * testsuite/ld-i386/pr27998b.s: Likewise.
175
176 2021-06-19 H.J. Lu <hongjiu.lu@intel.com>
177
178 * testsuite/ld-x86-64/textrel-1.err: New file.
179 * testsuite/ld-x86-64/textrel-1a.s: Likewise.
180 * testsuite/ld-x86-64/textrel-1b.s: Likewise.
181 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests.
182
183 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
184
185 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux
186 and mn10300.
187 Pass --generate-missing-build-notes=no to assembler. Allow
188 other note sections for xtensa.
189 * testsuite/ld-elf/property-and-2.d: Likewise.
190 * testsuite/ld-elf/property-and-3.d: Likewise.
191 * testsuite/ld-elf/property-and-4.d: Likewise.
192 * testsuite/ld-elf/property-or-1.d: Likewise.
193 * testsuite/ld-elf/property-or-2.d: Likewise.
194 * testsuite/ld-elf/property-or-3.d: Likewise.
195 * testsuite/ld-elf/property-or-4.d: Likewise.
196
197 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
198
199 * ld.texi: Move -z unique-symbol after -z undefs.
200
201 2021-06-18 H.J. Lu <hongjiu.lu@intel.com>
202
203 * testsuite/ld-elf/property-and-1.d: New file.
204 * testsuite/ld-elf/property-and-1.s: Likewise.
205 * testsuite/ld-elf/property-and-2.d: Likewise.
206 * testsuite/ld-elf/property-and-2.s: Likewise.
207 * testsuite/ld-elf/property-and-3.d: Likewise.
208 * testsuite/ld-elf/property-and-3.s: Likewise.
209 * testsuite/ld-elf/property-and-4.d: Likewise.
210 * testsuite/ld-elf/property-and-empty.s: Likewise.
211 * testsuite/ld-elf/property-or-1.d: Likewise.
212 * testsuite/ld-elf/property-or-1.s: Likewise.
213 * testsuite/ld-elf/property-or-2.d: Likewise.
214 * testsuite/ld-elf/property-or-2.s: Likewise.
215 * testsuite/ld-elf/property-or-3.d: Likewise.
216 * testsuite/ld-elf/property-or-3.s: Likewise.
217 * testsuite/ld-elf/property-or-4.d: Likewise.
218 * testsuite/ld-elf/property-or-empty.s: Likewise.
219
220 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
221
222 PR ld/27973
223 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and
224 $NOPIE_CFLAGS to protected-func-1 without PIE.
225
226 2021-06-17 H.J. Lu <hongjiu.lu@intel.com>
227
228 PR ld/27973
229 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests.
230 * testsuite/ld-x86-64/protected-func-1.h: New file.
231 * testsuite/ld-x86-64/protected-func-1a.s: Likewise.
232 * testsuite/ld-x86-64/protected-func-1b.c: Likewise.
233
234 2021-06-17 Fangrui Song <maskray@google.com>
235
236 * ldlex.h (enum option_values): Add OPTION_NO_PIE.
237 * lexsup.c (struct ld_options): Add -no-pie.
238 (parse_args): Handle -no-pie.
239 * ld.texi: Document -no-pie.
240
241 2021-06-15 Alan Modra <amodra@gmail.com>
242
243 * testsuite/ld-pie/vaddr-0.d: Update expected output.
244
245 2021-06-11 Alan Modra <amodra@gmail.com>
246
247 PR 27952
248 * ldelf.c (ldelf_after_open): Error on input PIEs too.
249
250 2021-06-09 Nick Clifton <nickc@redhat.com>
251
252 PR 27666
253 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or
254 sparc64tests for Solaris2 targets.
255
256 2021-06-03 Alan Modra <amodra@gmail.com>
257
258 PR 2589
259 * ld.texi (link-time runtime library search path): Mention
260 plugin library path. Correct order of search.
261
262 2021-05-31 Nelson Chu <nelson.chu@sifive.com>
263 Lifang Xia <lifang_xia@c-sky.com>
264
265 PR 27566
266 * emultempl/riscvelf.em (after_allocation): Call
267 riscv_set_data_segment_info to set data segment phase before relaxing.
268 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
269 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase.
270 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise.
271 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise.
272 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise.
273
274 2021-05-28 H.J. Lu <hongjiu.lu@intel.com>
275
276 PR ld/27905
277 * testsuite/ld-i386/pcrel16-2.d: xfail.
278 * testsuite/ld-x86-64/pcrel16-2.d: Likewise.
279
280 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
281
282 PR ld/27905
283 * testsuite/ld-i386/code16.d: New file.
284 * testsuite/ld-i386/code16.t: Likewise.
285 * testsuite/ld-x86-64/code16.d: Likewise.
286 * testsuite/ld-x86-64/code16.t: Likewise.
287 * testsuite/ld-i386/i386.exp: Run code16.
288 * testsuite/ld-x86-64/x86-64.exp: Likewise.
289
290 2021-05-26 H.J. Lu <hongjiu.lu@intel.com>
291
292 * testsuite/ld-x86-64/ilp32-12.d: New file.
293 * testsuite/ld-x86-64/ilp32-12.s: Likewise.
294 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12.
295
296 2021-05-14 Nelson Chu <nelson.chu@sifive.com>
297
298 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
299 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from
300 pcrel-lo-addend-2.
301 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise.
302 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase.
303 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise.
304
305 2021-05-13 Fangrui Song <maskray@google.com>
306
307 PR 27834
308 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC.
309 * lexsup.c (ld_options): Add -Bno-symbolic.
310 (parse_args): Handle -Bno-symbolic.
311 * ld.texi: Document -Bno-symbolic.
312 * NEWS: Mention -Bno-symbolic.
313 * testsuite/ld-elf/shared.exp: Add a test.
314
315 2021-05-12 Richard Earnshaw <rearnsha@arm.com>
316
317 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline):
318 Correct expected output.
319
320 2021-05-11 Roland McGrath <mcgrathr@google.com>
321
322 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific
323 address layout, so it works for e.g. --target=x86-64-elf.
324
325 2021-05-11 Nick Clifton <nickc@redhat.com>
326
327 PR 27113
328 * Makefile.am (install-data-local): Also delete libdep.dll.a if it
329 is present.
330 * Makefile.in: Regenerate.
331
332 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
333
334 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list.
335 * testsuite/ld-elf/group8b.d: Ditto.
336 * testsuite/ld-elf/group9a.d: Ditto.
337 * testsuite/ld-elf/group9b.d: Ditto.
338 * testsuite/ld-elf/pr12851.d: Ditto.
339 * testsuite/ld-elf/pr22677.d: Ditto.
340 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove
341 pru from list.
342
343 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu>
344
345 * scripttempl/pru.sc (.resource_table): Add ALIGN directive.
346 Use symbols for memory sizes.
347
348 2021-05-08 Mike Frysinger <vapier@gentoo.org>
349
350 * Makefile.am (html-local, doc/ld/index.html): New targets.
351 * Makefile.in: Regenerate.
352
353 2021-05-08 Mike Frysinger <vapier@gentoo.org>
354
355 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split.
356 * Makefile.in: Regenerate.
357
358 2021-05-07 Jan Beulich <jbeulich@suse.com>
359
360 * testsuite/ld-x86-64/rela.d: New.
361 * testsuite/ld-x86-64/x86-64.exp: Run new test.
362
363 2021-05-07 Nick Clifton <nickc@redhat.com>
364
365 * ldelfgen.c (compare_link_order): Ignore section size when
366 performing a relocateable link.
367
368 2021-05-07 Alan Modra <amodra@gmail.com>
369
370 * ldexp.c (update_definedness): Don't return false for absolute
371 symbols.
372 * ldmain.c (multiple_definition): Print "warning: " in message
373 when not a hard error.
374
375 2021-05-07 Alan Modra <amodra@gmail.com>
376
377 * testsuite/ld-elf/pr27825-1.d: Correct xfail.
378 * testsuite/ld-elf/pr27825-2.d: Likewise.
379
380 2021-05-06 Stafford Horne <shorne@gmail.com>
381
382 PR 27746
383 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking
384 along with gotha() relocations.
385 testsuite/ld-or1k/gotha1.dd: New file.
386 testsuite/ld-or1k/gotha1.s: New file.
387 testsuite/ld-or1k/gotha2.dd: New file.
388 testsuite/ld-or1k/gotha2.s: New file
389 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link
390 failure.
391
392 2021-05-06 Nick Alcock <nick.alcock@oracle.com>
393
394 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt.
395 * testsuite/lib/ld-lib.exp: Likewise.
396 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types.
397 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise.
398 * testsuite/ld-ctf/nonrepresentable.d: Likewise.
399 * testsuite/ld-ctf/array.d: Larger type section.
400 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
401 * testsuite/ld-ctf/enums.d: Likewise.
402 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types.
403 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order.
404 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
405 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission.
406
407 2021-05-05 H.J. Lu <hongjiu.lu@intel.com>
408
409 PR ld/27825
410 * testsuite/ld-elf/pr27825-1.d: New file.
411 * testsuite/ld-elf/pr27825-1a.s: Likewise.
412 * testsuite/ld-elf/pr27825-1b.s: Likewise.
413 * testsuite/ld-elf/pr27825-2.d: Likewise.
414 * testsuite/ld-elf/pr27825-2a.s: Likewise.
415 * testsuite/ld-elf/pr27825-2b.s: Likewise.
416
417 2021-05-05 Alan Modra <amodra@gmail.com>
418
419 * testsuite/ld-powerpc/empty.s: New file.
420 * testsuite/ld-powerpc/undefweak.d,
421 * testsuite/ld-powerpc/undefweak.s: New testcase.
422 * testsuite/ld-powerpc/powerpc.exp: Run it.
423
424 2021-05-03 Alan Modra <amodra@gmail.com>
425
426 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for
427 named section symbols.
428
429 2021-04-28 Nick Clifton <nickc@redhat.com>
430
431 * testsuite/ld-elf/anno-sym.s: New test source file.
432 * testsuite/ld-elf/anno-sym.d: New test driver.
433 * testsuite/ld-elf/anno-sym.l: New test error output.
434
435 2021-04-26 Jan Beulich <jbeulich@suse.com>
436
437 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d,
438 testsuite/ld-x86-64/pcrel16-2.d: New.
439 * testsuite/ld-i386/i386.exp: Run new test.
440 * testsuite/ld-x86-64/x86-64.exp: Likewise.
441
442 2021-04-23 H.J. Lu <hongjiu.lu@intel.com>
443
444 PR ld/27771
445 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link
446 to tmpdir/ldscripts only if it doesn't exist.
447
448 2021-04-22 Jan Beulich <jbeulich@suse.com>
449
450 PR ld/26659
451 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin.
452
453 2021-04-21 Nick Clifton <nickc@redhat.com>
454
455 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output
456 to allow for named section symbols.
457 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise.
458 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
459 * testsuite/ld-alpha/tlsbin.rd: Likewise.
460 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
461 * testsuite/ld-alpha/tlspic.rd: Likewise.
462 * testsuite/ld-arm/rodata-merge-map.sym: Likewise.
463 * testsuite/ld-arm/script-type.sym: Likewise.
464 * testsuite/ld-cris/libdso-2.d: Likewise.
465 * testsuite/ld-cris/pr16044.d: Likewise.
466 * testsuite/ld-elf/sec64k.exp: Likewise.
467 * testsuite/ld-ia64/tlsbin.rd: Likewise.
468 * testsuite/ld-ia64/tlspic.rd: Likewise.
469 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
470 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
471 * testsuite/ld-mmix/bspec1.d: Likewise.
472 * testsuite/ld-mmix/bspec2.d: Likewise.
473 * testsuite/ld-mmix/local1.d: Likewise.
474 * testsuite/ld-mmix/local3.d: Likewise.
475 * testsuite/ld-mmix/local5.d: Likewise.
476 * testsuite/ld-mmix/local7.d: Likewise.
477 * testsuite/ld-mmix/undef-3.d: Likewise.
478 * testsuite/ld-powerpc/tlsso.r: Likewise.
479 * testsuite/ld-powerpc/tlsso32.r: Likewise.
480 * testsuite/ld-powerpc/tlstocso.r: Likewise.
481 * testsuite/ld-s390/tlsbin.rd: Likewise.
482 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
483 * testsuite/ld-s390/tlspic.rd: Likewise.
484 * testsuite/ld-s390/tlspic_64.rd: Likewise.
485 * testsuite/ld-sparc/gotop32.rd: Likewise.
486 * testsuite/ld-sparc/gotop64.rd: Likewise.
487 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
488 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
489 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
490 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
491 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
492 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
493 * testsuite/ld-tic6x/common.d: Likewise.
494 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
495 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
496 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
497 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
498 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
499 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
500 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
501 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
502 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
503 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
504 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
505 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
506 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
507
508 2021-04-20 Clément Chigot <clement.chigot@atos.net>
509
510 PR binutils/21700
511 * testsuite/ld-powerpc/aix52.exp: Add new test.
512 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test.
513 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test.
514 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test.
515 * testsuite/ld-powerpc/aix-neg-reloc.s: New test.
516
517 2021-04-13 Nick Clifton <nickc@redhat.com>
518
519 * ld.texi (Options): Add note about the effect of --as-needed on
520 the --rpath and --rpath-link options on Linux based systems.
521
522 2021-04-13 Alan Modra <amodra@gmail.com>
523
524 PR 27722
525 * libdep_plugin.c (str2vec): Don't pass a potentially signed char
526 to isspace.
527
528 2021-04-12 Alan Modra <amodra@gmail.com>
529
530 * configure.ac (--enable-checking): Add support.
531 * config.in: Regenerate.
532 * configure: Regenerate.
533
534 2021-04-12 Alan Modra <amodra@gmail.com>
535
536 * emultempl/mipself.em (mips_create_output_section_statements):
537 Pass base type of hash table to is_elf_hash_table.
538 * ldelf.c (ldelf_after_open): Likewise.
539
540 2021-04-12 Alan Modra <amodra@gmail.com>
541
542 PR 27719
543 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that
544 the symbol hash table is the correct type before accessing
545 elf_link_hash_entry symbols.
546 * plugin.c (is_visible_from_outside): Likewise.
547 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise.
548 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
549
550 2021-04-09 Alan Modra <amodra@gmail.com>
551
552 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
553 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
554 * testsuite/ld-powerpc/notoc2.d: Likewise.
555 * testsuite/ld-powerpc/notoc3.d: Likewise.
556 * testsuite/ld-powerpc/pcrelopt.d: Likewise.
557 * testsuite/ld-powerpc/startstop.d: Likewise.
558 * testsuite/ld-powerpc/tlsget.d: Likewise.
559 * testsuite/ld-powerpc/tlsget2.d: Likewise.
560 * testsuite/ld-powerpc/tlsld.d: Likewise.
561 * testsuite/ld-powerpc/weak1.d: Likewise.
562 * testsuite/ld-powerpc/weak1so.d: Likewise.
563
564 2021-04-06 Jan Beulich <jbeulich@suse.com>
565
566 * pe-dll.c (generate_reloc): Bail immediately when .reloc is
567 being discarded. Warn when relocated entry is above .reloc.
568
569 2021-04-05 Alan Modra <amodra@gmail.com>
570
571 * configure.ac: Move initfini-array arg handling earlier. Don't
572 check for string.h, strings.h, stdlib.h, or locale.h. Do check
573 for inttypes.h, stdint.h, sys/types.h. Don't check for
574 setlocale, free, getev or strstr.
575 (AC_ISC_POSIX): Don't invoke.
576 * sysdep.h: Include string.h and stdlib.h unconditionally. Test
577 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
578 getenv fallback declarations.
579 * ld.h: Don't test HAVE_LOCALE_H.
580 * ldmain.c: Don't test HAVE_SETLOCALE.
581 * config.in: Regenerate.
582 * configure: Regenerate.
583
584 2021-04-01 Tamar Christina <tamar.christina@arm.com>
585
586 PR ld/26659
587 * testsuite/ld-pe/pe.exp: Add test.
588 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test.
589 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test.
590
591 2021-04-01 Martin Liska <mliska@suse.cz>
592
593 * ldbuildid.c (strneq): Remove strneq and use startswith.
594 (validate_build_id_style): Likewise.
595 (compute_build_id_size): Likewise.
596
597 2021-03-31 Alan Modra <amodra@gmail.com>
598
599 * sysdep.h (POISON_BFD_BOOLEAN): Define.
600 * configure.ac (elf_list_options, elf_shlib_list_options=false),
601 (elf_plt_unwind_list_options=false): Replace FALSE with false,
602 and TRUE with true.
603 * emulparams/call_nop.sh, * emulparams/cet.sh,
604 * emulparams/dynamic_undefined_weak.sh,
605 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh,
606 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
607 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh,
608 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh,
609 * emulparams/reloc_overflow.sh, * emulparams/static.sh,
610 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em,
611 * emultempl/aix.em, * emultempl/alphaelf.em,
612 * emultempl/armcoff.em, * emultempl/armelf.em,
613 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em,
614 * emultempl/cr16elf.em, * emultempl/crxelf.em,
615 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em,
616 * emultempl/hppaelf.em, * emultempl/linux.em,
617 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em,
618 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
619 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em,
620 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em,
621 * emultempl/pep.em, * emultempl/ppc32elf.em,
622 * emultempl/ppc64elf.em, * emultempl/rxelf.em,
623 * emultempl/rxlinux.em, * emultempl/scoreelf.em,
624 * emultempl/solaris2.em, * emultempl/spuelf.em,
625 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
626 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h,
627 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h,
628 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c,
629 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h,
630 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h,
631 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c,
632 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h,
633 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace
634 bfd_boolean with bool, FALSE with false, and TRUE with true.
635 * configure: Regenerate.
636
637 2021-03-31 Alan Modra <amodra@gmail.com>
638
639 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h.
640 * emultempl/nds32elf.em: Likewise.
641 * testsuite/ld-elf/mbind2b.c: Likewise.
642 * testsuite/ld-elf/pr18718.c: Likewise.
643 * testsuite/ld-elf/pr18720a.c: Likewise.
644 * testsuite/ld-elf/pr25749-1.c: Likewise.
645 * testsuite/ld-elf/pr25749-1a.c: Likewise.
646 * testsuite/ld-elf/pr25749-1b.c: Likewise.
647 * testsuite/ld-elf/pr25749-1c.c: Likewise.
648 * testsuite/ld-elf/pr25749-1d.c: Likewise.
649 * testsuite/ld-elf/pr25749-2.c: Likewise.
650 * testsuite/ld-elf/pr25754-1a.c: Likewise.
651 * testsuite/ld-elf/pr25754-2a.c: Likewise.
652 * testsuite/ld-elf/pr25754-3a.c: Likewise.
653 * testsuite/ld-elf/pr25754-4a.c: Likewise.
654 * testsuite/ld-elf/pr25754-5a.c: Likewise.
655 * testsuite/ld-elf/pr25754-6a.c: Likewise.
656
657 2021-03-29 Alan Modra <amodra@gmail.com>
658
659 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify
660 boolean expression.
661 * lexsup.c (parse_args): Likewise.
662 * pe-dll.c (pe_dll_id_target): Likewise.
663
664 2021-03-25 Nick Alcock <nick.alcock@oracle.com>
665
666 * testsuite/ld-ctf/array.d: Only check that the data object
667 section is nonempty: do not check its exact size.
668 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
669 * testsuite/ld-ctf/slice.d: Likewise.
670 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the
671 func info section too.
672 * testsuite/ld-ctf/function.d: Likewise, for the func info section.
673
674 2021-03-22 Martin Liska <mliska@suse.cz>
675
676 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith.
677 * emultempl/beos.em: Likewise.
678 * emultempl/elf.em: Likewise.
679 * emultempl/pe.em: Likewise.
680 * emultempl/pep.em: Likewise.
681 * emultempl/xtensaelf.em: Likewise.
682 * ldctor.c (ctor_prio): Likewise.
683 * ldelf.c (ldelf_try_needed): Likewise.
684 (ldelf_parse_ld_so_conf): Likewise.
685 (ldelf_after_open): Likewise.
686 (output_rel_find): Likewise.
687 (ldelf_place_orphan): Likewise.
688 * ldfile.c (ldfile_add_library_path): Likewise.
689 * ldlang.c (lang_add_input_file): Likewise.
690 * ldmain.c (get_sysroot): Likewise.
691 (get_emulation): Likewise.
692 (add_archive_element): Likewise.
693 * ldwrite.c (unsplittable_name): Likewise.
694 (clone_section): Likewise.
695 * lexsup.c (parse_args): Likewise.
696 * pe-dll.c (is_import): Likewise.
697 (pe_implied_import_dll): Likewise.
698
699 2021-03-19 H.J. Lu <hongjiu.lu@intel.com>
700
701 PR ld/27590
702 * testsuite/ld-x86-64/pr27590.rd: New file.
703 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise.
704 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise.
705 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test.
706
707 2021-03-20 Alan Modra <amodra@gmail.com>
708
709 PR 27590
710 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable
711 for all sections except .stabstr.
712
713 2021-03-19 Alan Modra <amodra@gmail.com>
714
715 PR 27590
716 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and
717 R_MIPS_NONE.
718 * testsuite/ld-elf/pr27590b.d: Likewise.
719
720 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
721
722 PR ld/27590
723 * testsuite/ld-elf/pr27590.s: New file.
724 * testsuite/ld-elf/pr27590a.d: Likewise.
725 * testsuite/ld-elf/pr27590b.d: Likewise.
726 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with
727 --reduce-memory-overheads.
728
729 2021-03-18 H.J. Lu <hongjiu.lu@intel.com>
730
731 PR ld/27587
732 * testsuite/ld-x86-64/pr27587.err: New file.
733 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise.
734 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise.
735 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test.
736
737 2021-03-18 Nick Alcock <nick.alcock@oracle.com>
738
739 * testsuite/ld-ctf/slice.c: Check slices of enums too.
740 * testsuite/ld-ctf/slice.d: Results adjusted.
741
742 2021-03-16 Nick Clifton <nickc@redhat.com>
743
744 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite
745 lname string.
746
747 2021-03-15 Jan Beulich <jbeulich@suse.com>
748
749 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size.
750
751 2021-03-12 Alan Modra <amodra@gmail.com>
752
753 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to..
754 (ALL_64_EMULATION_SOURCES): ..here.
755 * Makefile.in: Regenerate.
756
757 2021-03-12 Clément Chigot <clement.chigot@atos.net>
758
759 * emultempl/aix.em: Ensure .tdata section is removed
760 if empty, even with -r flag.
761 * scripttempl/aix.sc: Handle TLS sections.
762 * testsuite/ld-powerpc/aix52.exp: Add new tests.
763 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test.
764 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test.
765 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test.
766 * testsuite/ld-powerpc/aix-tls-reloc.s: New test.
767 * testsuite/ld-powerpc/aix-tls-section-32.d: New test.
768 * testsuite/ld-powerpc/aix-tls-section-64.d: New test.
769 * testsuite/ld-powerpc/aix-tls-section.ex: New test.
770 * testsuite/ld-powerpc/aix-tls-section.s: New test.
771
772 2021-03-12 Clément Chigot <clement.chigot@atos.net>
773
774 * scripttempl/aix.sc: Add .te to .data section.
775 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+.
776 Add aix-largetoc-1 test.
777 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test.
778 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test.
779 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test.
780 * testsuite/ld-powerpc/aix-largetoc-1.s: New test.
781
782 2021-03-12 Alan Modra <amodra@gmail.com>
783
784 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and
785 arrange to define __main for some run_dump_test tests.
786 * testsuite/ld-gc/pr13683.d: Accept more symbols.
787 * testsuite/ld-gc/pr14265.d: Likewise, and ordering.
788 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE.
789 * testsuite/ld-srec/srec.exp: Likewise.
790 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format.
791
792 2021-03-11 Nelson Chu <nelson.chu@sifive.com>
793
794 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments
795 many times if riscv_restart_relax_sections returns TRUE.
796 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before
797 applying this patch, the call won't be relaxed to jal; But now we
798 have more chances to do relaxations.
799 * testsuite/ld-riscv-elf/restart-relax.s: Likewise.
800 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
801
802 2021-03-10 Jan Beulich <jbeulich@suse.com>
803
804 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more
805 than 32 set bits.
806 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop
807 comment.
808 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack.
809
810 2021-03-09 Jan Beulich <jbeulich@suse.com>
811
812 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase
813 alignment to 4k.
814 * testsuite/ld-pe/reloc.d: xfail for mcore.
815
816 2021-03-09 Jan Beulich <jbeulich@suse.com>
817
818 * testsuite/ld-scripts/alignof.exp,
819 testsuite/ld-scripts/data.exp,
820 testsuite/ld-scripts/default-script.exp,
821 testsuite/ld-scripts/log2.exp,
822 testsuite/ld-scripts/print-memory-usage.exp,
823 testsuite/ld-scripts/sizeof.exp,
824 testsuite/ld-undefined/weak-undef.exp: Set image base to zero
825 for PE/COFF.
826 * testsuite/ld-scripts/default-script1.d,
827 testsuite/ld-scripts/default-script2.d,
828 testsuite/ld-scripts/default-script3.d,
829 testsuite/ld-scripts/default-script4.d: Drop xfail and comment.
830
831 2021-03-05 H.J. Lu <hongjiu.lu@intel.com>
832
833 PR ld/27425
834 PR ld/27432
835 * ldelf.c (ldelf_set_output_arch): New function.
836 * ldelf.h (ldelf_set_output_arch): New prototype.
837 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to
838 ldelf_set_output_arch.
839 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start.
840 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
841 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
842 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
843 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
844 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
845 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file.
846 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise.
847 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test.
848
849 2021-03-04 Jan Beulich <jbeulich@suse.com>
850
851 * testsuite/ld-scripts/map-address.exp: Set image base to zero
852 for PE/COFF.
853 * testsuite/ld-scripts/map-address.t: Place .text.
854
855 2021-03-04 Jan Beulich <jbeulich@suse.com>
856
857 * ldexp.c (ldexp_is_final_sym_absolute): New.
858 * ldexp.h (ldexp_is_final_sym_absolute): Declare.
859 * pe-dll.c (generate_reloc): Skip absolute symbols.
860 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New.
861 * testsuite/ld-pe/pe.exp: Run new test.
862
863 2021-03-03 Alan Modra <amodra@gmail.com>
864
865 PR 27500
866 * ldlang.c (insert_undefined): Don't mark symbols here.
867 (lang_mark_undefineds): Do so here instead, new function.
868 (lang_process): Call lang_mark_undefineds.
869 * testsuite/ld-gc/start3.d,
870 * testsuite/ld-gc/start3.s: New test.
871 * testsuite/ld-gc/start4.d,
872 * testsuite/ld-gc/start4.s: New test.
873 * testsuite/ld-gc/gc.exp: Run them.
874
875 2021-03-03 Alan Modra <amodra@gmail.com>
876
877 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS.
878 Move tests with ELF section directives to is_elf_format block.
879 * testsuite/ld-gc/abi-note.d: Run on more targets.
880 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails.
881 * testsuite/ld-gc/start.d: Likewise.
882 * testsuite/ld-gc/start2.d: Likewise.
883 * testsuite/ld-gc/stop.d: Likewise.
884 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets.
885 * testsuite/ld-gc/start.s: Likewise.
886 * testsuite/ld-gc/start2.s: Likewise.
887
888 2021-03-02 Nick Alcock <nick.alcock@oracle.com>
889
890 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings.
891
892 2021-03-02 Alan Modra <amodra@gmail.com>
893
894 * testsuite/ld-powerpc/startstop.d,
895 * testsuite/ld-powerpc/startstop.r,
896 * testsuite/ld-powerpc/startstop.s: New test.
897 * testsuite/ld-powerpc/powerpc.exp: Run it.
898
899 2021-03-02 Alan Modra <amodra@gmail.com>
900
901 * testsuite/ld-powerpc/weak1.d,
902 * testsuite/ld-powerpc/weak1.r,
903 * testsuite/ld-powerpc/weak1.s,
904 * testsuite/ld-powerpc/weak1so.d,
905 * testsuite/ld-powerpc/weak1so.r: New tests.
906 * testsuite/ld-powerpc/powerpc.exp: Run them.
907
908 2021-03-01 Hannes Domani <ssbssa@sourceware.org>
909 Nick Clifton <nickc@redhat.com>
910
911 PR 27268
912 * scripttempl/pe.sc: Add DWARF-5 section names.
913 * scripttempl/pep.sc: Likewise.
914
915 2021-03-01 Alan Modra <amodra@gmail.com>
916 Fangrui Song <maskray@google.com>
917
918 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc.
919 * lexsup.c (elf_static_list_options): Display help for them. Move
920 help for -z stack-size to here from elf_shlib_list_options. Add
921 help for -z start-stop-visibility and -z undefs.
922 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc.
923 * NEWS: Mention -z start-stop-gc.
924 * testsuite/ld-gc/start2.s,
925 * testsuite/ld-gc/start2.d: New test.
926 * testsuite/ld-gc/gc.exp: Run it.
927
928 2021-03-01 Alan Modra <amodra@gmail.com>
929
930 * ldlang.c (undef_start_stop): For ELF make undefined start/stop
931 symbols undefweak if that was how they were referenced. Undo
932 dynamic state too.
933
934 2021-03-01 Alan Modra <amodra@gmail.com>
935
936 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm.
937 * testsuite/ld-elf/pr27128a.d: Likewise.
938 * testsuite/ld-elf/pr27128b.d: Likewise.
939 * testsuite/ld-elf/pr27128c.d: Likewise.
940 * testsuite/ld-elf/pr27128d.d: Likewise.
941 * testsuite/ld-elf/pr27128e.d: Likewise.
942
943 2021-02-26 Alan Modra <amodra@gmail.com>
944
945 PR 27441
946 * testsuite/ld-plugin/pr27441a.c,
947 * testsuite/ld-plugin/pr27441b.c,
948 * testsuite/ld-plugin/pr27441c.c,
949 * testsuite/ld-plugin/pr27441c.d: New test.
950 * testsuite/ld-plugin/lto.exp: Run it.
951
952 2021-02-25 Jan Beulich <jbeulich@suse.com>
953
954 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic".
955
956 2021-02-21 Alan Modra <amodra@gmail.com>
957
958 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol
959 defined in an object file.
960 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition.
961 * testsuite/ld-scripts/defined5.d: Expect a warning.
962
963 2021-02-19 Alan Modra <amodra@gmail.com>
964
965 * testsuite/lib/ld-lib.exp: Whitespace.
966 (load_common_lib): Expand single use and delete this proc.
967 (run_host_cmd): Use -fno-lto when getting gcc's ld version.
968 Use -B for clang too.
969
970 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com>
971
972 * testplugin.c (record_read_length): Remove debug fprintf.
973
974 2021-02-14 Alan Modra <amodra@gmail.com>
975
976 * testsuite/ld-cdtest/cdtest.exp,
977 * testsuite/ld-checks/checks.exp,
978 * testsuite/ld-elf/binutils.exp,
979 * testsuite/ld-elf/compress.exp,
980 * testsuite/ld-elf/dwarf.exp,
981 * testsuite/ld-elf/exclude.exp,
982 * testsuite/ld-elf/frame.exp,
983 * testsuite/ld-elf/indirect.exp,
984 * testsuite/ld-elf/linux-x86.exp,
985 * testsuite/ld-elf/sec-to-seg.exp,
986 * testsuite/ld-elf/tls_common.exp,
987 * testsuite/ld-elfcomm/elfcomm.exp,
988 * testsuite/ld-elfvers/vers.exp,
989 * testsuite/ld-elfvsb/elfvsb.exp,
990 * testsuite/ld-elfweak/elfweak.exp,
991 * testsuite/ld-ifunc/binutils.exp,
992 * testsuite/ld-mips-elf/mips-elf-flags.exp,
993 * testsuite/ld-misc/defsym.exp,
994 * testsuite/ld-mn10300/mn10300.exp,
995 * testsuite/ld-plugin/lto.exp,
996 * testsuite/ld-plugin/plugin.exp,
997 * testsuite/ld-scripts/align.exp,
998 * testsuite/ld-scripts/assert.exp,
999 * testsuite/ld-scripts/crossref.exp,
1000 * testsuite/ld-scripts/defined.exp,
1001 * testsuite/ld-scripts/extern.exp,
1002 * testsuite/ld-scripts/log2.exp,
1003 * testsuite/ld-scripts/map-address.exp,
1004 * testsuite/ld-scripts/phdrs.exp,
1005 * testsuite/ld-scripts/phdrs2.exp,
1006 * testsuite/ld-scripts/script.exp,
1007 * testsuite/ld-scripts/section-flags.exp,
1008 * testsuite/ld-scripts/sizeof.exp,
1009 * testsuite/ld-scripts/weak.exp,
1010 * testsuite/ld-selective/selective.exp,
1011 * testsuite/ld-sh/sh.exp,
1012 * testsuite/ld-shared/shared.exp,
1013 * testsuite/ld-srec/srec.exp,
1014 * testsuite/ld-tic6x/tic6x.exp,
1015 * testsuite/ld-undefined/undefined.exp,
1016 * testsuite/ld-undefined/weak-undef.exp,
1017 * testsuite/lib/ld-lib.exp: Don't use unresolved except after
1018 perror. Instead report "unsupported" or "fail".
1019
1020 2021-02-12 Nick Clifton <nickc@redhat.com>
1021
1022 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically
1023 following debug links.
1024
1025 2021-02-11 Alan Modra <amodra@gmail.com>
1026
1027 * NEWS: Mention arm-symbianelf removal.
1028
1029 2021-02-09 Alan Modra <amodra@gmail.com>
1030
1031 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c.
1032 Don't include symbian dep file.
1033 * configure.tgt: Remove arm*-*-symbianelf* entry.
1034 * emulparams/armsymbian.sh: Delete.
1035 * ld.texi: Don't mention symbian.
1036 * scripttempl/armbpabi.sc: Delete.
1037 * testsuite/ld-arm/symbian-seg1.d: Delete.
1038 * testsuite/ld-arm/symbian-seg1.s: Delete.
1039 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1.
1040 * Makefile.in: Regenerate.
1041 * po/BLD-POTFILES.in: Regenerate.
1042
1043 2021-02-07 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 PR ld/27358
1046 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time
1047 tests.
1048 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1049
1050 2021-01-26 Nick Alcock <nick.alcock@oracle.com>
1051
1052 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS
1053 when appropriate.
1054
1055 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1056
1057 PR ld/19609
1058 * testsuite/ld-x86-64/pr19609-2a.d: Updated.
1059 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1060 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1061 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1062 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1063 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1064 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1065
1066 2021-02-04 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 PR ld/15146
1069 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests.
1070 * testsuite/ld-plugin/pr15146.d: Restored.
1071 * testsuite/ld-plugin/pr15146a.c: Likewise.
1072 * testsuite/ld-plugin/pr15146b.c: Likewise.
1073 * testsuite/ld-plugin/pr15146c.c: Likewise.
1074 * testsuite/ld-plugin/pr15146d.c: Likewise.
1075
1076 2021-02-04 Alan Modra <amodra@gmail.com>
1077
1078 * testsuite/ld-plugin/pr27311d.c: New test.
1079 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile
1080 and link new test as pr27311-2.
1081
1082 2021-02-03 Alan Modra <amodra@gmail.com>
1083
1084 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so):
1085 Link with --as-needed.
1086
1087 2021-02-02 Alan Modra <amodra@gmail.com>
1088
1089 * testsuite/ld-plugin/pr27311.d,
1090 * testsuite/ld-plugin/pr27311.ver,
1091 * testsuite/ld-plugin/pr27311a.c,
1092 * testsuite/ld-plugin/pr27311b.c,
1093 * testsuite/ld-plugin/pr27311c.c: New testcase.
1094 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and
1095 PR12982 entries.
1096
1097 2021-02-01 Emery Hemingway <ehmry@posteo.net>
1098
1099 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
1100
1101 2021-02-01 Alan Modra <amodra@gmail.com>
1102
1103 * ldgram.y (defsym_expr): Use assignment rule.
1104 * ldlex.h (ldlex_defsym): Delete.
1105 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete.
1106
1107 2021-02-01 Alan Modra <amodra@gmail.com>
1108
1109 * ldgram.y (section): Call ldlex_backup. Remove empty action.
1110 * ldlex.h (ldlex_backup): Declare.
1111 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of
1112 chars, use SYMBOLNAMECHAR.
1113 (ldlex_backup): New function.
1114
1115 2021-02-01 Alan Modra <amodra@gmail.com>
1116
1117 * ldgram.y: Whitespace fixes.
1118
1119 2021-02-01 Alan Modra <amodra@gmail.com>
1120
1121 * testsuite/ld-elf/pr27259.d: Correct sh_link match.
1122
1123 2021-01-29 Alan Modra <amodra@gmail.com>
1124
1125 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test.
1126
1127 2021-01-28 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 PR ld/27259
1130 * testsuite/ld-elf/pr27259.d: New file.
1131 * testsuite/ld-elf/pr27259.s: Likewise.
1132
1133 2021-01-28 Alan Modra <amodra@gmail.com>
1134
1135 PR 27259
1136 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to
1137 prevent endless looping of linked-to sections.
1138
1139 2021-01-26 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo.
1142
1143 2021-01-26 Alan Modra <amodra@gmail.com>
1144
1145 PR 27226
1146 * emulparams/alphavms.sh: Don't set COMPILE_IN.
1147 * emulparams/elf64_ia64_vms.sh: Likewise.
1148 * emulparams/elf64mmix.sh: Likewise.
1149 * emulparams/elf_iamcu.sh: Likewise.
1150 * emulparams/elf_k1om.sh: Likewise.
1151 * emulparams/elf_l1om.sh: Likewise.
1152 * emulparams/mmo.sh: Likewise.
1153 * emulparams/pdp11.sh: Set DATA_SEG_ADDR.
1154 * scripttempl/pdp11.sc: Use it.
1155 * emultempl/pdp11.em: Don't edit .xn script for separate_code,
1156 instead use .xe script. Support scripts from file system.
1157 * emultempl/beos.em: Support scripts from file system.
1158 * emultempl/pe.em: Likewise.
1159 * emultempl/pep.em: Likewise.
1160 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link.
1161
1162 2021-01-25 Fangrui Song <maskray@google.com>
1163
1164 PR ld/27230
1165 * scripttempl/DWARF.sc: Add .debug_* sections.
1166
1167 2021-01-25 Nick Clifton <nickc@redhat.com>
1168
1169 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists,
1170 .debug_line_str and .debug_str_offsets. Move .debug_macro and
1171 .debug_addr into DWARF-5 section.
1172
1173 2021-01-21 Alan Modra <amodra@gmail.com>
1174
1175 * testsuite/ld-elf/pr26936.d: No longer xfail mips.
1176
1177 2021-01-20 Alan Modra <amodra@gmail.com>
1178
1179 * testsuite/ld-powerpc/relbrlt.s: Make symbols global.
1180 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit.
1181 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs.
1182 * testsuite/ld-powerpc/tlsget.wf: Likewise.
1183 * testsuite/ld-powerpc/tlsget2.d: Likewise.
1184 * testsuite/ld-powerpc/tlsget2.wf: Likewise.
1185 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms.
1186 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
1187 * testsuite/ld-powerpc/tlsexe32no.r: Likewise.
1188 * testsuite/ld-powerpc/tlsexeno.r: Likewise.
1189 * testsuite/ld-powerpc/tlsexenors.r: Likewise.
1190 * testsuite/ld-powerpc/tlsexers.r: Likewise.
1191 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
1192 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise.
1193 * testsuite/ld-powerpc/tlsso.r: Likewise.
1194 * testsuite/ld-powerpc/tlsso32.r: Likewise.
1195 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1196
1197 2021-01-19 Nick Alcock <nick.alcock@oracle.com>
1198
1199 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t
1200 symbols by the optimizer.
1201 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly.
1202
1203 2021-01-19 Nelson Chu <nelson.chu@sifive.com>
1204
1205 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true
1206 if target is riscv little endian. Otherwise, return false.
1207 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian
1208 targets by [riscv_little_endian].
1209
1210 2021-01-18 Alan Modra <amodra@gmail.com>
1211
1212 PR 26378
1213 * ldlang.c (map_input_to_output_sections): Start with a read-only
1214 section for data statements.
1215 * testsuite/ld-elf/size-2.d: Adjust to suit.
1216
1217 2021-01-17 H.J. Lu <hongjiu.lu@intel.com>
1218
1219 PR ld/27193
1220 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test.
1221 * testsuite/ld-i386/pr27193.dd: New file.
1222 * testsuite/ld-i386/pr27193a.o.bz2: Likewise.
1223 * testsuite/ld-i386/pr27193b.s: Likewise.
1224
1225 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1226
1227 PR binutils/23460
1228 * testsuite/ld-plugin/lto.exp: Increase the max number of open
1229 files to 20 for PR binutils/23460 test.
1230
1231 2021-01-16 H.J. Lu <hongjiu.lu@intel.com>
1232
1233 PR ld/23169
1234 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with
1235 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests.
1236 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function
1237 address.
1238
1239 2021-01-15 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 * NEWS: Mention -z report-relative-reloc.
1242 * ld.texi: Document -z report-relative-reloc.
1243 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh.
1244 * emulparams/elf_i386.sh: Likewse.
1245 * emulparams/elf_x86_64.sh: Likewse.
1246 * emulparams/x86-report-relative.sh: New file.
1247 * testsuite/ld-i386/report-reloc-1.d: Likewse.
1248 * testsuite/ld-i386/report-reloc-1.l: Likewse.
1249 * testsuite/ld-i386/report-reloc-1.s: Likewse.
1250 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse.
1251 * testsuite/ld-x86-64/report-reloc-1.d: Likewse.
1252 * testsuite/ld-x86-64/report-reloc-1.l: Likewse.
1253 * testsuite/ld-x86-64/report-reloc-1.s: Likewse.
1254 * testsuite/ld-i386/i386.exp: Run report-reloc-1.
1255 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and
1256 report-reloc-1-x32.
1257
1258 2021-01-16 Alan Modra <amodra@gmail.com>
1259
1260 PR 26002
1261 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined
1262 unversioned symbols.
1263 * testsuite/ld-elfvers/vers16.dsym: Likewise.
1264
1265 2021-01-15 Nelson Chu <nelson.chu@sifive.com>
1266
1267 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated.
1268 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
1269 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
1270 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
1271 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
1272 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
1273
1274 2021-01-14 Nick Clifton <nickc@redhat.com>
1275
1276 * po/fr.po: Updated French translation.
1277
1278 2021-01-14 Mike Frysinger <vapier@gentoo.org>
1279
1280 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim.
1281
1282 2021-01-14 Alan Modra <amodra@gmail.com>
1283
1284 PR 27160
1285 * ldelfgen.c (compare_link_order): Protect access of ELF section
1286 data.
1287 (add_link_order_input_section): Remove redundant NULL check.
1288 Use bfd_get_flavour.
1289 (ldelf_map_segments): Use bfd_get_flavour.
1290
1291 2021-01-13 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 * ldelfgen.c (add_link_order_input_section): Check for ELF input
1294 before accessing ELF section data.
1295
1296 2021-01-13 Alan Modra <amodra@gmail.com>
1297
1298 * Makefile.in: Regenerate.
1299
1300 2021-01-13 Alan Modra <amodra@gmail.com>
1301
1302 PR 27160
1303 * ldlang.h (lang_output_section_statement_type): Add data field.
1304 (lang_input_section_type, lang_section_bst_type): Add pattern field.
1305 (statement_list): Declare.
1306 (lang_add_section): Adjust prototype.
1307 * emultempl/aarch64elf.em: Adjust lang_add_section calls.
1308 * emultempl/armelf.em: Likewise.
1309 * emultempl/beos.em: Likewise.
1310 * emultempl/cskyelf.em: Likewise.
1311 * emultempl/hppaelf.em: Likewise.
1312 * emultempl/m68hc1xelf.em: Likewise.
1313 * emultempl/metagelf.em: Likewise.
1314 * emultempl/mipself.em: Likewise.
1315 * emultempl/mmo.em: Likewise.
1316 * emultempl/msp430.em: Likewise.
1317 * emultempl/nios2elf.em: Likewise.
1318 * emultempl/pe.em: Likewise.
1319 * emultempl/pep.em: Likewise.
1320 * emultempl/ppc64elf.em: Likewise.
1321 * emultempl/spuelf.em: Likewise.
1322 * emultempl/vms.em: Likewise.
1323 * ldelf.c: Likewise.
1324 * ldelfgen.c: Include ldctor.h.
1325 (struct os_sections): New.
1326 (add_link_order_input_section, link_order_scan): New functions.
1327 (compare_link_order, fixup_link_order): New functions.
1328 (ldelf_map_segments): Call link_order_scan and fixup_link_order.
1329 * ldlang.c (statement_list): Make global.
1330 (output_section_callback_fast): Save pattern in tree node.
1331 (lang_add_section): Add pattern parameter, save in lang_input_section.
1332 (output_section_callback_tree_to_list): Adjust lang_add_section calls.
1333 (lang_insert_orphan, output_section_callback): Likewise.
1334 (ldlang_place_orphan): Likewise.
1335 (gc_section_callback): Don't set section->pattern.
1336 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic.
1337 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1338 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate.
1339
1340 2021-01-13 Alan Modra <amodra@gmail.com>
1341
1342 * ldlang.h (callback_t): Remove flag_info function parameter.
1343 * ldlang.c (walk_wild_consider_section): Adjust to suit.
1344 (walk_wild_section_general): Likewise.
1345 (output_section_callback_fast, output_section_callback): Likewise.
1346 (check_section_callback, gc_section_callback): Likewise.
1347 (find_relro_section_callback): Likewise.
1348
1349 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1350
1351 PR binutils/26792
1352 * configure.ac: Use GNU_MAKE_JOBSERVER.
1353 * aclocal.m4: Regenerated.
1354 * configure: Likewise.
1355
1356 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 PR ld/27171
1359 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file.
1360 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise.
1361 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise.
1362 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test.
1363
1364 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
1365
1366 PR ld/27173
1367 * configure: Regenerated.
1368
1369 2021-01-11 Matt Jenkins <matt@majenko.co.uk>
1370
1371 PR ld/27167
1372 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3
1373 and mips64r5 to list of known mips targets.
1374
1375 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk
1376
1377 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1378 ` * po/uk.po: Updated Ukranian translation.
1379
1380 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1381
1382 * configure: Regenerated.
1383
1384 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 PR ld/27166
1387 * testsuite/ld-x86-64/lam-u48.rd: New file.
1388 * testsuite/ld-x86-64/lam-u57.rd: Likewise.
1389 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests.
1390
1391 2021-01-09 Nick Clifton <nickc@redhat.com>
1392
1393 * configure: Regenerate.
1394 * po/ld.pot: Regenerate.
1395
1396 2021-01-09 Nick Clifton <nickc@redhat.com>
1397
1398 * 2.36 release branch crated.
1399
1400 2021-01-08 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * ld-x86-64/property-x86-lam-u48-4.d: Updated.
1403 * ld-x86-64/property-x86-lam-u48-5.d: Likewise.
1404
1405 2021-01-09 Alan Modra <amodra@gmail.com>
1406
1407 * configure: Regenerate.
1408 * Makefile.in: Regenerate.
1409
1410 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
1411
1412 * configure: Regenerate.
1413
1414 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 PR 27109
1417 * testsuite/ld-elf/export-class.sd: Adjust the expected output.
1418 * testsuite/ld-elf/loadaddr3b.d: Likewise.
1419 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
1420 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1421 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1422 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1423 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1424 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1425 * testsuite/ld-i386/pr19636-1l.d: Likewise.
1426 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1427 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1428 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1429 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
1430 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1431 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1432 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1433 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1434 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1435 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1436 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1437 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
1438 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1439 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1440 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1441 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1442 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1443 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1444 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1445 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1446 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1447 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1448 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1449 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1450 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1451 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1452 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1453 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1454 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1455 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1456 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1457 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1458 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1459 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1460 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1461 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1462 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1463 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1464 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1465 * testsuite/ld-x86-64/pr23854.d: Likewise.
1466 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1467 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1468 * testsuite/ld-i386/plt-pic.pd: Likewise.
1469 * testsuite/ld-i386/plt-pic2.dd: Likewise.
1470 * testsuite/ld-i386/plt.pd: Likewise.
1471 * testsuite/ld-i386/plt2.dd: Likewise.
1472 * testsuite/ld-i386/tlsbin.rd: Likewise.
1473 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1474 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1475 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1476 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1477 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1478 * testsuite/ld-i386/tlspic.rd: Likewise.
1479 * testsuite/ld-i386/tlspic2.rd: Likewise.
1480 * testsuite/ld-x86-64/mpx3.dd: Likewise.
1481 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
1482 * testsuite/ld-x86-64/mpx4.dd: Likewise.
1483 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
1484 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise.
1485 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise.
1486 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise.
1487 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise.
1488 * testsuite/ld-x86-64/plt.pd: Likewise.
1489 * testsuite/ld-x86-64/plt2.dd: Likewise.
1490 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1491 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1492 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1493 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1494 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1495 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1496 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1497 * testsuite/ld-elf/sec64k.exp: Check
1498 is_elf_unused_section_symbols.
1499
1500 2021-01-07 Alan Modra <amodra@gmail.com>
1501
1502 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail.
1503 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe.
1504 * testsuite/ld-scripts/segment-start.d: Likewise.
1505
1506 2021-01-07 Alan Modra <amodra@gmail.com>
1507
1508 * testsuite/ld-elf/comm-data5.d: xfail targets that complain
1509 about dynamic relocations in read-only sections.
1510 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
1511 * testsuite/ld-elf/ehdr_start.d: Likewise.
1512 * testsuite/ld-scripts/pr22267.d: Likewise.
1513 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and
1514 pr20995 text.
1515 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux.
1516
1517 2021-01-07 Marcus Comstedt <marcus@mc.pp.se>
1518
1519 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*.
1520 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1521
1522 2021-01-07 Alan Modra <amodra@gmail.com>
1523
1524 * po/BLD-POTFILES.in: Regenerate.
1525
1526 2021-01-07 Alan Modra <amodra@gmail.com>
1527
1528 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that
1529 complain about relocs in read-only sections. Tidy ASFLAGS append.
1530
1531 2021-01-06 Alan Modra <amodra@gmail.com>
1532
1533 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment
1534 base for some tests.
1535 * testsuite/ld-sparc/gotop32.dd: Match solaris output.
1536 * testsuite/ld-sparc/gotop32.sd: Likewise.
1537 * testsuite/ld-sparc/gotop32.td: Likewise.
1538 * testsuite/ld-sparc/gotop64.dd: Likewise.
1539 * testsuite/ld-sparc/gotop64.sd: Likewise.
1540 * testsuite/ld-sparc/gotop64.td: Likewise.
1541 * testsuite/ld-sparc/tlsg32.sd: Likewise.
1542 * testsuite/ld-sparc/tlsg64.sd: Likewise.
1543 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1544 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1545 * testsuite/ld-sparc/tlssunbin32.dd: Likewise.
1546 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1547 * testsuite/ld-sparc/tlssunbin32.td: Likewise.
1548 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1549 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1550 * testsuite/ld-sparc/tlssunbin64.td: Likewise.
1551 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise.
1552 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise.
1553 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1554 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise.
1555 * testsuite/ld-sparc/tlssunpic32.dd: Likewise.
1556 * testsuite/ld-sparc/tlssunpic32.sd: Likewise.
1557 * testsuite/ld-sparc/tlssunpic32.td: Likewise.
1558 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1559 * testsuite/ld-sparc/tlssunpic64.sd: Likewise.
1560 * testsuite/ld-sparc/tlssunpic64.td: Likewise.
1561 * testsuite/ld-sparc/wdispcall.dd: Likewise.
1562
1563 2021-01-06 Alan Modra <amodra@gmail.com>
1564
1565 * testsuite/ld-scripts/rgn-at10.d: xfail v850.
1566 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1567
1568 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1569
1570 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added
1571 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script.
1572 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call
1573 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv.
1574 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1575 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1576 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1577 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise.
1578 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise.
1579 * testsuite/ld-riscv-elf/c-lui.d: Likewise.
1580 * testsuite/ld-riscv-elf/call-relax.d: Likewise.
1581 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise.
1582 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise.
1583 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition
1584 to littleriscv.
1585 * testsuite/ld-riscv-elf/weakref64.d: Likewise.
1586
1587 2021-01-06 Marcus Comstedt <marcus@mc.pp.se>
1588
1589 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*,
1590 riscv32be*-*-linux*, and riscv64be*-*-linux*.
1591 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and
1592 eelf32briscv_ilp32.c.
1593 * Makefile.in: Regenerate.
1594 * emulparams/elf32briscv.sh: Added.
1595 * emulparams/elf32briscv_ilp32.sh: Likewise.
1596 * emulparams/elf32briscv_ilp32f.sh: Likewise.
1597 * emulparams/elf64briscv.sh: Likewise.
1598 * emulparams/elf64briscv_lp64.sh: Likewise.
1599 * emulparams/elf64briscv_lp64f.sh: Likewise.
1600
1601 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1602
1603 * testsuite/ld-ctf/enum-forward.c: New test.
1604 * testsuite/ld-ctf/enum-forward.c: New results.
1605
1606 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1607
1608 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1609 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1610 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1611 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1612 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1613 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1614 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1615 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1616 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1617 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1618 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1619 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1620 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1621 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1622 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1623 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1624 * testsuite/ld-ctf/cycle-1.d: Likewise.
1625 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1626 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1627 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1628 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1629 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1630 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1631 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1632 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1633 * testsuite/ld-ctf/forward.d: Likewise.
1634 * testsuite/ld-ctf/function.d: Likewise.
1635 * testsuite/ld-ctf/slice.d: Likewise.
1636 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1637 * testsuite/ld-ctf/enums.c: New test.
1638 * testsuite/ld-ctf/enums.d: New test.
1639
1640 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1641
1642 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper
1643 changes.
1644 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1645 * testsuite/ld-ctf/forward.c: New test...
1646 * testsuite/ld-ctf/forward.d: ... and results.
1647
1648 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1649
1650 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1651 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1652 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1653 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1654 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1655 * testsuite/ld-ctf/function.d: Likewise.
1656 * testsuite/ld-ctf/slice.d: Likewise.
1657
1658 2021-01-05 Nick Alcock <nick.alcock@oracle.com>
1659
1660 * testsuite/ld-ctf/array.d: Adjust for dumper changes.
1661 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise.
1662 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise.
1663 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise.
1664 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise.
1665 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise.
1666 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise.
1667 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise.
1668 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise.
1669 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise.
1670 * testsuite/ld-ctf/conflicting-enums.d: Likewise.
1671 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise.
1672 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise.
1673 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise.
1674 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise.
1675 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise.
1676 * testsuite/ld-ctf/cycle-1.d: Likewise.
1677 * testsuite/ld-ctf/cycle-2.A.d: Likewise.
1678 * testsuite/ld-ctf/cycle-2.B.d: Likewise.
1679 * testsuite/ld-ctf/cycle-2.C.d: Likewise.
1680 * testsuite/ld-ctf/data-func-conflicted.d: Likewise.
1681 * testsuite/ld-ctf/diag-cttname-null.d: Likewise.
1682 * testsuite/ld-ctf/diag-cuname.d: Likewise.
1683 * testsuite/ld-ctf/diag-parlabel.d: Likewise.
1684 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise.
1685 * testsuite/ld-ctf/function.d: Likewise.
1686 * testsuite/ld-ctf/slice.d: Likewise.
1687 * testsuite/ld-ctf/super-sub-cycles.d: Likewise.
1688
1689 2021-01-05 Alan Modra <amodra@gmail.com>
1690
1691 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets.
1692
1693 2021-01-05 Alan Modra <amodra@gmail.com>
1694
1695 PR ld/26256
1696 * testsuite/ld-elf/pr26256-1b.d: xfail s12z.
1697 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64.
1698
1699 2021-01-04 H.J. Lu <hongjiu.lu@intel.com>
1700
1701 PR ld/26256
1702 * ldlang.c (gc_section_callback): Set pattern.
1703 * testsuite/ld-elf/pr26256-1.s: New file.
1704 * testsuite/ld-elf/pr26256-1.t: Likewise.
1705 * testsuite/ld-elf/pr26256-1a.d: Likewise.
1706 * testsuite/ld-elf/pr26256-1b.d: Likewise.
1707 * testsuite/ld-elf/pr26256-2.s: Likewise.
1708 * testsuite/ld-elf/pr26256-2.t: Likewise.
1709 * testsuite/ld-elf/pr26256-2a.d: Likewise.
1710 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise.
1711 * testsuite/ld-elf/pr26256-2b.d: Likewise.
1712 * testsuite/ld-elf/pr26256-3.s: Likewise.
1713 * testsuite/ld-elf/pr26256-3a.d: Likewise.
1714 * testsuite/ld-elf/pr26256-3a.t: Likewise.
1715 * testsuite/ld-elf/pr26256-3b.d: Likewise.
1716 * testsuite/ld-elf/pr26256-3b.t: Likewise.
1717
1718 2021-01-04 Alan Modra <amodra@gmail.com>
1719
1720 PR 26822
1721 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match.
1722 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise.
1723 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise.
1724 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise.
1725 * testsuite/ld-i386/tlsbin.rd: Likewise.
1726 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1727 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1728 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1729 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1730 * testsuite/ld-i386/tlspic.rd: Likewise.
1731 * testsuite/ld-i386/tlspic2.rd: Likewise.
1732 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise.
1733 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise.
1734 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise.
1735 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise.
1736 * testsuite/ld-plugin/pr17973.d: Likewise.
1737 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1738 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1739 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1740 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1741 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1742 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1743 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1744 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1745 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1746 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1747 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1748 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1749 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1750 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1751 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1752 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1753 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1754 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1755 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1756 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1757 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1758
1759 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
1760
1761 * configure.tgt: Correct comment grammar.
1762 * emultempl/m68hc1xelf.em: Likewise.
1763 * ld.texi: Correct grammar.
1764
1765 2021-01-01 Alan Modra <amodra@gmail.com>
1766
1767 Update year range in copyright notice of all files.
1768
1769 For older changes see ChangeLog-2020
1770 \f
1771 Copyright (C) 2021-2022 Free Software Foundation, Inc.
1772
1773 Copying and distribution of this file, with or without modification,
1774 are permitted in any medium without royalty provided the copyright
1775 notice and this notice are preserved.
1776
1777 Local Variables:
1778 mode: change-log
1779 left-margin: 8
1780 fill-column: 74
1781 version-control: never
1782 End: