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