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