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