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