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