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