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