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