elfedit: Add --enable-x86-feature/--disable-x86-feature
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2018-11-06 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/config/default.exp (ELFEDIT): New.
4 * testsuite/ld-elf/linux-x86.exp (elfedit_test): New proc.
5 Run elfedit tests.
6 * testsuite/ld-elf/x86-feature-1a.rd: New file.
7 * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
8 * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
9 * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
10 * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
11
12 2018-11-05 H.J. Lu <hongjiu.lu@intel.com>
13
14 PR gas/23854
15 * testsuite/ld-i386/i386.exp: Run pr23854.
16 * testsuite/ld-x86-64/x86-64.exp: Likewwise.
17 * testsuite/ld-i386/pr23854.d: New file.
18 * testsuite/ld-i386/pr23854.s: Likewwise.
19 * testsuite/ld-i386/pr23854.d: Likewwise.
20 * testsuite/ld-x86-64/pr23854.d: Likewwise.
21 * testsuite/ld-x86-64/pr23854.s: Likewwise.
22
23 2018-11-01 Thomas Preud'homme <thomas.preudhomme@linaro.org>
24
25 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Moved to
26 binutils-common.exp.
27
28 2018-10-29 Alan Modra <amodra@gmail.com>
29
30 * ldlang.c (load_symbols): When -t, print file names for script
31 files and archives.
32 * ldmain.c (trace_files): Make an int.
33 (add_archive_element): Print archive elements only with multiple
34 -t options, or when archive is thin.
35 * ldmain.h (trace_files): Update.
36 * ldmisc.c (vfinfo): Don't print both original path and path in
37 sysroot.
38 * lexsup.c (parse_args <t>): Increment trace_files.
39
40 2018-10-29 Alan Modra <amodra@gmail.com>
41
42 * ldmain.c (main): Print emulation mode and "deleting executable"
43 for --verbose, not --trace.
44 (add_archive_element): Only print "no new IR symbols" for --verbose.
45
46 2018-10-29 Alan Modra <amodra@gmail.com>
47
48 * ldmain.c (get_sysroot): Return "" for "--sysroot=/".
49
50 2018-10-29 Alan Modra <amodra@gmail.com>
51
52 * Makefile.am (ei386beos.c, ei386go32.c): Correct dependencies.
53 * Makefile.in: Regenerate.
54 * scripttempl/elf.sc (.note.gnu.build-id, .eh_frame_hdr): Set
55 address with ${RELOCATING-0}.
56 * scripttempl/arclinux.sc: Likewise.
57 * scripttempl/armbpabi.sc: Likewise.
58 * scripttempl/avr.sc: Likewise.
59 * scripttempl/elf64hppa.sc: Likewise.
60 * scripttempl/elf_chaos.sc: Likewise.
61 * scripttempl/elfarc.sc: Likewise.
62 * scripttempl/elfxtensa.sc: Likewise.
63 * scripttempl/mep.sc: Likewise.
64 * scripttempl/nds32elf.sc: Likewise.
65 * scripttempl/pru.sc: Likewise.
66 * scripttempl/elf32msp430.sc: Likewise, and for other sections.
67 * scripttempl/epiphany_4x4.sc: Similarly.
68
69 2018-10-26 Christoph Conrads <christoph.conrads@fluent.ai>
70
71 * ld.texi (--gc-sections): Update.
72
73 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
74
75 PR ld/23818
76 * testsuite/ld-plugin/lto.exp: Run PR ld/23818 test.
77 * testsuite/ld-plugin/pr23818.d: New file.
78 * testsuite/ld-plugin/pr23818.t: Likewise.
79 * testsuite/ld-plugin/pr23818a.c: Likewise.
80 * testsuite/ld-plugin/pr23818b.c: Likewise.
81
82 2018-10-23 Alan Modra <amodra@gmail.com>
83
84 * testsuite/ld-elf/shared.exp: Don't build pr19073 test on alpha.
85 * testsuite/ld-elf/pr18720b.c: Don't use .set on alpha.
86
87 2018-10-20 Alan Modra <amodra@gmail.com>
88
89 * ldlang.c (lang_end): Don't error if no --entry or --undefined
90 is given with -r -gc-sections if --gc-keep-exported.
91
92 2018-10-15 Jim Wilson <jimw@sifive.com>
93
94 * emulparams/elf32lriscv-defs.sh (DATA_START_SYMBOLS): New.
95 (SDATA_START_SYMBOLS): Define __SDATA_BEGIN__. Don't define
96 __global_pointer$.
97 (OTHER_END_SYMBOLS): New. Define __global_pointer$.
98 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d (#ld): Add --no-relax.
99
100 2018-10-15 Alan Modra <amodra@gmail.com>
101
102 PR 23534
103 * ldmain.c (main): Exit with fatal error if bfd_init returns
104 an unexpected value.
105
106 2018-10-13 Alan Modra <amodra@gmail.com>
107
108 * Makefile.am (eelf32btsmip_fbsd.c, eelf32btsmipn32_fbsd.c),
109 (eelf32epiphany.c, eelf32epiphany_4x4.c, eelf32ltsmip_fbsd.c),
110 (eelf32ltsmipn32_fbsd.c, eelf32xc16x.c, eelf32xc16xl.c),
111 (eelf32xc16xs.c, emcorepe.c, enios2elf.c, enios2linux.c),
112 (eelf64btsmip_fbsd.c, eelf64ltsmip_fbsd.c): Correct dependencies.
113 * Makefile.in: Regenerate.
114 * emulparams/aarch64cloudabi.sh, * emulparams/aarch64fbsd.sh,
115 * emulparams/aarch64linux.sh, * emulparams/aarch64linux32.sh,
116 * emulparams/arc-nps.sh, * emulparams/elf32_spu.sh,
117 * emulparams/elf32_tic6x_le.sh, * emulparams/elf32bmip.sh,
118 * emulparams/elf32btsmipn32.sh, * emulparams/elf32lr5900n32.sh,
119 * emulparams/elf32mep.sh, * emulparams/elf32metag.sh,
120 * emulparams/elf64btsmip.sh, * emulparams/shelf_vxworks.sh,
121 * emulparams/shlelf_fd.sh, * scripttempl/DWARF.sc,
122 * scripttempl/alpha.sc, * scripttempl/alphavms.sc,
123 * scripttempl/arclinux.sc, * scripttempl/armbpabi.sc,
124 * scripttempl/avr.sc, * scripttempl/dlx.sc, * scripttempl/elf.sc,
125 * scripttempl/elf32cr16.sc, * scripttempl/elf32cr16c.sc,
126 * scripttempl/elf32crx.sc, * scripttempl/elf32msp430.sc,
127 * scripttempl/elf32msp430_3.sc, * scripttempl/elf32xc16x.sc,
128 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
129 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
130 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
131 * scripttempl/elfd10v.sc, * scripttempl/elfd30v.sc,
132 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
133 * scripttempl/elfm9s12z.sc, * scripttempl/elfmicroblaze.sc,
134 * scripttempl/elfxgate.sc, * scripttempl/elfxtensa.sc,
135 * scripttempl/epiphany_4x4.sc, * scripttempl/ft32.sc,
136 * scripttempl/hppaelf.sc, * scripttempl/ia64vms.sc,
137 * scripttempl/ip2k.sc, * scripttempl/iq2000.sc,
138 * scripttempl/mep.sc, * scripttempl/mmo.sc,
139 * scripttempl/nds32elf.sc, * scripttempl/pru.sc,
140 * scripttempl/sh.sc, * scripttempl/v850.sc,
141 * scripttempl/v850_rh850.sc, * scripttempl/visium.sc,
142 * scripttempl/xstormy16.sc: Condition various parts of scripts on
143 ${RELOCATABLE} in order to prevent ld -r merging sections or
144 defining symbols. Remove MEMORY and VERSION definitions from
145 ld -r scripts too.
146 * testsuite/ld-elf/group2.d, * testsuite/ld-elf/group4.d,
147 * testsuite/ld-elf/group5.d, * testsuite/ld-elf/group6.d,
148 * testsuite/ld-elf/group7.d, * testsuite/ld-elf/group8a.d,
149 * testsuite/ld-elf/group8b.d, * testsuite/ld-elf/group9a.d,
150 * testsuite/ld-elf/group9b.d, * testsuite/ld-elf/pr17550a.d,
151 * testsuite/ld-elf/pr17550b.d,
152 * testsuite/ld-elf/pr17550d.d: Don't xfail cr16 and crx.
153 * testsuite/ld-elf/init-fini-arrays.d,
154 * testsuite/ld-elf/pr22677.d: Likewise, and dont' xfail mep.
155
156 2018-10-08 H.J. Lu <hongjiu.lu@intel.com>
157
158 PR ld/23428
159 * testsuite/ld-i386/property-x86-4a.d: Updated.
160 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
161 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
162
163 2018-10-08 H.J. Lu <hongjiu.lu@intel.com>
164
165 PR ld/23658
166 * ldlang.c (lang_insert_orphan): Properly group and place orphan
167 note sections. Properly handle orphan note section before all
168 note sections.
169 * testsuite/ld-elf/pr23658-1.d: Renamed to ...
170 * testsuite/ld-elf/pr23658-1a.d: This. Updated.
171 * testsuite/ld-elf/pr23658-1b.d: New test.
172 * testsuite/ld-elf/pr23658-1c.d: Likewise.
173
174 2018-10-08 Alan Modra <amodra@gmail.com>
175
176 * ldexp.c (fold_name <SIZEOF_HEADERS>): Set link_info.load_phdrs.
177 * testsuite/ld-elf/loadaddr1.d: Pass -z noseparate-code.
178 * testsuite/ld-elf/loadaddr2.d: Likewise.
179 * testsuite/ld-i386/vxworks2.sd: Adjust expected output.
180 * testsuite/ld-powerpc/vxworks2.sd: Likewise.
181 * testsuite/ld-elf/overlay.d: Remove spu xfail.
182 * testsuite/ld-spu/ovl.lnk: Don't use SIZEOF_HEADERS.
183 * testsuite/ld-tic6x/dsbt-be.ld: Likewise.
184 * testsuite/ld-tic6x/dsbt-inrange.ld: Likewise.
185 * testsuite/ld-tic6x/dsbt-overflow.ld: Likewise.
186 * testsuite/ld-tic6x/dsbt.ld: Likewise.
187
188 2018-10-08 Alan Modra <amodra@gmail.com>
189
190 * ldlang.c (insert_os_after): Clear ignore_first on assignment to
191 dot, not any assignment. Clear ignore_first on output section
192 statement contents too.
193 * testsuite/ld-elf/pr19539.d: Remove alpha xfail.
194
195 2018-10-08 Alan Modra <amodra@gmail.com>
196
197 * testsuite/ld-elf/pr22423.d: Pass --dynamic-linker to ld.
198
199 2018-10-05 Richard Henderson <rth@twiddle.net>
200
201 * testsuite/ld-or1k/or1k.exp: Add test cases for plt generation.
202 * testsuite/ld-or1k/plt1.dd: New file.
203 * testsuite/ld-or1k/plt1.s: New file.
204 * testsuite/ld-or1k/plt1.x.dd: New file.
205 * testsuite/ld-or1k/plta1.dd: New file.
206 * testsuite/ld-or1k/plta1.s: New file.
207 * testsuite/ld-or1k/pltlib.s: New file.
208
209 2018-10-05 Richard Henderson <rth@twiddle.net>
210
211 * testsuite/ld-or1k/offsets1.d: New file.
212 * testsuite/ld-or1k/offsets1.s: New file.
213 * testsuite/ld-or1k/or1k.exp: New file.
214
215 2018-10-04 H.J. Lu <hongjiu.lu@intel.com>
216
217 PR ld/23658
218 * testsuite/ld-elf/pr23658-1.d: Also xfail ft32-* and xgate-*.
219
220 2018-10-03 H.J. Lu <hongjiu.lu@intel.com>
221
222 PR ld/23658
223 * testsuite/ld-elf/pr23658-1.d: New file.
224 * testsuite/ld-elf/pr23658-1a.s: Likewise.
225 * testsuite/ld-elf/pr23658-1b.s: Likewise.
226 * testsuite/ld-elf/pr23658-1c.s: Likewise.
227 * testsuite/ld-elf/pr23658-1d.s: Likewise.
228 * testsuite/ld-elf/pr23658-2.rd: Likewise.
229 * testsuite/ld-elf/pr23658-3.d: Likewise.
230 * testsuite/ld-elf/pr23658-3.s: Likewise.
231 * testsuite/ld-elf/pr23658-3.t: Likewise.
232 * testsuite/ld-elf/shared.exp: Run PR ld/23658 tests.
233
234 2018-10-03 H.J. Lu <hongjiu.lu@intel.com>
235
236 PR ld/23658
237 * ldlang.c (lang_insert_orphan): Group and sort output note
238 sections by section alignments.
239
240 2018-09-25 Eric Botcazou <ebotcazou@adacore.com>
241
242 * testsuite/ld-elf/pr14156b.d: Adjust for extra symbols.
243 * testsuite/ld-elf/pr22677.s: Define main/start/_start/__start.
244
245 2018-09-24 Jim Wilson <jimw@sifive.com>
246
247 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend-2.
248 * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.d: New.
249 * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend-2.s: New.
250 * testsuite/ld-riscv/elf/ld-riscv-elf/pcrel-lo-addend.d: Update name
251 and error string.
252
253 2018-09-21 Alan Modra <amodra@gmail.com>
254
255 * testsuite/ld-avr/gc-section-debugline.d: Update.
256
257 2018-09-20 H.J. Lu <hongjiu.lu@intel.com>
258
259 * testsuite/ld-checks/over2.s: Add "_main" for LynxOS targets.
260 * testsuite/ld-elf/comm-data4.s: Likewise.
261 * testsuite/ld-elf/comm-data5.s: Likewise.
262 * testsuite/ld-elf/eh5b.s: Likewise.
263 * testsuite/ld-elf/empty.s: Likewise.
264 * testsuite/ld-elf/empty2.s: Likewise.
265 * testsuite/ld-elf/exclude3.s: Likewise.
266 * testsuite/ld-elf/fini0.s: Likewise.
267 * testsuite/ld-elf/init0.s: Likewise.
268 * testsuite/ld-elf/linkonce1b.s: Likewise.
269 * testsuite/ld-elf/orphan3a.s: Likewise.
270 * testsuite/ld-elf/pr14926.s: Likewise.
271 * testsuite/ld-elf/pr20513a.s: Likewise.
272 * testsuite/ld-elf/sec64k.exp: Likewise.
273 * testsuite/ld-elf/start.s: Likewise.
274 * testsuite/ld-elf/var1.s: Likewise.
275
276 2018-09-20 Kito Cheng <kito@andestech.com>
277
278 * emulparams/elf32lriscv.sh: Correct the library search path.
279 * emulparams/elf32lriscv_ilp32.sh: Likewise.
280 * emulparams/elf32lriscv_ilp32f.sh: Likewise.
281
282 2018-09-20 Nelson Chu <nelson.chu1990@gmail.com>
283
284 * emultempl/nds32elf.em (hyper_relax): New variable.
285 (nds32_elf_create_output_section_statements):
286 the parameters of bfd_elf32_nds32_set_target_option
287 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
288 PARSE_AND_LIST_ARGS_CASES): Add new option --mhyper-relax.
289 * emultempl/nds32elf.em (nds32_elf_after_open): Updated.
290 * emultempl/nds32elf.em (tls_desc_trampoline): New variable.
291 * (nds32_elf_create_output_section_statements): Updated.
292 * (nds32_elf_after_parse): Disable relaxations when PIC is enable.
293 * (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_OPTIONS,
294 PARSE_AND_LIST_ARGS_CASES): Add new option --m[no-]tlsdesc-trampoline.
295
296 2018-09-19 Alan Modra <amodra@gmail.com>
297
298 PR ld/23648
299 * ldlang.c (lang_process): Move lang_do_memory_regions earlier.
300 Comment on lang_do_assignments call.
301 * ldgram.y (origin_exp): Don't assign region->current.
302 * testsuite/ld-elf/pr23648.d,
303 * testsuite/ld-elf/pr23648.s,
304 * testsuite/ld-elf/pr23648.t: New test.
305
306 2018-09-19 Alan Modra <amodra@gmail.com>
307
308 * ldmain.c (add_archive_element): Handle auto-inport symbols
309 when printing map.
310
311 2018-09-17 Alan Modra <amodra@gmail.com>
312
313 * testsuite/ld-elf/comm-data5.d: Remove notarget for hppa.
314 * testsuite/ld-scripts/defined6.d: Likewise.
315
316 2018-09-17 Nick Clifton <nickc@redhat.com>
317
318 * testuite/ld/ld-elf/audit.exp: Differentiate the names of the
319 two "Run with shared with --audit" tests.
320 * testuite/ld/ld-elf/compress.exp: Differentiate the zlib
321 compressed debug output test names.
322 * testuite/ld/ld-i386/tlspie1.d: Add extra details to the test
323 name.
324 * testuite/ld/ld-i386/tlspie2.d: Likewise.
325 * testuite/ld/ld-size/size.exp: Add missing escapes to the end
326 of lines in the size-3e test.
327 * testuite/ld/ld-unique/unique.exp: Differentiate the names of
328 the two "Checking unique PIC object" tests.
329 * testuite/ld/ld-x86-64/tlspie1.d: Add extra details to the test
330 name.
331
332 2018-09-15 Alan Modra <amodra@gmail.com>
333
334 * testsuite/ld-d10v/reloc-007.d,
335 * testsuite/ld-d10v/reloc-008.d,
336 * testsuite/ld-d10v/reloc-015.d,
337 * testsuite/ld-d10v/reloc-016.d: Remove "error:".
338 * testsuite/ld-elf/eh-frame-hdr.d,
339 * testsuite/ld-elf/eh5.d,
340 * testsuite/ld-gc/personality.d: Replace "cfi" and "shared" in
341 target list with appropriate proc.
342 * testsuite/ld-elf/frame.exp: Use check_shared_lib_support rather
343 than "istarget shared".
344 * testsuite/lib/ld-lib.exp (proc big_or_little_endian): Delete.
345 (run_dump_test, slurp_options, file_contents): Delete.
346 (set_file_contents, istarget): Delete.
347
348 2018-09-15 Alan Modra <amodra@gmail.com>
349
350 * testsuite/lib/ld-lib.exp (run_dump_test): Replace PROG
351 with DUMPPROG.
352
353 2018-09-15 Alan Modra <amodra@gmail.com>
354
355 * testsuite/ld-elf/interleave-0.d,
356 * testsuite/ld-elf/interleave-4.d: Don't objcopy to srec,
357 objdump instead.
358 * testsuite/ld-gc/all-debug-sections.d,
359 * testsuite/ld-scripts/provide-4.d,
360 * testsuite/ld-scripts/provide-5.d,
361 * testsuite/ld-scripts/provide-6.d,
362 * testsuite/ld-scripts/provide-7.d,
363 * testsuite/ld-scripts/provide-8.d,
364 * testsuite/ld-scripts/segment-start.d: Remove PROG, specify
365 nm instead.
366 * testsuite/lib/ld-lib.exp (run_dump_test): Remove support
367 for objcopy as a dump tool.
368
369 2018-09-14 Maciej W. Rozycki <macro@mips.com>
370
371 PR ld/21375
372 * testsuite/ld-mips-elf/pr21375-abi.hd: New test.
373 * testsuite/ld-mips-elf/pr21375-noabi.hd: New test.
374 * testsuite/ld-mips-elf/pr21375.dd: New test.
375 * testsuite/ld-mips-elf/pr21375h.dd: New test.
376 * testsuite/ld-mips-elf/pr21375p.dd: New test.
377 * testsuite/ld-mips-elf/pr21375ph.dd: New test.
378 * testsuite/ld-mips-elf/pr21375s.dd: New test.
379 * testsuite/ld-mips-elf/pr21375s-n32.dd: New test.
380 * testsuite/ld-mips-elf/pr21375s-n64.dd: New test.
381 * testsuite/ld-mips-elf/pr21375sh.dd: New test.
382 * testsuite/ld-mips-elf/pr21375sh-n32.dd: New test.
383 * testsuite/ld-mips-elf/pr21375sh-n64.dd: New test.
384 * testsuite/ld-mips-elf/pr21375shg.dd: New test.
385 * testsuite/ld-mips-elf/pr21375sx.dd: New test.
386 * testsuite/ld-mips-elf/pr21375sxh.dd: New test.
387 * testsuite/ld-mips-elf/pr21375sm16.dd: New test.
388 * testsuite/ld-mips-elf/pr21375sm16h.dd: New test.
389 * testsuite/ld-mips-elf/pr21375su.dd: New test.
390 * testsuite/ld-mips-elf/pr21375su-n32.dd: New test.
391 * testsuite/ld-mips-elf/pr21375su-n64.dd: New test.
392 * testsuite/ld-mips-elf/pr21375suh.dd: New test.
393 * testsuite/ld-mips-elf/pr21375suh-n32.dd: New test.
394 * testsuite/ld-mips-elf/pr21375suh-n64.dd: New test.
395 * testsuite/ld-mips-elf/pr21375sux.dd: New test.
396 * testsuite/ld-mips-elf/pr21375suxh.dd: New test.
397 * testsuite/ld-mips-elf/pr21375.gd: New test.
398 * testsuite/ld-mips-elf/pr21375h.gd: New test.
399 * testsuite/ld-mips-elf/pr21375p.gd: New test.
400 * testsuite/ld-mips-elf/pr21375ph.gd: New test.
401 * testsuite/ld-mips-elf/pr21375s.gd: New test.
402 * testsuite/ld-mips-elf/pr21375s-n32.gd: New test.
403 * testsuite/ld-mips-elf/pr21375s-n64.gd: New test.
404 * testsuite/ld-mips-elf/pr21375sh.gd: New test.
405 * testsuite/ld-mips-elf/pr21375sh-n32.gd: New test.
406 * testsuite/ld-mips-elf/pr21375sh-n64.gd: New test.
407 * testsuite/ld-mips-elf/pr21375shg.gd: New test.
408 * testsuite/ld-mips-elf/pr21375shl.gd: New test.
409 * testsuite/ld-mips-elf/pr21375shv.gd: New test.
410 * testsuite/ld-mips-elf/pr21375sx.gd: New test.
411 * testsuite/ld-mips-elf/pr21375sxh.gd: New test.
412 * testsuite/ld-mips-elf/pr21375.sd: New test.
413 * testsuite/ld-mips-elf/pr21375-irix.sd: New test.
414 * testsuite/ld-mips-elf/pr21375h.sd: New test.
415 * testsuite/ld-mips-elf/pr21375h-irix.sd: New test.
416 * testsuite/ld-mips-elf/pr21375p.sd: New test.
417 * testsuite/ld-mips-elf/pr21375p-irix.sd: New test.
418 * testsuite/ld-mips-elf/pr21375ph.sd: New test.
419 * testsuite/ld-mips-elf/pr21375ph-irix.sd: New test.
420 * testsuite/ld-mips-elf/pr21375s.sd: New test.
421 * testsuite/ld-mips-elf/pr21375s-irix.sd: New test.
422 * testsuite/ld-mips-elf/pr21375s-n32.sd: New test.
423 * testsuite/ld-mips-elf/pr21375s-n32-irix.sd: New test.
424 * testsuite/ld-mips-elf/pr21375s-n64.sd: New test.
425 * testsuite/ld-mips-elf/pr21375s-n64-irix.sd: New test.
426 * testsuite/ld-mips-elf/pr21375sh.sd: New test.
427 * testsuite/ld-mips-elf/pr21375sh-irix.sd: New test.
428 * testsuite/ld-mips-elf/pr21375sh-n32.sd: New test.
429 * testsuite/ld-mips-elf/pr21375sh-n32-irix.sd: New test.
430 * testsuite/ld-mips-elf/pr21375sh-n64.sd: New test.
431 * testsuite/ld-mips-elf/pr21375sh-n64-irix.sd: New test.
432 * testsuite/ld-mips-elf/pr21375shg.sd: New test.
433 * testsuite/ld-mips-elf/pr21375shg-irix.sd: New test.
434 * testsuite/ld-mips-elf/pr21375shl.sd: New test.
435 * testsuite/ld-mips-elf/pr21375shl-irix.sd: New test.
436 * testsuite/ld-mips-elf/pr21375shv.sd: New test.
437 * testsuite/ld-mips-elf/pr21375shv-irix.sd: New test.
438 * testsuite/ld-mips-elf/pr21375sx.sd: New test.
439 * testsuite/ld-mips-elf/pr21375sx-irix.sd: New test.
440 * testsuite/ld-mips-elf/pr21375sxh.sd: New test.
441 * testsuite/ld-mips-elf/pr21375sxh-irix.sd: New test.
442 * testsuite/ld-mips-elf/pr21375.ld: New test linker script.
443 * testsuite/ld-mips-elf/pr21375-xgot.ld: New test linker script.
444 * testsuite/ld-mips-elf/pr21375.ver: New test version script.
445 * testsuite/ld-mips-elf/pr21375v.ver: New test version script.
446 * testsuite/ld-mips-elf/pr21375.s: New test source.
447 * testsuite/ld-mips-elf/pr21375-mips16.s: New test source.
448 * testsuite/ld-mips-elf/pr21375-n32.s: New test source.
449 * testsuite/ld-mips-elf/pr21375-n64.s: New test source.
450 * testsuite/ld-mips-elf/pr21375-xgot.s: New test source.
451 * testsuite/ld-mips-elf/mips-elf.exp (run_mips_undefweak_test):
452 New procedure; run the new tests.
453
454 2018-09-14 Maciej W. Rozycki <macro@mips.com>
455
456 PR ld/21375
457 * emultempl/mipself.em: Set `gnu_target' according to ${target}.
458 (mips_create_output_section_statements): Update call to
459 `_bfd_mips_elf_linker_flags'.
460 * testsuite/ld-mips-elf/pr21334.s: Use LWL rather than LW.
461 * testsuite/ld-mips-elf/pr21334.dd: Update accordingly.
462
463 2018-09-14 Maciej W. Rozycki <macro@mips.com>
464 Maciej W. Rozycki <macro@linux-mips.org>
465
466 * ldexp.c (fold_binary): Always make the result of SEGMENT_START
467 section-relative.
468 * testsuite/ld-scripts/segment-start.d: New test.
469 * testsuite/ld-scripts/segment-start.ld: New test linker script.
470 * testsuite/ld-scripts/segment-start.s: New test source.
471 * testsuite/ld-scripts/script.exp: Run the new test.
472
473 2018-09-14 Maciej W. Rozycki <macro@linux-mips.org>
474
475 * ldexp.c (fold_binary): Check that `config.maxpagesize' is
476 non-zero before using it as a divisor.
477
478 2018-09-03 Nick Clifton <nickc@redhat.com>
479
480 * po/fi.po: Updated Finnish translation.
481
482 2018-09-03 Alan Modra <amodra@gmail.com>
483
484 PR ld/23591
485 * testsuite/ld-elf/pr23591a.s,
486 * testsuite/ld-elf/pr23591b.s,
487 * testsuite/ld-elf/pr23591c.s: Don't start directives in first column.
488 * testsuite/ld-elf/pr23591.d: xfail frv-linux and lm32-linux.
489 Allow __start___sancov_cntrs as a local symbol.
490
491 018-08-31 H.J. Lu <hongjiu.lu@intel.com>
492
493 PR ld/23591
494 * ldlang.c (undef_start_stop): Lookup section in output with
495 the same name.
496 * testsuite/ld-elf/pr23591.d: New file.
497 * testsuite/ld-elf/pr23591a.s: Likewise.
498 * testsuite/ld-elf/pr23591b.s: Likewise.
499 * testsuite/ld-elf/pr23591c.s: Likewise.
500
501 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
502
503 * testsuite/ld-i386/i386.exp: Also run for x86_64-*-elf* targets.
504 * testsuite/ld-i386/property-x86-4a.d: Pass -z separate-code to
505 ld.
506 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
507 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
508
509 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
510
511 * testsuite/ld-elf/elf.exp (ASFLAGS): Save, append
512 -mx86-used-note=no and restore.
513 * testsuite/ld-ifunc/ifunc.exp (ASFLAGS): Likewise.
514 * testsuite/ld-scripts/defined.exp (ASFLAGS): Likewise.
515 * testsuite/ld-scripts/overlay-size.exp (ASFLAGS): Likewise.
516
517 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
518
519 * testsuite/ld-srec/srec.exp: Append -Wa,-mx86-used-note=no to
520 CC and CXX on ELF/x86 targets.
521
522 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
523
524 * testsuite/ld-i386/i386.exp: (ASFLAGS): Save, append
525 -mx86-used-note=no and restore. Pass -mx86-used-note=yes and
526 -mx86-used-note=no to assembler.
527 * testsuite/ld-x86-64/x86-64.exp: Likewise.
528 * testsuite/ld-i386/no-plt.exp: Pass -mx86-used-note=yes to
529 assembler.
530 * testsuite/ld-i386/tls.exp: Likewise.
531 * testsuite/ld-x86-64/no-plt.exp: Likewise.
532 * testsuite/ld-x86-64/tls.exp: Likewise.
533 * testsuite/ld-i386/pr23486a.d: Pass -mx86-used-note=no to
534 assembler.
535 * testsuite/ld-i386/pr23486b.d: Likewise.
536 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
537 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
538 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
539 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
540 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
541 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
542 * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
543 * testsuite/ld-x86-64/pr23486a.d: Likewise.
544 * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
545 * testsuite/ld-x86-64/pr23486b.d: Likewise.
546 * testsuite/ld-i386/property-x86-3.d: Pass -mx86-used-note=yes
547 to assembler and update expected output from "readelf -n".
548 * testsuite/ld-i386/property-x86-4a.d: Likewise.
549 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
550 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
551 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
552 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
553 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
554 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
555 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
556 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
557 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
558 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
559 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
560 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
561 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
562 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
563 * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
564 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
565 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
566 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
567 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
568 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
569 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
570 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
571 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
572 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
573 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
574 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
575 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
576 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
577 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
578 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
579 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
580 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
581 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
582 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
583 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
584 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
585 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
586 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
587 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
588 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
589 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
590 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
591 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
592 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
593 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
594 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
595 * testsuite/ld-i386/property-1a.r: New file.
596 * testsuite/ld-i386/property-2a.r: Likewise.
597 * testsuite/ld-i386/property-3a.r: Likewise.
598 * testsuite/ld-i386/property-4a.r: Likewise.
599 * testsuite/ld-i386/property-5a.r: Likewise.
600 * testsuite/ld-i386/property-7a.r: Likewise.
601 * testsuite/ld-x86-64/property-1a.r: Likewise.
602 * testsuite/ld-x86-64/property-2a.r: Likewise.
603 * testsuite/ld-x86-64/property-3a.r: Likewise.
604 * testsuite/ld-x86-64/property-4a.r: Likewise.
605 * testsuite/ld-x86-64/property-5a.r: Likewise.
606 * testsuite/ld-x86-64/property-7a.r: Likewise.
607 * testsuite/ld-x86-64/mpx.exp: Pass -mx86-used-note=no to
608 assembler.
609
610 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
611
612 * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination
613 gs264e and gs464e.
614
615 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
616
617 * testsuite/ld-mips-elf/mips-elf-flags.exp: Run good_combination
618 gs464e and gs464.
619
620 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
621
622 * testsuite/ld-mips-elf/mips-elf-flags.exp: Rename loongson3a
623 to gs464.
624
625 2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
626
627 * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):
628 Skip o32 flags checking if target is mips*-*-irix*.
629
630 2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
631
632 * testsuite/ld-i386/i386.exp: Run property-x86-5.
633 * testsuite/ld-i386/property-x86-5.d: New file.
634 * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
635 * testsuite/ld-x86-64/property-x86-5.d: Likewise.
636 * testsuite/ld-x86-64/property-x86-5a.s: Likewise.
637 * testsuite/ld-x86-64/property-x86-5b.s: Likewise.
638 * testsuite/ld-x86-64/x86-64.exp: Run property-x86-5 and
639 property-x86-5-x32.
640
641 2018-08-26 Alan Modra <amodra@gmail.com>
642
643 PR 23571
644 * ldlang.h (section_alignment): Make it an expression tree.
645 (subsection_alignment): Likewise.
646 * ldlang.c (topower): Delete.
647 (output_section_statement_newfunc): Adjust initialization.
648 (init_os): Evaluate section_alignment.
649 (lang_size_sections_1): Likewise.
650 (size_input_section): Evaluate subsection_alignment.
651 (lang_enter_output_section_statement): Don't evaluate here.
652 (lang_new_phdr): Use exp_get_vma rather than exp_get_value_int.
653 * ldexp.h (exp_get_value_int): Delete.
654 (exp_get_power): Declare.
655 * ldexp.c (exp_get_value_int): Delete.
656 (exp_get_power): New function.
657 * emultempl/pe.em (place_orphan): Build expression for section
658 alignment.
659 * emultempl/pep.em (place_orphan): Likewise.
660 * testsuite/ld-scripts/pr23571.d,
661 * testsuite/ld-scripts/pr23571.t: New test.
662 * testsuite/ld-scripts/align.exp: Run it.
663
664 2018-08-24 Chenghua Xu <paul.hua.gm@gmail.com>
665
666 * testsuite/ld-mips-elf/mips-elf-flags.exp
667 (check_ld_support_32bit, check_is_32bit_args): New procedures.
668 (good_combination, bad_combination): Skip 32bit test if ld
669 not support 32bit emulations.
670
671 2018-08-24 H.J. Lu <hongjiu.lu@intel.com>
672
673 * testsuite/ld-i386/i386.exp: Run pr23372c, pr23372d, pr23486c
674 and pr23486d.
675 * testsuite/ld-i386/pr23372a.s: Update comments.
676 * testsuite/ld-i386/pr23372b.s: Likewise.
677 * testsuite/ld-i386/pr23372c.s: Likewise.
678 * testsuite/ld-x86-64/pr23372a.s: Likewise.
679 * testsuite/ld-x86-64/pr23372b.s: Likewise.
680 * testsuite/ld-x86-64/pr23372c.s: Likewise.
681 * testsuite/ld-x86-64/pr23486a.s: Likewise.
682 * testsuite/ld-x86-64/pr23486b.s: Likewise.
683 * testsuite/ld-i386/pr23372c.d: New file.
684 * testsuite/ld-i386/pr23372d.d: Likewise.
685 * testsuite/ld-i386/pr23486c.d: Likewise.
686 * testsuite/ld-i386/pr23486d.d: Likewise.
687 * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
688 * testsuite/ld-x86-64/pr23372c.d: Likewise.
689 * testsuite/ld-x86-64/pr23372d-x32.d: Likewise.
690 * testsuite/ld-x86-64/pr23372d.d: Likewise.
691 * testsuite/ld-x86-64/pr23372d.s: Likewise.
692 * testsuite/ld-x86-64/pr23372e.s: Likewise.
693 * testsuite/ld-x86-64/pr23372f.s: Likewise.
694 * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
695 * testsuite/ld-x86-64/pr23486c.d: Likewise.
696 * testsuite/ld-x86-64/pr23486c.s: Likewise.
697 * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
698 * testsuite/ld-x86-64/pr23486d.d: Likewise.
699 * testsuite/ld-x86-64/pr23486d.s: Likewise.
700 * testsuite/ld-i386/property-3.r: Updated.
701 * testsuite/ld-i386/property-4.r: Likewise.
702 * testsuite/ld-i386/property-5.r: Likewise.
703 * testsuite/ld-i386/property-x86-3.d: Likewise.
704 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
705 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
706 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
707 * testsuite/ld-x86-64/property-3.r: Likewise.
708 * testsuite/ld-x86-64/property-4.r: Likewise.
709 * testsuite/ld-x86-64/property-5.r: Likewise.
710 * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
711 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
712 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
713 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
714 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
715 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
716 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
717 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
718 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
719 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
720 * testsuite/ld-i386/property-x86-1.S: Updated to the current
721 GNU_PROPERTY_X86_ISA_1_USED and GNU_PROPERTY_X86_ISA_1_NEEDED
722 values.
723 * testsuite/ld-i386/property-x86-2.S: Likewise.
724 * testsuite/ld-i386/property-x86-3.s: Likewise.
725 * testsuite/ld-x86-64/property-x86-1.S: Likewise.
726 * testsuite/ld-x86-64/property-x86-2.S: Likewise.
727 * testsuite/ld-x86-64/property-x86-3.s: Likewise.
728 * ld/testsuite/ld-x86-64/x86-64.exp: Run pr23372c, pr23372c-x32,
729 pr23372d, pr23372d-x32, pr23486c, pr23486c-x32, pr23486d and
730 pr23486d-x32.
731
732 2018-08-24 Alan Modra <amodra@gmail.com>
733
734 * emultempl/elf32.em (before_allocation): Don't restore
735 __ehdr_start u.*.next pointer.
736
737 2018-08-23 Alan Modra <amodra@gmail.com>
738
739 PR 23566
740 * emultempl/elf32.em (before_allocation): Warning fix.
741
742 2018-08-23 H.J. Lu <hongjiu.lu@intel.com>
743
744 PR ld/23536
745 * Makefile.am (development.exp): New target.
746 (EXTRA_DEJAGNU_SITE_CONFIG): New.
747 (DISTCLEANFILES): Add development.exp.
748 * Makefile.in: Regenerated.
749 * testsuite/ld-bootstrap/bootstrap.exp: Call prune_warnings to
750 prune BFD output.
751 * testsuite/ld-plugin/lto.exp: Likewise.
752 * testsuite/lib/ld-lib.exp (prune_warnings): Removed.
753 * testsuite/ld-elf/shared.exp: Allow "\n" in linker warnings.
754
755 2018-08-21 Nick Clifton <nickc@redhat.com>
756
757 PR 23426
758 * ld.texi (--hash-style): Note that the default is configurable
759 and that for most Linux based systems it will be "both".
760
761 2018-08-18 Alan Modra <amodra@gmail.com>
762
763 * testsuite/ld-elf/elf.exp (is_elf64): Delete.
764
765 2018-08-17 H.J. Lu <hongjiu.lu@intel.com>
766
767 PR ld/23515
768 * testsuite/ld-i386/ibt-plt-2a.d: Updated.
769 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
770 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
771 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
772 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
773 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
774
775 2018-08-12 H.J. Lu <hongjiu.lu@intel.com>
776
777 * testsuite/ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486a.s.
778
779 2018-08-11 H.J. Lu <hongjiu.lu@intel.com>
780
781 PR ld/23428
782 * testsuite/ld-elf/dummy.s: New file.
783 * testsuite/ld-elf/linux-x86.S: Add X86_FEATURE_1_AND property.
784 * testsuite/ld-elf/linux-x86.exp: Add dummy.s to pr23428.
785
786 2018-08-08 H.J. Lu <hongjiu.lu@intel.com>
787
788 PR ld/23486
789 * testsuite/ld-i386/i386.exp: Run PR ld/23486 tests.
790 * testsuite/ld-x86-64/x86-64.exp: Likewise.
791 * testsuite/ld-i386/pr23486a.d: New file.
792 * testsuite/ld-i386/pr23486b.d: Likewise.
793 * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
794 * testsuite/ld-x86-64/pr23486a.d: Likewise.
795 * testsuite/ld-x86-64/pr23486a.s: Likewise.
796 * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
797 * testsuite/ld-x86-64/pr23486b.d: Likewise.
798 * testsuite/ld-x86-64/pr23486b.s: Likewise.
799 * testsuite/ld-i386/property-3.r: Remove "x86 ISA used".
800 * testsuite/ld-i386/property-4.r: Likewise.
801 * testsuite/ld-i386/property-5.r: Likewise.
802 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
803 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
804 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
805 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
806 * testsuite/ld-x86-64/property-3.r: Likewise.
807 * testsuite/ld-x86-64/property-4.r: Likewise.
808 * testsuite/ld-x86-64/property-5.r: Likewise.
809 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
810 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
811 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
812 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
813 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
814 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
815 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
816 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
817
818 2018-08-07 Alan Modra <amodra@gmail.com>
819
820 * testsuite/ld-powerpc/notoc.s: Generate some cfi.
821 * testsuite/ld-powerpc/notoc.d: Adjust.
822 * testsuite/ld-powerpc/notoc.wf: New file.
823 * testsuite/ld-powerpc/powerpc.exp: Run "ext" and "notoc" tests
824 as run_ld_link_tests rather than run_dump_test.
825
826 2018-08-07 Martin Storsjo <martin@martin.st>
827
828 * scripttempl/pe.sc: Improve the comment about overriding
829 __CTOR_LIST__ and __DTOR_LIST__ symbols.
830 * scripttemp/pep.sc: Likewise.
831
832 2018-08-07 Nick Clifton <nickc@redhat.com>
833
834 * po/bg.po: Updated Bulgarian translation.
835
836 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
837
838 * testsuite/ld-arc/attr-merge-6.d: New file.
839 * testsuite/ld-arc/attr-merge-6a.s: Likewise.
840 * testsuite/ld-arc/attr-merge-6b.s: Likewise.
841 * testsuite/ld-arc/attr-merge-6bis.d: Likewise.
842
843 2018-08-06 Claudiu Zissulescu <claziss@synopsys.com>
844
845 * testsuite/ld-arc/attr-merge-0.d: Update test.
846 * testsuite/ld-arc/attr-merge-1.d: Likewise.
847 * testsuite/ld-arc/attr-merge-2.d: Likewise.
848 * testsuite/ld-arc/attr-merge-3.d: Likewise.
849 * testsuite/ld-arc/attr-merge-5.d: Likewise.
850
851 2018-08-05 Alan Modra <amodra@gmail.com>
852
853 * testsuite/ld-powerpc/ext.d,
854 * testsuite/ld-powerpc/ext.s,
855 * testsuite/ld-powerpc/ext.lnk,
856 * testsuite/ld-powerpc/notoc.d,
857 * testsuite/ld-powerpc/notoc.s: New tests.
858 * testsuite/ld-powerpc/powerpc.exp: Run them.
859
860 2018-08-05 Alan Modra <amodra@gmail.com>
861
862 * testsuite/ld-powerpc/elfv2exe.d: Adjust for stub symbol change.
863 * testsuite/ld-powerpc/tocopt6.d: Likewise.
864
865 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
866
867 * testsuite/ld-x86-64/property-x86-3.s: Use ".p2align 2" to
868 align .note.gnu.property section if __64_bit__ is undefined.
869
870 2018-08-02 Nick Clifton <nickc@redhat.com>
871
872 PR 23463
873 * testsuite/ld-plugin/pr12982.d: Revert previous delta.
874 * testsuite/ld-plugin/lto.exp: Skip the pr12982 test for HPPA
875 targets.
876
877 2018-08-02 H.J. Lu <hongjiu.lu@intel.com>
878
879 * testsuite/ld-ifunc/ifunc.exp: Always build static_nonifunc_prog.
880
881 2018-08-02 H.J. Lu <hongjiu.lu@intel.com>
882
883 PR binutils/23460
884 * testsuite/ld-plugin/lto.exp: Run the PR binutils/23460 test.
885 * testsuite/ld-plugin/pr23460a.c: New file.
886 * testsuite/ld-plugin/pr23460b.c: Likewise.
887 * testsuite/ld-plugin/pr23460c.c: Likewise.
888 * testsuite/ld-plugin/pr23460d.c: Likewise.
889 * testsuite/ld-plugin/pr23460e.c: Likewise.
890 * testsuite/ld-plugin/pr23460f.c: Likewise.
891
892 2018-08-01 Roland McGrath <mcgrathr@google.com>
893
894 * testsuite/ld-aarch64/ifunc-1-local.d: Adjust regexps to match
895 the offsets emitted by aarch64-elf configurations.
896 * testsuite/ld-aarch64/ifunc-1.d: Likewise.
897 * testsuite/ld-aarch64/ifunc-2-local.d: Likewise.
898 * testsuite/ld-aarch64/ifunc-2.d: Likewise.
899 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
900 * testsuite/ld-aarch64/ifunc-3a.d: Likewise.
901
902 2018-08-01 Nick Clifton <nickc@redhat.com>
903
904 PR 23463
905 * testsuite/ld-plugin/pr12982.d: Skip this test for the HPPA
906 target.
907
908 2018-08-01 Alan Modra <amodra@gmail.com>
909
910 * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with hash-style
911 specified.
912
913 2018-08-01 Alan Modra <amodra@gmail.com>
914
915 * testsuite/ld-powerpc/powerpc.exp: Run tlsopt5 with plt alignment.
916 * testsuite/ld-powerpc/tlsopt5.s: Add extra call.
917 * testsuite/ld-powerpc/tlsopt5.wf: Adjust expected output.
918 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
919
920 2018-08-01 Alan Modra <amodra@gmail.com>
921
922 * po/BLD-POTFILES.in: Regenerate.
923
924 2018-07-30 Nick Clifton <nickc@redhat.com>
925
926 * scripttempl/elf.sc: Move the .gnu.build.attributes section to
927 after the .comment section.
928
929 2018-07-30 Andrew Jenner <andrew@codesourcery.com>
930
931 * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations.
932 (ecskyelf.c, ecskyelf_linux.c): New rules.
933 * Makefile.in: Regenerated.
934 * configure.tgt: Add C-SKY.
935 * emulparams/cskyelf.sh: New file.
936 * emulparams/cskyelf_linux.sh: New file.
937 * emultempl/cskyelf.em: New file.
938 * gen-doc.texi: Add C-SKY.
939 * ld.texi: Likewise.
940 (Options specific to C-SKY targets): New section.
941 * testsuite/ld-csky/*: New tests.
942 * NEWS: Mention the support.
943
944 2018-07-30 Nick Clifton <nickc@redhat.com>
945
946 * scripttempl/elf.sc: Place .gnu.build.attributes sections with
947 other read-only sections.
948
949 2018-07-27 John Darrington <john@darrington.wattle.id.au>
950
951 * scripttempl/elfm9s12z.sc: Put input sections called .common
952 into the .bss segment.
953
954 2018-07-27 John Darrington <john@darrington.wattle.id.au>
955
956 * scripttempl/elfm9s12z.sc: Emit the data_section at the end of text.
957
958 2018-07-26 Alan Modra <amodra@gmail.com>
959
960 * testsuite/ld-powerpc/vxworks-relax-2.rd: Update for 2018-07-25
961 ppc_elf_relax_section changes.
962
963 2018-07-26 Alan Modra <amodra@gmail.com>
964
965 * ld-powerpc/elfv2.s: Add .localentry f5,1 testcase.
966 * ld-powerpc/elfv2exe.d: Update.
967 * ld-powerpc/elfv2so.d: Update.
968
969 2018-07-25 Alan Modra <amodra@gmail.com>
970
971 * testsuite/ld-powerpc/big.s: New file.
972 * testsuite/ld-powerpc/relaxrl.d: New test.
973 * testsuite/ld-powerpc/powerpc.exp: Run new test.
974 * testsuite/ld-powerpc/relaxr.d: Adjust.
975
976 2018-07-24 Nick Clifton <nickc@redhat.com>
977
978 * po/fr.po: Updated French translation.
979
980 2018-07-23 Max Filippov <jcmvbkbc@gmail.com>
981
982 * testsuite/ld-xtensa/coalesce.d: New file.
983 * testsuite/ld-xtensa/coalesce.exp: Remove file.
984 * testsuite/ld-xtensa/diff_overflow.d: New file.
985 * testsuite/ld-xtensa/diff_overflow.exp: Remove file.
986 * testsuite/ld-xtensa/lcall.d: New file.
987 * testsuite/ld-xtensa/lcall.exp: Remove file.
988 * testsuite/ld-xtensa/xtensa.exp (coalesce, diff_overflow)
989 (lcall): New tests.
990
991 2018-07-23 Max Filippov <jcmvbkbc@gmail.com>
992
993 * testsuite/ld-xtensa/relax-static-defs.s: New file.
994 * testsuite/ld-xtensa/relax-static-local-pie.d: New file.
995 * testsuite/ld-xtensa/relax-static-local-shared.d: New file.
996 * testsuite/ld-xtensa/relax-static-local.s: New file.
997 * testsuite/ld-xtensa/relax-static-pie.d: New file.
998 * testsuite/ld-xtensa/relax-static-shared.d: New file.
999 * testsuite/ld-xtensa/relax-static.s: New file.
1000 * testsuite/ld-xtensa/relax-undef-weak-local-pie.d: New file.
1001 * testsuite/ld-xtensa/relax-undef-weak-local-shared.d: New file.
1002 * testsuite/ld-xtensa/relax-undef-weak-local.s: New file.
1003 * testsuite/ld-xtensa/relax-undef-weak-pie.d: New file.
1004 * testsuite/ld-xtensa/relax-undef-weak-shared.d: New file.
1005 * testsuite/ld-xtensa/relax-undef-weak.s: New file.
1006 * testsuite/ld-xtensa/xtensa.exp: New file.
1007
1008 2018-07-23 Max Filippov <jcmvbkbc@gmail.com>
1009
1010 * testsuite/ld-xtensa/xtensa.exp: Rename to xtensa-linux.exp.
1011
1012 2018-07-23 Alan Modra <amodra@gmail.com>
1013
1014 * testsuite/ld-elf/reloc-discard-warn.d: New.
1015 * testsuite/ld-elf/reloc-discard.d: Skip test on PowerPC64.
1016
1017 2018-07-20 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * testsuite/ld-elf/reloc-discard.ld: Discard .rel.* and .rela.*
1020 sections instead of .rel.dyn and .rela.dyn sections.
1021
1022 2018-07-20 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 PR ld/23428
1025 * testsuite/ld-elf/linux-x86.S: New file.
1026 * testsuite/ld-elf/linux-x86.exp: Likewise.
1027 * testsuite/ld-elf/pr23428.c: Likewise.
1028 * testsuite/ld-elf/sec64k.exp: Pass "-z noseparate-code" to ld
1029 for Linux/x86 targets.
1030 * testsuite/ld-i386/abs-iamcu.d: Likewise.
1031 * testsuite/ld-i386/abs.d: Likewise.
1032 * testsuite/ld-i386/pr12718.d: Likewise.
1033 * testsuite/ld-i386/pr12921.d: Likewise.
1034 * testsuite/ld-x86-64/abs-k1om.d: Likewise.
1035 * testsuite/ld-x86-64/abs-l1om.d: Likewise.
1036 * testsuite/ld-x86-64/abs.d: Likewise.
1037 * testsuite/ld-x86-64/pr12718.d: Likewise.
1038 * testsuite/ld-x86-64/pr12921.d: Likewise.
1039 * testsuite/ld-linkonce/zeroeh.ld: Discard .note.gnu.property
1040 section.
1041 * testsuite/ld-scripts/print-memory-usage.t: Likewise.
1042 * testsuite/ld-scripts/size-2.t: Likewise.
1043 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Use ld to
1044 create executable if language is "asm".
1045
1046 2018-07-20 Maciej W. Rozycki <macro@mips.com>
1047
1048 * testsuite/ld-elf/reloc-discard.d: New test.
1049 * testsuite/ld-elf/reloc-discard.ld: New test linker script.
1050 * testsuite/ld-elf/reloc-discard.s: New test source.
1051
1052 2018-07-18 Nick Clifton <nickc@redhat.com>
1053
1054 * po/fr.po: Updated French translation.
1055
1056 2018-07-17 Maciej W. Rozycki <macro@mips.com>
1057
1058 * ldexp.c (exp_fold_tree_1) <etree_assign, etree_provide>
1059 <etree_provided>: Copy expression's `rel_from_abs' flag to the
1060 link hash.
1061
1062 2018-07-12 Maciej W. Rozycki <macro@mips.com>
1063
1064 * testsuite/ld-mips-elf/mips-elf.exp (run_dump_test_abi)
1065 (run_dump_test_o32, run_dump_test_n32, run_dump_test_n64)
1066 (run_dump_test_eabi): New procedures.
1067 (has_newabi, has_elf32): Remove variables.
1068 (has_abi): New associative array variable.
1069 (abi_asflags, abi_ldflags): Update settings across targets.
1070 (irixemul): New variable.
1071 Replace `run_dump_test' calls where applicable throughout with
1072 `run_dump_test_o32', `run_dump_test_n32', `run_dump_test_n64'
1073 and `run_dump_test_eabi' as appropriate. Remove explicit
1074 passing of `abi_asflags' and `abi_ldflags'. Use `noarch' for
1075 tests that require their own architecture setting. Force the
1076 big endianness for tests that require it. Select the endianness
1077 required for `objdump invocation with the `reloc-2' test.
1078 Conditionalize tests run via `run_ld_link_tests' on the ABI
1079 required and use the ABI list from the `has_abi' array where
1080 appropriate.
1081 * testsuite/ld-mips-elf/attr-gnu-4-0-n32-ph.d: Remove ABI and
1082 endianness selection options from `ld' and `source' tags. Relax
1083 output format matching.
1084 * testsuite/ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
1085 * testsuite/ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
1086 * testsuite/ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
1087 * testsuite/ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
1088 * testsuite/ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
1089 * testsuite/ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
1090 * testsuite/ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
1091 * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: Remove
1092 ABI and endianness selection options from `as', `ld', `source'
1093 tags, and also the `-march=from-abi' option. Remove the `as'
1094 tag where it would become empty.
1095 * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d:
1096 Likewise.
1097 * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: Likewise.
1098 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: Likewise.
1099 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: Likewise.
1100 * testsuite/ld-mips-elf/bal-jalx-addend.d: Likewise.
1101 * testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d:
1102 Likewise.
1103 * testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d:
1104 Likewise.
1105 * testsuite/ld-mips-elf/bal-jalx-local-micromips.d: Likewise.
1106 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: Likewise.
1107 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: Likewise.
1108 * testsuite/ld-mips-elf/bal-jalx-local.d: Likewise.
1109 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
1110 Likewise.
1111 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
1112 Likewise.
1113 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
1114 Likewise.
1115 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
1116 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
1117 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
1118 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
1119 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
1120 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
1121 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
1122 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
1123 * testsuite/ld-mips-elf/bal-jalx-pic.d: Likewise.
1124 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: Likewise.
1125 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: Likewise.
1126 * testsuite/ld-mips-elf/branch-absolute-addend.d: Likewise.
1127 * testsuite/ld-mips-elf/branch-absolute-n32.d: Likewise.
1128 * testsuite/ld-mips-elf/branch-absolute-n64.d: Likewise.
1129 * testsuite/ld-mips-elf/branch-absolute.d: Likewise.
1130 * testsuite/ld-mips-elf/dyn-sec64.d: Likewise.
1131 * testsuite/ld-mips-elf/eh-frame1-n32.d: Likewise.
1132 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
1133 * testsuite/ld-mips-elf/eh-frame2-n32.d: Likewise.
1134 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
1135 * testsuite/ld-mips-elf/elf-rel-got-n32-embed.d: Likewise.
1136 * testsuite/ld-mips-elf/elf-rel-got-n32.d: Likewise.
1137 * testsuite/ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
1138 * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: Likewise.
1139 * testsuite/ld-mips-elf/elf-rel-got-n64.d: Likewise.
1140 * testsuite/ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
1141 * testsuite/ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
1142 * testsuite/ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
1143 * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: Likewise.
1144 * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
1145 * testsuite/ld-mips-elf/emit-relocs-1.d: Likewise.
1146 * testsuite/ld-mips-elf/got-dump-2.d: Likewise.
1147 * testsuite/ld-mips-elf/got-page-2.d: Likewise.
1148 * testsuite/ld-mips-elf/jal-global-overflow-0.d: Likewise.
1149 * testsuite/ld-mips-elf/jal-global-overflow-1.d: Likewise.
1150 * testsuite/ld-mips-elf/jal-local-overflow-0.d: Likewise.
1151 * testsuite/ld-mips-elf/jal-local-overflow-1.d: Likewise.
1152 * testsuite/ld-mips-elf/jalbal.d: Likewise.
1153 * testsuite/ld-mips-elf/jalx-addend-n32.d: Likewise.
1154 * testsuite/ld-mips-elf/jalx-addend-n64.d: Likewise.
1155 * testsuite/ld-mips-elf/jalx-addend.d: Likewise.
1156 * testsuite/ld-mips-elf/jalx-local-n32.d: Likewise.
1157 * testsuite/ld-mips-elf/jalx-local-n64.d: Likewise.
1158 * testsuite/ld-mips-elf/jalx-local.d: Likewise.
1159 * testsuite/ld-mips-elf/jr-to-b-1.d: Likewise.
1160 * testsuite/ld-mips-elf/jr-to-b-2.d: Likewise.
1161 * testsuite/ld-mips-elf/lsi-4010-isa.d: Likewise.
1162 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1163 Likewise.
1164 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1165 Likewise.
1166 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
1167 Likewise.
1168 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d:
1169 Likewise.
1170 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d:
1171 Likewise.
1172 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Likewise.
1173 * testsuite/ld-mips-elf/mips16-branch-2.d: Likewise.
1174 * testsuite/ld-mips-elf/mips16-branch-3.d: Likewise.
1175 * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: Likewise.
1176 * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: Likewise.
1177 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d:
1178 Likewise.
1179 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d:
1180 Likewise.
1181 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d:
1182 Likewise.
1183 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d:
1184 Likewise.
1185 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d:
1186 Likewise.
1187 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d:
1188 Likewise.
1189 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d:
1190 Likewise.
1191 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d:
1192 Likewise.
1193 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: Likewise.
1194 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d:
1195 Likewise.
1196 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d:
1197 Likewise.
1198 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: Likewise.
1199 * testsuite/ld-mips-elf/mips16-branch-absolute.d: Likewise.
1200 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: Likewise.
1201 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: Likewise.
1202 * testsuite/ld-mips-elf/mips16-hilo-n32.d: Likewise.
1203 * testsuite/ld-mips-elf/mips16-pcrel-0.d: Likewise.
1204 * testsuite/ld-mips-elf/mips16-pcrel-1.d: Likewise.
1205 * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: Likewise.
1206 * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: Likewise.
1207 * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: Likewise.
1208 * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: Likewise.
1209 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: Likewise.
1210 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: Likewise.
1211 * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: Likewise.
1212 * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: Likewise.
1213 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: Likewise.
1214 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: Likewise.
1215 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: Likewise.
1216 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: Likewise.
1217 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: Likewise.
1218 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: Likewise.
1219 * testsuite/ld-mips-elf/multi-got-1.d: Likewise.
1220 * testsuite/ld-mips-elf/multi-got-hidden-1.d: Likewise.
1221 * testsuite/ld-mips-elf/multi-got-hidden-2.d: Likewise.
1222 * testsuite/ld-mips-elf/multi-got-no-shared.d: Likewise.
1223 * testsuite/ld-mips-elf/no-shared-1-n32.d: Likewise.
1224 * testsuite/ld-mips-elf/no-shared-1-n64.d: Likewise.
1225 * testsuite/ld-mips-elf/no-shared-1-o32.d: Likewise.
1226 * testsuite/ld-mips-elf/pic-and-nonpic-2.d: Likewise.
1227 * testsuite/ld-mips-elf/pic-and-nonpic-3-error.d: Likewise.
1228 * testsuite/ld-mips-elf/pic-and-nonpic-4-error.d: Likewise.
1229 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1230 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1231 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1232 * testsuite/ld-mips-elf/rel32-n32.d: Likewise.
1233 * testsuite/ld-mips-elf/rel32-o32.d: Likewise.
1234 * testsuite/ld-mips-elf/rel64.d: Likewise.
1235 * testsuite/ld-mips-elf/relax-jalr-n32.d: Likewise.
1236 * testsuite/ld-mips-elf/reloc-1-n32.d: Likewise.
1237 * testsuite/ld-mips-elf/reloc-1-n64.d: Likewise.
1238 * testsuite/ld-mips-elf/reloc-2.d: Likewise.
1239 * testsuite/ld-mips-elf/reloc-3-n32.d: Likewise.
1240 * testsuite/ld-mips-elf/reloc-local-overflow.d: Likewise.
1241 * testsuite/ld-mips-elf/textrel-1.d: Likewise.
1242 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
1243 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
1244 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
1245 Likewise.
1246 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
1247 Likewise.
1248 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
1249 Likewise.
1250 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1251 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1252 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1253 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
1254 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
1255 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: Likewise.
1256 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1257 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: Likewise.
1258 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
1259 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d:
1260 Likewise.
1261 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1262 Likewise.
1263 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d:
1264 Likewise.
1265 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1266 Likewise.
1267 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
1268 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
1269 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
1270 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Likewise.
1271 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1272 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1273 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1274
1275 2018-07-12 Maciej W. Rozycki <macro@mips.com>
1276
1277 * testsuite/ld-mips-elf/mips-elf.exp: Limit reloc 6 tests to
1278 shared library targets.
1279
1280 2018-07-11 Maciej W. Rozycki <macro@mips.com>
1281
1282 * testsuite/ld-mips-elf/tlsdyn-o32.d: Update test for dynamic
1283 relocation removal.
1284 * testsuite/ld-mips-elf/tlsdyn-o32.got: Likewise.
1285 * testsuite/ld-mips-elf/tlsdyn-o32-1.d: Likewise.
1286 * testsuite/ld-mips-elf/tlsdyn-o32-1.got: Likewise.
1287 * testsuite/ld-mips-elf/tlsdyn-o32-2.d: Likewise.
1288 * testsuite/ld-mips-elf/tlsdyn-o32-2.got: Likewise.
1289 * testsuite/ld-mips-elf/tlsdyn-o32-3.d: Likewise.
1290 * testsuite/ld-mips-elf/tlsdyn-o32-3.got: Likewise.
1291
1292 2018-07-11 Maciej W. Rozycki <macro@mips.com>
1293
1294 PR ld/22570
1295 * testsuite/ld-mips-elf/tlsbin-pie-o32.d: New test.
1296 * testsuite/ld-mips-elf/tlsbin-pie-o32.got: New test.
1297 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: New test.
1298 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: New test.
1299 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1300
1301 2018-07-11 Alan Modra <amodra@gmail.com>
1302
1303 * testsuite/ld-elf/hash.d: Comment on mips xfail.
1304 * testsuite/ld-gc/pr20022b.s: Use .data not .text.
1305 * testsuite/ld-gc/pr20022.d: Remove xfails.
1306 * testsuite/ld-scripts/fill.d: Revert most of last patch, but use
1307 skip rather than notarget.
1308 * testsuite/ld-scripts/fill16.d: Likewise.
1309
1310 2018-07-10 Maciej W. Rozycki <macro@mips.com>
1311
1312 * testsuite/ld-mips-elf/mips-elf.exp: Limit export class call
1313 relocation tests to shared library targets.
1314
1315 2018-07-10 Alan Modra <amodra@gmail.com>
1316
1317 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Return 0
1318 for xgate.
1319 * testsuite/ld-elf/elf.exp: Add xgate to pr21703 xfails.
1320 * testsuite/ld-elf/shared.exp: Add xgate to pr21703 xfails.
1321 * testsuite/ld-discard/extern.d: xfail xgate.
1322 * testsuite/ld-discard/start.d: Likewise.
1323 * testsuite/ld-discard/static.d: Likewise.
1324 * testsuite/ld-elf/attributes.d: Likewise.
1325 * testsuite/ld-elf/compressed1d.d: Likewise.
1326 * testsuite/ld-elf/group1.d: Likewise.
1327 * testsuite/ld-elf/group3b.d: Likewise.
1328 * testsuite/ld-elf/group8a.d: Likewise.
1329 * testsuite/ld-elf/group8b.d: Likewise.
1330 * testsuite/ld-elf/group9a.d: Likewise.
1331 * testsuite/ld-elf/group9b.d: Likewise.
1332 * testsuite/ld-elf/linkonce2.d: Likewise.
1333 * testsuite/ld-elf/merge.d: Likewise.
1334 * testsuite/ld-elf/merge2.d: Likewise.
1335 * testsuite/ld-elf/merge3.d: Likewise.
1336 * testsuite/ld-elf/orphan-10.d: Likewise.
1337 * testsuite/ld-elf/orphan-9.d: Likewise.
1338 * testsuite/ld-elf/orphan-region.d: Likewise.
1339 * testsuite/ld-elf/orphan.d: Likewise.
1340 * testsuite/ld-elf/orphan3.d: Likewise.
1341 * testsuite/ld-elf/pr12851.d: Likewise.
1342 * testsuite/ld-elf/pr12975.d: Likewise.
1343 * testsuite/ld-elf/pr13177.d: Likewise.
1344 * testsuite/ld-elf/pr13195.d: Likewise.
1345 * testsuite/ld-elf/pr14156b.d: Likewise.
1346 * testsuite/ld-elf/pr17550c.d: Likewise.
1347 * testsuite/ld-elf/pr17550d.d: Likewise.
1348 * testsuite/ld-elf/pr17615.d: Likewise.
1349 * testsuite/ld-elf/pr20528a.d: Likewise.
1350 * testsuite/ld-elf/pr20528b.d: Likewise.
1351 * testsuite/ld-elf/pr21562a.d: Likewise.
1352 * testsuite/ld-elf/pr21562b.d: Likewise.
1353 * testsuite/ld-elf/pr21562c.d: Likewise.
1354 * testsuite/ld-elf/pr21562d.d: Likewise.
1355 * testsuite/ld-elf/pr21562i.d: Likewise.
1356 * testsuite/ld-elf/pr21562j.d: Likewise.
1357 * testsuite/ld-elf/pr21562k.d: Likewise.
1358 * testsuite/ld-elf/pr21562l.d: Likewise.
1359 * testsuite/ld-elf/pr21562m.d: Likewise.
1360 * testsuite/ld-elf/pr21562n.d: Likewise.
1361 * testsuite/ld-elf/pr22677.d: Likewise.
1362 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1363 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1364 * testsuite/ld-elf/pr349.d: Likewise.
1365 * testsuite/ld-elf/warn1.d: Likewise.
1366 * testsuite/ld-elf/warn2.d: Likewise.
1367 * testsuite/ld-elf/warn3.d: Likewise.
1368
1369 2018-07-10 Alan Modra <amodra@gmail.com>
1370
1371 * emulparams/xgateelf.sh (TEMPLATE_NAME) Set to generic.
1372 (EXTRA_EM_FILE): Set to genelf.
1373
1374 2018-07-10 Alan Modra <amodra@gmail.com>
1375
1376 * testsuite/ld-elf/attributes.d: Use xfail rather than notarget.
1377 * testsuite/ld-elf/hash.d: Likewise.
1378 * testsuite/ld-elf/orphan-10.d: Likewise.
1379 * testsuite/ld-elf/overlay.d: Likewise.
1380 * testsuite/ld-elf/pr14926.d: Likewise.
1381 * testsuite/ld-elf/pr17550d.d: Likewise.
1382 * testsuite/ld-elf/pr19539.d: Likewise.
1383 * testsuite/ld-elf/pr22319.d: Likewise.
1384 * testsuite/ld-misc/defsym1.d: Likewise.
1385 * testsuite/ld-pe/pr19803.d: Likewise.
1386 * testsuite/ld-scripts/assign-loc.d: Likewise.
1387 * testsuite/ld-scripts/defined4.d: Likewise.
1388 * testsuite/ld-scripts/empty-address-1.d: Likewise.
1389 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
1390 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
1391 * testsuite/ld-scripts/fill.d: Likewise.
1392 * testsuite/ld-scripts/fill16.d: Likewise.
1393 * testsuite/ld-scripts/pr14962.d: Likewise.
1394 * testsuite/ld-scripts/pr14962-2.d: Likewise.
1395 * testsuite/ld-unique/pr21529.d: Likewise.
1396 * testsuite/ld-elf/compress1a.d: Likewise, and adjust targets.
1397 * testsuite/ld-elf/compressed1a.d: Likewise.
1398 * testsuite/ld-elf/compressed1d.d: Likewise.
1399 * testsuite/ld-elf/compressed1e.d: Likewise.
1400 * testsuite/ld-elf/eh5.d: Likewise.
1401 * testsuite/ld-elf/group8a.d: Likewise.
1402 * testsuite/ld-elf/linkonce2.d: Likewise.
1403 * testsuite/ld-elf/orphan-9.d: Likewise.
1404 * testsuite/ld-elf/pr17550a.d: Likewise.
1405 * testsuite/ld-elf/pr17550b.d: Likewise.
1406 * testsuite/ld-elf/pr17550c.d: Likewise.
1407 * testsuite/ld-elf/pr19162.d: Likewise.
1408 * testsuite/ld-elf/pr21884.d: Likewise.
1409 * testsuite/ld-gc/pr19167.d: Likewise.
1410 * testsuite/ld-gc/pr20022.d: Likewise.
1411 * testsuite/ld-gc/start.d: Likewise.
1412 * testsuite/ld-elf/orphan-11.d: Delete notarget.
1413 * testsuite/ld-elf/orphan-12.d: Likewise.
1414 * testsuite/ld-gc/stop.d: Likewise.
1415 * testsuite/ld-scripts/empty-address-3a.d: Likewise.
1416 * testsuite/ld-scripts/empty-address-3b.d: Likewise.
1417 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Delete duplicate notarget.
1418 * testsuite/ld-scripts/section-match-1.d: Comment fix.
1419
1420 2018-07-10 Maciej W. Rozycki <macro@mips.com>
1421
1422 * testsuite/ld-mips-elf/elf-rel-got-n64.d: Rename to...
1423 * testsuite/ld-mips-elf/elf-rel-got-n64-irix.d: ... this.
1424 * testsuite/ld-mips-elf/elf-rel-got-n64-linux.d: Rename to...
1425 * testsuite/ld-mips-elf/elf-rel-got-n64.d: ... this.
1426 * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Rename to...
1427 * testsuite/ld-mips-elf/elf-rel-xgot-n64-irix.d: ... this.
1428 * testsuite/ld-mips-elf/elf-rel-xgot-n64-linux.dd: Rename to...
1429 * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: ... this.
1430 * testsuite/ld-mips-elf/mips-elf.exp: Update accordingly.
1431 Define `irix' as a shorthand for `[istarget *-*-irix*]' and use
1432 it throughout.
1433
1434 2018-07-09 Maciej W. Rozycki <macro@mips.com>
1435
1436 * testsuite/ld-mips-elf/elf-rel-got-n64.d: Add `#pass' at the
1437 end.
1438 * testsuite/ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
1439
1440 2018-07-09 Maciej W. Rozycki <macro@mips.com>
1441
1442 * testsuite/ld-mips-elf/stub-dynsym-2.dd: New test.
1443 * testsuite/ld-mips-elf/stub-dynsym-2.gd: New test.
1444 * testsuite/ld-mips-elf/stub-dynsym-2.sd: New test.
1445 * testsuite/ld-mips-elf/stub-dynsym-discard-2.gd: New test.
1446 * testsuite/ld-mips-elf/stub-dynsym-discard-2.sd: New test.
1447 * testsuite/ld-mips-elf/stub-dynsym-micromips-2.dd: New test.
1448 * testsuite/ld-mips-elf/stub-dynsym-micromips-2.gd: New test.
1449 * testsuite/ld-mips-elf/stub-dynsym-micromips-2.sd: New test.
1450 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.dd: New
1451 test.
1452 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.gd: New
1453 test.
1454 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-2.sd: New
1455 test.
1456 * testsuite/ld-mips-elf/stub-dynsym-2.ld: New test linker
1457 script.
1458 * testsuite/ld-mips-elf/stub-dynsym-discard-2.ld: New test
1459 linker script.
1460 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1461
1462 2018-07-09 Maciej W. Rozycki <macro@mips.com>
1463
1464 * testsuite/lib/ld-lib.exp (run_dump_test): Call `unsupported'
1465 if the target being tested has been excluded by means of one or
1466 more of `target', `alltargets' and `notarget' tags. Add support
1467 for `skip', `anyskip' and `noskip' tags.
1468
1469 2018-07-09 Maciej W. Rozycki <macro@mips.com>
1470
1471 * testsuite/lib/ld-lib.exp (run_dump_test): Move the setting of
1472 `testname' earlier on and use it for test status reporting.
1473
1474 2018-07-09 Alan Modra <amodra@gmail.com>
1475
1476 * testsuite/ld-discard/extern.d: Remove m68hc12 xfail.
1477 * testsuite/ld-discard/start.d: Likewise.
1478 * testsuite/ld-discard/static.d: Likewise.
1479
1480 2018-07-09 Christophe Lyon <christophe.lyon@linaro.org>
1481
1482 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use the right
1483 symbol name in case of warning.
1484
1485 2018-07-05 Jim Wilson <jimw@sifive.com>
1486
1487 * configure.tgt (riscv-*-*): Add as an alias for riscv32*-*-*.
1488
1489 2018-07-05 Maciej W. Rozycki <macro@mips.com>
1490
1491 * testsuite/ld-mips-elf/mips-elf.exp: Replace remaining calls to
1492 `[istarget mips*-*-linux*]' with $linux_gnu.
1493
1494 2018-07-05 H.J. Lu <hongjiu.lu@intel.com>
1495
1496 PR ld/23372
1497 * testsuite/ld-i386/i386.exp: Run pr23372a and pr23372b.
1498 * testsuite/ld-i386/pr23372a.d: New file.
1499 * testsuite/ld-i386/pr23372a.s: Likewise.
1500 * testsuite/ld-i386/pr23372b.d: Likewise.
1501 * testsuite/ld-i386/pr23372b.s: Likewise.
1502 * testsuite/ld-i386/pr23372c.s: Likewise.
1503 * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
1504 * testsuite/ld-x86-64/pr23372a.d: Likewise.
1505 * testsuite/ld-x86-64/pr23372a.s: Likewise.
1506 * testsuite/ld-x86-64/pr23372b-x32.d: Likewise.
1507 * testsuite/ld-x86-64/pr23372b.d: Likewise.
1508 * testsuite/ld-x86-64/pr23372b.s: Likewise.
1509 * testsuite/ld-x86-64/pr23372c.s: Likewise.
1510 * testsuite/ld-x86-64/x86-64.exp: Run pr23372a, pr23372a-x32,
1511 pr23372b and pr23372b-x32.
1512
1513 2018-07-05 Nick Clifton <nickc@redhat.com>
1514
1515 * po/bg.po: Updated Bulgarian translation.
1516 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1517
1518 2018-07-05 Alan Modra <amodra@gmail.com>
1519
1520 * testsuite/ld-powerpc/attr-gnu-4-12.d: Update expected output.
1521 * testsuite/ld-powerpc/attr-gnu-4-13.d: Likewise.
1522 * testsuite/ld-powerpc/attr-gnu-4-21.d: Likewise.
1523 * testsuite/ld-powerpc/attr-gnu-4-23.d: Likewise.
1524 * testsuite/ld-powerpc/attr-gnu-4-31.d: Likewise.
1525 * testsuite/ld-powerpc/attr-gnu-4-32.d: Likewise.
1526 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
1527 * testsuite/ld-powerpc/attr-gnu-12-21.d: Likewise.
1528
1529 2018-07-04 H.J. Lu <hongjiu.lu@intel.com>
1530
1531 PR ld/23309
1532 * ldlang.c (insert_undefined): Set non_ir_ref_regular to TRUE.
1533 * plugin.c (is_visible_from_outside): Don't scan entry_symbol.
1534 * testsuite/ld-plugin/pr23309.c: New file.
1535 * testsuite/ld-plugin/pr23309.d: Likewise.
1536
1537 2018-07-04 H.J. Lu <hongjiu.lu@intel.com>
1538
1539 PR ld/23358
1540 * lexsup.c (elf_shlib_list_options): Properly display default
1541 for -z separate-code.
1542
1543 2018-07-02 Maciej W. Rozycki <macro@mips.com>
1544
1545 * testsuite/ld-mips-elf/mips-elf.exp: Fix a typo in PR ld/21334
1546 test name.
1547
1548 2018-07-02 H.J. Lu <hongjiu.lu@intel.com>
1549
1550 PR ld/23324
1551 * testsuite/ld-x86-64/pr23324.s: New file.
1552 * testsuite/ld-x86-64/pr23324a.d: Likewise.
1553 * testsuite/ld-x86-64/pr23324b.d: Likewise.
1554
1555 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1556
1557 * arm-dis.c (select_arm_features): Fix typo in heading comment. Allow
1558 all FPU features and add mapping from new bfd_mach_arm values to
1559 allowed CPU feature bits.
1560
1561 2018-07-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
1562
1563 * NEWS: Use command-line consistently when used in a compount word.
1564 * ld.texinfo: Likewise.
1565 * ldint.texinfo: Likewise.
1566
1567 2018-06-26 Nick Clifton <nickc@redhat.com>
1568
1569 * po/uk.po: Updated Ukranian translation.
1570
1571 2018-06-26 Alan Modra <amodra@gmail.com>
1572
1573 PR 23169
1574 * testsuite/ld-ifunc/ifunc.exp: Don't run pr23169 tests on
1575 powerpc. Comment.
1576
1577 2018-06-26 Alan Modra <amodra@gmail.com>
1578
1579 * testsuite/ld-bootstrap/bootstrap.exp: Use parentheses rather
1580 than curly braces in logical expression.
1581
1582 2018-06-26 Nick Clifton <nickc@redhat.com>
1583
1584 * emultempl/aarch64elf.em: Fix spelling mistake.
1585 * emultempl/avrelf.em: Likewise.
1586 * emultempl/elf32.em: Likewise.
1587
1588 2018-06-24 Nick Clifton <nickc@redhat.com>
1589
1590 * configure: Regenerate.
1591 * po/ld.pot: Regenerate.
1592
1593 2018-06-24 Nick Clifton <nickc@redhat.com>
1594
1595 2.31 branch created.
1596 * NEWS: Add marker for 2.31.
1597
1598 2018-06-20 Renlin Li <renlin.li@arm.com>
1599
1600 * testsuite/ld-aarch64/emit-relocs-115.d: Update test with new value.
1601 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
1602 * testsuite/ld-aarch64/emit-relocs-555.d: Likewise.
1603
1604 2018-06-19 Maciej W. Rozycki <macro@mips.com>
1605
1606 PR ld/22966
1607 * testsuite/ld-mips-elf/n64-plt-1.dd: New test.
1608 * testsuite/ld-mips-elf/n64-plt-1.gd: New test.
1609 * testsuite/ld-mips-elf/n64-plt-2.ed: New test.
1610 * testsuite/ld-mips-elf/n64-plt-3.ed: New test.
1611 * testsuite/ld-mips-elf/n64-plt-4.dd: New test.
1612 * testsuite/ld-mips-elf/n64-plt-4.gd: New test.
1613 * testsuite/ld-mips-elf/n64-plt-1.ld: New test linker script.
1614 * testsuite/ld-mips-elf/n64-plt-2.ld: New test linker script.
1615 * testsuite/ld-mips-elf/n64-plt-3.ld: New test linker script.
1616 * testsuite/ld-mips-elf/n64-plt-4.ld: New test linker script.
1617 * testsuite/ld-mips-elf/n64-plt.s: New test source.
1618 * testsuite/ld-mips-elf/n64-plt-lib.s: New test source.
1619 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1620
1621 2018-06-19 Maciej W. Rozycki <macro@mips.com>
1622
1623 * testsuite/ld-elf/shared.exp: XFAIL DT_TEXTREL map file warning
1624 test for `mips*-*-*'.
1625
1626 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
1627
1628 * configure.ac: Remove AC_PREREQ.
1629 * Makefile.am: Remove DISTCLEANFILES hack, rename ld.texinfo to
1630 ld.texi, ldint.texinfo to ldint.texi throughout.
1631 (AUTOMAKE_OPTIONS): Add info-in-builddir.
1632 * README: Rename ld.texinfo to ld.texi, ldint.texinfo to
1633 ldint.texi throughout.
1634 * gen-doc.texi: Likewise.
1635 * h8-doc.texi: Likewise.
1636 * ld.texinfo: Rename to ...
1637 * ld.texi: ... this.
1638 * ldint.texinfo: Rename to ...
1639 * ldint.texi: ... this.
1640 * Makefile.in: Re-generate.
1641 * aclocal.m4: Re-generate.
1642 * config.in: Re-generate.
1643 * configure: Re-generate.
1644
1645 2018-06-18 Alan Modra <amodra@gmail.com>
1646
1647 * testsuite/lib/ld-lib.exp (check_ifunc_available): Pass without
1648 running executable when non-native.
1649 (check_ifunc_attribute_available): Likewise.
1650 * testsuite/ld-ifunc/pr23169a.rd: Remove extraneous lines. Match
1651 st_other strings. Pass when func is an ifunc.
1652 * testsuite/ld-ifunc/pr23169b.rd: Remove extraneous lines. Correct
1653 reloc regexp. Correct match-anything line.
1654 * testsuite/ld-ifunc/pr23169c.rd: Remove extraneous lines. Match
1655 st_other strings.
1656
1657 2018-06-14 Alan Modra <amodra@gmail.com>
1658
1659 * testsuite/ld-elf/readelf.exp: Delete DUMP and selection of
1660 variant ver_def.vd.
1661 * testsuite/ld-elf/ver_def-tic6x.vd: Delete.
1662 * testsuite/ld-elf/shared.exp: Run most pr23161 and pr23162 tests for
1663 linux, nacl and gnu targets.
1664 * testsuite/ld-mips-elf/mips-elf.exp: Set base_syms to 1.
1665 * testsuite/ld-elf/pr23161a.rd: Don't check reloc type. Allow any
1666 order of __bss_start, _edata and _end.
1667 * testsuite/ld-elf/pr23161b.rd: Don't check plt and dyn relocs.
1668 Allow and order of __bss_start, _edata and _end.
1669 * testsuite/ld-elf/pr23162.rd: Fail if __bss_start, _edata or _end
1670 relocs are present rather than testing for no relocations.
1671 * testsuite/ld-aarch64/gc-plt-relocs.d,
1672 * testsuite/ld-aarch64/ifunc-1-local.d,
1673 * testsuite/ld-aarch64/ifunc-1.d,
1674 * testsuite/ld-aarch64/ifunc-2-local.d,
1675 * testsuite/ld-aarch64/ifunc-2.d,
1676 * testsuite/ld-aarch64/ifunc-21.d,
1677 * testsuite/ld-aarch64/ifunc-3a.d,
1678 * testsuite/ld-arm/farcall-mixed-lib-v4t.d,
1679 * testsuite/ld-arm/farcall-mixed-lib.d,
1680 * testsuite/ld-arm/gc-hidden-1.d,
1681 * testsuite/ld-arm/tls-gdesc-got.d,
1682 * testsuite/ld-arm/tls-lib-loc.d,
1683 * testsuite/ld-arm/tls-longplt-lib.d,
1684 * testsuite/ld-arm/tls-thumb1.d,
1685 * testsuite/ld-cris/libdso-10.d,
1686 * testsuite/ld-cris/libdso-11.d,
1687 * testsuite/ld-cris/libdso-13b.d,
1688 * testsuite/ld-cris/libdso-14.d,
1689 * testsuite/ld-cris/libdso-15.d,
1690 * testsuite/ld-cris/pic-gc-72.d,
1691 * testsuite/ld-cris/pic-gc-73.d,
1692 * testsuite/ld-cris/tls-gc-71.d,
1693 * testsuite/ld-mips-elf/mips16-pic-4a.nd,
1694 * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd,
1695 * testsuite/ld-mips-elf/pie-n32.d,
1696 * testsuite/ld-mips-elf/pie-n64.d,
1697 * testsuite/ld-mips-elf/pie-o32.d: Update for removed dynamic
1698 section symbols.
1699
1700 2018-06-12 Hans-Peter Nilsson <hp@axis.com>
1701
1702 * testsuite/ld-cris/libdso-1.d: Correct recent address pattern update.
1703
1704 2018-06-12 Nick Clifton <nickc@redhat.com>
1705
1706 PR 22983
1707 * testsuite/ld-plugin/lto.exp: Use individual tests to check for
1708 the presence of each expected symbol.
1709 * testsuite/ld-plugin/pr22983.1.d: New file.
1710 * testsuite/ld-plugin/pr22983.2.d: New file.
1711 * testsuite/ld-plugin/pr22983.3.d: New file.
1712 * testsuite/ld-plugin/pr22983.4.d: New file.
1713
1714 * emulparams/aarch64elf.sh (OTHER_BSS_END_SYMBOLS): Make the
1715 definition of the __bss_end__ symbol conditional upon CREATE_SHLIB.
1716
1717 2018-06-11 Nick Clifton <nickc@redhat.com>
1718
1719 * po/es.po: Updated Spanish translation.
1720
1721 2018-06-09 Maciej W. Rozycki <macro@mips.com>
1722
1723 * testsuite/ld-mips-elf/stub-dynsym-micromips-1-7fff.d: New
1724 test.
1725 * testsuite/ld-mips-elf/stub-dynsym-micromips-1-8000.d: New
1726 test.
1727 * testsuite/ld-mips-elf/stub-dynsym-micromips-1-fff0.d: New
1728 test.
1729 * testsuite/ld-mips-elf/stub-dynsym-micromips-1-10000.d: New
1730 test.
1731 * testsuite/ld-mips-elf/stub-dynsym-micromips-1-2fe80.d: New
1732 test.
1733 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-7fff.d:
1734 New test.
1735 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-8000.d:
1736 New test.
1737 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-fff0.d:
1738 New test.
1739 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-10000.d:
1740 New test.
1741 * testsuite/ld-mips-elf/stub-dynsym-micromips-insn32-1-2fe80.d:
1742 New test.
1743 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. Fix
1744 indentation.
1745
1746 2018-06-09 Maciej W. Rozycki <macro@mips.com>
1747
1748 * testsuite/ld-mips-elf/mips-elf.exp: Update symbol count in the
1749 comment associated with lazy binding stub tests.
1750
1751 2018-06-09 Maciej W. Rozycki <macro@mips.com>
1752
1753 * Makefile.am (eelf32mipswindiss.c): Add `mipself.em' dependency.
1754 * Makefile.in: Regenerate.
1755
1756 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 PR ld/23161
1759 * testsuite/ld-elf/pr23161d.rd: Remove local _edata, __bss_start,
1760 and _end from dynamic symbol table.
1761
1762 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
1763 Alan Modra <amodra@gmail.com>
1764
1765 PR ld/23161
1766 * emulparams/aarch64cloudabi.sh: PROVIDE __bss_start__, _bss_end__,
1767 and __end__ in shared libraries.
1768 * emulparams/aarch64fbsd.sh: Likewise.
1769 * emulparams/aarch64linux.sh: Likewise.
1770 * emulparams/aarch64linux32.sh: Likewise.
1771 * emulparams/armelf_fuchsia.sh: Likewise.
1772 * emulparams/armelf_linux.sh: Likewise.
1773 * emulparams/armelf_phoenix.sh: Likewise.
1774 * emulparams/aarch64elf.sh: Likewise, and __data_start
1775 * emulparams/aarch64elf32.sh: Likewise.
1776 * emulparams/armelf.sh: Likewise.
1777 * emulparams/armnto.sh: Likewise.
1778 * emulparams/elf32bmip.sh: Remove duplicate ". = ." from
1779 OTHER_GOT_SYMBOLS. PROVIDE _ftext, _fdata, and _fbss in shared libs.
1780 * emulparams/elf32bmipn32-defs.sh: Likewise.
1781 * emulparams/elf32frv.sh: PROVIDE __end and __data_start in shared libs.
1782 * emulparams/elf32lriscv-defs.sh: Tidy.
1783 * emulparams/elf32mcore.sh: PROVIDE __bss_start and _bss_end in
1784 shared libs
1785 * emulparams/elf32ppccommon.sh: PROVIDE __end in shared libs.
1786 * emulparams/elf32rl78.sh: Tidy.
1787 * emulparams/i386nto.sh: PROVIDE _btext in shared libs.
1788 * emulparams/shelf_nto.sh: Likewise.
1789 * emulparams/shlelf_nto.sh: Likewise.
1790 * emulparams/score3_elf.sh: PROVIDE _gp, _bss_start__, _bss_end__,
1791 __bss_end__, __end__, _fdata, _sdata_begin, and _bss_start in
1792 shared libs.
1793 * scripttempl/elf.sc: Don't use EXECUTABLE_SYMBOLS for shared
1794 libraries. PROVIDE _edata, edata, __bss_start, and _end in shared
1795 libraries.
1796 * testsuite/ld-elf/pr23161.map,
1797 * testsuite/ld-elf/pr23161a.c,
1798 * testsuite/ld-elf/pr23161b.c,
1799 * testsuite/ld-elf/pr23161c.c,
1800 * testsuite/ld-elf/pr23161a.rd,
1801 * testsuite/ld-elf/pr23161b.rd,
1802 * testsuite/ld-elf/pr23161c.rd,
1803 * testsuite/ld-elf/pr23161d.rd: New tests.
1804 * testsuite/ld-elf/shared.exp: Run ld/23161 tests.
1805 * testsuite/ld-elf/pr23162.rd,
1806 * testsuite/ld-aarch64/ifunc-1-local.d,
1807 * testsuite/ld-aarch64/ifunc-1.d,
1808 * testsuite/ld-aarch64/ifunc-2-local.d,
1809 * testsuite/ld-aarch64/ifunc-2.d,
1810 * testsuite/ld-aarch64/ifunc-21.d,
1811 * testsuite/ld-aarch64/ifunc-3a.d,
1812 * testsuite/ld-alpha/tlsbin.rd,
1813 * testsuite/ld-alpha/tlsbin.sd,
1814 * testsuite/ld-alpha/tlsbinr.rd,
1815 * testsuite/ld-alpha/tlspic.rd,
1816 * testsuite/ld-alpha/tlspic.sd,
1817 * testsuite/ld-cris/dso-pltdis1.d,
1818 * testsuite/ld-cris/dso-pltdis2.d,
1819 * testsuite/ld-cris/dso12-pltdis.d,
1820 * testsuite/ld-cris/gotplt1.d,
1821 * testsuite/ld-cris/gotplt2.d,
1822 * testsuite/ld-cris/gotplt3.d,
1823 * testsuite/ld-cris/hiddef1.d,
1824 * testsuite/ld-cris/libdso-1.d,
1825 * testsuite/ld-cris/libdso-10.d,
1826 * testsuite/ld-cris/libdso-11.d,
1827 * testsuite/ld-cris/libdso-12.d,
1828 * testsuite/ld-cris/libdso-12b.d,
1829 * testsuite/ld-cris/libdso-12c.d,
1830 * testsuite/ld-cris/libdso-13.d,
1831 * testsuite/ld-cris/libdso-13b.d,
1832 * testsuite/ld-cris/libdso-14.d,
1833 * testsuite/ld-cris/libdso-15.d,
1834 * testsuite/ld-cris/libdso-15b.d,
1835 * testsuite/ld-cris/libdso-1c.d,
1836 * testsuite/ld-cris/libdso-1d.d,
1837 * testsuite/ld-cris/libdso-2.d,
1838 * testsuite/ld-cris/pic-gc-72.d,
1839 * testsuite/ld-cris/pic-gc-73.d,
1840 * testsuite/ld-cris/pr16044.d,
1841 * testsuite/ld-cris/pv32-1.d,
1842 * testsuite/ld-cris/tls-dso-dtpoffd2.d,
1843 * testsuite/ld-cris/tls-dso-dtpoffd4.d,
1844 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d,
1845 * testsuite/ld-cris/tls-gc-71.d,
1846 * testsuite/ld-cris/tls-gd-1.d,
1847 * testsuite/ld-cris/tls-gd-1h.d,
1848 * testsuite/ld-cris/tls-gd-2.d,
1849 * testsuite/ld-cris/tls-gd-2h.d,
1850 * testsuite/ld-cris/tls-ie-10.d,
1851 * testsuite/ld-cris/tls-ie-11.d,
1852 * testsuite/ld-cris/tls-ie-78.d,
1853 * testsuite/ld-cris/tls-ie-8.d,
1854 * testsuite/ld-cris/tls-ie-9.d,
1855 * testsuite/ld-cris/tls-js1.d,
1856 * testsuite/ld-cris/tls-ld-4.d,
1857 * testsuite/ld-cris/tls-ld-5.d,
1858 * testsuite/ld-cris/tls-ld-6.d,
1859 * testsuite/ld-cris/tls-ld-7.d,
1860 * testsuite/ld-cris/tls-ldgd-14.d,
1861 * testsuite/ld-cris/tls-ldgd-15.d,
1862 * testsuite/ld-cris/tls-ldgdex-14.d,
1863 * testsuite/ld-cris/tls-ldgdex-15.d,
1864 * testsuite/ld-cris/tls-ldgdx-14.d,
1865 * testsuite/ld-cris/tls-ldgdx-15.d,
1866 * testsuite/ld-cris/tls-legdx-16.d,
1867 * testsuite/ld-cris/tls-legdx-17.d,
1868 * testsuite/ld-cris/tls-local-54.d,
1869 * testsuite/ld-cris/tls-local-60.d,
1870 * testsuite/ld-cris/tls-local-61.d,
1871 * testsuite/ld-cris/tls-local-63.d,
1872 * testsuite/ld-cris/tls-local-64.d,
1873 * testsuite/ld-cris/tls-ok-30.d,
1874 * testsuite/ld-cris/tls-ok-32.d,
1875 * testsuite/ld-cris/tls-ok-34.d,
1876 * testsuite/ld-cris/tls-und-38.d,
1877 * testsuite/ld-cris/tls-und-42.d,
1878 * testsuite/ld-cris/tls-und-46.d,
1879 * testsuite/ld-cris/tls-und-50.d,
1880 * testsuite/ld-cris/weakhiddso.d,
1881 * testsuite/ld-cris/weakref2.d,
1882 * testsuite/ld-frv/fdpic-shared-1.d,
1883 * testsuite/ld-frv/fdpic-shared-2.d,
1884 * testsuite/ld-frv/fdpic-shared-3.d,
1885 * testsuite/ld-frv/fdpic-shared-4.d,
1886 * testsuite/ld-frv/fdpic-shared-5.d,
1887 * testsuite/ld-frv/fdpic-shared-7.d,
1888 * testsuite/ld-frv/fdpic-shared-8.d,
1889 * testsuite/ld-frv/tls-dynamic-2.d,
1890 * testsuite/ld-i386/ibt-plt-1.d,
1891 * testsuite/ld-i386/ibt-plt-2a.d,
1892 * testsuite/ld-i386/ibt-plt-2b.d,
1893 * testsuite/ld-i386/ibt-plt-2c.d,
1894 * testsuite/ld-i386/ibt-plt-2d.d,
1895 * testsuite/ld-i386/ibt-plt-3a.d,
1896 * testsuite/ld-i386/ibt-plt-3b.d,
1897 * testsuite/ld-i386/ibt-plt-3c.d,
1898 * testsuite/ld-i386/ibt-plt-3d.d,
1899 * testsuite/ld-i386/plt2.dd,
1900 * testsuite/ld-i386/pr20830.d,
1901 * testsuite/ld-i386/tlsbin-nacl.rd,
1902 * testsuite/ld-i386/tlsbin.rd,
1903 * testsuite/ld-i386/tlsbin2-nacl.rd,
1904 * testsuite/ld-i386/tlsbin2.rd,
1905 * testsuite/ld-i386/tlsbindesc-nacl.rd,
1906 * testsuite/ld-i386/tlsbindesc.rd,
1907 * testsuite/ld-i386/tlsdesc-nacl.rd,
1908 * testsuite/ld-i386/tlsdesc.rd,
1909 * testsuite/ld-i386/tlsgdesc-nacl.rd,
1910 * testsuite/ld-i386/tlsgdesc.rd,
1911 * testsuite/ld-i386/tlsnopic-nacl.rd,
1912 * testsuite/ld-i386/tlsnopic.dd,
1913 * testsuite/ld-i386/tlsnopic.rd,
1914 * testsuite/ld-i386/tlsnopic.sd,
1915 * testsuite/ld-i386/tlspic-nacl.rd,
1916 * testsuite/ld-i386/tlspic.rd,
1917 * testsuite/ld-i386/tlspic2-nacl.rd,
1918 * testsuite/ld-i386/tlspic2.rd,
1919 * testsuite/ld-ia64/merge1.d,
1920 * testsuite/ld-ia64/merge2.d,
1921 * testsuite/ld-ia64/merge3.d,
1922 * testsuite/ld-ia64/merge4.d,
1923 * testsuite/ld-ia64/merge5.d,
1924 * testsuite/ld-ia64/tlsbin.rd,
1925 * testsuite/ld-ia64/tlspic.rd,
1926 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
1927 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
1928 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d,
1929 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d,
1930 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d,
1931 * testsuite/ld-ifunc/ifunc-2-x86-64.d,
1932 * testsuite/ld-ifunc/pr17154-i386-now.d,
1933 * testsuite/ld-ifunc/pr17154-i386.d,
1934 * testsuite/ld-ifunc/pr17154-x86-64-now.d,
1935 * testsuite/ld-ifunc/pr17154-x86-64.d,
1936 * testsuite/ld-m68k/tls-def-1.d,
1937 * testsuite/ld-m68k/tls-gd-1.d2,
1938 * testsuite/ld-metag/shared.d,
1939 * testsuite/ld-metag/stub_pic_app.d,
1940 * testsuite/ld-mips-elf/rel32-n32.d,
1941 * testsuite/ld-mips-elf/rel32-o32.d,
1942 * testsuite/ld-mips-elf/rel64.d,
1943 * testsuite/ld-powerpc/ambiguousv1.d,
1944 * testsuite/ld-powerpc/ambiguousv1b.d,
1945 * testsuite/ld-powerpc/ambiguousv2.d,
1946 * testsuite/ld-powerpc/ambiguousv2b.d,
1947 * testsuite/ld-powerpc/tlsexe.d,
1948 * testsuite/ld-powerpc/tlsexe.r,
1949 * testsuite/ld-powerpc/tlsexe32.d,
1950 * testsuite/ld-powerpc/tlsexe32.g,
1951 * testsuite/ld-powerpc/tlsexe32.r,
1952 * testsuite/ld-powerpc/tlsexetoc.d,
1953 * testsuite/ld-powerpc/tlsexetoc.r,
1954 * testsuite/ld-powerpc/tlsso.d,
1955 * testsuite/ld-powerpc/tlsso.r,
1956 * testsuite/ld-powerpc/tlsso32.g,
1957 * testsuite/ld-powerpc/tlsso32.r,
1958 * testsuite/ld-powerpc/tlstocso.d,
1959 * testsuite/ld-powerpc/tlstocso.g,
1960 * testsuite/ld-powerpc/tlstocso.r,
1961 * testsuite/ld-s390/gotreloc_31-1.dd,
1962 * testsuite/ld-s390/tlsbin.dd,
1963 * testsuite/ld-s390/tlsbin.rd,
1964 * testsuite/ld-s390/tlsbin_64.dd,
1965 * testsuite/ld-s390/tlsbin_64.rd,
1966 * testsuite/ld-s390/tlspic.rd,
1967 * testsuite/ld-s390/tlspic_64.rd,
1968 * testsuite/ld-sh/tlsbin-2.d,
1969 * testsuite/ld-sh/tlspic-2.d,
1970 * testsuite/ld-sparc/gotop32.rd,
1971 * testsuite/ld-sparc/gotop64.rd,
1972 * testsuite/ld-sparc/tlssunbin32.rd,
1973 * testsuite/ld-sparc/tlssunbin64.rd,
1974 * testsuite/ld-sparc/tlssunnopic32.rd,
1975 * testsuite/ld-sparc/tlssunnopic64.rd,
1976 * testsuite/ld-sparc/tlssunpic32.rd,
1977 * testsuite/ld-sparc/tlssunpic64.rd,
1978 * testsuite/ld-x86-64/bnd-branch-1-now.d,
1979 * testsuite/ld-x86-64/bnd-ifunc-1-now.d,
1980 * testsuite/ld-x86-64/bnd-ifunc-2-now.d,
1981 * testsuite/ld-x86-64/bnd-ifunc-2.d,
1982 * testsuite/ld-x86-64/bnd-plt-1-now.d,
1983 * testsuite/ld-x86-64/bnd-plt-1.d,
1984 * testsuite/ld-x86-64/ibt-plt-1-x32.d,
1985 * testsuite/ld-x86-64/ibt-plt-1.d,
1986 * testsuite/ld-x86-64/ibt-plt-2a-x32.d,
1987 * testsuite/ld-x86-64/ibt-plt-2a.d,
1988 * testsuite/ld-x86-64/ibt-plt-2b-x32.d,
1989 * testsuite/ld-x86-64/ibt-plt-2b.d,
1990 * testsuite/ld-x86-64/ibt-plt-2c-x32.d,
1991 * testsuite/ld-x86-64/ibt-plt-2c.d,
1992 * testsuite/ld-x86-64/ibt-plt-2d-x32.d,
1993 * testsuite/ld-x86-64/ibt-plt-2d.d,
1994 * testsuite/ld-x86-64/ibt-plt-3a-x32.d,
1995 * testsuite/ld-x86-64/ibt-plt-3a.d,
1996 * testsuite/ld-x86-64/ibt-plt-3b-x32.d,
1997 * testsuite/ld-x86-64/ibt-plt-3b.d,
1998 * testsuite/ld-x86-64/ibt-plt-3c-x32.d,
1999 * testsuite/ld-x86-64/ibt-plt-3c.d,
2000 * testsuite/ld-x86-64/ibt-plt-3d-x32.d,
2001 * testsuite/ld-x86-64/ibt-plt-3d.d,
2002 * testsuite/ld-x86-64/ilp32-4-nacl.d,
2003 * testsuite/ld-x86-64/ilp32-4.d,
2004 * testsuite/ld-x86-64/load1c-nacl.d,
2005 * testsuite/ld-x86-64/load1c.d,
2006 * testsuite/ld-x86-64/load1d-nacl.d,
2007 * testsuite/ld-x86-64/load1d.d,
2008 * testsuite/ld-x86-64/mpx3n.dd,
2009 * testsuite/ld-x86-64/mpx4.dd,
2010 * testsuite/ld-x86-64/mpx4n.dd,
2011 * testsuite/ld-x86-64/plt2.dd,
2012 * testsuite/ld-x86-64/pr14207.d,
2013 * testsuite/ld-x86-64/pr19162.d,
2014 * testsuite/ld-x86-64/pr20253-1f.d,
2015 * testsuite/ld-x86-64/pr20253-1l.d,
2016 * testsuite/ld-x86-64/pr20830a-now.d,
2017 * testsuite/ld-x86-64/pr20830a.d,
2018 * testsuite/ld-x86-64/pr20830b-now.d,
2019 * testsuite/ld-x86-64/pr20830b.d,
2020 * testsuite/ld-x86-64/pr21038a-now.d,
2021 * testsuite/ld-x86-64/pr21038a.d,
2022 * testsuite/ld-x86-64/pr21038b-now.d,
2023 * testsuite/ld-x86-64/pr21038b.d,
2024 * testsuite/ld-x86-64/pr21038c-now.d,
2025 * testsuite/ld-x86-64/pr21038c.d,
2026 * testsuite/ld-x86-64/tlsbin-nacl.rd,
2027 * testsuite/ld-x86-64/tlsbin.rd,
2028 * testsuite/ld-x86-64/tlsbin2-nacl.rd,
2029 * testsuite/ld-x86-64/tlsbin2.rd,
2030 * testsuite/ld-x86-64/tlsbindesc-nacl.rd,
2031 * testsuite/ld-x86-64/tlsbindesc.rd,
2032 * testsuite/ld-x86-64/tlsdesc-nacl.rd,
2033 * testsuite/ld-x86-64/tlsdesc.rd,
2034 * testsuite/ld-x86-64/tlsgdesc-nacl.rd,
2035 * testsuite/ld-x86-64/tlsgdesc.rd,
2036 * testsuite/ld-x86-64/tlspic-nacl.rd,
2037 * testsuite/ld-x86-64/tlspic.rd,
2038 * testsuite/ld-x86-64/tlspic2-nacl.rd,
2039 * testsuite/ld-x86-64/tlspic2.rd: Update.
2040
2041 2018-06-07 Alan Modra <amodra@gmail.com>
2042
2043 * emulparams/elf64bmip.sh (EXECUTABLE_SYMBOLS): Don't define.
2044 (OTHER_SYMBOLS): Define this instead.
2045 * emulparams/elf32bmipn32.sh (EXECUTABLE_SYMBOLS): Don't define.
2046 (OTHER_SYMBOLS): Define similarly to elf64bmip.sh.
2047 * emulparams/elf64hppa.sh (EXECUTABLE_SYMBOLS): Don't define.
2048 (OTHER_SYMBOLS): Define instead.
2049
2050 2018-06-07 Alan Modra <amodra@gmail.com>
2051
2052 * emulparams/elf32_tic6x_le.sh (EXECUTABLE_SYMBOLS): Don't define.
2053
2054 2018-06-06 Alan Modra <amodra@gmail.com>
2055
2056 * Makefile.am (earmelf_fbsd.c): Correct dependencies.
2057 (earmelfb_fbsd.c, earmelfb_fuchsia.c): Likewise.
2058 * Makefile.in: Regenerate.
2059
2060 2018-06-05 Alan Modra <amodra@gmail.com>
2061
2062 PR 23254
2063 * plugin.c (plugin_call_claim_file): Revert 2016-07-19 patch.
2064 (plugin_object_p): Don't dup file descriptor.
2065
2066 2018-06-05 Flavio Ceolin <flavio.ceolin@intel.com>
2067
2068 * testsuite/ld-elf/elf.exp Run new test.
2069 * testsuite/ld-elf/stack-noexec.rd New file: Expected readelf output.
2070
2071 2018-06-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
2072 Jim Wilson <jimw@sifive.com>
2073
2074 PR ld/23244
2075 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new weak ref tests.
2076 * testsuite/ld-riscv-elf/weakref.ld: New.
2077 * testsuite/ld-riscv-elf/weakref32.d: New.
2078 * testsuite/ld-riscv-elf/weakref32.s: New.
2079 * testsuite/ld-riscv-elf/weakref64.d: New.
2080 * testsuite/ld-riscv-elf/weakref64.s: New.
2081
2082 2018-06-01 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 * configure: Regenerated.
2085
2086 2018-05-28 H.J. Lu <hongjiu.lu@intel.com>
2087
2088 PR ld/23238
2089 * testsuite/ld-ifunc/ifunc-26.d: New file.
2090 * testsuite/ld-ifunc/ifunc-26.s: Likewise.
2091 * testsuite/ld-ifunc/ifunc.exp: Run *.d tests without a
2092 working compiler.
2093
2094 2018-05-28 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * testsuite/ld-ifunc/ifunc-10-i386.d: Skip NaCl targets.
2097 * testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise.
2098 * testsuite/ld-ifunc/ifunc-11-i386.d: Likewise.
2099 * testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise.
2100 * testsuite/ld-ifunc/ifunc-12-i386.d: Likewise.
2101 * testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise.
2102 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
2103 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
2104 * testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise.
2105 * testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise.
2106 * testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise.
2107 * testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise.
2108 * testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise.
2109 * testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise.
2110 * testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise.
2111 * testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise.
2112 * testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise.
2113 * testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise.
2114 * testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise.
2115 * testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise.
2116 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
2117 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
2118 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
2119 * testsuite/ld-ifunc/ifunc-16-i386.d: Likewise.
2120 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
2121 * testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise.
2122 * testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise.
2123 * testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise.
2124 * testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise.
2125 * testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise.
2126 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
2127 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
2128 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
2129 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
2130 * testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise.
2131 * testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise.
2132 * testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise.
2133 * testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise.
2134 * testsuite/ld-ifunc/ifunc-2-i386.d: Likewise.
2135 * testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise.
2136 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2137 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2138 * testsuite/ld-ifunc/ifunc-20-i386.d: Likewise.
2139 * testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise.
2140 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2141 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2142 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2143 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2144 * testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise.
2145 * testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise.
2146 * testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
2147 * testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise.
2148 * testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise.
2149 * testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise.
2150 * testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
2151 * testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise.
2152 * testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise.
2153 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2154 * testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise.
2155 * testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise.
2156 * testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise.
2157 * testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise.
2158 * testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise.
2159 * testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise.
2160 * testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise.
2161 * testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise.
2162 * testsuite/ld-ifunc/ifunc-8-i386.d: Likewise.
2163 * testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise.
2164 * testsuite/ld-ifunc/ifunc-9-i386.d: Likewise.
2165 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
2166 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
2167 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
2168 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2169
2170 2018-05-26 H.J. Lu <hongjiu.lu@intel.com>
2171
2172 PR ld/23194
2173 * testsuite/ld-i386/pr23194.d: Expect only R_386_GLOB_DAT
2174 against foobar.
2175 * testsuite/ld-i386/pr23194.map: Add foobar.
2176 * testsuite/ld-x86-64/pr23194.map: Likewise.
2177 * testsuite/ld-i386/pr23194.s: Add a common foobar symbol.
2178 * testsuite/ld-x86-64/pr23194.s: Likewise.
2179 * testsuite/ld-x86-64/pr23194.d: Expect only R_X86_64_GLOB_DAT
2180 against foobar.
2181
2182 2018-05-25 Alan Modra <amodra@gmail.com>
2183
2184 * po/BLD-POTFILES.in: Regenerate.
2185
2186 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
2187
2188 PR ld/23201
2189 * testsuite/ld-tic6x/shlib-1.rd: Adjusted.
2190 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2191 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2192 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2193 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2194 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2195 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2196 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2197 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2198 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2199 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2200 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2201 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2202
2203 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
2204
2205 PR ld/23201
2206 * ldexp.c (exp_fold_tree_1): Call bfd_link_hide_symbol to hide
2207 a symbol.
2208 * testsuite/ld-elf/provide-hidden-dynabs.nd: Removed.
2209 * testsuite/ld-elf/provide-hidden-dynsec.nd: Likewise.
2210 * testsuite/ld-elf/provide-hidden.exp: Replace
2211 provide-hidden-dynsec.nd with provide-hidden-sec.nd and
2212 provide-hidden-dyn.nd. Replace provide-hidden-dynabs.nd with
2213 provide-hidden-abs.nd and provide-hidden-dyn.nd.
2214 * testsuite/ld-i386/pr23189.d: Expect no dynamic relocation.
2215 * testsuite/ld-x86-64/pr23189.d: Likewise.
2216
2217 2018-05-18 H.J. Lu <hongjiu.lu@intel.com>
2218
2219 PR ld/23194
2220 * testsuite/ld-i386/i386.exp: Run pr23194.
2221 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2222 * testsuite/ld-i386/pr23194.d: New file.
2223 * testsuite/ld-i386/pr23194.map: Likewise.
2224 * testsuite/ld-i386/pr23194.s: Likewise.
2225 * testsuite/ld-x86-64/pr23194.d: Likewise.
2226 * testsuite/ld-x86-64/pr23194.map: Likewise.
2227 * testsuite/ld-x86-64/pr23194.s: Likewise.
2228
2229 2018-05-18 H.J. Lu <hongjiu.lu@intel.com>
2230
2231 * testsuite/ld-i386/i386.exp: Run pr23189 for all targets.
2232 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2233
2234 2018-05-18 John Darrington <john@darrington.wattle.id.au>
2235
2236 * Makefile.am: Add support for s12z architecture.
2237 * configure.tgt: Likewise.
2238 * Makefile.in: Regenerate.
2239 * emulparams/m9s12zelf.sh: New file.
2240 * scripttempl/elfm9s12z.sc: New file.
2241 * testsuite/ld-discard/static.d: Expect to fail for the s12z
2242 target.
2243 * testsuite/ld-elf/endsym.d: Likewise.
2244 * testsuite/ld-elf/merge.d: Likewise.
2245 * testsuite/ld-elf/pr14926.d: Skip for the s12z target.
2246 * testsuite/ld-elf/sec64k.exp: Likewise.
2247 * testsuite/ld-s12z: New directory.
2248 * testsuite/ld-s12z/opr-linking.d: New file.
2249 * testsuite/ld-s12z/opr-linking.s: New file.
2250 * testsuite/ld-s12z/relative-linking.d: New file.
2251 * testsuite/ld-s12z/relative-linking.s: New file.
2252 * testsuite/ld-s12z/z12s.exp: New file.
2253
2254 2018-05-18 H.J. Lu <hongjiu.lu@intel.com>
2255
2256 PR ld/23189
2257 * testsuite/ld-i386/i386.exp: Run pr23189.
2258 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2259 * testsuite/ld-i386/pr23189.d: New file.
2260 * testsuite/ld-i386/pr23189.s: Likewise.
2261 * testsuite/ld-i386/pr23189.t: Likewise.
2262 * testsuite/ld-x86-64/pr23189.d: Likewise.
2263 * testsuite/ld-x86-64/pr23189.s: Likewise.
2264 * testsuite/ld-x86-64/pr23189.t: Likewise.
2265
2266 2018-05-15 Alan Modra <amodra@gmail.com>
2267
2268 * testsuite/ld-elf/notes.exp: Restore LDFLAGS.
2269
2270 2018-05-14 Nick Clifton <nickc@redhat.com>
2271
2272 * testsuite/ld-elf/notes.exp: New file: Run new test.
2273 * testsuite/ld-elf/note1_1.s: New file: Source file for test.
2274 * testsuite/ld-elf/note1_2.s: New file: Source file for test.
2275 * testsuite/ld-elf/note1.r: New file: Expected readelf output.
2276
2277 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
2278
2279 PR ld/23169
2280 * testsuite/ld-ifunc/ifunc-9-i386.d: New file.
2281 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
2282 * testsuite/ld-ifunc/pr23169a.c: Likewise.
2283 * testsuite/ld-ifunc/pr23169a.rd: Likewise.
2284 * testsuite/ld-ifunc/pr23169b.c: Likewise.
2285 * testsuite/ld-ifunc/pr23169b.c: Likewise.
2286 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
2287 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
2288 * testsuite/ld-ifunc/ifunc-9-x86.d: Removed.
2289 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/23169 tests.
2290
2291 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
2292
2293 PR ld/23162
2294 * testsuite/ld-elf/pr23162.map: New file.
2295 * testsuite/ld-elf/pr23162.rd: Likewise.
2296 * testsuite/ld-elf/pr23162a.c: Likewise.
2297 * testsuite/ld-elf/pr23162b.c: Likewise.
2298 * testsuite/ld-elf/shared.exp: Run PR ld/23162 tests.
2299
2300 2018-05-12 Alan Modra <amodra@gmail.com>
2301
2302 PR 20659
2303 * testsuite/ld-elf/changelma.d,
2304 * testsuite/ld-elf/changelma.lnk,
2305 * testsuite/ld-elf/changelma.s: New test.
2306
2307 2018-05-09 2018-05-02 Dimitar Dimitrov <dimitar@dinux.eu>
2308
2309 * scripttempl/pru.sc: Add LD sections to allow linking TI
2310 toolchain object files.
2311 * scripttempl/pru.sc: Switch to init_array.
2312 * testsuite/ld-pru/ldi32.d: Update LDI32 test to conform to TI ABI.
2313 * testsuite/ld-pru/norelax_ldi32-data.d: Likewise.
2314 * testsuite/ld-pru/norelax_ldi32-dis.d: Likewise.
2315 * testsuite/ld-pru/relax_ldi32-data.d: Likewise.
2316 * testsuite/ld-pru/relax_ldi32-dis.d: Likewise.
2317
2318 2018-05-09 Alan Modra <amodra@gmail.com>
2319
2320 * po/BLD-POTFILES.in: Regenerate.
2321
2322 2018-05-08 Jim Wilson <jimw@sifive.com>
2323
2324 PR ld/22962
2325 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lriscv_ilp32f.c,
2326 eelf32lriscv_ilp32.c, eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c.
2327 (eelf32lriscv_ilp32f.c, eelf32lriscv_ilp32.c): New build rules.
2328 (eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c): New build rules.
2329 * Makefile.in: Regenerated.
2330 * configure.tgt (riscv32*-*-linux*, riscv64*-*-linux*): New.
2331 * ld/emulparams/elf32lriscv.sh: Set LIBPATH_SUFFIX.
2332 * ld/emulparams/elf32lriscv_ilp32.sh: New.
2333 * ld/emulparams/elf32lriscv_ilp32f.sh: New.
2334 * ld/emulparams/elf64lriscv-defs.sh: Don't set LIBPATH_SUFFIX here.
2335 * ld/emulparams/elf64lriscv.sh: Set LIBPATH_SUFFIX.
2336 * ld/emulparams/elf64lriscv_lp64.sh: New.
2337 * ld/emulparams/elf64lriscv_lp64f.sh: New.
2338 * ld/genscripts.sh (append_to_lib_path): Change LIBPATH_SUFFIX test to
2339 a for. Inside loop, change LIBPATH_SUFFIX uses to libpath_suffix.
2340 (LIB_PATH): In LIB_PATH if, add loop for LIBPATH_SUFFIX, changes uses
2341 inside loop to libpath_suffix.
2342
2343 2018-05-03 Jim Wilson <jimw@sifive.com>
2344
2345 * Makefile.am (earmelfb_linux_fdpiceabi.c): Fix typo in dependencies.
2346
2347 2018-05-03 Simon Atanasyan <simon@atanasyan.com>
2348
2349 * testsuite/ld-mips-elf/gp-disp-sym.d: New test.
2350 * testsuite/ld-mips-elf/gp-disp-sym.s: New test source.
2351 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
2352 * testsuite/ld-mips-elf/mips16-pic-2.ad: Update for _gp_disp
2353 symbol removal.
2354 * testsuite/ld-mips-elf/mips16-pic-2.nd: Likewise.
2355 * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd: Likewise.
2356 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Likewise.
2357 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Likewise.
2358 * testsuite/ld-mips-elf/tlslib-o32.got: Likewise.
2359
2360 2018-04-27 Maciej W. Rozycki <macro@mips.com>
2361
2362 * testsuite/ld-mips-elf/bal-jalx-pic.d: Only run for
2363 `check_shared_lib_support' targets.
2364 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
2365 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
2366 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
2367 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
2368 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
2369 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
2370 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
2371 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
2372 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
2373 Likewise.
2374 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
2375 Likewise.
2376 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
2377 Likewise.
2378 * testsuite/ld-mips-elf/hash1a.d: Likewise.
2379 * testsuite/ld-mips-elf/hash1b.d: Likewise.
2380 * testsuite/ld-mips-elf/hash1c.d: Likewise.
2381 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
2382 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
2383
2384 2018-04-27 Maciej W. Rozycki <macro@mips.com>
2385
2386 * testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target'
2387 in place of `istarget' for matching with `target', `alltargets'
2388 and `notarget' options.
2389
2390 2018-04-27 Alan Modra <amodra@gmail.com>
2391
2392 * po/BLD-POTFILES.in: Regenerate.
2393
2394 2018-04-26 Christophe Lyon <christophe.lyon@linaro.org>
2395
2396 * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for
2397 new variable name.
2398 * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly.
2399
2400 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2401
2402 * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi.
2403 * testsuite/ld-discard/discard.exp: Likewise.
2404 * testsuite/ld-elf/binutils.exp: Likewise.
2405 * testsuite/ld-elf/commonpage1.d: Likewise.
2406 * testsuite/ld-elf/compress1c.d: Likewise.
2407 * testsuite/ld-elf/compressed1b.d: Likewise.
2408 * testsuite/ld-elf/compressed1c.d: Likewise.
2409 * testsuite/ld-elf/compressed1e.d: Likewise.
2410 * testsuite/ld-elf/dynamic1.d: Likewise.
2411 * testsuite/ld-elf/dynsym1.d: Likewise.
2412 * testsuite/ld-elf/ehdr_start-missing.d: Likewise.
2413 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
2414 * testsuite/ld-elf/ehdr_start-userdef.d: Likewise.
2415 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
2416 * testsuite/ld-elf/ehdr_start.d: Likewise.
2417 * testsuite/ld-elf/exclude3b.d: Likewise.
2418 * testsuite/ld-elf/export-class.exp: Likewise.
2419 * testsuite/ld-elf/global1.d: Likewise.
2420 * testsuite/ld-elf/hash.d: Likewise.
2421 * testsuite/ld-elf/header.d: Likewise.
2422 * testsuite/ld-elf/loadaddr1.d: Likewise.
2423 * testsuite/ld-elf/loadaddr2.d: Likewise.
2424 * testsuite/ld-elf/loadaddr3a.d: Likewise.
2425 * testsuite/ld-elf/loadaddr3b.d: Likewise.
2426 * testsuite/ld-elf/local1.d: Likewise.
2427 * testsuite/ld-elf/maxpage1.d: Likewise.
2428 * testsuite/ld-elf/maxpage2.d: Likewise.
2429 * testsuite/ld-elf/maxpage3a.d: Likewise.
2430 * testsuite/ld-elf/mbind1a.d: Likewise.
2431 * testsuite/ld-elf/mbind1b.d: Likewise.
2432 * testsuite/ld-elf/mbind1c.d: Likewise.
2433 * testsuite/ld-elf/multibss1.d: Likewise.
2434 * testsuite/ld-elf/noload-2.d: Likewise.
2435 * testsuite/ld-elf/now-1.d: Likewise.
2436 * testsuite/ld-elf/now-2.d: Likewise.
2437 * testsuite/ld-elf/now-3.d: Likewise.
2438 * testsuite/ld-elf/now-4.d: Likewise.
2439 * testsuite/ld-elf/pie.d: Likewise.
2440 * testsuite/ld-elf/pr12975.d: Likewise.
2441 * testsuite/ld-elf/pr13177.d: Likewise.
2442 * testsuite/ld-elf/pr13195.d: Likewise.
2443 * testsuite/ld-elf/pr16322.d: Likewise.
2444 * testsuite/ld-elf/pr16498a.d: Likewise.
2445 * testsuite/ld-elf/pr16498b.d: Likewise.
2446 * testsuite/ld-elf/pr17615.d: Likewise.
2447 * testsuite/ld-elf/pr19162.d: Likewise.
2448 * testsuite/ld-elf/pr19539.d: Likewise.
2449 * testsuite/ld-elf/pr19617a.d: Likewise.
2450 * testsuite/ld-elf/pr19617b.d: Likewise.
2451 * testsuite/ld-elf/pr19617c.d: Likewise.
2452 * testsuite/ld-elf/pr19698.d: Likewise.
2453 * testsuite/ld-elf/pr19789.d: Likewise.
2454 * testsuite/ld-elf/pr20513c.d: Likewise.
2455 * testsuite/ld-elf/pr20513d.d: Likewise.
2456 * testsuite/ld-elf/pr21384.d: Likewise.
2457 * testsuite/ld-elf/pr21389a.d: Likewise.
2458 * testsuite/ld-elf/pr21389b.d: Likewise.
2459 * testsuite/ld-elf/pr21389c.d: Likewise.
2460 * testsuite/ld-elf/pr21562a.d: Likewise.
2461 * testsuite/ld-elf/pr21562b.d: Likewise.
2462 * testsuite/ld-elf/pr21562c.d: Likewise.
2463 * testsuite/ld-elf/pr21562d.d: Likewise.
2464 * testsuite/ld-elf/pr21562e.d: Likewise.
2465 * testsuite/ld-elf/pr21562f.d: Likewise.
2466 * testsuite/ld-elf/pr21562g.d: Likewise.
2467 * testsuite/ld-elf/pr21562h.d: Likewise.
2468 * testsuite/ld-elf/pr21562i.d: Likewise.
2469 * testsuite/ld-elf/pr21562j.d: Likewise.
2470 * testsuite/ld-elf/pr21562k.d: Likewise.
2471 * testsuite/ld-elf/pr21562l.d: Likewise.
2472 * testsuite/ld-elf/pr21562m.d: Likewise.
2473 * testsuite/ld-elf/pr21562n.d: Likewise.
2474 * testsuite/ld-elf/pr21903a.d: Likewise.
2475 * testsuite/ld-elf/pr21903b.d: Likewise.
2476 * testsuite/ld-elf/pr21903d.d: Likewise.
2477 * testsuite/ld-elf/pr22269a.d: Likewise.
2478 * testsuite/ld-elf/pr22269b.d: Likewise.
2479 * testsuite/ld-elf/pr22393-1a.d: Likewise.
2480 * testsuite/ld-elf/pr22393-1b.d: Likewise.
2481 * testsuite/ld-elf/pr22393-1c.d: Likewise.
2482 * testsuite/ld-elf/pr22393-1d.d: Likewise.
2483 * testsuite/ld-elf/pr22393-1e.d: Likewise.
2484 * testsuite/ld-elf/pr22393-1f.d: Likewise.
2485 * testsuite/ld-elf/pr22423.d: Likewise.
2486 * testsuite/ld-elf/rpath-1.d: Likewise.
2487 * testsuite/ld-elf/rpath-2.d: Likewise.
2488 * testsuite/ld-elf/runpath-1.d: Likewise.
2489 * testsuite/ld-elf/runpath-2.d: Likewise.
2490 * testsuite/ld-elf/seg.d: Likewise.
2491 * testsuite/ld-elf/sizeofb.d: Likewise.
2492 * testsuite/ld-elf/startofb.d: Likewise.
2493 * testsuite/ld-elf/strtab.d: Likewise.
2494 * testsuite/ld-elf/textaddr1.d: Likewise.
2495 * testsuite/ld-elf/textaddr2.d: Likewise.
2496 * testsuite/ld-elf/textaddr3.d: Likewise.
2497 * testsuite/ld-elf/textaddr4.d: Likewise.
2498 * testsuite/ld-elf/textaddr5.d: Likewise.
2499 * testsuite/ld-elf/textaddr6.d: Likewise.
2500 * testsuite/ld-elf/textaddr7.d: Likewise.
2501 * testsuite/ld-elf/tls.exp: Likewise.
2502 * testsuite/ld-elf/tls_common.exp: Likewise.
2503 * testsuite/ld-elf/unknown2.d: Likewise.
2504 * testsuite/ld-gc/abi-note.d: Likewise.
2505 * testsuite/ld-gc/pr11218.d: Likewise.
2506 * testsuite/ld-gc/pr19167.d: Likewise.
2507 * testsuite/ld-gc/pr20022.d: Likewise.
2508 * testsuite/ld-gc/start.d: Likewise.
2509 * testsuite/ld-gc/stop.d: Likewise.
2510 * testsuite/ld-scripts/phdrs2.exp: Likewise.
2511 * testsuite/ld-scripts/rgn-at5.d: Likewise.
2512 * testsuite/ld-undefined/entry-3.d: Likewise.
2513 * testsuite/ld-undefined/entry-4.d: Likewise.
2514
2515 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2516 Mickaël Guêné <mickael.guene@st.com>
2517
2518 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC Thumb-only tests.
2519 * testsuite/ld-arm/fdpic-main-m.d: New test.
2520 * testsuite/ld-arm/fdpic-main-m.s: New.
2521 * testsuite/ld-arm/fdpic-main-m.sym: New.
2522 * testsuite/ld-arm/fdpic-shared-m.d: New test.
2523 * testsuite/ld-arm/fdpic-shared-m.s: New.
2524 * testsuite/ld-arm/fdpic-shared-m.sym: New.
2525
2526 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2527 Mickaël Guêné <mickael.guene@st.com>
2528
2529 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC tests.
2530 * testsuite/ld-arm/fdpic-main.d: New test.
2531 * testsuite/ld-arm/fdpic-main.ld: New.
2532 * testsuite/ld-arm/fdpic-main.r: New.
2533 * testsuite/ld-arm/fdpic-main.s: New.
2534 * testsuite/ld-arm/fdpic-main.sym: New.
2535 * testsuite/ld-arm/fdpic-shared.d: New test.
2536 * testsuite/ld-arm/fdpic-shared.ld: New.
2537 * testsuite/ld-arm/fdpic-shared.r: New.
2538 * testsuite/ld-arm/fdpic-shared.s: New.
2539 * testsuite/ld-arm/fdpic-shared.sym: New.
2540
2541 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2542 Mickaël Guêné <mickael.guene@st.com>
2543
2544 * testsuite/ld-elf/pr2404b.c (main): Rename time variable into
2545 time1.
2546
2547 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2548 Mickaël Guêné <mickael.guene@st.com>
2549
2550 * scripttempl/elf.sc: Define __tdata_start for .tdata section.
2551
2552 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2553 Mickaël Guêné <mickael.guene@st.com>
2554
2555 * emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section.
2556
2557 2018-04-25 Christophe Lyon <christophe.lyon@st.com>
2558 Mickaël Guêné <mickael.guene@st.com>
2559
2560 * Makefile.am (ALL_EMULATION_SOURCES): Add
2561 earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c.
2562 (earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules.
2563 * Makefile.in: Regenerate.
2564 * configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target.
2565 * emulparams/armelf_linux_fdpiceabi.sh: New.
2566 * emulparams/armelfb_linux_fdpiceabi.sh: New.
2567
2568 2018-04-25 Alan Modra <amodra@gmail.com>
2569
2570 * Makefile.am: Remove arm-aout and arm-coff support.
2571 * configure.tgt: Likewise.
2572 * testsuite/ld-arm/attr-merge-div-00.d: Likewise.
2573 * testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise.
2574 * testsuite/ld-arm/attr-merge-div-01.d: Likewise.
2575 * testsuite/ld-arm/attr-merge-div-02.d: Likewise.
2576 * testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise.
2577 * testsuite/ld-arm/attr-merge-div-10.d: Likewise.
2578 * testsuite/ld-arm/attr-merge-div-11.d: Likewise.
2579 * testsuite/ld-arm/attr-merge-div-12.d: Likewise.
2580 * testsuite/ld-arm/attr-merge-div-120.d: Likewise.
2581 * testsuite/ld-arm/attr-merge-div-20.d: Likewise.
2582 * testsuite/ld-arm/attr-merge-div-21.d: Likewise.
2583 * testsuite/ld-arm/attr-merge-div-22.d: Likewise.
2584 * testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise.
2585 * testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise.
2586 * testsuite/ld-arm/attr-merge-nosection-1.d: Likewise.
2587 * testsuite/ld-arm/attr-merge-unknown-2.d: Likewise.
2588 * testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise.
2589 * testsuite/ld-arm/attr-merge-unknown-3.d: Likewise.
2590 * testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
2591 * testsuite/ld-arm/attr-merge-vfp-10.d: Likewise.
2592 * testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise.
2593 * testsuite/ld-arm/attr-merge-vfp-11.d: Likewise.
2594 * testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise.
2595 * testsuite/ld-arm/attr-merge-vfp-12.d: Likewise.
2596 * testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise.
2597 * testsuite/ld-arm/attr-merge-vfp-13.d: Likewise.
2598 * testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise.
2599 * testsuite/ld-arm/attr-merge-vfp-14.d: Likewise.
2600 * testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise.
2601 * testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
2602 * testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
2603 * testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
2604 * testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
2605 * testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
2606 * testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
2607 * testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
2608 * testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
2609 * testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
2610 * testsuite/ld-arm/attr-merge-vfp-6.d: Likewise.
2611 * testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise.
2612 * testsuite/ld-arm/attr-merge-vfp-7.d: Likewise.
2613 * testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
2614 * testsuite/ld-arm/attr-merge-vfp-8.d: Likewise.
2615 * testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise.
2616 * testsuite/ld-arm/attr-merge-vfp-9.d: Likewise.
2617 * testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise.
2618 * testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
2619 * testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
2620 * testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
2621 * testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
2622 * testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
2623 * testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
2624 * testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
2625 * testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
2626 * testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
2627 * testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
2628 * testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
2629 * testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
2630 * testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
2631 * testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
2632 * testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
2633 * testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
2634 * testsuite/ld-arm/eabi-hard-float.d: Likewise.
2635 * testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise.
2636 * testsuite/ld-arm/eabi-soft-float-r.d: Likewise.
2637 * testsuite/ld-arm/eabi-soft-float.d: Likewise.
2638 * testsuite/ld-arm/gc-hidden-1.d: Likewise.
2639 * emulparams/armaoutb.sh: Delete.
2640 * emulparams/armaoutl.sh: Delete.
2641 * emulparams/armcoff.sh: Delete.
2642 * emulparams/armnbsd.sh: Delete.
2643 * emulparams/riscix.sh: Delete.
2644 * scripttempl/armaout.sc: Delete.
2645 * scripttempl/armcoff.sc: Delete.
2646 * scripttempl/riscix.sc: Delete.
2647 * Makefile.in: Regenerate.
2648 * po/BLD-POTFILES.in: Regenerate.
2649
2650 2018-04-21 Alan Modra <amodra@gmail.com>
2651
2652 * testsuite/lib/ld-lib.exp (run_host_cmd): Check that gcc -B
2653 works.
2654
2655 2018-04-18 Alan Modra <amodra@gmail.com>
2656
2657 * Makefile.am: Remove support for assorted i386 aout and coff targets.
2658 * configure.tgt: Likewise.
2659 * testsuite/ld-discard/discard.exp: Likewise.
2660 * testsuite/ld-elf/binutils.exp: Likewise.
2661 * testsuite/ld-elf/tls.exp: Likewise.
2662 * testsuite/ld-elf/tls_common.exp: Likewise.
2663 * testsuite/ld-elfvers/vers.exp: Likewise.
2664 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
2665 * testsuite/ld-elfweak/elfweak.exp: Likewise.
2666 * testsuite/ld-gc/abi-note.d: Likewise.
2667 * testsuite/ld-gc/pr19167.d: Likewise.
2668 * testsuite/ld-gc/pr20022.d: Likewise.
2669 * testsuite/ld-gc/start.d: Likewise.
2670 * testsuite/ld-gc/stop.d: Likewise.
2671 * testsuite/ld-i386/i386.exp: Likewise.
2672 * testsuite/ld-ifunc/binutils.exp: Likewise.
2673 * testsuite/ld-ifunc/ifunc.exp: Likewise.
2674 * testsuite/ld-linkonce/linkonce.exp: Likewise.
2675 * testsuite/ld-plugin/lto.exp: Likewise.
2676 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
2677 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
2678 * testsuite/ld-scripts/phdrs2.exp: Likewise.
2679 * testsuite/ld-scripts/section-match-1.d: Likewise.
2680 * testsuite/ld-shared/shared.exp: Likewise.
2681 * testsuite/ld-size/size.exp: Likewise.
2682 * testsuite/ld-sparc/sparc.exp: Likewise.
2683 * emulparams/i386coff.sh: Delete.
2684 * emulparams/i386linux.sh: Delete.
2685 * emulparams/i386mach.sh: Delete.
2686 * emulparams/i386nbsd.sh: Delete.
2687 * emulparams/vsta.sh: Delete.
2688 * scripttempl/i386coff.sc: Delete.
2689 * Makefile.in: Regenerate.
2690 * po/BLD-POTFILES.in: Regenerate.
2691
2692 2018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
2693
2694 Microblaze Target: PIC data text relative
2695
2696 * ld/lexsup.c (Add 2 ld options):
2697 (ld_options): add disable-multiple-abs-defs @ 'ld_options' array
2698 (parse_args): parse new option and pass flag to 'link_info' struct.
2699 * ld/ldlex.h (Add enum): add new enum @ 'option_values' enum.
2700 * ld/ld.texinfo (Add new option): Add description for
2701 'disable-multiple-abs-defs'
2702 * ld/main.c: Initialize flags with false @ 'main'. Handle
2703 disable-multiple-abs-defs @ 'mutiple_definition'.
2704
2705 2018-04-16 Alan Modra <amodra@gmail.com>
2706
2707 * emultempl/sunos.em: Delete.
2708
2709 2018-04-16 Alan Modra <amodra@gmail.com>
2710
2711 * Makefile.am: Remove arm-epoc-pe support.
2712 * configure.tgt: Likewise.
2713 * emultempl/pe.em: Likewise.
2714 * pe-dll.c: Likewise.
2715 * testsuite/ld-scripts/fill.d: Likewise.
2716 * testsuite/ld-scripts/fill16.d: Likewise.
2717 * emulparams/arm_epoc_pe.sh: Delete.
2718 * scripttempl/epocpe.sc: Delete.
2719 * Makefile.in: Regenerate.
2720 * po/BLD-POTFILES.in: Regenerate.
2721
2722 2018-04-16 Alan Modra <amodra@gmail.com>
2723
2724 * Makefile.am: Remove sparc-aout and sparc-coff support.
2725 * configure.tgt: Likewise.
2726 * testsuite/ld-elfvers/vers.exp: Likewise.
2727 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
2728 * testsuite/ld-elfweak/elfweak.exp: Likewise.
2729 * testsuite/ld-shared/shared.exp: Likewise.
2730 * emulparams/coff_sparc.sh: Delete.
2731 * emulparams/sparcaout.sh: Delete.
2732 * emulparams/sparclinux.sh: Delete.
2733 * emulparams/sparcnbsd.sh: Delete.
2734 * emulparams/sun4.sh: Delete.
2735 * scripttempl/sparccoff.sc: Delete.
2736 * Makefile.in: Regenerate.
2737 * po/BLD-POTFILES.in: Regenerate.
2738
2739 2018-04-16 Alan Modra <amodra@gmail.com>
2740
2741 * Makefile.am: Remove m68k-aout and m68k-coff support.
2742 * configure.tgt: Likewise.
2743 * emultempl/m68kelf.em: Likewise.
2744 * ld.texinfo: Likewise.
2745 * mri.c: Likewise.
2746 * emulparams/delta68.sh: Delete.
2747 * emulparams/hp300bsd.sh: Delete.
2748 * emulparams/hp3hpux.sh: Delete.
2749 * emulparams/m68k4knbsd.sh: Delete.
2750 * emulparams/m68kaout.sh: Delete.
2751 * emulparams/m68kaux.sh: Delete.
2752 * emulparams/m68kcoff.sh: Delete.
2753 * emulparams/m68klinux.sh: Delete.
2754 * emulparams/m68knbsd.sh: Delete.
2755 * emulparams/m68kpsos.sh: Delete.
2756 * emulparams/sun3.sh: Delete.
2757 * emultempl/m68kcoff.em: Delete.
2758 * scripttempl/delta68.sc: Delete.
2759 * scripttempl/m68kaux.sc: Delete.
2760 * scripttempl/m68kcoff.sc: Delete.
2761 * scripttempl/psos.sc: Delete.
2762 * testsuite/ld-versados/t1-1.ro: Delete.
2763 * testsuite/ld-versados/t1-2.ro: Delete.
2764 * testsuite/ld-versados/t1.ld: Delete.
2765 * testsuite/ld-versados/t1.ook: Delete.
2766 * testsuite/ld-versados/t2-1.ro: Delete.
2767 * testsuite/ld-versados/t2-2.ro: Delete.
2768 * testsuite/ld-versados/t2-3.ro: Delete.
2769 * testsuite/ld-versados/t2.ld: Delete.
2770 * testsuite/ld-versados/t2.ook: Delete.
2771 * testsuite/ld-versados/versados.exp: Delete.
2772 * Makefile.in: Regenerate.
2773 * po/BLD-POTFILES.in: Regenerate.
2774
2775 2018-04-16 Alan Modra <amodra@gmail.com>
2776
2777 * Makefile.am: Remove sh5 and sh64 support.
2778 * configure.tgt: Likewise.
2779 * ldlang.c: Likewise.
2780 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
2781 * testsuite/ld-gc/gc.exp: Likewise.
2782 * testsuite/ld-gc/pr13683.d: Likewise.
2783 * testsuite/ld-scripts/crossref.exp: Likewise.
2784 * testsuite/ld-selective/selective.exp: Likewise.
2785 * testsuite/ld-sh/ld-r-1.d: Likewise.
2786 * testsuite/ld-sh/rd-sh.exp: Likewise.
2787 * testsuite/ld-sh/sh.exp: Likewise.
2788 * testsuite/ld-srec/srec.exp: Likewise.
2789 * testsuite/ld-undefined/undefined.exp: Likewise.
2790 * emulparams/shelf32.sh: Delete.
2791 * emulparams/shelf32_linux.sh: Delete.
2792 * emulparams/shelf32_nbsd.sh: Delete.
2793 * emulparams/shelf64.sh: Delete.
2794 * emulparams/shelf64_nbsd.sh: Delete.
2795 * emulparams/shlelf32.sh: Delete.
2796 * emulparams/shlelf32_linux.sh: Delete.
2797 * emulparams/shlelf32_nbsd.sh: Delete.
2798 * emulparams/shlelf64.sh: Delete.
2799 * emulparams/shlelf64_nbsd.sh: Delete.
2800 * emultempl/sh64elf.em: Delete.
2801 * testsuite/ld-sh/sh64/abi32.sd: Delete.
2802 * testsuite/ld-sh/sh64/abi32.xd: Delete.
2803 * testsuite/ld-sh/sh64/abi64.sd: Delete.
2804 * testsuite/ld-sh/sh64/abi64.xd: Delete.
2805 * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete.
2806 * testsuite/ld-sh/sh64/cmpct1.sd: Delete.
2807 * testsuite/ld-sh/sh64/cmpct1.xd: Delete.
2808 * testsuite/ld-sh/sh64/crange-1.s: Delete.
2809 * testsuite/ld-sh/sh64/crange-2a.s: Delete.
2810 * testsuite/ld-sh/sh64/crange-2b.s: Delete.
2811 * testsuite/ld-sh/sh64/crange-2c.s: Delete.
2812 * testsuite/ld-sh/sh64/crange-2d.s: Delete.
2813 * testsuite/ld-sh/sh64/crange-2e.s: Delete.
2814 * testsuite/ld-sh/sh64/crange-2f.s: Delete.
2815 * testsuite/ld-sh/sh64/crange-2g.s: Delete.
2816 * testsuite/ld-sh/sh64/crange-2h.s: Delete.
2817 * testsuite/ld-sh/sh64/crange-2i.s: Delete.
2818 * testsuite/ld-sh/sh64/crange1.rd: Delete.
2819 * testsuite/ld-sh/sh64/crange2.rd: Delete.
2820 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete.
2821 * testsuite/ld-sh/sh64/crange3-media.rd: Delete.
2822 * testsuite/ld-sh/sh64/crange3.dd: Delete.
2823 * testsuite/ld-sh/sh64/crange3.rd: Delete.
2824 * testsuite/ld-sh/sh64/crangerel1.rd: Delete.
2825 * testsuite/ld-sh/sh64/crangerel2.rd: Delete.
2826 * testsuite/ld-sh/sh64/dlsection-1.s: Delete.
2827 * testsuite/ld-sh/sh64/dlsection.sd: Delete.
2828 * testsuite/ld-sh/sh64/endian.dbd: Delete.
2829 * testsuite/ld-sh/sh64/endian.dld: Delete.
2830 * testsuite/ld-sh/sh64/endian.ld: Delete.
2831 * testsuite/ld-sh/sh64/endian.s: Delete.
2832 * testsuite/ld-sh/sh64/endian.sbd: Delete.
2833 * testsuite/ld-sh/sh64/endian.sld: Delete.
2834 * testsuite/ld-sh/sh64/gotplt.d: Delete.
2835 * testsuite/ld-sh/sh64/gotplt.map: Delete.
2836 * testsuite/ld-sh/sh64/gotplt.s: Delete.
2837 * testsuite/ld-sh/sh64/init-cmpct.d: Delete.
2838 * testsuite/ld-sh/sh64/init-media.d: Delete.
2839 * testsuite/ld-sh/sh64/init.s: Delete.
2840 * testsuite/ld-sh/sh64/init64.d: Delete.
2841 * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete.
2842 * testsuite/ld-sh/sh64/mix1.sd: Delete.
2843 * testsuite/ld-sh/sh64/mix1.xd: Delete.
2844 * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete.
2845 * testsuite/ld-sh/sh64/mix2.sd: Delete.
2846 * testsuite/ld-sh/sh64/mix2.xd: Delete.
2847 * testsuite/ld-sh/sh64/rd-sh64.exp: Delete.
2848 * testsuite/ld-sh/sh64/rel-1.s: Delete.
2849 * testsuite/ld-sh/sh64/rel-2.s: Delete.
2850 * testsuite/ld-sh/sh64/rel32.xd: Delete.
2851 * testsuite/ld-sh/sh64/rel64.xd: Delete.
2852 * testsuite/ld-sh/sh64/relax.exp: Delete.
2853 * testsuite/ld-sh/sh64/relax1.s: Delete.
2854 * testsuite/ld-sh/sh64/relax2.s: Delete.
2855 * testsuite/ld-sh/sh64/relax3.s: Delete.
2856 * testsuite/ld-sh/sh64/relax4.s: Delete.
2857 * testsuite/ld-sh/sh64/reldl-1.s: Delete.
2858 * testsuite/ld-sh/sh64/reldl-2.s: Delete.
2859 * testsuite/ld-sh/sh64/reldl32.rd: Delete.
2860 * testsuite/ld-sh/sh64/reldl64.rd: Delete.
2861 * testsuite/ld-sh/sh64/relfail.exp: Delete.
2862 * testsuite/ld-sh/sh64/relfail.s: Delete.
2863 * testsuite/ld-sh/sh64/sh64-1.s: Delete.
2864 * testsuite/ld-sh/sh64/sh64-2.s: Delete.
2865 * testsuite/ld-sh/sh64/sh64.exp: Delete.
2866 * testsuite/ld-sh/sh64/shcmp-1.s: Delete.
2867 * testsuite/ld-sh/sh64/shdl-1.s: Delete.
2868 * testsuite/ld-sh/sh64/shdl-2.s: Delete.
2869 * testsuite/ld-sh/sh64/shdl32.xd: Delete.
2870 * testsuite/ld-sh/sh64/shdl64.sd: Delete.
2871 * testsuite/ld-sh/sh64/shdl64.xd: Delete.
2872 * testsuite/ld-sh/sh64/shmix-1.s: Delete.
2873 * testsuite/ld-sh/sh64/shmix-2.s: Delete.
2874 * testsuite/ld-sh/sh64/shmix-3.s: Delete.
2875 * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete.
2876 * testsuite/ld-sh/sh64/stobin-1.d: Delete.
2877 * testsuite/ld-sh/sh64/stobin.s: Delete.
2878 * testsuite/ld-sh/sh64/stolib.s: Delete.
2879 * Makefile.in: Regenerate.
2880 * po/BLD-POTFILES.in: Regenerate.
2881
2882 2018-04-16 Alan Modra <amodra@gmail.com>
2883
2884 * Makefile.am: Remove sh-symbianelf support.
2885 * configure.tgt: Likewise.
2886 * emulparams/shlsymbian.sh: Delete.
2887 * scripttempl/elf32sh-symbian.sc: Delete.
2888 * Makefile.in: Regenerate.
2889 * po/BLD-POTFILES.in: Regenerate.
2890
2891 2018-04-16 Alan Modra <amodra@gmail.com>
2892
2893 * Makefile.am: Remove vax-bsd and vax-ultrix support.
2894 * configure.tgt: Likewise.
2895 * emulparams/vax.sh: Delete.
2896 * Makefile.in: Regenerate.
2897 * po/BLD-POTFILES.in: Regenerate.
2898
2899 2018-04-16 Alan Modra <amodra@gmail.com>
2900
2901 * Makefile.am: Remove w65 support.
2902 * configure.tgt: Likewise.
2903 * emulparams/w65.sh: Delete.
2904 * scripttempl/w65.sc: Delete.
2905 * Makefile.in: Regenerate.
2906 * po/BLD-POTFILES.in: Regenerate.
2907
2908 2018-04-16 Alan Modra <amodra@gmail.com>
2909
2910 * Makefile.am: Remove m88k support.
2911 * configure.host: Likewise.
2912 * configure.tgt: Likewise.
2913 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2914 * emulparams/m88kbcs.sh: Delete.
2915 * scripttempl/m88kbcs.sc: Delete.
2916 * Makefile.in: Regenerate.
2917 * po/BLD-POTFILES.in: Regenerate.
2918
2919 2018-04-16 Alan Modra <amodra@gmail.com>
2920
2921 * Makefile.am: Remove i370 support.
2922 * configure.tgt: Likewise.
2923 * testsuite/ld-elf/compressed1d.d: Likewise.
2924 * testsuite/ld-elf/group8a.d: Likewise.
2925 * testsuite/ld-elf/group8b.d: Likewise.
2926 * testsuite/ld-elf/group9a.d: Likewise.
2927 * testsuite/ld-elf/group9b.d: Likewise.
2928 * testsuite/ld-elf/merge.d: Likewise.
2929 * testsuite/ld-elf/pr12851.d: Likewise.
2930 * testsuite/ld-elf/pr12975.d: Likewise.
2931 * testsuite/ld-elf/pr13177.d: Likewise.
2932 * testsuite/ld-elf/pr13195.d: Likewise.
2933 * testsuite/ld-elf/pr17615.d: Likewise.
2934 * testsuite/ld-elf/pr21562a.d: Likewise.
2935 * testsuite/ld-elf/pr21562b.d: Likewise.
2936 * testsuite/ld-elf/pr21562c.d: Likewise.
2937 * testsuite/ld-elf/pr21562d.d: Likewise.
2938 * testsuite/ld-elf/pr21562i.d: Likewise.
2939 * testsuite/ld-elf/pr21562j.d: Likewise.
2940 * testsuite/ld-elf/pr21562k.d: Likewise.
2941 * testsuite/ld-elf/pr21562l.d: Likewise.
2942 * testsuite/ld-elf/pr21562m.d: Likewise.
2943 * testsuite/ld-elf/pr21562n.d: Likewise.
2944 * testsuite/ld-elf/pr22677.d: Likewise.
2945 * testsuite/lib/ld-lib.exp: Likewise.
2946 * emulparams/elf32i370.sh: Delete.
2947 * scripttempl/elfi370.sc: Delete.
2948 * Makefile.in: Regenerate.
2949 * po/BLD-POTFILES.in: Regenerate.
2950
2951 2018-04-16 Alan Modra <amodra@gmail.com>
2952
2953 * Makefile.am: Remove h8500 support.
2954 * configure.tgt: Likewise.
2955 * emulparams/h8500.sh: Delete.
2956 * emulparams/h8500b.sh: Delete.
2957 * emulparams/h8500c.sh: Delete.
2958 * emulparams/h8500m.sh: Delete.
2959 * emulparams/h8500s.sh: Delete.
2960 * scripttempl/h8500.sc: Delete.
2961 * scripttempl/h8500b.sc: Delete.
2962 * scripttempl/h8500c.sc: Delete.
2963 * scripttempl/h8500m.sc: Delete.
2964 * scripttempl/h8500s.sc: Delete.
2965 * Makefile.in: Regenerate.
2966 * po/BLD-POTFILES.in: Regenerate.
2967
2968 2018-04-16 Alan Modra <amodra@gmail.com>
2969
2970 * Makefile.am: Remove h8300-coff support.
2971 * configure.tgt: Likewise.
2972 * testsuite/ld-h8300/h8300.exp: Likewise.
2973 * emulparams/h8300.sh: Delete.
2974 * emulparams/h8300h.sh: Delete.
2975 * emulparams/h8300hn.sh: Delete.
2976 * emulparams/h8300s.sh: Delete.
2977 * emulparams/h8300sn.sh: Delete.
2978 * emulparams/h8300sx.sh: Delete.
2979 * emulparams/h8300sxn.sh: Delete.
2980 * scripttempl/h8300.sc: Delete.
2981 * scripttempl/h8300h.sc: Delete.
2982 * scripttempl/h8300hn.sc: Delete.
2983 * scripttempl/h8300s.sc: Delete.
2984 * scripttempl/h8300sn.sc: Delete.
2985 * scripttempl/h8300sx.sc: Delete.
2986 * scripttempl/h8300sxn.sc: Delete.
2987 * testsuite/ld-h8300/relax-3-coff.d: Delete.
2988 * testsuite/ld-h8300/relax-4-coff.d: Delete.
2989 * testsuite/ld-h8300/relax-5-coff.d: Delete.
2990 * testsuite/ld-h8300/relax-6-coff.d: Delete.
2991 * Makefile.in: Regenerate.
2992 * po/BLD-POTFILES.in: Regenerate.
2993
2994 2018-04-16 Alan Modra <amodra@gmail.com>
2995
2996 * ld.texinfo: Remove IEEE 695 support.
2997 * mri.c: Likewise.
2998
2999 2018-04-16 Alan Modra <amodra@gmail.com>
3000
3001 * Makefile.am: Remove tandem support.
3002 * configure.tgt: Likewise.
3003 * emulparams/st2000.sh: Delete.
3004 * scripttempl/st2000.sc: Delete.
3005 * Makefile.in: Regenerate.
3006 * po/BLD-POTFILES.in: Regenerate.
3007
3008 2018-04-16 Alan Modra <amodra@gmail.com>
3009
3010 * Makefile.am: Remove newsos3 support.
3011 * configure.tgt: Likewise.
3012 * emulparams/news.sh: Delete.
3013 * Makefile.in: Regenerate.
3014 * po/BLD-POTFILES.in: Regenerate.
3015
3016 2018-04-16 Alan Modra <amodra@gmail.com>
3017
3018 * Makefile.am: Remove netware support.
3019 * configure.tgt: Likewise.
3020 * testsuite/ld-powerpc/powerpc.exp: Likewise.
3021 * emulparams/i386nw.sh: Delete.
3022 * emulparams/ppcnw.sh: Delete.
3023 * scripttempl/nw.sc: Delete.
3024 * Makefile.in: Regenerate.
3025 * po/BLD-POTFILES.in: Regenerate.
3026
3027 2018-04-14 Alan Modra <amodra@gmail.com>
3028
3029 * ldmain.c (main): Move config.maxpagesize and
3030 config.commonpagesize initialization to..
3031 * ldemul.c (after_parse_default): ..here.
3032 * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size.
3033 * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
3034
3035 2018-04-14 Alan Modra <amodra@gmail.com>
3036
3037 * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh.
3038 * emulparams/ppclynx.sh: Likewise.
3039
3040 2018-04-11 Alan Modra <amodra@gmail.com>
3041
3042 * emulparams/coff_i860.sh: Delete.
3043 * emulparams/elf32_i860.sh: Delete.
3044 * emulparams/elf32_i960.sh: Delete.
3045 * emulparams/gld960.sh: Delete.
3046 * emulparams/gld960coff.sh: Delete.
3047 * emulparams/lnk960.sh: Delete.
3048 * emultempl/gld960.em: Delete.
3049 * emultempl/gld960c.em: Delete.
3050 * emultempl/lnk960.em: Delete.
3051 * scripttempl/i860coff.sc: Delete.
3052 * scripttempl/i960.sc: Delete.
3053 * ld.texinfo: Remove i960 support.
3054 * Makefile.am: Remove i860 and i960 support.
3055 * configure.tgt: Likewise.
3056 * testsuite/ld-discard/extern.d: Likewise.
3057 * testsuite/ld-discard/start.d: Likewise.
3058 * testsuite/ld-discard/static.d: Likewise.
3059 * testsuite/ld-elf/compressed1d.d: Likewise.
3060 * testsuite/ld-elf/group1.d: Likewise.
3061 * testsuite/ld-elf/group3b.d: Likewise.
3062 * testsuite/ld-elf/group8a.d: Likewise.
3063 * testsuite/ld-elf/group8b.d: Likewise.
3064 * testsuite/ld-elf/group9a.d: Likewise.
3065 * testsuite/ld-elf/group9b.d: Likewise.
3066 * testsuite/ld-elf/linkonce2.d: Likewise.
3067 * testsuite/ld-elf/merge.d: Likewise.
3068 * testsuite/ld-elf/merge2.d: Likewise.
3069 * testsuite/ld-elf/merge3.d: Likewise.
3070 * testsuite/ld-elf/orphan-10.d: Likewise.
3071 * testsuite/ld-elf/orphan-11.d: Likewise.
3072 * testsuite/ld-elf/orphan-12.d: Likewise.
3073 * testsuite/ld-elf/orphan-9.d: Likewise.
3074 * testsuite/ld-elf/orphan-region.d: Likewise.
3075 * testsuite/ld-elf/orphan.d: Likewise.
3076 * testsuite/ld-elf/orphan3.d: Likewise.
3077 * testsuite/ld-elf/pr12851.d: Likewise.
3078 * testsuite/ld-elf/pr12975.d: Likewise.
3079 * testsuite/ld-elf/pr13177.d: Likewise.
3080 * testsuite/ld-elf/pr13195.d: Likewise.
3081 * testsuite/ld-elf/pr17550a.d: Likewise.
3082 * testsuite/ld-elf/pr17550b.d: Likewise.
3083 * testsuite/ld-elf/pr17550c.d: Likewise.
3084 * testsuite/ld-elf/pr17550d.d: Likewise.
3085 * testsuite/ld-elf/pr17615.d: Likewise.
3086 * testsuite/ld-elf/pr20528a.d: Likewise.
3087 * testsuite/ld-elf/pr20528b.d: Likewise.
3088 * testsuite/ld-elf/pr21562a.d: Likewise.
3089 * testsuite/ld-elf/pr21562b.d: Likewise.
3090 * testsuite/ld-elf/pr21562c.d: Likewise.
3091 * testsuite/ld-elf/pr21562d.d: Likewise.
3092 * testsuite/ld-elf/pr21562i.d: Likewise.
3093 * testsuite/ld-elf/pr21562j.d: Likewise.
3094 * testsuite/ld-elf/pr21562k.d: Likewise.
3095 * testsuite/ld-elf/pr21562l.d: Likewise.
3096 * testsuite/ld-elf/pr21562m.d: Likewise.
3097 * testsuite/ld-elf/pr21562n.d: Likewise.
3098 * testsuite/ld-elf/pr22677.d: Likewise.
3099 * testsuite/ld-elf/pr22836-1a.d: Likewise.
3100 * testsuite/ld-elf/pr22836-1b.d: Likewise.
3101 * testsuite/ld-elf/pr349.d: Likewise.
3102 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
3103 * testsuite/ld-elf/sec64k.exp: Likewise.
3104 * testsuite/ld-elf/warn1.d: Likewise.
3105 * testsuite/ld-elf/warn2.d: Likewise.
3106 * testsuite/ld-elf/warn3.d: Likewise.
3107 * testsuite/lib/ld-lib.exp: Likewise.
3108 * Makefile.in: Regenerate.
3109 * po/BLD-POTFILES.in: Regenerate.
3110
3111 2018-04-11 Alan Modra <amodra@gmail.com>
3112
3113 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32.
3114
3115 2018-04-09 Alan Modra <amodra@gmail.com>
3116
3117 * po/BLD-POTFILES.in: Regenerate.
3118
3119 2018-04-09 Alan Modra <amodra@gmail.com>
3120
3121 * emultempl/ppc64elf.em (no_inline_plt): New var.
3122 (ppc_before_allocation): Call ppc64_elf_inline_plt.
3123 (enum ppc64_opt): Add OPTION_NO_INLINE_OPT.
3124 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
3125 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
3126 * emultemps/ppc32elf.em (no_inline_opt): New var.
3127 (prelim_size_sections): New function, extracted from..
3128 (ppc_before_allocation): ..here. Call ppc_elf_inline_plt.
3129 (enum ppc32_opt): Add OPTION_NO_INLINE_OPT.
3130 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
3131 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
3132
3133 2018-04-09 Alan Modra <amodra@gmail.com>
3134
3135 * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt.
3136 (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt.
3137 * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering.
3138 * testsuite/ld-powerpc/relbrlt.d: Likewise.
3139 * testsuite/ld-powerpc/relbrlt.s: Likewise.
3140 * testsuite/ld-powerpc/tlsso.r: Likewise.
3141 * testsuite/ld-powerpc/tlstocso.r: Likewise.
3142
3143 2018-04-09 Alan Modra <amodra@gmail.com>
3144
3145 * ppc32elf.em (ppc_finish): Call ppc_finish_symbols.
3146
3147 2018-04-05 H.J. Lu <hongjiu.lu@intel.com>
3148
3149 PR gas/22318
3150 * configure: Regenerated.
3151
3152 2018-04-05 Nick Clifton <nickc@redhat.com>
3153
3154 PR 23030
3155 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure
3156 that the .IA_64.unwind_info and .IA_64.unwind sections are not
3157 subject to garbage collection.
3158
3159 2018-04-04 Eric Botcazou <ebotcazou@adacore.com>
3160
3161 * deffile.h (def_file_add_import_from): Declare.
3162 (def_file_add_import_at): Likewise.
3163 * deffilep.y (fill_in_import): New function extracted from...
3164 (def_file_add_import): ...here. Call it.
3165 (def_file_add_import_from): New function.
3166 (def_file_add_import_at): Likewise.
3167 * pe-dll.c (pe_implied_import_dll): Use an optimized version of the
3168 insertion loop for imported symbols if possible.
3169
3170 2018-04-04 Eric Botcazou <ebotcazou@adacore.com>
3171
3172 * emultempl/pe.em (U_SIZE): Delete.
3173 (pe_data_import_dll): Likewise.
3174 (make_import_fixup): Return void, take 4th parameter and pass it down
3175 in call to pe_create_import_fixup.
3176 (pe_find_data_imports): Move to...
3177 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
3178 the auto-import pass and add a guard before running the latter.
3179 * emultempl/pep.em (U_SIZE): Delete.
3180 (pep_data_import_dll): Likewise.
3181 (make_import_fixup): Return void, take 4th parameter and pass it down
3182 in call to pe_create_import_fixup.
3183 (pep_find_data_imports): Move to...
3184 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
3185 the auto-import pass and add a guard before running the latter.
3186 * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean.
3187 (pe_walk_relocs_of_symbol): Rename into...
3188 (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the
3189 callback prototype and pass 4th parameter in calls to the callback.
3190 If the import hash table is present, invoke the callback on the reloc
3191 if the symbol name is in the table.
3192 (pe_find_data_imports): ...here. Take 2 parameters. Build an import
3193 hash table for the pseudo-relocation support version 2. When it is
3194 built, walk the relocations only once at the end; when it is not, do
3195 not build a fixup when the symbol isn't part of an import table.
3196 Issue the associated warning only after a first fixup is built.
3197 (tmp_seq2): Delete.
3198 (make_singleton_name_imp): Likewise.
3199 (make_import_fixup_mark): Return const char * and a stable string.
3200 (make_import_fixup_entry): Do not deal with the pseudo-relocation
3201 support version 2.
3202 (make_runtime_pseudo_reloc): Factor out code and fix formatting.
3203 (pe_create_import_fixup): Add 5th parameter. Clearly separate the
3204 pseudo-relocation support version 2 from the rest. Fix formatting.
3205 * pe-dll.h (pe_walk_relocs_of_symbol): Delete.
3206 (pe_find_data_imports): Declare.
3207 (pe_create_import_fixup): Add 5th parameter.
3208 * pep-dll.c (pe_data_import_dll): Delete.
3209 (pe_find_data_imports): Define.
3210 (pe_walk_relocs_of_symbol): Delete.
3211 * pep-dll.h (pep_walk_relocs_of_symbol): Delete.
3212 (pep_find_data_imports): Declare.
3213 (pep_create_import_fixup): Add 5th parameter.
3214 * ld.texinfo (--enable-auto-import): Adjust to new implementation.
3215
3216 2018-04-04 Nick Clifton <nickc@redhat.com>
3217
3218 * po/es.po: Updated Spanish translation.
3219
3220 2018-04-03 Maciej W. Rozycki <macro@mips.com>
3221
3222 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
3223 `mips*-*-kfreebsd*-gnu' targets.
3224
3225 2018-03-23 Renlin Li <renlin.li@arm.com>
3226
3227 PR ld/22970
3228 * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests.
3229 * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New.
3230 * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New.
3231 * testsuite/ld-aarch64/emit-relocs-552.d: New.
3232 * testsuite/ld-aarch64/emit-relocs-552.s: New.
3233 * testsuite/ld-aarch64/emit-relocs-553.d: New.
3234 * testsuite/ld-aarch64/emit-relocs-553.s: New.
3235 * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New.
3236 * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New.
3237 * testsuite/ld-aarch64/emit-relocs-554.d: New.
3238 * testsuite/ld-aarch64/emit-relocs-554.s: New.
3239 * testsuite/ld-aarch64/emit-relocs-555.d: New.
3240 * testsuite/ld-aarch64/emit-relocs-555.s: New.
3241 * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New.
3242 * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New.
3243 * testsuite/ld-aarch64/emit-relocs-556.d: New.
3244 * testsuite/ld-aarch64/emit-relocs-556.s: New.
3245 * testsuite/ld-aarch64/emit-relocs-557.d: New.
3246 * testsuite/ld-aarch64/emit-relocs-557.s: New.
3247 * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New.
3248 * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New.
3249 * testsuite/ld-aarch64/emit-relocs-558.d: New.
3250 * testsuite/ld-aarch64/emit-relocs-558.s: New.
3251 * testsuite/ld-aarch64/emit-relocs-559.d: New.
3252 * testsuite/ld-aarch64/emit-relocs-559.s: New.
3253 * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New.
3254 * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New.
3255 * testsuite/ld-aarch64/emit-relocs-112.d: New.
3256 * testsuite/ld-aarch64/emit-relocs-112.s: New.
3257 * testsuite/ld-aarch64/emit-relocs-113.d: New.
3258 * testsuite/ld-aarch64/emit-relocs-113.s: New.
3259 * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New.
3260 * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New.
3261 * testsuite/ld-aarch64/emit-relocs-114.d: New.
3262 * testsuite/ld-aarch64/emit-relocs-114.s: New.
3263 * testsuite/ld-aarch64/emit-relocs-115.d: New.
3264 * testsuite/ld-aarch64/emit-relocs-115.s: New.
3265 * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New.
3266 * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New.
3267 * testsuite/ld-aarch64/emit-relocs-116.d: New.
3268 * testsuite/ld-aarch64/emit-relocs-116.s: New.
3269 * testsuite/ld-aarch64/emit-relocs-117.d: New.
3270 * testsuite/ld-aarch64/emit-relocs-117.s: New.
3271 * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New.
3272 * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New.
3273 * testsuite/ld-aarch64/emit-relocs-118.d: New.
3274 * testsuite/ld-aarch64/emit-relocs-118.s: New.
3275 * testsuite/ld-aarch64/emit-relocs-119.d: New.
3276 * testsuite/ld-aarch64/emit-relocs-119.s: New.
3277
3278 2018-03-28 Eric Botcazou <ebotcazou@adacore.com>
3279
3280 PR ld/22972
3281 * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs.
3282 * testsuite/ld-sparc/gotop-hidden.c: New file.
3283 * testsuite/ld-sparc/got-hidden32.s: Likewise.
3284 * testsuite/ld-sparc/got-hidden64.s: Likewise.
3285 * testsuite/ld-sparc/pass.out: Likewise.
3286
3287 2018-03-25 H.J. Lu <hongjiu.lu@intel.com>
3288
3289 PR ld/23000
3290 * testsuite/ld-x86-64/tlsdesc.pd: Updated.
3291
3292 2018-03-23 Nick Clifton <nickc@redhat.com>
3293
3294 PR 22948
3295 * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template
3296 to library name list.
3297 * emultempl/pep.em (open_dynamic_archive): Likewise.
3298 * ld.texinfo (WIN32): Update documentation.
3299
3300 2018-03-20 Roland McGrath <mcgrathr@google.com>
3301
3302 * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*,
3303 another target without RELRO.
3304
3305 2018-03-20 H.J. Lu <hongjiu.lu@intel.com>
3306
3307 * testsuite/ld-plugin/pr22983.d: Allow leading underscore as
3308 well as extra lines between symbols.
3309
3310 2018-03-20 Maciej W. Rozycki <macro@mips.com>
3311
3312 * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the
3313 personality test.
3314
3315 2018-03-20 H.J. Lu <hongjiu.lu@intel.com>
3316
3317 PR ld/22983
3318 * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test.
3319 * testsuite/ld-plugin/pr22983.d: New file.
3320 * testsuite/ld-plugin/pr22983.t: Likewise.
3321 * testsuite/ld-plugin/pr22983a.c: Likewise.
3322 * testsuite/ld-plugin/pr22983b.c: Likewise.
3323
3324 2018-03-15 Andreas Schwab <schwab@suse.de>
3325
3326 PR ld/22949
3327 * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't
3328 enable relaxation in relocatable link.
3329
3330 2018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
3331
3332 * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove
3333 unsupported target feature.
3334
3335 2018-03-14 H.J. Lu <hongjiu.lu@intel.com>
3336
3337 PR ld/20882
3338 * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
3339 section.
3340 * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.
3341
3342 2018-03-14 H.J. Lu <hongjiu.lu@intel.com>
3343
3344 * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS.
3345
3346 2018-03-13 Nick Clifton <nickc@redhat.com>
3347
3348 * po/pt_BR.po: Updated Brazilian Portuguese translation.
3349
3350 2018-03-09 Nick Clifton <nickc@redhat.com>
3351
3352 * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets
3353 that support IFUNC symbols can handle relocations against those
3354 symbols in NOTE sections.
3355 * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new
3356 test.
3357 * testsuite/ld-ifunc/ifunc.exp: Run the new test.
3358
3359 2018-03-08 H.J. Lu <hongjiu.lu@intel.com>
3360
3361 PR ld/22929
3362 * testsuite/ld-i386/i386.exp: Run PR ld/22929 test.
3363 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3364 * testsuite/ld-i386/pr22929.d: New file.
3365 * testsuite/ld-i386/pr22929.s: Likewise.
3366 * testsuite/ld-x86-64/pr22929.d: Likewise.
3367 * testsuite/ld-x86-64/pr22929.s: Likewise.
3368
3369 2018-03-07 Max Filippov <jcmvbkbc@gmail.com>
3370
3371 * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
3372
3373 2018-03-07 Renlin Li <renlin.li@arm.com>
3374
3375 PR ld/20402
3376 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
3377 * testsuite/ld-aarch64/pr20402.s: New.
3378 * testsuite/ld-aarch64/pr20402.d: New.
3379
3380 2018-03-06 Jim Wilson <jimw@sifive.com>
3381
3382 PR 22920
3383 * emultempl/riscvelf.em (riscv_create_output_section_statements): New.
3384 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New.
3385 * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*.
3386 * testsuite/ld-unique/pr21529.d (#notarget): Likewise.
3387 * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target,
3388 call setup_xfail.
3389
3390 2018-03-03 James Cowgill <james.cowgill@mips.com>
3391 Maciej W. Rozycki <macro@mips.com>
3392
3393 PR ld/21900
3394 * testsuite/ld-mips-elf/undefined-warn.d: New test.
3395 * testsuite/ld-mips-elf/undefined.s: Add padding at the end.
3396 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
3397
3398 2018-03-02 Jim Wilson <jimw@sifive.com>
3399
3400 PR 22903
3401 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
3402 Give stub_sec 8 byte alignment.
3403 * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5.
3404 * emulparams/aarch64elf.sh (NOP): Likewise.
3405 * emulparams/aarch64elf32.sh (NOP): Likewise.
3406 * emulparams/aarch64fbsd.sh (NOP): Likewise.
3407 * emulparams/aarch64linux.sh (NOP): Likewise.
3408 * emulparams/aarch64linux32.sh (NOP): Likewise.
3409 * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop.
3410 * testsuite/ld-aarch64/erratum843419.d: Likewise.
3411 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
3412 * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise.
3413 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
3414 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
3415 * testsuite/ld-aarch64/farcall-b.d: Likewise.
3416 * testsuite/ld-aarch64/farcall-back.d: Likewise.
3417 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
3418 * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise.
3419 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
3420 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3421 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
3422
3423 2018-03-01 Alan Modra <amodra@gmail.com>
3424
3425 * configure.ac (ALL_LINGUAS): Add ja. Sort.
3426 * configure: Regenerate.
3427
3428 2018-02-28 Douglas B Rupp <rupp@adacore.com>
3429
3430 * ldmain.c (main): Remove directory separator, if any, from the
3431 end of the canonicalized sysroot.
3432
3433 2018-02-27 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * NEWS: Mention --enable-separate-code.
3436 * configure.ac: Add --enable-separate-code.
3437 (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED.
3438 * configure.tgt: Default ac_default_ld_z_separate_code to 1 for
3439 Linux/x86 targets.
3440 * config.in: Regenerated.
3441 * configure: Likewise.
3442 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
3443 link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE.
3444
3445 2018-02-26 Alan Modra <amodra@gmail.com>
3446
3447 * emulparams/call_nop.sh, * emulparams/cet.sh,
3448 * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em
3449 * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em,
3450 * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em,
3451 * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em,
3452 * emultempl/elf-generic.em, * emultempl/hppaelf.em,
3453 * emultempl/linux.em, * emultempl/lnk960.em,
3454 * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em,
3455 * emultempl/m68kelf.em, * emultempl/metagelf.em,
3456 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
3457 * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em,
3458 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
3459 * emultempl/ppc32elf.em, * emultempl/ppc64elf.em,
3460 * emultempl/scoreelf.em, * emultempl/sh64elf.em,
3461 * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em,
3462 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
3463 * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c,
3464 * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c,
3465 * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c,
3466 * plugin.c: Standardize error/warning messages.
3467 * testsuite/ld-arc/jli-overflow.err,
3468 * testsuite/ld-arm/cmse-implib-errors.out,
3469 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
3470 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
3471 * testsuite/ld-arm/cmse-new-wrong-implib.out,
3472 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
3473 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
3474 * testsuite/ld-arm/vxworks1-static.d,
3475 * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d,
3476 * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d,
3477 * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d,
3478 * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d,
3479 * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d,
3480 * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d,
3481 * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d,
3482 * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err,
3483 * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l,
3484 * testsuite/ld-i386/vxworks1-static.d,
3485 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
3486 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
3487 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
3488 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
3489 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
3490 * testsuite/ld-mips-elf/bal-jalx-pic.d,
3491 * testsuite/ld-mips-elf/jal-global-overflow-1.d,
3492 * testsuite/ld-mips-elf/jal-local-overflow-1.d,
3493 * testsuite/ld-mips-elf/mode-change-error-1.d,
3494 * testsuite/ld-mips-elf/unaligned-branch-2.d,
3495 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
3496 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
3497 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
3498 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
3499 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
3500 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
3501 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
3502 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
3503 * testsuite/ld-mips-elf/unaligned-branch.d,
3504 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
3505 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
3506 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
3507 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
3508 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
3509 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
3510 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
3511 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
3512 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
3513 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
3514 * testsuite/ld-mips-elf/unaligned-jump.d,
3515 * testsuite/ld-mips-elf/unaligned-ldpc-1.d,
3516 * testsuite/ld-mips-elf/unaligned-lwpc-1.d,
3517 * testsuite/ld-mips-elf/undefined.d,
3518 * testsuite/ld-mips-elf/vxworks1-static.d,
3519 * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d,
3520 * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d,
3521 * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d,
3522 * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d,
3523 * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d,
3524 * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d,
3525 * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d,
3526 * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d,
3527 * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d,
3528 * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d,
3529 * testsuite/ld-powerpc/aix-weak-3-32.d,
3530 * testsuite/ld-powerpc/aix-weak-3-64.d,
3531 * testsuite/ld-powerpc/vxworks1-static.d,
3532 * testsuite/ld-sh/vxworks1-static.d,
3533 * testsuite/ld-sparc/vxworks1-static.d,
3534 * testsuite/ld-undefined/undefined.exp,
3535 * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings.
3536 * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex.
3537
3538 2018-02-26 Alan Modra <amodra@gmail.com>
3539
3540 * Makefile.am (EMULATION_FILES, POTFILES): Delete.
3541 (SRC_POTFILES, BLD_POTFILES): Define.
3542 (po/POTFILES.in): Delete rule.
3543 (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules.
3544 * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile.
3545 * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in
3546 and BLD-POTFILES.in.
3547 (POTFILES): Delete.
3548 (SRC-POTFILES, BLD-POTFILES): Define place marker.
3549 (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES.
3550 (distclean, maintainer-clean): Tidy up new files.
3551 (POTFILES, POTFILES.in): Delete rules.
3552 (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in):
3553 New rules.
3554 (Makefile): Depend on SRC-POTFILES and BLD-POTFILES.
3555 * po/SRC-POTFILES.in: Rename from po/POTFILES.in.
3556 * po/BLD-POTFILES.in: New file.
3557 * Makefile.in: Regenerate.
3558 * configure: Regenerate.
3559
3560 2018-02-26 Alan Modra <amodra@gmail.com>
3561
3562 * testsuite/ld-cris/pcrelcp-1.d,
3563 * testsuite/ld-mmix/start-2.d: Update.
3564
3565 2018-02-26 Alan Modra <amodra@gmail.com>
3566
3567 * testsuite/ld-arm/cmse-implib-errors.out,
3568 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
3569 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
3570 * testsuite/ld-arm/cmse-new-wrong-implib.out,
3571 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
3572 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
3573 * testsuite/ld-cris/badgotr1.d,
3574 * testsuite/ld-cris/tls-err-24.d,
3575 * testsuite/ld-cris/tls-err-25.d,
3576 * testsuite/ld-cris/tls-err-26.d,
3577 * testsuite/ld-cris/tls-err-27.d,
3578 * testsuite/ld-cris/tls-err-28.d,
3579 * testsuite/ld-cris/tls-err-40.d,
3580 * testsuite/ld-cris/tls-err-44.d,
3581 * testsuite/ld-cris/tls-err-48.d,
3582 * testsuite/ld-cris/tls-err-52.d,
3583 * testsuite/ld-cris/tls-err-53.d,
3584 * testsuite/ld-cris/tls-err-55.d,
3585 * testsuite/ld-cris/tls-err-56.d,
3586 * testsuite/ld-cris/tls-err-62.d,
3587 * testsuite/ld-cris/tls-err-65.d,
3588 * testsuite/ld-cris/tls-err-77.d,
3589 * testsuite/ld-elf/empty-implib.out,
3590 * testsuite/ld-elf/indirect.exp: Update.
3591
3592 2018-02-26 Alan Modra <amodra@gmail.com>
3593
3594 * testsuite/ld-aarch64/reloc-overflow-bad.d,
3595 * testsuite/ld-arm/attr-merge-9.out,
3596 * testsuite/ld-arm/attr-merge-arch-2.d,
3597 * testsuite/ld-arm/attr-merge-unknown-1.d,
3598 * testsuite/ld-arm/attr-merge-unknown-2.d,
3599 * testsuite/ld-arm/attr-merge-unknown-2r.d,
3600 * testsuite/ld-arm/attr-merge-unknown-3.d,
3601 * testsuite/ld-arm/cmse-implib-errors.out,
3602 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
3603 * testsuite/ld-arm/cmse-new-implib-no-output.out,
3604 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
3605 * testsuite/ld-arm/cmse-new-implib.out,
3606 * testsuite/ld-arm/cmse-new-wrong-implib.out,
3607 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
3608 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
3609 * testsuite/ld-arm/group-relocs-alu-bad-2.d,
3610 * testsuite/ld-arm/group-relocs-alu-bad.d,
3611 * testsuite/ld-arm/group-relocs-ldc-bad-2.d,
3612 * testsuite/ld-arm/group-relocs-ldc-bad.d,
3613 * testsuite/ld-arm/group-relocs-ldr-bad-2.d,
3614 * testsuite/ld-arm/group-relocs-ldr-bad.d,
3615 * testsuite/ld-arm/group-relocs-ldrs-bad-2.d,
3616 * testsuite/ld-arm/group-relocs-ldrs-bad.d,
3617 * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update.
3618
3619 2018-02-26 Alan Modra <amodra@gmail.com>
3620
3621 * testsuite/ld-mips-elf/attr-gnu-4-12.d,
3622 * testsuite/ld-mips-elf/attr-gnu-4-13.d,
3623 * testsuite/ld-mips-elf/attr-gnu-4-14.d,
3624 * testsuite/ld-mips-elf/attr-gnu-4-16.d,
3625 * testsuite/ld-mips-elf/attr-gnu-4-17.d,
3626 * testsuite/ld-mips-elf/attr-gnu-4-18.d,
3627 * testsuite/ld-mips-elf/attr-gnu-4-19.d,
3628 * testsuite/ld-mips-elf/attr-gnu-4-21.d,
3629 * testsuite/ld-mips-elf/attr-gnu-4-23.d,
3630 * testsuite/ld-mips-elf/attr-gnu-4-24.d,
3631 * testsuite/ld-mips-elf/attr-gnu-4-25.d,
3632 * testsuite/ld-mips-elf/attr-gnu-4-26.d,
3633 * testsuite/ld-mips-elf/attr-gnu-4-27.d,
3634 * testsuite/ld-mips-elf/attr-gnu-4-28.d,
3635 * testsuite/ld-mips-elf/attr-gnu-4-29.d,
3636 * testsuite/ld-mips-elf/attr-gnu-4-31.d,
3637 * testsuite/ld-mips-elf/attr-gnu-4-32.d,
3638 * testsuite/ld-mips-elf/attr-gnu-4-34.d,
3639 * testsuite/ld-mips-elf/attr-gnu-4-35.d,
3640 * testsuite/ld-mips-elf/attr-gnu-4-36.d,
3641 * testsuite/ld-mips-elf/attr-gnu-4-37.d,
3642 * testsuite/ld-mips-elf/attr-gnu-4-38.d,
3643 * testsuite/ld-mips-elf/attr-gnu-4-39.d,
3644 * testsuite/ld-mips-elf/attr-gnu-4-41.d,
3645 * testsuite/ld-mips-elf/attr-gnu-4-42.d,
3646 * testsuite/ld-mips-elf/attr-gnu-4-43.d,
3647 * testsuite/ld-mips-elf/attr-gnu-4-45.d,
3648 * testsuite/ld-mips-elf/attr-gnu-4-46.d,
3649 * testsuite/ld-mips-elf/attr-gnu-4-47.d,
3650 * testsuite/ld-mips-elf/attr-gnu-4-48.d,
3651 * testsuite/ld-mips-elf/attr-gnu-4-49.d,
3652 * testsuite/ld-mips-elf/attr-gnu-4-52.d,
3653 * testsuite/ld-mips-elf/attr-gnu-4-53.d,
3654 * testsuite/ld-mips-elf/attr-gnu-4-54.d,
3655 * testsuite/ld-mips-elf/attr-gnu-4-58.d,
3656 * testsuite/ld-mips-elf/attr-gnu-4-59.d,
3657 * testsuite/ld-mips-elf/attr-gnu-4-61.d,
3658 * testsuite/ld-mips-elf/attr-gnu-4-62.d,
3659 * testsuite/ld-mips-elf/attr-gnu-4-63.d,
3660 * testsuite/ld-mips-elf/attr-gnu-4-64.d,
3661 * testsuite/ld-mips-elf/attr-gnu-4-68.d,
3662 * testsuite/ld-mips-elf/attr-gnu-4-69.d,
3663 * testsuite/ld-mips-elf/attr-gnu-4-71.d,
3664 * testsuite/ld-mips-elf/attr-gnu-4-72.d,
3665 * testsuite/ld-mips-elf/attr-gnu-4-73.d,
3666 * testsuite/ld-mips-elf/attr-gnu-4-74.d,
3667 * testsuite/ld-mips-elf/attr-gnu-4-78.d,
3668 * testsuite/ld-mips-elf/attr-gnu-4-79.d,
3669 * testsuite/ld-mips-elf/attr-gnu-4-81.d,
3670 * testsuite/ld-mips-elf/attr-gnu-4-89.d,
3671 * testsuite/ld-mips-elf/attr-gnu-8-12.d,
3672 * testsuite/ld-mips-elf/attr-gnu-8-21.d,
3673 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
3674 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
3675 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
3676 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
3677 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
3678 * testsuite/ld-mips-elf/bal-jalx-pic.d,
3679 * testsuite/ld-mips-elf/mode-change-error-1.d,
3680 * testsuite/ld-mips-elf/unaligned-branch-2.d,
3681 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
3682 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
3683 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
3684 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
3685 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
3686 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
3687 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
3688 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
3689 * testsuite/ld-mips-elf/unaligned-branch.d,
3690 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
3691 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
3692 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
3693 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
3694 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
3695 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
3696 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
3697 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
3698 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
3699 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
3700 * testsuite/ld-mips-elf/unaligned-jump.d: Update.
3701
3702 2018-02-26 Alan Modra <amodra@gmail.com>
3703
3704 * testsuite/ld-elf/indirect.exp,
3705 * testsuite/ld-elf/pr22649-2ab-mips.msg,
3706 * testsuite/ld-elf/pr22649-2cd-mips.msg,
3707 * testsuite/ld-elf/pr22649.msg,
3708 * testsuite/ld-elf/tls_common.exp,
3709 * testsuite/ld-elfcomm/elfcomm.exp,
3710 * testsuite/ld-arm/attr-merge-incompatible.d,
3711 * testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
3712 * testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
3713 * testsuite/ld-tic6x/attr-compatibility-other-other.d,
3714 * testsuite/ld-i386/warn1.d: Update expected error/warning messages.
3715
3716 2018-02-26 Alan Modra <amodra@gmail.com>
3717
3718 * testsuite/ld-powerpc/attr-gnu-12-21.d,
3719 * testsuite/ld-powerpc/attr-gnu-4-12.d,
3720 * testsuite/ld-powerpc/attr-gnu-4-13.d,
3721 * testsuite/ld-powerpc/attr-gnu-4-21.d,
3722 * testsuite/ld-powerpc/attr-gnu-4-23.d,
3723 * testsuite/ld-powerpc/attr-gnu-4-31.d,
3724 * testsuite/ld-powerpc/attr-gnu-4-32.d,
3725 * testsuite/ld-powerpc/attr-gnu-8-23.d: Update.
3726
3727 2018-02-21 Alan Modra <amodra@gmail.com>
3728
3729 * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather
3730 than notarget.
3731 * testsuite/ld-elf/pr12851.d: Likewise.
3732 * testsuite/ld-elf/pr12975.d: Likewise.
3733 * testsuite/ld-elf/pr13177.d: Likewise.
3734 * testsuite/ld-elf/pr13195.d: Likewise.
3735 * testsuite/ld-elf/pr17615.d: Likewise.
3736 * testsuite/ld-elf/pr21562a.d: Likewise.
3737 * testsuite/ld-elf/pr21562b.d: Likewise.
3738 * testsuite/ld-elf/pr21562c.d: Likewise.
3739 * testsuite/ld-elf/pr21562d.d: Likewise.
3740 * testsuite/ld-elf/pr21562i.d: Likewise.
3741 * testsuite/ld-elf/pr21562j.d: Likewise.
3742 * testsuite/ld-elf/pr21562k.d: Likewise.
3743 * testsuite/ld-elf/pr21562l.d: Likewise.
3744 * testsuite/ld-elf/pr21562m.d: Likewise.
3745 * testsuite/ld-elf/pr21562n.d: Likewise.
3746 * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail
3747 rather than notarget.
3748 * testsuite/ld-elf/group9b.d: Likewise.
3749 * testsuite/ld-elf/pr22677.d: Likewise.
3750
3751 2018-02-19 Maciej W. Rozycki <macro@mips.com>
3752
3753 * testsuite/ld-mips-elf/reginfo-0.d: New test.
3754 * testsuite/ld-mips-elf/reginfo-0r.d: New test.
3755 * testsuite/ld-mips-elf/reginfo-1.d: New test.
3756 * testsuite/ld-mips-elf/reginfo-1r.d: New test.
3757 * testsuite/ld-mips-elf/reginfo-2.d: New test.
3758 * testsuite/ld-mips-elf/reginfo-2r.d: New test.
3759 * testsuite/ld-mips-elf/mips-abiflags-0.d: New test.
3760 * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test.
3761 * testsuite/ld-mips-elf/mips-abiflags-1.d: New test.
3762 * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test.
3763 * testsuite/ld-mips-elf/mips-abiflags-2.d: New test.
3764 * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test.
3765 * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script.
3766 * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script.
3767 * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker
3768 script.
3769 * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker
3770 script.
3771 * testsuite/ld-mips-elf/reginfo-1.s: New test source.
3772 * testsuite/ld-mips-elf/reginfo-2.s: New test source.
3773 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
3774
3775 2018-02-19 Maciej W. Rozycki <macro@mips.com>
3776
3777 * ldlang.c (insert_pad): Do not change output section's size if
3778 SEC_FIXED_SIZE is set in the flags.
3779 (size_input_section): Likewise.
3780 (lang_size_sections_1): Likewise.
3781 (lang_reset_memory_regions): Likewise.
3782
3783 2018-02-19 Alan Modra <amodra@gmail.com>
3784
3785 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
3786 %I, %R, %S and %T.
3787 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
3788 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
3789 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
3790 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
3791
3792 2018-02-19 Alan Modra <amodra@gmail.com>
3793
3794 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
3795 * ldcref.c: Update all messages using %A and %B.
3796 * ldexp.c: Likewise.
3797 * ldlang.c: Likewise.
3798 * ldmain.c: Likewise.
3799 * ldmisc.c: Likewise.
3800 * pe-dll.c: Likewise.
3801 * plugin.c: Likewise.
3802 * emultempl/beos.em: Likewise.
3803 * emultempl/cr16elf.em: Likewise.
3804 * emultempl/elf32.em: Likewise.
3805 * emultempl/m68kcoff.em: Likewise.
3806 * emultempl/m68kelf.em: Likewise.
3807 * emultempl/mmo.em: Likewise.
3808 * emultempl/nds32elf.em: Likewise.
3809 * emultempl/pe.em: Likewise.
3810 * emultempl/pep.em: Likewise.
3811 * emultempl/spuelf.em: Likewise.
3812 * emultempl/sunos.em: Likewise.
3813 * emultempl/xtensaelf.em: Likewise.
3814
3815 2018-02-19 H.J. Lu <hongjiu.lu@intel.com>
3816
3817 PR ld/22845
3818 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
3819 Add tests for "-z noseparate-code" and "-z separate-code".
3820 Remove unsupported -shared check.
3821
3822 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
3823
3824 PR ld/22845
3825 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
3826
3827 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
3828
3829 PR ld/22845
3830 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
3831 "-z noseparate-code" and "-z separate-code".
3832
3833 2018-02-17 H.J. Lu <hongjiu.lu@intel.com>
3834
3835 PR ld/22845
3836 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
3837 to ld.
3838
3839 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3840
3841 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
3842 max-page-size=0x200000 -z noseparate-code.
3843 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
3844 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
3845 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3846 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
3847 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3848 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
3849 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
3850 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
3851 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
3852 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
3853 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
3854 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
3855 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
3856 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
3857 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
3858 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
3859 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
3860 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
3861 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
3862 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
3863 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
3864 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
3865 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
3866 * testsuite/ld-x86-64/load1a.d: Likewise.
3867 * testsuite/ld-x86-64/load1b.d: Likewise.
3868 * testsuite/ld-x86-64/load1c.d: Likewise.
3869 * testsuite/ld-x86-64/load1d.d: Likewise.
3870 * testsuite/ld-x86-64/pie3.d: Likewise.
3871 * testsuite/ld-x86-64/pr14207.d: Likewise.
3872 * testsuite/ld-x86-64/pr17618.d: Likewise.
3873 * testsuite/ld-x86-64/pr19162.d: Likewise.
3874 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3875 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
3876 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
3877 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
3878 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
3879 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
3880 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
3881 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
3882 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
3883 * testsuite/ld-x86-64/pr20830a.d: Likewise.
3884 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
3885 * testsuite/ld-x86-64/pr20830b.d: Likewise.
3886 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
3887 * testsuite/ld-x86-64/pr21038a.d: Likewise.
3888 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
3889 * testsuite/ld-x86-64/pr21038b.d: Likewise.
3890 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
3891 * testsuite/ld-x86-64/pr21038c.d: Likewise.
3892
3893 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
3896 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3897
3898 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
3901 -z noseparate-code.
3902
3903 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3904
3905 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
3906 -z max-page-size=0x200000, excluding NaCl target.
3907
3908 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
3911 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
3912 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3913 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
3914 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
3915 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
3916 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
3917
3918 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3919
3920 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
3921 -z max-page-size=0x200000 -z noseparate-code.
3922 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
3923 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3924 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3925 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3926 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
3927 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3928
3929 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3930
3931 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
3932 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3933 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3934
3935 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3936
3937 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3938 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3939 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3940
3941 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3942
3943 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
3944 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
3945 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
3946 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
3947 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
3948 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
3949 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
3950 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
3951 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
3952 * testsuite/ld-i386/load1.d: Likewise.
3953 * testsuite/ld-i386/pie1.d: Likewise.
3954 * testsuite/ld-i386/pr20244-1a.d: Likewise.
3955 * testsuite/ld-i386/pr20244-1b.d: Likewise.
3956 * testsuite/ld-i386/pr20244-2a.d: Likewise.
3957 * testsuite/ld-i386/pr20244-2b.d: Likewise.
3958 * testsuite/ld-i386/pr20244-2c.d: Likewise.
3959 * testsuite/ld-i386/pr20244-4a.d: Likewise.
3960 * testsuite/ld-i386/pr20244-4b.d: Likewise.
3961 * testsuite/ld-i386/pr20830.d: Likewise.
3962
3963 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3964
3965 * testsuite/ld-i386/pr19636-1a.d: Updated.
3966 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3967 * testsuite/ld-i386/pr19636-1j.d: Likewise.
3968 * testsuite/ld-i386/pr19636-1k.d: Likewise.
3969 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3970 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3971
3972 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3973
3974 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
3975
3976 2018-02-16 H.J. Lu <hongjiu.lu@intel.com>
3977
3978 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
3979 * testsuite/ld-elf/textaddr1.d: Likewise.
3980 * testsuite/ld-elf/textaddr2.d: Likewise.
3981 * testsuite/ld-elf/textaddr4.d: Likewise.
3982 * testsuite/ld-elf/textaddr6.d: Likewise.
3983
3984 2018-02-15 Jim Wilson <jimw@sifive.com>
3985
3986 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
3987 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
3988 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
3989
3990 2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
3991
3992 PR ld/22842
3993 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
3994 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3995 * testsuite/ld-i386/pr22842a.c: New file.
3996 * testsuite/ld-i386/pr22842b.S: Likewise.
3997 * testsuite/ld-x86-64/pr22842a.c: Likewise.
3998 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
3999 * testsuite/ld-x86-64/pr22842b.S: Likewise.
4000 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
4001
4002 2018-02-14 Maciej W. Rozycki <macro@mips.com>
4003
4004 * ldlex.h (ldlex_command): Remove prototype.
4005
4006 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
4007
4008 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
4009 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
4010
4011 2018-02-14 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 PR 22836
4014 * testsuite/ld-elf/pr22836-1.s: New file.
4015 * testsuite/ld-elf/pr22836-1a.d: Likewise.
4016 * testsuite/ld-elf/pr22836-1b.d: Likewise.
4017
4018 2018-02-13 H.J. Lu <hongjiu.lu@intel.com>
4019
4020 PR gas/22791
4021 * testsuite/ld-x86-64/mpx1c.rd: Updated.
4022 * testsuite/ld-x86-64/pr22791-1.err: New file.
4023 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
4024 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
4025 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
4026 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
4027 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
4028 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
4029 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
4030
4031 2018-02-13 Alan Modra <amodra@gmail.com>
4032
4033 PR 22836
4034 * testsuite/ld-elf/pr22836-2.d,
4035 * testsuite/ld-elf/pr22836-2.s: New test.
4036
4037 2018-02-13 Alan Modra <amodra@gmail.com>
4038
4039 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
4040
4041 2018-02-07 Alan Modra <amodra@gmail.com>
4042
4043 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
4044 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
4045 * emultempl/ppc64elf.em: Likesize
4046 * ld.texinfo: Likewise
4047 * testsuite/ld-powerpc/elfv2exe.d,
4048 * testsuite/ld-powerpc/elfv2so.d,
4049 * testsuite/ld-powerpc/relbrlt.d,
4050 * testsuite/ld-powerpc/powerpc.exp: Likewise.
4051
4052 2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
4053
4054 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
4055 (pr22263-1): Pass AFLAGS_PIC to the assembler.
4056 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
4057 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
4058 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
4059 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
4060
4061 2018-02-05 Renlin Li <renlin.li@arm.com>
4062
4063 PR ld/22764
4064 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
4065 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
4066 * testsuite/ld-aarch64/pr22764.s: New.
4067 * testsuite/ld-aarch64/pr22764.d: New.
4068
4069 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
4070
4071 PR ld/22782
4072 * testsuite/ld-i386/discarded1.s: Replace mov with div.
4073 * testsuite/ld-x86-64/discarded1.s: Likewise.
4074 * testsuite/ld-i386/i386.exp: Run pr22782.
4075 * testsuite/ld-i386/load1-nacl.d: Updated for removing
4076 _GLOBAL_OFFSET_TABLE_ from output.
4077 * testsuite/ld-i386/load1.d: Likewise.
4078 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
4079 * testsuite/ld-x86-64/load1a.d: Likewise.
4080 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
4081 * testsuite/ld-x86-64/load1b.d: Likewise.
4082 * testsuite/ld-i386/pr22782.d: New file.
4083 * testsuite/ld-i386/pr22782.s: Likewise.
4084 * testsuite/ld-x86-64/pr22782.s: Likewise.
4085 * testsuite/ld-x86-64/pr22782a.d: Likewise.
4086 * testsuite/ld-x86-64/pr22782b.d: Likewise.
4087 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
4088
4089 2018-02-05 Nick Clifton <nickc@redhat.com>
4090
4091 * po/pt_BR.po: Updated Brazilian Portuguese translation.
4092
4093 2018-02-04 H.J. Lu <hongjiu.lu@intel.com>
4094
4095 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
4096 * testsuite/ld-i386/lea1e.d: Likewise.
4097 * testsuite/ld-i386/lea1f.d: Likewise.
4098 * testsuite/ld-x86-64/lea1g.d: Likewise.
4099 * testsuite/ld-x86-64/lea1h.d: Likewise.
4100 * testsuite/ld-x86-64/lea1i.d: Likewise.
4101 * testsuite/ld-x86-64/lea1j.d: Likewise.
4102 * testsuite/ld-x86-64/lea1k.d: Likewise.
4103 * testsuite/ld-x86-64/lea1l.d: Likewise.
4104
4105 2018-02-03 Nick Clifton <nickc@redhat.com>
4106
4107 PR 22762
4108 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
4109 __DTOR_LIST__ symbols. Add a comment explaining why this is
4110 necessary.
4111 * scripttemp/pep.sc: Likewise.
4112 * ld.texinfo (PROVIDE): Add a note about the effect of common
4113 symbols.
4114
4115 2018-02-03 Sandra Loosemore <sandra@codesourcery.com>
4116
4117 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
4118
4119 2018-02-02 Maciej W. Rozycki <macro@mips.com>
4120
4121 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
4122 assembly builds where missing and remove `tic6x-*-*' XFAIL
4123 markings accordingly.
4124
4125 2018-02-01 Simon Marchi <simon.marchi@ericsson.com>
4126
4127 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
4128 on NULL pointer.
4129
4130 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
4131
4132 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
4133
4134 2018-01-31 Maciej W. Rozycki <macro@mips.com>
4135
4136 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
4137
4138 2018-01-31 Maciej W. Rozycki <macro@mips.com>
4139
4140 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
4141 involving a shared library for `mips*vr4100*-*-elf*',
4142 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
4143 * testsuite/ld-elf/provide-hidden.exp: Likewise.
4144 * testsuite/ld-elf/shared.exp: Likewise.
4145 * testsuite/ld-gc/gc.exp: Likewise.
4146 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
4147
4148 2018-01-31 Maciej W. Rozycki <macro@mips.com>
4149
4150 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
4151 * testsuite/ld-elf/shared.exp: ... here.
4152
4153 2018-01-31 Michael Matz <matz@suse.de>
4154
4155 * testsuite/ld-elf/pr21964-5.c: New test.
4156 * testsuite/ld-elf/shared.exp: Run it.
4157
4158 2018-01-31 H.J. Lu <hongjiu.lu@intel.com>
4159
4160 PR ld/21964
4161 * testsuite/ld-elf/pr21964-4.c: New file.
4162 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
4163
4164 2018-01-30 Alan Modra <amodra@gmail.com>
4165
4166 * testsuite/ld-gc/stop.d,
4167 * testsuite/ld-gc/stop.s: New test.
4168 * testsuite/ld-gc/gc.exp: Run it.
4169
4170 2018-01-30 Maciej W. Rozycki <macro@mips.com>
4171
4172 PR ld/22649
4173 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
4174 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
4175 * testsuite/ld-elf/shared.exp: Use the new outputs with
4176 `mips*-*-*' targets.
4177
4178 2018-01-30 Maciej W. Rozycki <macro@mips.com>
4179
4180 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
4181 `PRC[0xff02]' in place of a regular section index.
4182 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
4183
4184 2018-01-29 Alan Modra <amodra@gmail.com>
4185
4186 * testsuite/ld-elf/pr21964-3a.c: New file.
4187 * testsuite/ld-elf/pr21964-3c.c: New file.
4188 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
4189
4190 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
4191
4192 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
4193 (pr22269-1): Pass AFLAGS_PIC to the assembler.
4194
4195 2018-01-29 Eric Botcazou <ebotcazou@adacore.com>
4196
4197 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
4198
4199 2018-01-29 Maciej W. Rozycki <macro@mips.com>
4200
4201 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
4202 targets using non-traditional MIPS emulation or having a limited
4203 selection of ABIs available. Don't force big endianness, use
4204 defaults.
4205
4206 2018-01-29 H.J. Lu <hongjiu.lu@intel.com>
4207
4208 PR ld/22732
4209 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
4210 "-static" if target compiler supports it.
4211 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
4212 tests if target compiler doesn't support it.
4213 * testsuite/ld-ifunc/ifunc.exp: Likewise.
4214 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
4215 (run_cc_link_tests): Likewise.
4216
4217 2018-01-27 H.J. Lu <hongjiu.lu@intel.com>
4218
4219 PR ld/22751
4220 * testsuite/config/default.exp (INT128_CFLAGS): New.
4221 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
4222 Run ld/22751 tests.
4223 * testsuite/ld-plugin/pr22751.c: New file.
4224 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
4225 ld trailing options.
4226
4227 2018-01-28 Alan Modra <amodra@gmail.com>
4228
4229 PR 22751
4230 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
4231 set.
4232
4233 2018-01-26 Maciej W. Rozycki <macro@mips.com>
4234
4235 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
4236 `mipself'.
4237
4238 2018-01-25 Eric Botcazou <ebotcazou@adacore.com>
4239
4240 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
4241 Link with a version script.
4242 (32-bit: TLS -fpie): New test.
4243 (64-bit: Helper shared library): Link with a version script.
4244 (64-bit: TLS -fpie): New test.
4245 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
4246 * testsuite/ld-sparc/tlslib.ver: New file.
4247 * testsuite/ld-sparc/tlspie32.dd: Likewise.
4248 * testsuite/ld-sparc/tlspie32.s: Likewise.
4249 * testsuite/ld-sparc/tlspie64.dd: Likewise.
4250 * testsuite/ld-sparc/tlspie64.s: Likewise.
4251 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
4252 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
4253 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
4254 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
4255 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
4256 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
4257
4258 2018-01-24 Renlin Li <renlin.li@arm.com>
4259
4260 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
4261 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
4262 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
4263 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
4264 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
4265 * testsuite/ld-aarch64/emit-relocs-288.d: New.
4266 * testsuite/ld-aarch64/emit-relocs-288.s: New.
4267 * testsuite/ld-aarch64/emit-relocs-289.d: New.
4268 * testsuite/ld-aarch64/emit-relocs-289.s: New.
4269 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
4270 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
4271 * testsuite/ld-aarch64/emit-relocs-290.d: New.
4272 * testsuite/ld-aarch64/emit-relocs-290.s: New.
4273 * testsuite/ld-aarch64/emit-relocs-291.d: New.
4274 * testsuite/ld-aarch64/emit-relocs-291.s: New.
4275 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
4276 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
4277 * testsuite/ld-aarch64/emit-relocs-292.d: New.
4278 * testsuite/ld-aarch64/emit-relocs-292.s: New.
4279 * testsuite/ld-aarch64/emit-relocs-293.d: New.
4280 * testsuite/ld-aarch64/emit-relocs-293.s: New.
4281
4282 2018-01-20 H.J. Lu <hongjiu.lu@intel.com>
4283
4284 PR ld/22721
4285 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
4286 * testsuite/ld-plugin/pr22721.t: New file.
4287 * testsuite/ld-plugin/pr22721a.s: Likewise.
4288 * testsuite/ld-plugin/pr22721b.c: Likewise.
4289
4290 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
4291
4292 * testsuite/ld-elf/group1.d: Also xfail Solaris.
4293
4294 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
4297 PLT/GOT order/layout for Solaris/x86 targets.
4298 * testsuite/ld-elf/linkinfo1b.d: Likewise.
4299
4300 2018-01-18 H.J. Lu <hongjiu.lu@intel.com>
4301
4302 PR ld/22728
4303 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
4304 into ...
4305 (elf_solaris2_before_allocation): This.
4306 (LDEMUL_AFTER_ALLOCATION): Removed.
4307
4308 2018-01-18 Alan Modra <amodra@gmail.com>
4309
4310 * emultempl/ppc32elf.em: Support optional --plt-align arg.
4311 * emultempl/ppc64elf.em: Support negative --plt-align arg.
4312
4313 2018-01-17 Alan Modra <amodra@gmail.com>
4314
4315 * emultempl/ppc32elf.em (params): Init new field.
4316 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
4317 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
4318 (PARSE_AND_LIST_LONGOPTS): Handle new options.
4319 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4320 (PARSE_AND_LIST_OPTIONS): Likewise.
4321 * emultempl/ppc64elf.em (params): Init new field.
4322 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
4323 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
4324 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
4325 (PARSE_AND_LIST_OPTIONS): Likewise.
4326 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4327 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
4328 (--speculate-indirect-jumps): Document.
4329 * testsuite/ld-powerpc/elfv2exe.d,
4330 * testsuite/ld-powerpc/elfv2so.d,
4331 * testsuite/ld-powerpc/relbrlt.d,
4332 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
4333 speculation barriers on various tests.
4334
4335 2018-01-17 Alan Modra <amodra@gmail.com>
4336
4337 * emultempl/ppc32elf.em (params): Init new field.
4338 (enum ppc32_opt): New enum to define OPTION_* values. Add
4339 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
4340 (PARSE_AND_LIST_LONGOPTS): Handle new options.
4341 (PARSE_AND_LIST_ARGS_CASES): Likewise.
4342 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
4343 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
4344 correctly for negative --plt-stub-align.
4345 * testsuite/ld-powerpc/elfv2exe.d,
4346 * testsuite/ld-powerpc/elfv2so.d,
4347 * testsuite/ld-powerpc/relbrlt.d,
4348 * testsuite/ld-powerpc/relbrlt.s,
4349 * testsuite/ld-powerpc/tlsexe.d,
4350 * testsuite/ld-powerpc/tlsexe.r,
4351 * testsuite/ld-powerpc/tlsexe32.d,
4352 * testsuite/ld-powerpc/tlsexe32.g,
4353 * testsuite/ld-powerpc/tlsexe32.r,
4354 * testsuite/ld-powerpc/tlsexetoc.d,
4355 * testsuite/ld-powerpc/tlsexetoc.r,
4356 * testsuite/ld-powerpc/tlsopt5_32.d,
4357 * testsuite/ld-powerpc/tlsso.d,
4358 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
4359
4360 2018-01-16 Nick Clifton <nickc@redhat.com>
4361
4362 * po/pt_BR.po: Updated Brazilian Portuguese translation.
4363
4364 2018-01-15 Nick Clifton <nickc@redhat.com>
4365
4366 * po/uk.po: Updated Ukranian translation.
4367
4368 2018-01-13 Nick Clifton <nickc@redhat.com>
4369
4370 * po/ld.pot: Regenerated.
4371
4372 2018-01-13 Nick Clifton <nickc@redhat.com>
4373
4374 * configure: Regenerate.
4375
4376 2018-01-13 Nick Clifton <nickc@redhat.com>
4377
4378 2.30 branch created.
4379 * NEWS: Add marker for 2.30.
4380
4381 2018-01-12 Alan Modra <amodra@gmail.com>
4382
4383 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
4384 initialization" for currently failing targets.
4385
4386 2018-01-12 Alan Modra <amodra@gmail.com>
4387
4388 PR ld/22649
4389 * testsuite/ld-elf/pr22649.msg: Allow other messages.
4390 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
4391 supported before running ld/22649 tests.
4392
4393 2018-01-12 Nick Clifton <nickc@redhat.com>
4394
4395 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
4396 as the opposite of "-z defs".
4397 * ld.texinfo: Document the new option. Update the description of
4398 the -z defs option to make it clear that it does generate an error
4399 if an undefined symbol reference is found in an object file whilst
4400 creating a shared library.
4401 * NEWS: Document this new feature.
4402
4403 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
4404
4405 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
4406 "-z separate-code".
4407 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
4408 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
4409 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
4410
4411 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
4412
4413 PR ld/22393
4414 * testsuite/ld-x86-64/pr22393-3a.c: New file.
4415 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
4416 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
4417 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
4418 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
4419 -z max-page-size=0x1000.
4420
4421 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
4422
4423 PR ld/22393
4424 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
4425 * testsuite/ld-elf/pr22393-1.s: New file.
4426 * testsuite/ld-elf/pr22393-1a.d: Likewise.
4427 * testsuite/ld-elf/pr22393-1b.d: Likewise.
4428 * testsuite/ld-elf/pr22393-1c.d: Likewise.
4429 * testsuite/ld-elf/pr22393-1d.d: Likewise.
4430 * testsuite/ld-elf/pr22393-1e.d: Likewise.
4431 * testsuite/ld-elf/pr22393-1f.d: Likewise.
4432 * testsuite/ld-elf/pr22393-2a.c: Likewise.
4433 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
4434 * testsuite/ld-elf/pr22393-2b.c: Likewise.
4435 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
4436 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
4437
4438 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
4439
4440 PR ld/22393
4441 * NEWS: Mention "-z separate-code".
4442 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
4443 builtin linker scripts and return linker scripts from disk for
4444 "-z separate-code".
4445 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
4446 and "-z noseparate-code".
4447 * genscripts.sh: Generate linker scripts for "-z separate-code".
4448 (LD_FLAG): Set to *textonly for "-z separate-code".
4449 * ld.texinfo: Document "-z separate-code".
4450 * lexsup.c (elf_shlib_list_options): Add linker help messsages
4451 for "-z separate-code" and "-z noseparate-code".
4452 * scripttempl/elf.sc (SEPARATE_TEXT): New
4453 (TEXT_SEGMENT_ALIGN): Likewise.
4454 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
4455 ${MAXPAGESIZE}.
4456
4457 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
4458
4459 PR ld/22649
4460 * testsuite/ld-elf/pr22649-1.s: New file.
4461 * testsuite/ld-elf/pr22649-2a.s: Likewise.
4462 * testsuite/ld-elf/pr22649-2b.s: Likewise.
4463 * testsuite/ld-elf/pr22649.msg: Likewise.
4464 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
4465
4466 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
4467
4468 PR ld/22677
4469 * scripttempl/elf.sc (PREINIT_ARRAY): New.
4470 Don't add .preinit_array for ld -r.
4471 * testsuite/ld-elf/pr22677.d: New file.
4472 * testsuite/ld-elf/pr22677.s: Likewise.
4473
4474 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
4475
4476 * ldexp.h (union etree_union): Remove defsym field.
4477 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
4478 parameter.
4479 (exp_assign): Remove passing of defsym parameter.
4480 (exp_defsym): Likewise.
4481 (exp_provide): Likewise.
4482
4483 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
4484
4485 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
4486 nodes are ignored in the tree walk, and move the location at which
4487 we change provide nodes into provided nodes.
4488 (exp_init_os): Add etree_provided.
4489 * testsuite/ld-scripts/provide-6.d: New file.
4490 * testsuite/ld-scripts/provide-6.t: New file.
4491 * testsuite/ld-scripts/provide-7.d: New file.
4492 * testsuite/ld-scripts/provide-7.t: New file.
4493 * testsuite/ld-scripts/provide-8.d: New file.
4494 * testsuite/ld-scripts/provide-8.t: New file.
4495
4496 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
4497
4498 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
4499 * testsuite/ld-scripts/provide-4.d: Use new map file name.
4500 * testsuite/ld-scripts/provide-5.d: Use new map file name.
4501 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
4502 * testsuite/ld-scripts/provide-4.map: ...this.
4503 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
4504 * testsuite/ld-scripts/provide-5.map: ...this.
4505 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
4506 file, and run tests in a loop.
4507
4508 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
4509
4510 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
4511 PROVIDE statements.
4512 * testsuite/ld-scripts/provide-4.map: Update expected output.
4513 * testsuite/ld-scripts/provide-5.map: Likewise.
4514
4515 2018-01-11 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 PR ld/22696
4518 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
4519
4520 2018-01-09 Jim Wilson <jimw@sifive.com>
4521
4522 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
4523 (#alltargets): Renamed from #target. Add shared.
4524 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
4525 Document alltargets option. Add support for alltargets option.
4526 (istarget): Add support for shared target.
4527
4528 2018-01-08 Jim Wilson <jimw@sifive.com>
4529
4530 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
4531 instead of .text.
4532 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
4533 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
4534 tests, add call to check_shared_lib_support.
4535
4536 2018-01-05 Jim Wilson <jimw@sifive.com>
4537
4538 * testsuite/ld-riscv-elf/disas-jalr.d: New.
4539 * testsuite/ld-riscv-elf/disas-jalr.s: New.
4540 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
4541
4542 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
4543 case on $target, and don't set for riscv*-elf targets.
4544 (GENERATE_PIE_SCRIPT): Likewise.
4545
4546 2018-01-03 Alan Modra <amodra@gmail.com>
4547
4548 Update year range in copyright notice of all files.
4549
4550 For older changes see ChangeLog-2017
4551 \f
4552 Copyright (C) 2018 Free Software Foundation, Inc.
4553
4554 Copying and distribution of this file, with or without modification,
4555 are permitted in any medium without royalty provided the copyright
4556 notice and this notice are preserved.
4557
4558 Local Variables:
4559 mode: change-log
4560 left-margin: 8
4561 fill-column: 74
4562 version-control: never
4563 End:
This page took 0.131191 seconds and 5 git commands to generate.