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