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