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