Automatic date update in version.in
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
6ec6968b
NC
12019-05-22 Julius Werner <jwerner@chromium.org>
2 Nick Clifton <nickc@redhat.com>
3
4 PR 24576
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.
15
b474a202
FS
162019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
17
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
24 script file.
25
304f09d0
FS
262019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
27
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.
35
3734320d
MF
362019-05-21 Matthew Fortune <matthew.fortune@mips.com>
37 Faraz Shahbazker <fshahbazker@wavecomp.com>
38
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,
45 no-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.
57
e6f65e75
AV
582019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
59
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.
64
739b5c9c
TC
652019-05-21 Tamar Christina <tamar.christina@arm.com>
66
67 PR ld/24373
68 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
69 to flags.
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.
82
7622049e
SKS
832019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
84
85 PR ld/24571
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.
88
338ba755
SKS
892019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
90
91 PR ld/24564
92 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
93 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
94
d8734380
FS
952019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
96
97 PR 14798
98 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
99 global code symbols.
100 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
101
af4fa23f
AM
1022019-05-17 Alan Modra <amodra@gmail.com>
103
104 PR 24567
105 * plugin.c (plugin_notice): Do not let a common symbol override
106 a non-common definition in IR.
107
dd318999
DD
1082019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
109
110 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
111 Rename.
112
46752c37
PS
1132019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
114
115 PR 24536
116 * ldbuildid.c (generate_build_id): Cast return value from
117 GetProcAddress in order to avoid a compile time warning.
118
e1cbf07a
AM
1192019-05-06 Alan Modra <amodra@gmail.com>
120
121 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
122
27cdfa03
AM
1232019-05-04 Alan Modra <amodra@gmail.com>
124
125 * testsuite/ld-scripts/fill.d: Don't xfail m32c
126 * testsuite/ld-scripts/fill16.d: Likewise.
127
a288c270
AM
1282019-05-04 Alan Modra <amodra@gmail.com>
129
130 PR 24511
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.
140
066f4018
AM
1412019-04-30 Alan Modra <amodra@gmail.com>
142
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.
153
06ddcada
AM
1542019-04-30 Alan Modra <amodra@gmail.com>
155
156 * ld.texi (How GNU properties are merged): Avoid pod2man error.
157 Correct example.
158
c54f1524
L
1592019-04-26 H.J. Lu <hongjiu.lu@intel.com>
160
161 PR ld/24486
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.
166
8e1920d6
NC
1672019-04-26 Nick Clifton <nickc@redhat.com>
168
169 * po/ru.po: Updated Russian translation.
170
a094d01f
CY
1712019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
172
173 * ld.texi: Properly hyphenate the word "specific".
174
6fe014bc
L
1752019-04-25 H.J. Lu <hongjiu.lu@intel.com>
176
177 PR ld/24406
178 * ld.texi: Remove LTO warning from --wrap.
179 * plugin.c (get_symbols): Update resolution for wrapper and
180 wrapped symbols.
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.
185
68bb0359
SD
1862019-04-25 Sudakshina Das <sudi.das@arm.com>
187
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.
195
44ed8092
SL
1962019-04-24 Sandra Loosemore <sandra@codesourcery.com>
197
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].
242
cc9519e7
AM
2432019-04-23 Alan Modra <amodra@gmail.com>
244
245 * Makefile.am (GENDEPDIR): New var, used..
246 (GENSCRIPTS): ..here.
247 * Makefile.in: Regenerate.
248 * genscripts.sh: Test for $DEPDIR set before every use.
249
6f38008b
MF
2502019-04-22 Matthew Fortune <matthew.fortune@mips.com>
251
252 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
253 for M5100.
254
fce97736
AM
2552019-04-19 Alan Modra <amodra@gmail.com>
256
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.
260
9a7f0679
L
2612019-04-17 H.J. Lu <hongjiu.lu@intel.com>
262
263 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
264 of pr18801.
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.
282
4e84a8f8
L
2832019-04-17 H.J. Lu <hongjiu.lu@intel.com>
284
285 PR ld/24458
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.
294
e25de718
JL
2952019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
296
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}
306 tests.
307
a0fb9615
AM
3082019-04-16 Alan Modra <amodra@gmail.com>
309
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.
313
86333705
FS
3142019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
315
316 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
317 targets.
318
f6b2b12d
AV
3192019-04-15 Sudakshina Das <sudi.das@arm.com>
320
321 * testsuite/ld-arm/bfcsel.s: New.
322 * testsuite/ld-arm/bfcsel.d: New.
323 * testsuite/ld-arm/arm-elf.exp: Add above test.
324
65d1bc05
AV
3252019-04-15 Sudakshina Das <sudi.das@arm.com>
326
327 * testsuite/ld-arm/bfl.s: New.
328 * testsuite/ld-arm/bfl.d: New.
329 * testsuite/ld-arm/arm-elf.exp: Add above test.
330
4389b29a
AV
3312019-04-15 Sudakshina Das <sudi.das@arm.com>
332
333 * testsuite/ld-arm/bf.s: New.
334 * testsuite/ld-arm/bf.d: New.
335 * testsuite/ld-arm/arm-elf.exp: Add above test.
336
031254f2
AV
3372019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
338
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.
342
c40e31a1
AM
3432019-04-13 Alan Modra <amodra@gmail.com>
344
345 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
346 DEPDIR parameter.
347 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
348 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
349 $GEN_DEPENDS.
350 (e*.c): Delete all dependencies, instead include dependencies
351 from $DEPDIR/*.Pc.
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.
438
50ff67e6
AM
4392019-04-13 Alan Modra <amodra@gmail.com>
440
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.
446
3bbec4bd
NC
4472019-04-12 Nick Clifton <nickc@redhat.com>
448
449 PR 24450
450 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
451 example of section attributes.
452
035801ce
FS
4532019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
454
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.
470
233a0083
L
4712019-04-11 H.J. Lu <hongjiu.lu@intel.com>
472
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]
476 tests.
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.
509
b3d7a867
L
5102019-04-11 H.J. Lu <hongjiu.lu@intel.com>
511
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.
517
ce12121b
TC
5182019-04-11 Tamar Christina <tamar.christina@arm.com>
519
520 PR ld/24302
521 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
522 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
523
795e3bb7
L
5242019-04-10 H.J. Lu <hongjiu.lu@intel.com>
525
526 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
527 CREATE_PIE.
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.
532
e6aded7c
AM
5332019-04-10 Alan Modra <amodra@gmail.com>
534
535 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
536 powerpc-nto.
537
53b81c6d
AM
5382019-04-10 Alan Modra <amodra@gmail.com>
539
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.
545
c55b17b8
AM
5462019-04-10 Alan Modra <amodra@gmail.com>
547
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.
562
6feda627
AM
5632019-04-10 Alan Modra <amodra@gmail.com>
564
565 * po/BLD-POTFILES.in: Regenerate.
566
c93c0e7f
L
5672019-04-08 H.J. Lu <hongjiu.lu@intel.com>
568
569 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
570 lynxos and nto targets.
571
3ae61bb6
L
5722019-04-08 H.J. Lu <hongjiu.lu@intel.com>
573
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.
579
da9b5f7b
L
5802019-04-08 H.J. Lu <hongjiu.lu@intel.com>
581
582 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
583 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
584
d970ee2b
AM
5852019-04-08 Alan Modra <amodra@gmail.com>
586
587 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
588 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
589 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
590
5b9c07b2
L
5912019-04-06 H.J. Lu <hongjiu.lu@intel.com>
592
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
599 params.
600 * emulparams/cet.sh: Likewise.
601 * emulparams/reloc_overflow.sh: Likewise.
602 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
603 "elf-x86".
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
614 "solaris2-x86".
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.
620
c2b1c275
AM
6212019-04-05 Alan Modra <amodra@gmail.com>
622
623 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
624 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
625 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
626
1c6aafe8
AM
6272019-04-03 Alan Modra <amodra@gmail.com>
628
629 PR 24411
630 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
631 (<EXPRESSION>"/DISCARD/"): New.
632
092da96a
AM
6332019-04-03 Alan Modra <amodra@gmail.com>
634
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.
641
2487ef07
MF
6422019-03-29 Max Filippov <jcmvbkbc@gmail.com>
643
644 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
645 test definition.
646 * testsuite/ld-xtensa/xtensa.exp
647 (relax-undef-weak-pie-export-dynamic): Add new test.
648
7ea79cb3 6492019-03-26 Martin Liska <mliska@suse.cz>
650
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.
654
796d6298
TC
6552019-03-25 Tamar Christina <tamar.christina@arm.com>
656
657 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
658 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
659
4e539114
SD
6602019-03-21 Sudakshina Das <sudi.das@arm.com>
661
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.
667
f84bd465
AM
6682019-03-21 Alan Modra <amodra@gmail.com>
669
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-*.
678
2d3181c7
AM
6792019-03-21 Alan Modra <amodra@gmail.com>
680
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.
710
980a2e42
AM
7112019-03-21 Alan Modra <amodra@gmail.com>
712
713 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
714
3b6c1966
AM
7152019-03-21 Alan Modra <amodra@gmail.com>
716
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.
720
28a66f07
AM
7212019-03-18 Alan Modra <amodra@gmail.com>
722
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
727
1c82ed74
NC
7282019-03-15 Nick Clifton <nickc@redhat.com>
729
730 PR 24262
731 * ld.texi (-plugin): Correct the path used to locate linker
732 plugins.
733
1dbade74
SD
7342019-03-13 Sudakshina Das <sudi.das@arm.com>
735
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.
746
37c18eed
SD
7472019-03-13 Sudakshina Das <sudi.das@arm.com>
748 Szabolcs Nagy <szabolcs.nagy@arm.com>
749
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.
765
cd702818
SD
7662019-03-13 Sudakshina Das <sudi.das@arm.com>
767
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.
776
44b27f95
L
7772019-03-13 H.J. Lu <hongjiu.lu@intel.com>
778
779 PR ld/24322
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.
791
912ebfa0
NB
7922019-03-06 Nick Bowler <nbowler@draconx.ca>
793
794 PR 24289
795 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
796 attributes during the first phase.
797
24801b15
AK
7982019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
799
800 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
801 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
802
803 PR 20113
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.
820
5cfe428c
L
8212019-02-27 H.J. Lu <hongjiu.lu@intel.com>
822
823 PR ld/24276
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.
830
eed62915
MF
8312019-02-20 Eric Tsai <erictsai@cadence.com>
832
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.
838
abc163a4
TS
8392019-02-14 Thomas Schwinge <thomas@codesourcery.com>
840
841 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
842
e4865945
NC
8432019-02-12 Nick Clifton <nickc@redhat.com>
844
845 * po/fr.po: Updated French translation.
846
a0e90a73
CZ
8472019-02-09 Vineet Gupta <vgupta@synopsys.com>
848
849 * emultempl/arclinux.em: Delete special INIT/FINI handling.
850
5d3db3e2
NC
8512019-02-07 Nick Clifton <nickc@redhat.com>
852
853 PR 24175
854 * ld.texi (Options): Add missing word to the description of the
855 --start-group option.
856
4249a53c
AM
8572019-02-06 Alan Modra <amodra@gmail.com>
858
859 PR ld/24008
860 * testsuite/ld-scripts/pr24008.d: Pass with extra target
861 defined symbols.
862
83924b38
L
8632019-02-05 H.J. Lu <hongjiu.lu@intel.com>
864
865 PR ld/24151
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.
870
4f4690cd
AM
8712019-01-31 Alan Modra <amodra@gmail.com>
872
873 * NEWS: Mention -t change.
874 * ld.texi (--trace/-t): Expand documentation a little.
875
ad0f979c
L
8762019-01-29 H.J. Lu <hongjiu.lu@intel.com>
877
878 PR ld/24008
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.
884
c49829c3
EB
8852019-01-29 Eric Botcazou <ebotcazou@adacore.com>
886
887 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
888
6a846243
AM
8892019-01-28 Alan Modra <amodra@gmail.com>
890
891 PR 24008
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.
900
9ed1348c
NC
9012019-01-25 Nick Clifton <nickc@redhat.com>
902
903 * po/bg.po: Updated Bulgarian translation.
904
6406a270
SH
9052019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
906
907 * ld.texi (--wrap): Add warning that LTO may make this feature
908 ineffective.
909
375cd423
NC
9102019-01-21 Nick Clifton <nickc@redhat.com>
911
912 * po/uk.po: Updated Ukranian translation.
a6c9b404 913 * po/pr_BR.po: Updated Brazilian Portuguese translation.
375cd423 914
acef8081
YC
9152019-01-21 Nick Clifton <nickc@redhat.com>
916
917 PR 24108
918 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
919 expected error message.
920
f48dfe41
NC
9212019-01-19 Nick Clifton <nickc@redhat.com>
922
923 * configure: Regenerate.
924 * po/ld.pot: Regenerate.
925
f974f26c
NC
9262018-06-24 Nick Clifton <nickc@redhat.com>
927
928 2.32 branch created.
929
7d7a7d7c
JW
9302019-01-16 Kito Cheng <kito@andestech.com>
931
932 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
933 section.
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.
971
5a12586d
MT
9722019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
973
f466c305 974 PR 20113
5a12586d
MT
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.
f466c305 990 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
5a12586d 991
4ea904ed
SH
9922019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
993
994 * ld.texi (--wrap): Add example to emphasise that only undefined
995 references are replaced by the linker.
996
8379fac6
NC
9972019-01-09 Nick Clifton <nickc@redhat.com>
998
999 * po/es.po: Updated Spanish translation.
1000
3107326d
AP
10012019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1002
1003 * configure: Regenerate.
1004
171b8e19
AM
10052019-01-08 Alan Modra <amodra@gmail.com>
1006
1007 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
1008 generated source file names.
1009 * testsuite/ld-m68k/m68k-got.exp: Likewise.
1010
82704155
AM
10112019-01-01 Alan Modra <amodra@gmail.com>
1012
1013 Update year range in copyright notice of all files.
1014
d5c04e1b 1015For older changes see ChangeLog-2018
3499769a 1016\f
d5c04e1b 1017Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
1018
1019Copying and distribution of this file, with or without modification,
1020are permitted in any medium without royalty provided the copyright
1021notice and this notice are preserved.
1022
1023Local Variables:
1024mode: change-log
1025left-margin: 8
1026fill-column: 74
1027version-control: never
1028End:
This page took 0.243336 seconds and 4 git commands to generate.