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