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