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