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