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