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