Add missing ChangeLog entries for
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2019-07-22 Martin Liska <mliska@suse.cz>
2
3 * testsuite/ld-plugin/lto-3r.d: Remove.
4 * testsuite/ld-plugin/lto-5r.d: Remove.
5 * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r
6 tests.
7
8 2019-07-23 Alan Modra <amodra@gmail.com>
9
10 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition
11 SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind.
12
13 2019-07-23 Alan Modra <amodra@gmail.com>
14
15 * testsuite/ld-elf/size-1.d,
16 * testsuite/ld-elf/size-1.s,
17 * testsuite/ld-elf/size-1.t: New test.
18 * testsuite/ld-elf/size-2.d,
19 * testsuite/ld-elf/size-2.s,
20 * testsuite/ld-elf/size-2.t: New test.
21 * testsuite/ld-scripts/size-1.d,
22 * testsuite/ld-scripts/size-1.s,
23 * testsuite/ld-scripts/size-1.t,
24 * testsuite/ld-scripts/size-2.s,
25 * testsuite/ld-scripts/size-2.d,
26 * testsuite/ld-scripts/size-2.t,
27 * testsuite/ld-scripts/size.exp: Delete.
28
29 2019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
30
31 * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
32 allow for output from a arm-none-linux-gnueabihf target.
33
34 2019-07-20 Alan Modra <amodra@gmail.com>
35
36 PR 24827
37 * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
38
39 2019-07-19 Alan Modra <amodra@gmail.com>
40
41 * testsuite/ld-powerpc/tlsgd.d,
42 * testsuite/ld-powerpc/tlsgd.s,
43 * testsuite/ld-powerpc/tlsie.d,
44 * testsuite/ld-powerpc/tlsie.s,
45 * testsuite/ld-powerpc/tlsld.d,
46 * testsuite/ld-powerpc/tlsld.s: New tests.
47 * testsuite/ld-powerpc/powerpc.exp: Run them.
48
49 2019-07-19 Alan Modra <amodra@gmail.com>
50
51 * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
52 * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
53 * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
54 * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
55 * testsuite/ld-powerpc/powerpc.exp: Update.
56
57 2019-07-19 Alan Modra <amodra@gmail.com>
58
59 PR 24819
60 * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
61
62 2019-07-18 H.J. Lu <hongjiu.lu@intel.com>
63
64 PR ld/24819
65 * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
66 member of output section group when doing a relocatable link.
67 * testsuite/ld-elf/pr24819.d: New file.
68 * testsuite/ld-elf/pr24819.s: Likewise.
69
70 2019-07-13 Alan Modra <amodra@gmail.com>
71
72 * testsuite/ld-powerpc/tlsso.r: Update.
73 * testsuite/ld-powerpc/tlsso32.g: Update.
74 * testsuite/ld-powerpc/tlsso32.r: Update.
75 * testsuite/ld-powerpc/tlstocso.r: Update.
76 * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
77 * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
78 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
79 * testsuite/ld-cris/tls-gd-1.d: Update.
80 * testsuite/ld-cris/tls-gd-1h.d: Update.
81 * testsuite/ld-cris/tls-gd-2.d: Update.
82 * testsuite/ld-cris/tls-gd-2h.d: Update.
83 * testsuite/ld-cris/tls-ie-10.d: Update.
84 * testsuite/ld-cris/tls-ie-11.d: Update.
85 * testsuite/ld-cris/tls-ie-8.d: Update.
86 * testsuite/ld-cris/tls-ie-9.d: Update.
87 * testsuite/ld-cris/tls-js1.d: Update.
88 * testsuite/ld-cris/tls-ld-4.d: Update.
89 * testsuite/ld-cris/tls-ld-5.d: Update.
90 * testsuite/ld-cris/tls-ld-6.d: Update.
91 * testsuite/ld-cris/tls-ld-7.d: Update.
92 * testsuite/ld-cris/tls-ldgd-14.d: Update.
93 * testsuite/ld-cris/tls-ldgd-15.d: Update.
94 * testsuite/ld-cris/tls-ldgdx-14.d: Update.
95 * testsuite/ld-cris/tls-ldgdx-15.d: Update.
96 * testsuite/ld-cris/tls-local-54.d: Update.
97 * testsuite/ld-cris/tls-local-60.d: Update.
98 * testsuite/ld-cris/tls-local-61.d: Update.
99 * testsuite/ld-cris/tls-local-63.d: Update.
100 * testsuite/ld-cris/tls-local-64.d: Update.
101 * testsuite/ld-cris/tls-ok-30.d: Update.
102 * testsuite/ld-cris/tls-ok-32.d: Update.
103 * testsuite/ld-cris/tls-ok-34.d: Update.
104 * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
105 * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
106 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
107 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
108 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
109 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
110 * testsuite/ld-mips-elf/tlslib-o32.got: Update.
111 * testsuite/ld-s390/tlspic.rd: Update.
112 * testsuite/ld-s390/tlspic_64.rd: Update.
113 * testsuite/ld-sparc/tlssunnopic32.rd: Update.
114 * testsuite/ld-sparc/tlssunnopic64.rd: Update.
115 * testsuite/ld-sparc/tlssunpic32.rd: Update.
116 * testsuite/ld-sparc/tlssunpic64.rd: Update.
117
118 2019-07-13 Alan Modra <amodra@gmail.com>
119
120 PR 24786
121 * ldlang.h (enum section_type): Add first_overlay_section.
122 * ldlang.c (lang_add_section): Adjust switch statement.
123 (map_input_to_output_sections): Likewise.
124 (lang_size_sections_1): Always set last_os for first overlay section.
125 (lang_leave_overlay): Set sectype to first_overlay_section.
126
127 2019-07-08 Alan Modra <amodra@gmail.com>
128
129 * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
130 * testsuite/ld-powerpc/callstub-2.d: Likewise.
131
132 2019-07-04 Jan Beulich <jbeulich@suse.com>
133
134 * testsuite/ld-elf/group9.s: Correct argument of .type.
135
136 2019-07-02 Nick Clifton <nickc@redhat.com>
137
138 PR 24753
139 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
140 LINKER_CREATED section flag when creating the stub section.
141
142 2019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
143
144 * testsuite/ld-arm/arm-elf.exp: Add tests.
145 * testsuite/ld-arm/cmse_main.s: New test.
146 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
147 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
148
149 2019-07-01 Nick Clifton <nickc@redhat.com>
150
151 PR 23839
152 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
153 exidx relocs.
154
155 2019-06-28 Alan Modra <amodra@gmail.com>
156
157 * testsuite/ld-powerpc/callstub-1.d,
158 * testsuite/ld-powerpc/callstub-1.s: New test.
159 * testsuite/ld-powerpc/callstub-2.d,
160 * testsuite/ld-powerpc/callstub-2.s: New test.
161 * testsuite/ld-powerpc/powerpc.exp: Run them.
162
163 2019-06-25 Jan Beulich <jbeulich@suse.com>
164
165 * plugin.c (get_lto_kind, get_lto_resolution,
166 get_lto_visibility): Rename "index" to "idx".
167
168 2019-06-24 H.J. Lu <hongjiu.lu@intel.com>
169
170 PR ld/24721
171 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
172 * testsuite/ld-x86-64/pr24721-x32.d: New file.
173 * testsuite/ld-x86-64/pr24721.d: Likewise.
174 * testsuite/ld-x86-64/pr24721.map: Likewise.
175 * testsuite/ld-x86-64/pr24721a.s: Likewise.
176 * testsuite/ld-x86-64/pr24721b.s: Likewise.
177
178 2019-06-23 Alan Modra <amodra@gmail.com>
179
180 PR 24704
181 * testsuite/ld-powerpc/elfv2exe.d: Update.
182 * testsuite/ld-powerpc/elfv2so.d: Update.
183
184 2019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
185
186 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
187 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
188 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
189 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
190 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
191
192 2019-06-14 Alan Modra <amodra@gmail.com>
193
194 * Makefile.in: Regenerate.
195 * configure: Regenerate.
196
197 2019-06-14 Alan Modra <amodra@gmail.com>
198
199 PR 24662
200 * testsuite/ld-alpha/tlsbin.rd: Update.
201 * testsuite/ld-alpha/tlsbinr.rd: Update.
202 * testsuite/ld-alpha/tlspic.rd: Update.
203
204 2019-06-07 Maciej W. Rozycki <macro@wdc.com>
205
206 * ld.texi (Options): Also document `-rpath' option restrictions
207 in the description of the option itself.
208
209 2019-06-06 Sudakshina Das <sudi.das@arm.com>
210
211 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
212 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
213 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
214 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
215
216 2019-06-06 Sudakshina Das <sudi.das@arm.com>
217
218 * NEWS: Update options names.
219 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
220 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
221 (PARSE_AND_LIST_OPTIONS): Update to -z.
222 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
223 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
224 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
225 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
226 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
227 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
228 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
229 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
230 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
231 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
232 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
233 * testsuite/ld-aarch64/bti-warn.d: Likewise.
234 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
235 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
236
237 2019-05-30 Nick Clifton <nickc@redhat.com>
238
239 PR 24627
240 * testsuite/ld-elf/ver_def.vd: Update expected output.
241
242 2019-05-30 Alan Modra <amodra@gmail.com>
243
244 PR 24596
245 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
246 (EXTRA_EM_FILE): Define to genelf.
247 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
248
249 2019-05-30 Alan Modra <amodra@gmail.com>
250
251 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
252 calls in optional "xfail" args.
253 (run_ld_link_exec_tests): Likewise.
254 (is_generic): New.
255 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
256 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
257 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
258 xfail_implib var.
259 * testsuite/ld-elf/sec64k.exp: Use is_generic.
260 * testsuite/ld-elf/shared.exp: Likewise.
261 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
262 * testsuite/ld-discard/start.d: Likewise.
263 * testsuite/ld-discard/static.d: Likewise.
264 * testsuite/ld-elf/attributes.d: Likewise.
265 * testsuite/ld-elf/group1.d: Likewise.
266 * testsuite/ld-elf/group3b.d: Likewise.
267 * testsuite/ld-elf/group8a.d: Likewise.
268 * testsuite/ld-elf/group8b.d: Likewise.
269 * testsuite/ld-elf/group9a.d: Likewise.
270 * testsuite/ld-elf/group9b.d: Likewise.
271 * testsuite/ld-elf/linkonce2.d: Likewise.
272 * testsuite/ld-elf/merge2.d: Likewise.
273 * testsuite/ld-elf/merge3.d: Likewise.
274 * testsuite/ld-elf/pr12851.d: Likewise.
275 * testsuite/ld-elf/pr12975.d: Likewise.
276 * testsuite/ld-elf/pr13177.d: Likewise.
277 * testsuite/ld-elf/pr13195.d: Likewise.
278 * testsuite/ld-elf/pr17550c.d: Likewise.
279 * testsuite/ld-elf/pr17550d.d: Likewise.
280 * testsuite/ld-elf/pr17615.d: Likewise.
281 * testsuite/ld-elf/pr21562a.d: Likewise.
282 * testsuite/ld-elf/pr21562b.d: Likewise.
283 * testsuite/ld-elf/pr21562c.d: Likewise.
284 * testsuite/ld-elf/pr21562d.d: Likewise.
285 * testsuite/ld-elf/pr21562i.d: Likewise.
286 * testsuite/ld-elf/pr21562j.d: Likewise.
287 * testsuite/ld-elf/pr21562k.d: Likewise.
288 * testsuite/ld-elf/pr21562l.d: Likewise.
289 * testsuite/ld-elf/pr21562m.d: Likewise.
290 * testsuite/ld-elf/pr21562n.d: Likewise.
291 * testsuite/ld-elf/pr22677.d: Likewise.
292 * testsuite/ld-elf/pr22836-1a.d: Likewise.
293 * testsuite/ld-elf/pr22836-1b.d: Likewise.
294 * testsuite/ld-elf/warn3.d: Likewise.
295 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
296 targets rather than notarget.
297 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
298 * testsuite/ld-elf/orphan-10.d: Likewise.
299 * testsuite/ld-elf/orphan-9.d: Likewise.
300 * testsuite/ld-elf/orphan-region.d: Likewise.
301 * testsuite/ld-elf/orphan.d: Likewise.
302 * testsuite/ld-elf/orphan3.d: Likewise.
303 * testsuite/ld-elf/pr20528a.d: Likewise.
304 * testsuite/ld-elf/pr20528b.d: Likewise.
305 * testsuite/ld-elf/pr23658-1a.d: Likewise.
306 * testsuite/ld-elf/pr23658-1b.d: Likewise.
307 * testsuite/ld-elf/pr349.d: Likewise.
308 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
309 targets rather than notarget.
310 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
311
312 2019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
313
314 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
315 for pcrel_hi/pcrel_lo.
316 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
317 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
318 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
319 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
320 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
321
322 2019-05-28 Alan Modra <amodra@gmail.com>
323
324 PR 24596
325 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
326 the output is coff before accessing coff tdata.
327 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
328
329 2019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
330
331 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
332 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
333
334 2019-05-27 Alan Modra <amodra@gmail.com>
335
336 PR 24596
337 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
338 BFS_KEEP on group signature symbol.
339
340 2019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
341
342 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
343 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
344 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
345 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
346 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
347 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
348 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
349
350 2019-05-24 Alan Modra <amodra@gmail.com>
351
352 * po/BLD-POTFILES.in: Regenerate.
353
354 2019-05-24 Alan Modra <amodra@gmail.com>
355
356 * testsuite/ld-powerpc/notoc2.d,
357 * testsuite/ld-powerpc/notoc2.s: New test.
358 * testsuite/ld-powerpc/powerpc.exp: Run it.
359
360 2019-05-24 Alan Modra <amodra@gmail.com>
361
362 * testsuite/ld-powerpc/pcrelopt.s,
363 * testsuite/ld-powerpc/pcrelopt.d,
364 * testsuite/ld-powerpc/pcrelopt.sec: New test.
365 * testsuite/ld-powerpc/powerpc.exp: Run it.
366
367 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
368
369 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
370 * Makefile.in (prefix): Regenerate.
371 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
372 * emulparams/elf64bpf.sh: New file.
373 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
374 bpf-*-* to the list of targets not supporting gc-sections.
375 * testsuite/ld-bpf/bar.s: New file.
376 * testsuite/ld-bpf/jump-1.d: Likewise.
377 * testsuite/ld-bpf/foo.s: Likewise.
378 * testsuite/ld-bpf/call-1.d: Likewise.
379 * testsuite/ld-bpf/bpf.exp: Likewise.
380 * testsuite/ld-bpf/baz.s: Likewise.
381
382 2019-05-23 Alan Modra <amodra@gmail.com>
383
384 PR 24576
385 * ldfile.c (enum script_open_style): New.
386 (struct script_name_list): New.
387 (ldfile_open_command_file_1): Take a script_open_style param
388 rather than booleans. Adjust callers. Only fail when -T or
389 default -T script is invoked twice.
390 (ldfile_try_open_bfd): Revert last change.
391
392 2019-05-22 Julius Werner <jwerner@chromium.org>
393 Nick Clifton <nickc@redhat.com>
394
395 PR 24576
396 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
397 is_script. If true check that the file has not already been
398 parsed as a linker script.
399 (ldfile_open_script_file): New function.
400 (ldfile_try_open_bfd): Use the new function in place of
401 ldfile_open_command_line.
402 * ldmain.c (main): Likewise.
403 * lexsup.c (parse_args): Use the new function for opening linker
404 scripts with the -T option.
405 * ldfile.h (ldfile_open_script_file): Add prototype.
406
407 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
408
409 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
410 %tprel_hi and %tprel_lo relocations.
411 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
412 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
413 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
414 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
415 script file.
416
417 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
418
419 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
420 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
421 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
422 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
423 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
424 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
425 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
426
427 2019-05-21 Matthew Fortune <matthew.fortune@mips.com>
428 Faraz Shahbazker <fshahbazker@wavecomp.com>
429
430 * emultempl/mipself.em (compact_branches): New static variable.
431 (mips_create_output_section_statements): Call
432 _bfd_mips_elf_compact_branches.
433 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
434 OPTION_NO_COMPACT_BRANCHES.
435 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
436 no-compact-branches.
437 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
438 --no-compact-branches.
439 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
440 * ld.texinfo: Document --compact-branches, --no-compact-branches.
441 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
442 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
443 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
444 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
445 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
446 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
447 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
448
449 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
450
451 * testsuite/ld-arm/arm-elf.exp: Add tests
452 * testsuite/ld-arm/bfs-0.s: New test.
453 * testsuite/ld-arm/bfs-1.s: New test.
454 * testsuite/ld-arm/branch-futures.d: New test.
455
456 2019-05-21 Tamar Christina <tamar.christina@arm.com>
457
458 PR ld/24373
459 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
460 to flags.
461 * NEWS: Add changes to flag.
462 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
463 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
464 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
465 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
466 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
467 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
468 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
469 * testsuite/ld-aarch64/erratum843419-far.s: New test.
470 * testsuite/ld-aarch64/erratum843419-full.d: New test.
471 * testsuite/ld-aarch64/erratum843419-near.s: New test.
472 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
473
474 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
475
476 PR ld/24571
477 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
478 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
479
480 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
481
482 PR ld/24564
483 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
484 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
485
486 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
487
488 PR 14798
489 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
490 global code symbols.
491 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
492
493 2019-05-17 Alan Modra <amodra@gmail.com>
494
495 PR 24567
496 * plugin.c (plugin_notice): Do not let a common symbol override
497 a non-common definition in IR.
498
499 2019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
500
501 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
502 Rename.
503
504 2019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
505
506 PR 24536
507 * ldbuildid.c (generate_build_id): Cast return value from
508 GetProcAddress in order to avoid a compile time warning.
509
510 2019-05-06 Alan Modra <amodra@gmail.com>
511
512 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
513
514 2019-05-04 Alan Modra <amodra@gmail.com>
515
516 * testsuite/ld-scripts/fill.d: Don't xfail m32c
517 * testsuite/ld-scripts/fill16.d: Likewise.
518
519 2019-05-04 Alan Modra <amodra@gmail.com>
520
521 PR 24511
522 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
523 data section on hppa64.
524 * testsuite/ld-elf/pr14156b.d: Likewise.
525 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
526 output section flags.
527 * testsuite/ld-scripts/sane1.t: Likewise.
528 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
529 and __fini_array_start. Define __start et al.
530 * testsuite/ld-elf/pr24511.d: New test.
531
532 2019-04-30 Alan Modra <amodra@gmail.com>
533
534 * testsuite/ld-powerpc/elfv2exe.d: Update.
535 * testsuite/ld-powerpc/elfv2so.d: Update.
536 * testsuite/ld-powerpc/tocopt.d: Update.
537 * testsuite/ld-powerpc/tocopt.s: Update.
538 * testsuite/ld-powerpc/tocopt5.d: Update.
539 * testsuite/ld-powerpc/tocopt5.s: Update.
540 * testsuite/ld-powerpc/tocopt7.d: Update.
541 * testsuite/ld-powerpc/tocopt7.s: Update.
542 * testsuite/ld-powerpc/tocopt8.d: Update.
543 * testsuite/ld-powerpc/tocopt8.s: Update.
544
545 2019-04-30 Alan Modra <amodra@gmail.com>
546
547 * ld.texi (How GNU properties are merged): Avoid pod2man error.
548 Correct example.
549
550 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
551
552 PR ld/24486
553 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
554 * testsuite/ld-plugin/pr24486a.c: New file.
555 * testsuite/ld-plugin/pr24486b.c: Likewise.
556 * testsuite/ld-plugin/pr24486c.c: Likewise.
557
558 2019-04-26 Nick Clifton <nickc@redhat.com>
559
560 * po/ru.po: Updated Russian translation.
561
562 2019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
563
564 * ld.texi: Properly hyphenate the word "specific".
565
566 2019-04-25 H.J. Lu <hongjiu.lu@intel.com>
567
568 PR ld/24406
569 * ld.texi: Remove LTO warning from --wrap.
570 * plugin.c (get_symbols): Update resolution for wrapper and
571 wrapped symbols.
572 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
573 * testsuite/ld-plugin/pr24406-1.c: New file.
574 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
575 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
576
577 2019-04-25 Sudakshina Das <sudi.das@arm.com>
578
579 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
580 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
581 * testsuite/ld-aarch64/bti-plt-1.d: Update.
582 * testsuite/ld-aarch64/bti-plt-3.d: Update.
583 * testsuite/ld-aarch64/bti-plt-5.d: Update.
584 * testsuite/ld-aarch64/pac-plt-1.d: Update.
585 * testsuite/ld-aarch64/pac-plt-2.d: Update.
586
587 2019-04-24 Sandra Loosemore <sandra@codesourcery.com>
588
589 * testsuite/config/default.exp: Use [check_compiler_available]
590 instead of [which $CC].
591 * testsuite/ld-auto-import/auto-import.exp: Likewise.
592 * testsuite/ld-cygwin/exe-export.exp: Likewise.
593 * testsuite/ld-elf/audit.exp: Likewise.
594 * testsuite/ld-elf/compress.exp: Likewise.
595 * testsuite/ld-elf/dwarf.exp: Likewise.
596 * testsuite/ld-elf/elf.exp: Likewise.
597 * testsuite/ld-elf/indirect.exp: Likewise.
598 * testsuite/ld-elf/linux-x86.exp: Likewise.
599 * testsuite/ld-elf/shared.exp: Likewise.
600 * testsuite/ld-elf/tls.exp: Likewise.
601 * testsuite/ld-elf/wrap.exp: Likewise.
602 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
603 * testsuite/ld-elfvers/vers.exp: Likewise.
604 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
605 * testsuite/ld-elfweak/elfweak.exp: Likewise.
606 * testsuite/ld-gc/gc.exp: Likewise.
607 * testsuite/ld-i386/i386.exp: Likewise.
608 * testsuite/ld-i386/no-plt.exp: Likewise.
609 * testsuite/ld-i386/tls.exp: Likewise.
610 * testsuite/ld-ifunc/ifunc.exp: Likewise.
611 * testsuite/ld-mn10300/mn10300.exp: Likewise.
612 * testsuite/ld-pe/pe-compile.exp: Likewise.
613 * testsuite/ld-pe/pe-run.exp: Likewise.
614 * testsuite/ld-pe/pe-run2.exp: Likewise.
615 * testsuite/ld-pie/pie.exp: Likewise.
616 * testsuite/ld-plugin/lto.exp: Likewise.
617 * testsuite/ld-plugin/plugin.exp: Likewise.
618 * testsuite/ld-scripts/crossref.exp: Likewise.
619 * testsuite/ld-sh/sh.exp: Likewise.
620 * testsuite/ld-shared/shared.exp: Likewise.
621 * testsuite/ld-size/size.exp: Likewise.
622 * testsuite/ld-srec/srec.exp: Likewise.
623 * testsuite/ld-undefined/undefined.exp: Likewise.
624 * testsuite/ld-unique/unique.exp: Likewise.
625 * testsuite/ld-x86-64/mpx.exp: Likewise.
626 * testsuite/ld-x86-64/no-plt.exp: Likewise.
627 * testsuite/ld-x86-64/tls.exp: Likewise.
628 * testsuite/ld-x86-64/x86-64.exp: Likewise.
629 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
630 check_compiler_available before trying to use the compiler.
631 (run_cc_link_tests): Likewise.
632 (check_compiler_available): New. Use it instead of [which $CC].
633
634 2019-04-23 Alan Modra <amodra@gmail.com>
635
636 * Makefile.am (GENDEPDIR): New var, used..
637 (GENSCRIPTS): ..here.
638 * Makefile.in: Regenerate.
639 * genscripts.sh: Test for $DEPDIR set before every use.
640
641 2019-04-22 Matthew Fortune <matthew.fortune@mips.com>
642
643 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
644 for M5100.
645
646 2019-04-19 Alan Modra <amodra@gmail.com>
647
648 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
649 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
650 s12z to list of targets not supporting --gc-sections.
651
652 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
653
654 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
655 of pr18801.
656 * testsuite/ld-x86-64/x86-64.exp: Likewise.
657 * testsuite/ld-i386/pr18801.d: Removed.
658 * testsuite/ld-x86-64/pr18801.d: Likewise.
659 * testsuite/ld-i386/pr18801a.d: New file.
660 * testsuite/ld-i386/pr18801b.d: Likewise.
661 * testsuite/ld-x86-64/pr18801a.d: Likewise.
662 * testsuite/ld-x86-64/pr18801b.d: Likewise.
663 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
664 * testsuite/ld-x86-64/pie2.d: Likewise.
665 * testsuite/ld-x86-64/pr19719.d: Likewise.
666 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
667 * testsuite/ld-x86-64/pr19969.d: Likewise.
668 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
669 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
670 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
671 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
672 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
673
674 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
675
676 PR ld/24458
677 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
678 * testsuite/ld-x86-64/pr24458.s: New file.
679 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
680 * testsuite/ld-x86-64/pr24458a.d: Likewise.
681 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
682 * testsuite/ld-x86-64/pr24458b.d: Likewise.
683 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
684 * testsuite/ld-x86-64/pr24458c.d: Likewise.
685
686 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
687
688 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
689 symbol when .lower.bss or .either.bss sections exist.
690 Define __crt0_movedata when .lower.data or .either.data sections exist.
691 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
692 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
693 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
694 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
695 * testsuite/gas/msp430/msp430.exp: Run new tests.
696 Enable large code model when running -mdata-region={upper,either}
697 tests.
698
699 2019-04-16 Alan Modra <amodra@gmail.com>
700
701 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
702 * testsuite/ld-scripts/section-match-1.d: Likewise.
703 * testsuite/ld-undefined/require-defined.exp: Likewise.
704
705 2019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
706
707 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
708 targets.
709
710 2019-04-15 Sudakshina Das <sudi.das@arm.com>
711
712 * testsuite/ld-arm/bfcsel.s: New.
713 * testsuite/ld-arm/bfcsel.d: New.
714 * testsuite/ld-arm/arm-elf.exp: Add above test.
715
716 2019-04-15 Sudakshina Das <sudi.das@arm.com>
717
718 * testsuite/ld-arm/bfl.s: New.
719 * testsuite/ld-arm/bfl.d: New.
720 * testsuite/ld-arm/arm-elf.exp: Add above test.
721
722 2019-04-15 Sudakshina Das <sudi.das@arm.com>
723
724 * testsuite/ld-arm/bf.s: New.
725 * testsuite/ld-arm/bf.d: New.
726 * testsuite/ld-arm/arm-elf.exp: Add above test.
727
728 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
729
730 * testsuite/ld-arm/attr-merge-13.attr: New test.
731 * testsuite/ld-arm/attr-merge-13a.s: New test.
732 * testsuite/ld-arm/attr-merge-13b.s: New test.
733
734 2019-04-13 Alan Modra <amodra@gmail.com>
735
736 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
737 DEPDIR parameter.
738 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
739 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
740 $GEN_DEPENDS.
741 (e*.c): Delete all dependencies, instead include dependencies
742 from $DEPDIR/*.Pc.
743 * Makefile.in: Regenerate.
744 * configure.ac (source_sh): Define and use function.
745 * configure: Regenerate.
746 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
747 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
748 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
749 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
750 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
751 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
752 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
753 * emulparams/armelf_linux_eabi.sh,
754 * emulparams/armelf_linux_fdpiceabi.sh,
755 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
756 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
757 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
758 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
759 * emulparams/armelfb_linux_fdpiceabi.sh,
760 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
761 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
762 * emulparams/elf32_sparc_sol2.sh,
763 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
764 * emulparams/elf32_tic6x_elf_be.sh,
765 * emulparams/elf32_tic6x_elf_le.sh,
766 * emulparams/elf32_tic6x_linux_be.sh,
767 * emulparams/elf32_tic6x_linux_le.sh,
768 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
769 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
770 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
771 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
772 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
773 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
774 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
775 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
776 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
777 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
778 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
779 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
780 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
781 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
782 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
783 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
784 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
785 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
786 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
787 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
788 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
789 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
790 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
791 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
792 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
793 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
794 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
795 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
796 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
797 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
798 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
799 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
800 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
801 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
802 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
803 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
804 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
805 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
806 * emulparams/elf_x86_64_cloudabi.sh,
807 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
808 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
809 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
810 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
811 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
812 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
813 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
814 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
815 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
816 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
817 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
818 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
819 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
820 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
821 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
822 * emulparams/shl.sh, * emulparams/shlelf.sh,
823 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
824 * emulparams/shlelf_vxworks.sh: Use source_sh.
825 * genscripts.sh: Adjust for changed parameters. Emit dependencies
826 for e*.c to .deps/*.Pc.
827 (source_sh): New function, use it throughout to source scripts.
828 * genscrba.sh (source_em): Use source_sh.
829
830 2019-04-13 Alan Modra <amodra@gmail.com>
831
832 * configure.ac (TDIRS): Build up tdirs in this variable and
833 AC_SUBST, also using AM_SUBST_NOTMAKE.
834 * configure: Regenerate.
835 * Makefile.am (DISTCLEANFILES): Remove tdirs.
836 * Makefile.in: Regenerate.
837
838 2019-04-12 Nick Clifton <nickc@redhat.com>
839
840 PR 24450
841 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
842 example of section attributes.
843
844 2019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
845
846 * NEWS: Mention new option --no-print-map-discarded.
847 * ld.h (ld_config_type) <print_map_discarded>: New field.
848 * ldlang.c (lang_map): Conditionally output discarded sections
849 in map files based on configuration option.
850 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
851 OPTION_NO_PRINT_MAP_DISCARDED>: New.
852 * ldmain.c (main): Enabled print_map_discarded by default.
853 * lexsup.c (ld_options): Add new command-line options.
854 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
855 OPTION_PRINT_MAP_DISCARDED>: New cases.
856 * ld.texi: Document new options.
857 * testsuite/ld-gc/gc.exp: Add new test.
858 * testsuite/ld-gc/skip-map-discarded.s: New file.
859 * testsuite/ld-gc/skip-map-discarded.d: New file.
860 * testsuite/ld-gc/skip-map-discarded.map: New file.
861
862 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
863
864 * ld.texi: Document -z cet-report=[none|warning|error].
865 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
866 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
867 tests.
868 * testsuite/ld-x86-64/x86-64.exp: Likewise.
869 * testsuite/ld-i386/property-x86-cet1.d: New file.
870 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
871 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
872 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
873 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
874 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
875 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
876 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
877 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
878 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
879 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
880 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
881 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
882 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
883 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
884 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
885 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
886 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
887 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
888 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
889 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
890 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
891 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
892 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
893 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
894 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
895 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
896 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
897 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
898 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
899 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
900
901 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
902
903 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
904 to "-static-pie" if target compiler supports it.
905 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
906 $STATIC_PIE_LDFLAGS isn't empty.
907 * testsuite/ld-ifunc/ifunc.exp: Likewise.
908
909 2019-04-11 Tamar Christina <tamar.christina@arm.com>
910
911 PR ld/24302
912 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
913 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
914
915 2019-04-10 H.J. Lu <hongjiu.lu@intel.com>
916
917 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
918 CREATE_PIE.
919 (__rel_iplt_start): Don't define for CREATE_PIC.
920 (__rel_iplt_end): Likewise.
921 (__rela_iplt_start): Likewise.
922 (__rela_iplt_end): Likewise.
923
924 2019-04-10 Alan Modra <amodra@gmail.com>
925
926 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
927 powerpc-nto.
928
929 2019-04-10 Alan Modra <amodra@gmail.com>
930
931 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
932 setting use_branch_stub false for linux.
933 (csky_elf_create_output_section_statements): Do emit this
934 function and all others in the file for linux, plus the branch
935 option control. Disable branch stubs when non-ELF.
936
937 2019-04-10 Alan Modra <amodra@gmail.com>
938
939 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
940 (ecskyelf_linux.c): Depend on cskyelf.sh.
941 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
942 * Makefile.in: Regenerate.
943 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
944 (PAGE_SIZE): Don't define.
945 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
946 the differing variable defs/undefs.
947 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
948 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
949 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
950 (PAGE_SIZE): Don't define.
951 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
952 leaving just the differing OUTPUT_FORMAT.
953
954 2019-04-10 Alan Modra <amodra@gmail.com>
955
956 * po/BLD-POTFILES.in: Regenerate.
957
958 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
959
960 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
961 lynxos and nto targets.
962
963 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
964
965 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
966 (eelf_i386_chaos.c): Removed.
967 * Makefile.in: Regenerated.
968 * configure.tgt: Remove i[3-7]86-*-kaos*.
969 * emulparams/elf_i386_chaos.sh: Removed.
970
971 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
972
973 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
974 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
975
976 2019-04-08 Alan Modra <amodra@gmail.com>
977
978 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
979 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
980 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
981
982 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
983
984 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
985 (eelf_i386_sol2.c): Also depend on
986 $(srcdir)/emultempl/solaris2-x86.em.
987 (eelf_x86_64_sol2.c): Likewise.
988 * Makefile.in: Regenerated.
989 * emulparams/call_nop.sh: Set x86-specific linker options via
990 params.
991 * emulparams/cet.sh: Likewise.
992 * emulparams/reloc_overflow.sh: Likewise.
993 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
994 "elf-x86".
995 * emulparams/elf_i386.sh: Likewise.
996 * emulparams/elf_i386_be.sh: Likewise.
997 * emulparams/elf_i386_chaos.sh: Likewise.
998 * emulparams/elf_i386_ldso.sh: Likewise.
999 * emulparams/elf_i386_vxworks.sh: Likewise.
1000 * emulparams/elf_iamcu.sh: Likewise.
1001 * emulparams/elf_k1om.sh: Likewise.
1002 * emulparams/elf_l1om.sh: Likewise.
1003 * emulparams/elf_x86_64.sh: Likewise.
1004 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
1005 "solaris2-x86".
1006 * emulparams/elf_x86_64_sol2.sh: Likewise.
1007 * emultempl/elf-x86.em: New file.
1008 * emultempl/solaris2-x86.em: Likewise.
1009 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1010 set link_info.call_nop_byte.
1011
1012 2019-04-05 Alan Modra <amodra@gmail.com>
1013
1014 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
1015 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1016 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
1017
1018 2019-04-03 Alan Modra <amodra@gmail.com>
1019
1020 PR 24411
1021 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
1022 (<EXPRESSION>"/DISCARD/"): New.
1023
1024 2019-04-03 Alan Modra <amodra@gmail.com>
1025
1026 * ldlex.l: Formatting.
1027 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
1028 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
1029 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
1030 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
1031 (<INPUTLIST>"$SYSROOT"..): Delete rule.
1032
1033 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
1034
1035 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
1036 test definition.
1037 * testsuite/ld-xtensa/xtensa.exp
1038 (relax-undef-weak-pie-export-dynamic): Add new test.
1039
1040 2019-03-26 Martin Liska <mliska@suse.cz>
1041
1042 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
1043 lto_visibility_str and use then to inform about plugin-symbols.
1044 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
1045
1046 2019-03-25 Tamar Christina <tamar.christina@arm.com>
1047
1048 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
1049 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
1050
1051 2019-03-21 Sudakshina Das <sudi.das@arm.com>
1052
1053 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1054 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
1055 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
1056 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1057 * testsuite/ld-aarch64/bti-warn.d: New test.
1058
1059 2019-03-21 Alan Modra <amodra@gmail.com>
1060
1061 * testsuite/ld-elf/fini2.s: Reduce alignment.
1062 * testsuite/ld-elf/fini3.s: Likewise.
1063 * testsuite/ld-elf/finin.s: Likewise.
1064 * testsuite/ld-elf/init2.s: Likewise.
1065 * testsuite/ld-elf/init3.s: Likewise.
1066 * testsuite/ld-elf/initn.s: Likewise.
1067 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
1068 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
1069
1070 2019-03-21 Alan Modra <amodra@gmail.com>
1071
1072 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
1073 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
1074 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
1075 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
1076 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
1077 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
1078 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
1079 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
1080 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
1081 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
1082 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
1083 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
1084 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
1085 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
1086 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
1087 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
1088 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
1089 SORT_NONE to .init and .fini wildcards.
1090 * scripttempl/elf32xc16x.sc,
1091 * scripttempl/elf32xc16xl.sc,
1092 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
1093 * scripttempl/elf_chaos.sc: Add .init output section.
1094 * scripttempl/elfd30v.sc: Remove duplicate .init.
1095 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
1096 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
1097 duplicate .init, and add .fini wildcard.
1098 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
1099 * ldlang.c (update_wild_statements): Special case .init and
1100 .fini in the wildcard, not the output section.
1101
1102 2019-03-21 Alan Modra <amodra@gmail.com>
1103
1104 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
1105
1106 2019-03-21 Alan Modra <amodra@gmail.com>
1107
1108 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
1109 create_object_symbols_section.
1110 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
1111
1112 2019-03-18 Alan Modra <amodra@gmail.com>
1113
1114 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
1115 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
1116 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
1117 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
1118
1119 2019-03-15 Nick Clifton <nickc@redhat.com>
1120
1121 PR 24262
1122 * ld.texi (-plugin): Correct the path used to locate linker
1123 plugins.
1124
1125 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1126
1127 * NEWS: Document --pac-plt.
1128 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
1129 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
1130 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
1131 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
1132 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
1133 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
1134 * testsuite/ld-aarch64/pac-plt-1.d: New test.
1135 * testsuite/ld-aarch64/pac-plt-2.d: New test.
1136 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
1137
1138 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1139 Szabolcs Nagy <szabolcs.nagy@arm.com>
1140
1141 * NEWS: Document --force-bti.
1142 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
1143 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
1144 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
1145 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
1146 * testsuite/ld-aarch64/bti-plt-1.d: New test.
1147 * testsuite/ld-aarch64/bti-plt-1.s: New test.
1148 * testsuite/ld-aarch64/bti-plt-2.d: New test.
1149 * testsuite/ld-aarch64/bti-plt-3.d: New test.
1150 * testsuite/ld-aarch64/bti-plt-4.d: New test.
1151 * testsuite/ld-aarch64/bti-plt-5.d: New test.
1152 * testsuite/ld-aarch64/bti-plt-6.d: New test.
1153 * testsuite/ld-aarch64/bti-plt-7.d: New test.
1154 * testsuite/ld-aarch64/bti-plt-so.s: New test.
1155 * testsuite/ld-aarch64/bti-plt.ld: New test.
1156
1157 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1158
1159 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
1160 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
1161 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
1162 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
1163 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
1164 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
1165 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
1166 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
1167
1168 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
1169
1170 PR ld/24322
1171 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
1172 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1173 * testsuite/ld-i386/pr24322a.d: New file.
1174 * testsuite/ld-i386/pr24322b.d: Likewise.
1175 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
1176 * testsuite/ld-x86-64/pr24322a.d: Likewise.
1177 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
1178 * testsuite/ld-x86-64/pr24322b.d: Likewise.
1179 * testsuite/ld-x86-64/pr24322a.s: Likewise.
1180 * testsuite/ld-x86-64/pr24322b.s: Likewise.
1181 * testsuite/ld-x86-64/pr24322c.s: Likewise.
1182
1183 2019-03-06 Nick Bowler <nbowler@draconx.ca>
1184
1185 PR 24289
1186 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
1187 attributes during the first phase.
1188
1189 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
1190
1191 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1192 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1193
1194 PR 20113
1195 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1196 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1197 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1198 * testsuite/ld-s390/tlsbin.dd: Likewise.
1199 * testsuite/ld-s390/tlsbin.rd: Likewise.
1200 * testsuite/ld-s390/tlsbin.sd: Likewise.
1201 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1202 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1203 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1204 * testsuite/ld-s390/tlspic.dd: Likewise.
1205 * testsuite/ld-s390/tlspic.rd: Likewise.
1206 * testsuite/ld-s390/tlspic.sd: Likewise.
1207 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1208 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1209 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1210 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1211
1212 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 PR ld/24276
1215 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
1216 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1217 * testsuite/ld-i386/pr24276.dso: New file.
1218 * testsuite/ld-i386/pr24276.warn: Likewise.
1219 * testsuite/ld-x86-64/pr24276.dso: Likewise.
1220 * testsuite/ld-x86-64/pr24276.warn: Likewise.
1221
1222 2019-02-20 Eric Tsai <erictsai@cadence.com>
1223
1224 * testsuite/ld-xtensa/call_overflow.d: New test definition.
1225 * testsuite/ld-xtensa/call_overflow1.s: New test source.
1226 * testsuite/ld-xtensa/call_overflow2.s: New test source.
1227 * testsuite/ld-xtensa/call_overflow3.s: New test source.
1228 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
1229
1230 2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
1231
1232 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
1233
1234 2019-02-12 Nick Clifton <nickc@redhat.com>
1235
1236 * po/fr.po: Updated French translation.
1237
1238 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
1239
1240 * emultempl/arclinux.em: Delete special INIT/FINI handling.
1241
1242 2019-02-07 Nick Clifton <nickc@redhat.com>
1243
1244 PR 24175
1245 * ld.texi (Options): Add missing word to the description of the
1246 --start-group option.
1247
1248 2019-02-06 Alan Modra <amodra@gmail.com>
1249
1250 PR ld/24008
1251 * testsuite/ld-scripts/pr24008.d: Pass with extra target
1252 defined symbols.
1253
1254 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
1255
1256 PR ld/24151
1257 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
1258 * testsuite/ld-x86-64/pr24151a.d: Likewise.
1259 * testsuite/ld-x86-64/pr24151a.s: Likewise.
1260 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
1261
1262 2019-01-31 Alan Modra <amodra@gmail.com>
1263
1264 * NEWS: Mention -t change.
1265 * ld.texi (--trace/-t): Expand documentation a little.
1266
1267 2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
1268
1269 PR ld/24008
1270 * testsuite/ld-scripts/defined.exp: Run pr24008.
1271 * testsuite/ld-scripts/pr24008.d: New file.
1272 * testsuite/ld-scripts/pr24008.map: Likewise.
1273 * testsuite/ld-scripts/pr24008.s: Likewise.
1274 * testsuite/ld-scripts/pr24008.t: Likewise.
1275
1276 2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
1277
1278 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
1279
1280 2019-01-28 Alan Modra <amodra@gmail.com>
1281
1282 PR 24008
1283 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
1284 * ldexp.c (fold_name): Move expld.assign_name check later to
1285 avoid an extra lookup.
1286 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
1287 values, and don't clear expld.assign_name.
1288 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
1289 (print_assignment): Resolve entire assignment expression.
1290 Don't access symbol u.def unless symbol is defined.
1291
1292 2019-01-25 Nick Clifton <nickc@redhat.com>
1293
1294 * po/bg.po: Updated Bulgarian translation.
1295
1296 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
1297
1298 * ld.texi (--wrap): Add warning that LTO may make this feature
1299 ineffective.
1300
1301 2019-01-21 Nick Clifton <nickc@redhat.com>
1302
1303 * po/uk.po: Updated Ukranian translation.
1304 * po/pr_BR.po: Updated Brazilian Portuguese translation.
1305
1306 2019-01-21 Nick Clifton <nickc@redhat.com>
1307
1308 PR 24108
1309 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
1310 expected error message.
1311
1312 2019-01-19 Nick Clifton <nickc@redhat.com>
1313
1314 * configure: Regenerate.
1315 * po/ld.pot: Regenerate.
1316
1317 2018-06-24 Nick Clifton <nickc@redhat.com>
1318
1319 2.32 branch created.
1320
1321 2019-01-16 Kito Cheng <kito@andestech.com>
1322
1323 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
1324 section.
1325 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
1326 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
1327 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
1328 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
1329 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1330 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
1331 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
1332 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1333 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
1334 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
1335 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1336 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
1337 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
1338 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
1339 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
1340 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
1341 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
1342 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
1343 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
1344 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
1345 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
1346 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
1347 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
1348 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
1349 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
1350 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
1351 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
1352 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
1353 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
1354 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
1355 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
1356 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
1357 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
1358 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
1359 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
1360 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
1361 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
1362
1363 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1364
1365 PR 20113
1366 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1367 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1368 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1369 * testsuite/ld-s390/tlsbin.dd: Likewise.
1370 * testsuite/ld-s390/tlsbin.rd: Likewise.
1371 * testsuite/ld-s390/tlsbin.sd: Likewise.
1372 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1373 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1374 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1375 * testsuite/ld-s390/tlspic.dd: Likewise.
1376 * testsuite/ld-s390/tlspic.rd: Likewise.
1377 * testsuite/ld-s390/tlspic.sd: Likewise.
1378 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1379 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1380 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1381 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1382
1383 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
1384
1385 * ld.texi (--wrap): Add example to emphasise that only undefined
1386 references are replaced by the linker.
1387
1388 2019-01-09 Nick Clifton <nickc@redhat.com>
1389
1390 * po/es.po: Updated Spanish translation.
1391
1392 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1393
1394 * configure: Regenerate.
1395
1396 2019-01-08 Alan Modra <amodra@gmail.com>
1397
1398 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
1399 generated source file names.
1400 * testsuite/ld-m68k/m68k-got.exp: Likewise.
1401
1402 2019-01-01 Alan Modra <amodra@gmail.com>
1403
1404 Update year range in copyright notice of all files.
1405
1406 For older changes see ChangeLog-2018
1407 \f
1408 Copyright (C) 2019 Free Software Foundation, Inc.
1409
1410 Copying and distribution of this file, with or without modification,
1411 are permitted in any medium without royalty provided the copyright
1412 notice and this notice are preserved.
1413
1414 Local Variables:
1415 mode: change-log
1416 left-margin: 8
1417 fill-column: 74
1418 version-control: never
1419 End:
This page took 0.057654 seconds and 5 git commands to generate.