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