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