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