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