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