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