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