Remove sh5 and sh64 support
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
211dc24b
AM
12018-04-16 Alan Modra <amodra@gmail.com>
2
3 * Makefile.am: Remove sh5 and sh64 support.
4 * configure.tgt: Likewise.
5 * ldlang.c: Likewise.
6 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
7 * testsuite/ld-gc/gc.exp: Likewise.
8 * testsuite/ld-gc/pr13683.d: Likewise.
9 * testsuite/ld-scripts/crossref.exp: Likewise.
10 * testsuite/ld-selective/selective.exp: Likewise.
11 * testsuite/ld-sh/ld-r-1.d: Likewise.
12 * testsuite/ld-sh/rd-sh.exp: Likewise.
13 * testsuite/ld-sh/sh.exp: Likewise.
14 * testsuite/ld-srec/srec.exp: Likewise.
15 * testsuite/ld-undefined/undefined.exp: Likewise.
16 * emulparams/shelf32.sh: Delete.
17 * emulparams/shelf32_linux.sh: Delete.
18 * emulparams/shelf32_nbsd.sh: Delete.
19 * emulparams/shelf64.sh: Delete.
20 * emulparams/shelf64_nbsd.sh: Delete.
21 * emulparams/shlelf32.sh: Delete.
22 * emulparams/shlelf32_linux.sh: Delete.
23 * emulparams/shlelf32_nbsd.sh: Delete.
24 * emulparams/shlelf64.sh: Delete.
25 * emulparams/shlelf64_nbsd.sh: Delete.
26 * emultempl/sh64elf.em: Delete.
27 * testsuite/ld-sh/sh64/abi32.sd: Delete.
28 * testsuite/ld-sh/sh64/abi32.xd: Delete.
29 * testsuite/ld-sh/sh64/abi64.sd: Delete.
30 * testsuite/ld-sh/sh64/abi64.xd: Delete.
31 * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete.
32 * testsuite/ld-sh/sh64/cmpct1.sd: Delete.
33 * testsuite/ld-sh/sh64/cmpct1.xd: Delete.
34 * testsuite/ld-sh/sh64/crange-1.s: Delete.
35 * testsuite/ld-sh/sh64/crange-2a.s: Delete.
36 * testsuite/ld-sh/sh64/crange-2b.s: Delete.
37 * testsuite/ld-sh/sh64/crange-2c.s: Delete.
38 * testsuite/ld-sh/sh64/crange-2d.s: Delete.
39 * testsuite/ld-sh/sh64/crange-2e.s: Delete.
40 * testsuite/ld-sh/sh64/crange-2f.s: Delete.
41 * testsuite/ld-sh/sh64/crange-2g.s: Delete.
42 * testsuite/ld-sh/sh64/crange-2h.s: Delete.
43 * testsuite/ld-sh/sh64/crange-2i.s: Delete.
44 * testsuite/ld-sh/sh64/crange1.rd: Delete.
45 * testsuite/ld-sh/sh64/crange2.rd: Delete.
46 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete.
47 * testsuite/ld-sh/sh64/crange3-media.rd: Delete.
48 * testsuite/ld-sh/sh64/crange3.dd: Delete.
49 * testsuite/ld-sh/sh64/crange3.rd: Delete.
50 * testsuite/ld-sh/sh64/crangerel1.rd: Delete.
51 * testsuite/ld-sh/sh64/crangerel2.rd: Delete.
52 * testsuite/ld-sh/sh64/dlsection-1.s: Delete.
53 * testsuite/ld-sh/sh64/dlsection.sd: Delete.
54 * testsuite/ld-sh/sh64/endian.dbd: Delete.
55 * testsuite/ld-sh/sh64/endian.dld: Delete.
56 * testsuite/ld-sh/sh64/endian.ld: Delete.
57 * testsuite/ld-sh/sh64/endian.s: Delete.
58 * testsuite/ld-sh/sh64/endian.sbd: Delete.
59 * testsuite/ld-sh/sh64/endian.sld: Delete.
60 * testsuite/ld-sh/sh64/gotplt.d: Delete.
61 * testsuite/ld-sh/sh64/gotplt.map: Delete.
62 * testsuite/ld-sh/sh64/gotplt.s: Delete.
63 * testsuite/ld-sh/sh64/init-cmpct.d: Delete.
64 * testsuite/ld-sh/sh64/init-media.d: Delete.
65 * testsuite/ld-sh/sh64/init.s: Delete.
66 * testsuite/ld-sh/sh64/init64.d: Delete.
67 * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete.
68 * testsuite/ld-sh/sh64/mix1.sd: Delete.
69 * testsuite/ld-sh/sh64/mix1.xd: Delete.
70 * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete.
71 * testsuite/ld-sh/sh64/mix2.sd: Delete.
72 * testsuite/ld-sh/sh64/mix2.xd: Delete.
73 * testsuite/ld-sh/sh64/rd-sh64.exp: Delete.
74 * testsuite/ld-sh/sh64/rel-1.s: Delete.
75 * testsuite/ld-sh/sh64/rel-2.s: Delete.
76 * testsuite/ld-sh/sh64/rel32.xd: Delete.
77 * testsuite/ld-sh/sh64/rel64.xd: Delete.
78 * testsuite/ld-sh/sh64/relax.exp: Delete.
79 * testsuite/ld-sh/sh64/relax1.s: Delete.
80 * testsuite/ld-sh/sh64/relax2.s: Delete.
81 * testsuite/ld-sh/sh64/relax3.s: Delete.
82 * testsuite/ld-sh/sh64/relax4.s: Delete.
83 * testsuite/ld-sh/sh64/reldl-1.s: Delete.
84 * testsuite/ld-sh/sh64/reldl-2.s: Delete.
85 * testsuite/ld-sh/sh64/reldl32.rd: Delete.
86 * testsuite/ld-sh/sh64/reldl64.rd: Delete.
87 * testsuite/ld-sh/sh64/relfail.exp: Delete.
88 * testsuite/ld-sh/sh64/relfail.s: Delete.
89 * testsuite/ld-sh/sh64/sh64-1.s: Delete.
90 * testsuite/ld-sh/sh64/sh64-2.s: Delete.
91 * testsuite/ld-sh/sh64/sh64.exp: Delete.
92 * testsuite/ld-sh/sh64/shcmp-1.s: Delete.
93 * testsuite/ld-sh/sh64/shdl-1.s: Delete.
94 * testsuite/ld-sh/sh64/shdl-2.s: Delete.
95 * testsuite/ld-sh/sh64/shdl32.xd: Delete.
96 * testsuite/ld-sh/sh64/shdl64.sd: Delete.
97 * testsuite/ld-sh/sh64/shdl64.xd: Delete.
98 * testsuite/ld-sh/sh64/shmix-1.s: Delete.
99 * testsuite/ld-sh/sh64/shmix-2.s: Delete.
100 * testsuite/ld-sh/sh64/shmix-3.s: Delete.
101 * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete.
102 * testsuite/ld-sh/sh64/stobin-1.d: Delete.
103 * testsuite/ld-sh/sh64/stobin.s: Delete.
104 * testsuite/ld-sh/sh64/stolib.s: Delete.
105 * Makefile.in: Regenerate.
106 * po/BLD-POTFILES.in: Regenerate.
107
4db9937a
AM
1082018-04-16 Alan Modra <amodra@gmail.com>
109
110 * Makefile.am: Remove sh-symbianelf support.
111 * configure.tgt: Likewise.
112 * emulparams/shlsymbian.sh: Delete.
113 * scripttempl/elf32sh-symbian.sc: Delete.
114 * Makefile.in: Regenerate.
115 * po/BLD-POTFILES.in: Regenerate.
116
9f5d1593
AM
1172018-04-16 Alan Modra <amodra@gmail.com>
118
119 * Makefile.am: Remove vax-bsd and vax-ultrix support.
120 * configure.tgt: Likewise.
121 * emulparams/vax.sh: Delete.
122 * Makefile.in: Regenerate.
123 * po/BLD-POTFILES.in: Regenerate.
124
a9a4b302
AM
1252018-04-16 Alan Modra <amodra@gmail.com>
126
127 * Makefile.am: Remove w65 support.
128 * configure.tgt: Likewise.
129 * emulparams/w65.sh: Delete.
130 * scripttempl/w65.sc: Delete.
131 * Makefile.in: Regenerate.
132 * po/BLD-POTFILES.in: Regenerate.
133
c2bf1eec
AM
1342018-04-16 Alan Modra <amodra@gmail.com>
135
136 * Makefile.am: Remove m88k support.
137 * configure.host: Likewise.
138 * configure.tgt: Likewise.
139 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
140 * emulparams/m88kbcs.sh: Delete.
141 * scripttempl/m88kbcs.sc: Delete.
142 * Makefile.in: Regenerate.
143 * po/BLD-POTFILES.in: Regenerate.
144
6793974d
AM
1452018-04-16 Alan Modra <amodra@gmail.com>
146
147 * Makefile.am: Remove i370 support.
148 * configure.tgt: Likewise.
149 * testsuite/ld-elf/compressed1d.d: Likewise.
150 * testsuite/ld-elf/group8a.d: Likewise.
151 * testsuite/ld-elf/group8b.d: Likewise.
152 * testsuite/ld-elf/group9a.d: Likewise.
153 * testsuite/ld-elf/group9b.d: Likewise.
154 * testsuite/ld-elf/merge.d: Likewise.
155 * testsuite/ld-elf/pr12851.d: Likewise.
156 * testsuite/ld-elf/pr12975.d: Likewise.
157 * testsuite/ld-elf/pr13177.d: Likewise.
158 * testsuite/ld-elf/pr13195.d: Likewise.
159 * testsuite/ld-elf/pr17615.d: Likewise.
160 * testsuite/ld-elf/pr21562a.d: Likewise.
161 * testsuite/ld-elf/pr21562b.d: Likewise.
162 * testsuite/ld-elf/pr21562c.d: Likewise.
163 * testsuite/ld-elf/pr21562d.d: Likewise.
164 * testsuite/ld-elf/pr21562i.d: Likewise.
165 * testsuite/ld-elf/pr21562j.d: Likewise.
166 * testsuite/ld-elf/pr21562k.d: Likewise.
167 * testsuite/ld-elf/pr21562l.d: Likewise.
168 * testsuite/ld-elf/pr21562m.d: Likewise.
169 * testsuite/ld-elf/pr21562n.d: Likewise.
170 * testsuite/ld-elf/pr22677.d: Likewise.
171 * testsuite/lib/ld-lib.exp: Likewise.
172 * emulparams/elf32i370.sh: Delete.
173 * scripttempl/elfi370.sc: Delete.
174 * Makefile.in: Regenerate.
175 * po/BLD-POTFILES.in: Regenerate.
176
e82aa794
AM
1772018-04-16 Alan Modra <amodra@gmail.com>
178
179 * Makefile.am: Remove h8500 support.
180 * configure.tgt: Likewise.
181 * emulparams/h8500.sh: Delete.
182 * emulparams/h8500b.sh: Delete.
183 * emulparams/h8500c.sh: Delete.
184 * emulparams/h8500m.sh: Delete.
185 * emulparams/h8500s.sh: Delete.
186 * scripttempl/h8500.sc: Delete.
187 * scripttempl/h8500b.sc: Delete.
188 * scripttempl/h8500c.sc: Delete.
189 * scripttempl/h8500m.sc: Delete.
190 * scripttempl/h8500s.sc: Delete.
191 * Makefile.in: Regenerate.
192 * po/BLD-POTFILES.in: Regenerate.
193
fe0bf0fd
AM
1942018-04-16 Alan Modra <amodra@gmail.com>
195
196 * Makefile.am: Remove h8300-coff support.
197 * configure.tgt: Likewise.
198 * testsuite/ld-h8300/h8300.exp: Likewise.
199 * emulparams/h8300.sh: Delete.
200 * emulparams/h8300h.sh: Delete.
201 * emulparams/h8300hn.sh: Delete.
202 * emulparams/h8300s.sh: Delete.
203 * emulparams/h8300sn.sh: Delete.
204 * emulparams/h8300sx.sh: Delete.
205 * emulparams/h8300sxn.sh: Delete.
206 * scripttempl/h8300.sc: Delete.
207 * scripttempl/h8300h.sc: Delete.
208 * scripttempl/h8300hn.sc: Delete.
209 * scripttempl/h8300s.sc: Delete.
210 * scripttempl/h8300sn.sc: Delete.
211 * scripttempl/h8300sx.sc: Delete.
212 * scripttempl/h8300sxn.sc: Delete.
213 * testsuite/ld-h8300/relax-3-coff.d: Delete.
214 * testsuite/ld-h8300/relax-4-coff.d: Delete.
215 * testsuite/ld-h8300/relax-5-coff.d: Delete.
216 * testsuite/ld-h8300/relax-6-coff.d: Delete.
217 * Makefile.in: Regenerate.
218 * po/BLD-POTFILES.in: Regenerate.
219
fdef3943
AM
2202018-04-16 Alan Modra <amodra@gmail.com>
221
222 * ld.texinfo: Remove IEEE 695 support.
223 * mri.c: Likewise.
224
de96689e
AM
2252018-04-16 Alan Modra <amodra@gmail.com>
226
227 * Makefile.am: Remove tandem support.
228 * configure.tgt: Likewise.
229 * emulparams/st2000.sh: Delete.
230 * scripttempl/st2000.sc: Delete.
231 * Makefile.in: Regenerate.
232 * po/BLD-POTFILES.in: Regenerate.
233
5972ac73
AM
2342018-04-16 Alan Modra <amodra@gmail.com>
235
236 * Makefile.am: Remove newsos3 support.
237 * configure.tgt: Likewise.
238 * emulparams/news.sh: Delete.
239 * Makefile.in: Regenerate.
240 * po/BLD-POTFILES.in: Regenerate.
241
b4b594e3
AM
2422018-04-16 Alan Modra <amodra@gmail.com>
243
244 * Makefile.am: Remove netware support.
245 * configure.tgt: Likewise.
246 * testsuite/ld-powerpc/powerpc.exp: Likewise.
247 * emulparams/i386nw.sh: Delete.
248 * emulparams/ppcnw.sh: Delete.
249 * scripttempl/nw.sc: Delete.
250 * Makefile.in: Regenerate.
251 * po/BLD-POTFILES.in: Regenerate.
252
702d1671
AM
2532018-04-14 Alan Modra <amodra@gmail.com>
254
255 * ldmain.c (main): Move config.maxpagesize and
256 config.commonpagesize initialization to..
257 * ldemul.c (after_parse_default): ..here.
258 * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size.
259 * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
260
24acfe5e
AM
2612018-04-14 Alan Modra <amodra@gmail.com>
262
263 * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh.
264 * emulparams/ppclynx.sh: Likewise.
265
a8eb42a8
AM
2662018-04-11 Alan Modra <amodra@gmail.com>
267
268 * emulparams/coff_i860.sh: Delete.
269 * emulparams/elf32_i860.sh: Delete.
270 * emulparams/elf32_i960.sh: Delete.
271 * emulparams/gld960.sh: Delete.
272 * emulparams/gld960coff.sh: Delete.
273 * emulparams/lnk960.sh: Delete.
274 * emultempl/gld960.em: Delete.
275 * emultempl/gld960c.em: Delete.
276 * emultempl/lnk960.em: Delete.
277 * scripttempl/i860coff.sc: Delete.
278 * scripttempl/i960.sc: Delete.
279 * ld.texinfo: Remove i960 support.
280 * Makefile.am: Remove i860 and i960 support.
281 * configure.tgt: Likewise.
282 * testsuite/ld-discard/extern.d: Likewise.
283 * testsuite/ld-discard/start.d: Likewise.
284 * testsuite/ld-discard/static.d: Likewise.
285 * testsuite/ld-elf/compressed1d.d: Likewise.
286 * testsuite/ld-elf/group1.d: Likewise.
287 * testsuite/ld-elf/group3b.d: Likewise.
288 * testsuite/ld-elf/group8a.d: Likewise.
289 * testsuite/ld-elf/group8b.d: Likewise.
290 * testsuite/ld-elf/group9a.d: Likewise.
291 * testsuite/ld-elf/group9b.d: Likewise.
292 * testsuite/ld-elf/linkonce2.d: Likewise.
293 * testsuite/ld-elf/merge.d: Likewise.
294 * testsuite/ld-elf/merge2.d: Likewise.
295 * testsuite/ld-elf/merge3.d: Likewise.
296 * testsuite/ld-elf/orphan-10.d: Likewise.
297 * testsuite/ld-elf/orphan-11.d: Likewise.
298 * testsuite/ld-elf/orphan-12.d: Likewise.
299 * testsuite/ld-elf/orphan-9.d: Likewise.
300 * testsuite/ld-elf/orphan-region.d: Likewise.
301 * testsuite/ld-elf/orphan.d: Likewise.
302 * testsuite/ld-elf/orphan3.d: Likewise.
303 * testsuite/ld-elf/pr12851.d: Likewise.
304 * testsuite/ld-elf/pr12975.d: Likewise.
305 * testsuite/ld-elf/pr13177.d: Likewise.
306 * testsuite/ld-elf/pr13195.d: Likewise.
307 * testsuite/ld-elf/pr17550a.d: Likewise.
308 * testsuite/ld-elf/pr17550b.d: Likewise.
309 * testsuite/ld-elf/pr17550c.d: Likewise.
310 * testsuite/ld-elf/pr17550d.d: Likewise.
311 * testsuite/ld-elf/pr17615.d: Likewise.
312 * testsuite/ld-elf/pr20528a.d: Likewise.
313 * testsuite/ld-elf/pr20528b.d: Likewise.
314 * testsuite/ld-elf/pr21562a.d: Likewise.
315 * testsuite/ld-elf/pr21562b.d: Likewise.
316 * testsuite/ld-elf/pr21562c.d: Likewise.
317 * testsuite/ld-elf/pr21562d.d: Likewise.
318 * testsuite/ld-elf/pr21562i.d: Likewise.
319 * testsuite/ld-elf/pr21562j.d: Likewise.
320 * testsuite/ld-elf/pr21562k.d: Likewise.
321 * testsuite/ld-elf/pr21562l.d: Likewise.
322 * testsuite/ld-elf/pr21562m.d: Likewise.
323 * testsuite/ld-elf/pr21562n.d: Likewise.
324 * testsuite/ld-elf/pr22677.d: Likewise.
325 * testsuite/ld-elf/pr22836-1a.d: Likewise.
326 * testsuite/ld-elf/pr22836-1b.d: Likewise.
327 * testsuite/ld-elf/pr349.d: Likewise.
328 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
329 * testsuite/ld-elf/sec64k.exp: Likewise.
330 * testsuite/ld-elf/warn1.d: Likewise.
331 * testsuite/ld-elf/warn2.d: Likewise.
332 * testsuite/ld-elf/warn3.d: Likewise.
333 * testsuite/lib/ld-lib.exp: Likewise.
334 * Makefile.in: Regenerate.
335 * po/BLD-POTFILES.in: Regenerate.
336
18e404c4
AM
3372018-04-11 Alan Modra <amodra@gmail.com>
338
339 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32.
340
c4a614e2
AM
3412018-04-09 Alan Modra <amodra@gmail.com>
342
343 * po/BLD-POTFILES.in: Regenerate.
344
3e04d765
AM
3452018-04-09 Alan Modra <amodra@gmail.com>
346
347 * emultempl/ppc64elf.em (no_inline_plt): New var.
348 (ppc_before_allocation): Call ppc64_elf_inline_plt.
349 (enum ppc64_opt): Add OPTION_NO_INLINE_OPT.
350 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
351 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
352 * emultemps/ppc32elf.em (no_inline_opt): New var.
353 (prelim_size_sections): New function, extracted from..
354 (ppc_before_allocation): ..here. Call ppc_elf_inline_plt.
355 (enum ppc32_opt): Add OPTION_NO_INLINE_OPT.
356 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
357 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
358
2d7ad24e
AM
3592018-04-09 Alan Modra <amodra@gmail.com>
360
361 * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt.
362 (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt.
363 * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering.
364 * testsuite/ld-powerpc/relbrlt.d: Likewise.
365 * testsuite/ld-powerpc/relbrlt.s: Likewise.
366 * testsuite/ld-powerpc/tlsso.r: Likewise.
367 * testsuite/ld-powerpc/tlstocso.r: Likewise.
368
49c09209
AM
3692018-04-09 Alan Modra <amodra@gmail.com>
370
371 * ppc32elf.em (ppc_finish): Call ppc_finish_symbols.
372
3cba8b6c
L
3732018-04-05 H.J. Lu <hongjiu.lu@intel.com>
374
375 PR gas/22318
376 * configure: Regenerated.
377
043e9508
NC
3782018-04-05 Nick Clifton <nickc@redhat.com>
379
380 PR 23030
381 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure
382 that the .IA_64.unwind_info and .IA_64.unwind sections are not
383 subject to garbage collection.
384
9d8e8f44
EB
3852018-04-04 Eric Botcazou <ebotcazou@adacore.com>
386
387 * deffile.h (def_file_add_import_from): Declare.
388 (def_file_add_import_at): Likewise.
389 * deffilep.y (fill_in_import): New function extracted from...
390 (def_file_add_import): ...here. Call it.
391 (def_file_add_import_from): New function.
392 (def_file_add_import_at): Likewise.
393 * pe-dll.c (pe_implied_import_dll): Use an optimized version of the
394 insertion loop for imported symbols if possible.
395
317ff008
EB
3962018-04-04 Eric Botcazou <ebotcazou@adacore.com>
397
398 * emultempl/pe.em (U_SIZE): Delete.
399 (pe_data_import_dll): Likewise.
400 (make_import_fixup): Return void, take 4th parameter and pass it down
401 in call to pe_create_import_fixup.
402 (pe_find_data_imports): Move to...
403 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
404 the auto-import pass and add a guard before running the latter.
405 * emultempl/pep.em (U_SIZE): Delete.
406 (pep_data_import_dll): Likewise.
407 (make_import_fixup): Return void, take 4th parameter and pass it down
408 in call to pe_create_import_fixup.
409 (pep_find_data_imports): Move to...
410 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
411 the auto-import pass and add a guard before running the latter.
412 * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean.
413 (pe_walk_relocs_of_symbol): Rename into...
414 (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the
415 callback prototype and pass 4th parameter in calls to the callback.
416 If the import hash table is present, invoke the callback on the reloc
417 if the symbol name is in the table.
418 (pe_find_data_imports): ...here. Take 2 parameters. Build an import
419 hash table for the pseudo-relocation support version 2. When it is
420 built, walk the relocations only once at the end; when it is not, do
421 not build a fixup when the symbol isn't part of an import table.
422 Issue the associated warning only after a first fixup is built.
423 (tmp_seq2): Delete.
424 (make_singleton_name_imp): Likewise.
425 (make_import_fixup_mark): Return const char * and a stable string.
426 (make_import_fixup_entry): Do not deal with the pseudo-relocation
427 support version 2.
428 (make_runtime_pseudo_reloc): Factor out code and fix formatting.
429 (pe_create_import_fixup): Add 5th parameter. Clearly separate the
430 pseudo-relocation support version 2 from the rest. Fix formatting.
431 * pe-dll.h (pe_walk_relocs_of_symbol): Delete.
432 (pe_find_data_imports): Declare.
433 (pe_create_import_fixup): Add 5th parameter.
434 * pep-dll.c (pe_data_import_dll): Delete.
435 (pe_find_data_imports): Define.
436 (pe_walk_relocs_of_symbol): Delete.
437 * pep-dll.h (pep_walk_relocs_of_symbol): Delete.
438 (pep_find_data_imports): Declare.
439 (pep_create_import_fixup): Add 5th parameter.
440 * ld.texinfo (--enable-auto-import): Adjust to new implementation.
441
4fb0d2b9
NC
4422018-04-04 Nick Clifton <nickc@redhat.com>
443
444 * po/es.po: Updated Spanish translation.
445
dfdad367
MR
4462018-04-03 Maciej W. Rozycki <macro@mips.com>
447
448 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
449 `mips*-*-kfreebsd*-gnu' targets.
450
e04ef022
RL
4512018-03-23 Renlin Li <renlin.li@arm.com>
452
453 PR ld/22970
454 * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests.
455 * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New.
456 * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New.
457 * testsuite/ld-aarch64/emit-relocs-552.d: New.
458 * testsuite/ld-aarch64/emit-relocs-552.s: New.
459 * testsuite/ld-aarch64/emit-relocs-553.d: New.
460 * testsuite/ld-aarch64/emit-relocs-553.s: New.
461 * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New.
462 * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New.
463 * testsuite/ld-aarch64/emit-relocs-554.d: New.
464 * testsuite/ld-aarch64/emit-relocs-554.s: New.
465 * testsuite/ld-aarch64/emit-relocs-555.d: New.
466 * testsuite/ld-aarch64/emit-relocs-555.s: New.
467 * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New.
468 * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New.
469 * testsuite/ld-aarch64/emit-relocs-556.d: New.
470 * testsuite/ld-aarch64/emit-relocs-556.s: New.
471 * testsuite/ld-aarch64/emit-relocs-557.d: New.
472 * testsuite/ld-aarch64/emit-relocs-557.s: New.
473 * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New.
474 * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New.
475 * testsuite/ld-aarch64/emit-relocs-558.d: New.
476 * testsuite/ld-aarch64/emit-relocs-558.s: New.
477 * testsuite/ld-aarch64/emit-relocs-559.d: New.
478 * testsuite/ld-aarch64/emit-relocs-559.s: New.
479 * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New.
480 * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New.
481 * testsuite/ld-aarch64/emit-relocs-112.d: New.
482 * testsuite/ld-aarch64/emit-relocs-112.s: New.
483 * testsuite/ld-aarch64/emit-relocs-113.d: New.
484 * testsuite/ld-aarch64/emit-relocs-113.s: New.
485 * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New.
486 * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New.
487 * testsuite/ld-aarch64/emit-relocs-114.d: New.
488 * testsuite/ld-aarch64/emit-relocs-114.s: New.
489 * testsuite/ld-aarch64/emit-relocs-115.d: New.
490 * testsuite/ld-aarch64/emit-relocs-115.s: New.
491 * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New.
492 * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New.
493 * testsuite/ld-aarch64/emit-relocs-116.d: New.
494 * testsuite/ld-aarch64/emit-relocs-116.s: New.
495 * testsuite/ld-aarch64/emit-relocs-117.d: New.
496 * testsuite/ld-aarch64/emit-relocs-117.s: New.
497 * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New.
498 * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New.
499 * testsuite/ld-aarch64/emit-relocs-118.d: New.
500 * testsuite/ld-aarch64/emit-relocs-118.s: New.
501 * testsuite/ld-aarch64/emit-relocs-119.d: New.
502 * testsuite/ld-aarch64/emit-relocs-119.s: New.
503
f8745e1c
EB
5042018-03-28 Eric Botcazou <ebotcazou@adacore.com>
505
506 PR ld/22972
507 * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs.
508 * testsuite/ld-sparc/gotop-hidden.c: New file.
509 * testsuite/ld-sparc/got-hidden32.s: Likewise.
510 * testsuite/ld-sparc/got-hidden64.s: Likewise.
511 * testsuite/ld-sparc/pass.out: Likewise.
512
bf54968b
L
5132018-03-25 H.J. Lu <hongjiu.lu@intel.com>
514
515 PR ld/23000
516 * testsuite/ld-x86-64/tlsdesc.pd: Updated.
517
f6c4d4b1
NC
5182018-03-23 Nick Clifton <nickc@redhat.com>
519
520 PR 22948
521 * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template
522 to library name list.
523 * emultempl/pep.em (open_dynamic_archive): Likewise.
524 * ld.texinfo (WIN32): Update documentation.
525
cbac2231
RM
5262018-03-20 Roland McGrath <mcgrathr@google.com>
527
528 * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*,
529 another target without RELRO.
530
8c5b71ad
L
5312018-03-20 H.J. Lu <hongjiu.lu@intel.com>
532
533 * testsuite/ld-plugin/pr22983.d: Allow leading underscore as
534 well as extra lines between symbols.
535
ed381877
MR
5362018-03-20 Maciej W. Rozycki <macro@mips.com>
537
538 * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the
539 personality test.
540
416c34d6
L
5412018-03-20 H.J. Lu <hongjiu.lu@intel.com>
542
543 PR ld/22983
544 * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test.
545 * testsuite/ld-plugin/pr22983.d: New file.
546 * testsuite/ld-plugin/pr22983.t: Likewise.
547 * testsuite/ld-plugin/pr22983a.c: Likewise.
548 * testsuite/ld-plugin/pr22983b.c: Likewise.
549
202d116e
AS
5502018-03-15 Andreas Schwab <schwab@suse.de>
551
552 PR ld/22949
553 * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't
554 enable relaxation in relocatable link.
555
f9671640
KLC
5562018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
557
558 * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove
559 unsupported target feature.
560
9e223787
L
5612018-03-14 H.J. Lu <hongjiu.lu@intel.com>
562
563 PR ld/20882
564 * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
565 section.
566 * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.
567
bf485201
L
5682018-03-14 H.J. Lu <hongjiu.lu@intel.com>
569
570 * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS.
571
b4a3689a
NC
5722018-03-13 Nick Clifton <nickc@redhat.com>
573
574 * po/pt_BR.po: Updated Brazilian Portuguese translation.
575
f657f8c4
NC
5762018-03-09 Nick Clifton <nickc@redhat.com>
577
578 * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets
579 that support IFUNC symbols can handle relocations against those
580 symbols in NOTE sections.
581 * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new
582 test.
583 * testsuite/ld-ifunc/ifunc.exp: Run the new test.
584
347a8774
L
5852018-03-08 H.J. Lu <hongjiu.lu@intel.com>
586
587 PR ld/22929
588 * testsuite/ld-i386/i386.exp: Run PR ld/22929 test.
589 * testsuite/ld-x86-64/x86-64.exp: Likewise.
590 * testsuite/ld-i386/pr22929.d: New file.
591 * testsuite/ld-i386/pr22929.s: Likewise.
592 * testsuite/ld-x86-64/pr22929.d: Likewise.
593 * testsuite/ld-x86-64/pr22929.s: Likewise.
594
d6ab6481
MF
5952018-03-07 Max Filippov <jcmvbkbc@gmail.com>
596
597 * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
598
0c1ded8d
RL
5992018-03-07 Renlin Li <renlin.li@arm.com>
600
601 PR ld/20402
602 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
603 * testsuite/ld-aarch64/pr20402.s: New.
604 * testsuite/ld-aarch64/pr20402.d: New.
605
770aa8a3
JW
6062018-03-06 Jim Wilson <jimw@sifive.com>
607
608 PR 22920
609 * emultempl/riscvelf.em (riscv_create_output_section_statements): New.
610 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New.
611 * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*.
612 * testsuite/ld-unique/pr21529.d (#notarget): Likewise.
613 * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target,
614 call setup_xfail.
615
dfb93f11
JC
6162018-03-03 James Cowgill <james.cowgill@mips.com>
617 Maciej W. Rozycki <macro@mips.com>
618
619 PR ld/21900
620 * testsuite/ld-mips-elf/undefined-warn.d: New test.
621 * testsuite/ld-mips-elf/undefined.s: Add padding at the end.
622 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
623
9a2ebffd
JW
6242018-03-02 Jim Wilson <jimw@sifive.com>
625
626 PR 22903
627 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
628 Give stub_sec 8 byte alignment.
629 * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5.
630 * emulparams/aarch64elf.sh (NOP): Likewise.
631 * emulparams/aarch64elf32.sh (NOP): Likewise.
632 * emulparams/aarch64fbsd.sh (NOP): Likewise.
633 * emulparams/aarch64linux.sh (NOP): Likewise.
634 * emulparams/aarch64linux32.sh (NOP): Likewise.
635 * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop.
636 * testsuite/ld-aarch64/erratum843419.d: Likewise.
637 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
638 * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise.
639 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
640 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
641 * testsuite/ld-aarch64/farcall-b.d: Likewise.
642 * testsuite/ld-aarch64/farcall-back.d: Likewise.
643 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
644 * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise.
645 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
646 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
647 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
648
e184813f
AM
6492018-03-01 Alan Modra <amodra@gmail.com>
650
651 * configure.ac (ALL_LINGUAS): Add ja. Sort.
652 * configure: Regenerate.
653
889be5db
DR
6542018-02-28 Douglas B Rupp <rupp@adacore.com>
655
656 * ldmain.c (main): Remove directory separator, if any, from the
657 end of the canonicalized sysroot.
658
f6aec96d
L
6592018-02-27 H.J. Lu <hongjiu.lu@intel.com>
660
661 * NEWS: Mention --enable-separate-code.
662 * configure.ac: Add --enable-separate-code.
663 (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED.
664 * configure.tgt: Default ac_default_ld_z_separate_code to 1 for
665 Linux/x86 targets.
666 * config.in: Regenerated.
667 * configure: Likewise.
668 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
669 link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE.
670
df5f2391
AM
6712018-02-26 Alan Modra <amodra@gmail.com>
672
673 * emulparams/call_nop.sh, * emulparams/cet.sh,
674 * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em
675 * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em,
676 * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em,
677 * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em,
678 * emultempl/elf-generic.em, * emultempl/hppaelf.em,
679 * emultempl/linux.em, * emultempl/lnk960.em,
680 * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em,
681 * emultempl/m68kelf.em, * emultempl/metagelf.em,
682 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
683 * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em,
684 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
685 * emultempl/ppc32elf.em, * emultempl/ppc64elf.em,
686 * emultempl/scoreelf.em, * emultempl/sh64elf.em,
687 * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em,
688 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
689 * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c,
690 * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c,
691 * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c,
692 * plugin.c: Standardize error/warning messages.
693 * testsuite/ld-arc/jli-overflow.err,
694 * testsuite/ld-arm/cmse-implib-errors.out,
695 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
696 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
697 * testsuite/ld-arm/cmse-new-wrong-implib.out,
698 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
699 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
700 * testsuite/ld-arm/vxworks1-static.d,
701 * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d,
702 * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d,
703 * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d,
704 * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d,
705 * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d,
706 * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d,
707 * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d,
708 * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err,
709 * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l,
710 * testsuite/ld-i386/vxworks1-static.d,
711 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
712 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
713 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
714 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
715 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
716 * testsuite/ld-mips-elf/bal-jalx-pic.d,
717 * testsuite/ld-mips-elf/jal-global-overflow-1.d,
718 * testsuite/ld-mips-elf/jal-local-overflow-1.d,
719 * testsuite/ld-mips-elf/mode-change-error-1.d,
720 * testsuite/ld-mips-elf/unaligned-branch-2.d,
721 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
722 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
723 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
724 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
725 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
726 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
727 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
728 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
729 * testsuite/ld-mips-elf/unaligned-branch.d,
730 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
731 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
732 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
733 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
734 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
735 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
736 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
737 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
738 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
739 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
740 * testsuite/ld-mips-elf/unaligned-jump.d,
741 * testsuite/ld-mips-elf/unaligned-ldpc-1.d,
742 * testsuite/ld-mips-elf/unaligned-lwpc-1.d,
743 * testsuite/ld-mips-elf/undefined.d,
744 * testsuite/ld-mips-elf/vxworks1-static.d,
745 * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d,
746 * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d,
747 * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d,
748 * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d,
749 * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d,
750 * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d,
751 * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d,
752 * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d,
753 * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d,
754 * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d,
755 * testsuite/ld-powerpc/aix-weak-3-32.d,
756 * testsuite/ld-powerpc/aix-weak-3-64.d,
757 * testsuite/ld-powerpc/vxworks1-static.d,
758 * testsuite/ld-sh/vxworks1-static.d,
759 * testsuite/ld-sparc/vxworks1-static.d,
760 * testsuite/ld-undefined/undefined.exp,
761 * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings.
762 * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex.
763
33589acb
AM
7642018-02-26 Alan Modra <amodra@gmail.com>
765
766 * Makefile.am (EMULATION_FILES, POTFILES): Delete.
767 (SRC_POTFILES, BLD_POTFILES): Define.
768 (po/POTFILES.in): Delete rule.
769 (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules.
770 * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile.
771 * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in
772 and BLD-POTFILES.in.
773 (POTFILES): Delete.
774 (SRC-POTFILES, BLD-POTFILES): Define place marker.
775 (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES.
776 (distclean, maintainer-clean): Tidy up new files.
777 (POTFILES, POTFILES.in): Delete rules.
778 (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in):
779 New rules.
780 (Makefile): Depend on SRC-POTFILES and BLD-POTFILES.
781 * po/SRC-POTFILES.in: Rename from po/POTFILES.in.
782 * po/BLD-POTFILES.in: New file.
783 * Makefile.in: Regenerate.
784 * configure: Regenerate.
785
38f14ab8
AM
7862018-02-26 Alan Modra <amodra@gmail.com>
787
788 * testsuite/ld-cris/pcrelcp-1.d,
789 * testsuite/ld-mmix/start-2.d: Update.
790
6e05870c
AM
7912018-02-26 Alan Modra <amodra@gmail.com>
792
793 * testsuite/ld-arm/cmse-implib-errors.out,
794 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
795 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
796 * testsuite/ld-arm/cmse-new-wrong-implib.out,
797 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
798 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
799 * testsuite/ld-cris/badgotr1.d,
800 * testsuite/ld-cris/tls-err-24.d,
801 * testsuite/ld-cris/tls-err-25.d,
802 * testsuite/ld-cris/tls-err-26.d,
803 * testsuite/ld-cris/tls-err-27.d,
804 * testsuite/ld-cris/tls-err-28.d,
805 * testsuite/ld-cris/tls-err-40.d,
806 * testsuite/ld-cris/tls-err-44.d,
807 * testsuite/ld-cris/tls-err-48.d,
808 * testsuite/ld-cris/tls-err-52.d,
809 * testsuite/ld-cris/tls-err-53.d,
810 * testsuite/ld-cris/tls-err-55.d,
811 * testsuite/ld-cris/tls-err-56.d,
812 * testsuite/ld-cris/tls-err-62.d,
813 * testsuite/ld-cris/tls-err-65.d,
814 * testsuite/ld-cris/tls-err-77.d,
815 * testsuite/ld-elf/empty-implib.out,
816 * testsuite/ld-elf/indirect.exp: Update.
817
90b6238f
AM
8182018-02-26 Alan Modra <amodra@gmail.com>
819
820 * testsuite/ld-aarch64/reloc-overflow-bad.d,
821 * testsuite/ld-arm/attr-merge-9.out,
822 * testsuite/ld-arm/attr-merge-arch-2.d,
823 * testsuite/ld-arm/attr-merge-unknown-1.d,
824 * testsuite/ld-arm/attr-merge-unknown-2.d,
825 * testsuite/ld-arm/attr-merge-unknown-2r.d,
826 * testsuite/ld-arm/attr-merge-unknown-3.d,
827 * testsuite/ld-arm/cmse-implib-errors.out,
828 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
829 * testsuite/ld-arm/cmse-new-implib-no-output.out,
830 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
831 * testsuite/ld-arm/cmse-new-implib.out,
832 * testsuite/ld-arm/cmse-new-wrong-implib.out,
833 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
834 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
835 * testsuite/ld-arm/group-relocs-alu-bad-2.d,
836 * testsuite/ld-arm/group-relocs-alu-bad.d,
837 * testsuite/ld-arm/group-relocs-ldc-bad-2.d,
838 * testsuite/ld-arm/group-relocs-ldc-bad.d,
839 * testsuite/ld-arm/group-relocs-ldr-bad-2.d,
840 * testsuite/ld-arm/group-relocs-ldr-bad.d,
841 * testsuite/ld-arm/group-relocs-ldrs-bad-2.d,
842 * testsuite/ld-arm/group-relocs-ldrs-bad.d,
843 * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update.
844
2c1c9679
AM
8452018-02-26 Alan Modra <amodra@gmail.com>
846
847 * testsuite/ld-mips-elf/attr-gnu-4-12.d,
848 * testsuite/ld-mips-elf/attr-gnu-4-13.d,
849 * testsuite/ld-mips-elf/attr-gnu-4-14.d,
850 * testsuite/ld-mips-elf/attr-gnu-4-16.d,
851 * testsuite/ld-mips-elf/attr-gnu-4-17.d,
852 * testsuite/ld-mips-elf/attr-gnu-4-18.d,
853 * testsuite/ld-mips-elf/attr-gnu-4-19.d,
854 * testsuite/ld-mips-elf/attr-gnu-4-21.d,
855 * testsuite/ld-mips-elf/attr-gnu-4-23.d,
856 * testsuite/ld-mips-elf/attr-gnu-4-24.d,
857 * testsuite/ld-mips-elf/attr-gnu-4-25.d,
858 * testsuite/ld-mips-elf/attr-gnu-4-26.d,
859 * testsuite/ld-mips-elf/attr-gnu-4-27.d,
860 * testsuite/ld-mips-elf/attr-gnu-4-28.d,
861 * testsuite/ld-mips-elf/attr-gnu-4-29.d,
862 * testsuite/ld-mips-elf/attr-gnu-4-31.d,
863 * testsuite/ld-mips-elf/attr-gnu-4-32.d,
864 * testsuite/ld-mips-elf/attr-gnu-4-34.d,
865 * testsuite/ld-mips-elf/attr-gnu-4-35.d,
866 * testsuite/ld-mips-elf/attr-gnu-4-36.d,
867 * testsuite/ld-mips-elf/attr-gnu-4-37.d,
868 * testsuite/ld-mips-elf/attr-gnu-4-38.d,
869 * testsuite/ld-mips-elf/attr-gnu-4-39.d,
870 * testsuite/ld-mips-elf/attr-gnu-4-41.d,
871 * testsuite/ld-mips-elf/attr-gnu-4-42.d,
872 * testsuite/ld-mips-elf/attr-gnu-4-43.d,
873 * testsuite/ld-mips-elf/attr-gnu-4-45.d,
874 * testsuite/ld-mips-elf/attr-gnu-4-46.d,
875 * testsuite/ld-mips-elf/attr-gnu-4-47.d,
876 * testsuite/ld-mips-elf/attr-gnu-4-48.d,
877 * testsuite/ld-mips-elf/attr-gnu-4-49.d,
878 * testsuite/ld-mips-elf/attr-gnu-4-52.d,
879 * testsuite/ld-mips-elf/attr-gnu-4-53.d,
880 * testsuite/ld-mips-elf/attr-gnu-4-54.d,
881 * testsuite/ld-mips-elf/attr-gnu-4-58.d,
882 * testsuite/ld-mips-elf/attr-gnu-4-59.d,
883 * testsuite/ld-mips-elf/attr-gnu-4-61.d,
884 * testsuite/ld-mips-elf/attr-gnu-4-62.d,
885 * testsuite/ld-mips-elf/attr-gnu-4-63.d,
886 * testsuite/ld-mips-elf/attr-gnu-4-64.d,
887 * testsuite/ld-mips-elf/attr-gnu-4-68.d,
888 * testsuite/ld-mips-elf/attr-gnu-4-69.d,
889 * testsuite/ld-mips-elf/attr-gnu-4-71.d,
890 * testsuite/ld-mips-elf/attr-gnu-4-72.d,
891 * testsuite/ld-mips-elf/attr-gnu-4-73.d,
892 * testsuite/ld-mips-elf/attr-gnu-4-74.d,
893 * testsuite/ld-mips-elf/attr-gnu-4-78.d,
894 * testsuite/ld-mips-elf/attr-gnu-4-79.d,
895 * testsuite/ld-mips-elf/attr-gnu-4-81.d,
896 * testsuite/ld-mips-elf/attr-gnu-4-89.d,
897 * testsuite/ld-mips-elf/attr-gnu-8-12.d,
898 * testsuite/ld-mips-elf/attr-gnu-8-21.d,
899 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
900 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
901 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
902 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
903 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
904 * testsuite/ld-mips-elf/bal-jalx-pic.d,
905 * testsuite/ld-mips-elf/mode-change-error-1.d,
906 * testsuite/ld-mips-elf/unaligned-branch-2.d,
907 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
908 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
909 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
910 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
911 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
912 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
913 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
914 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
915 * testsuite/ld-mips-elf/unaligned-branch.d,
916 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
917 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
918 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
919 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
920 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
921 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
922 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
923 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
924 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
925 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
926 * testsuite/ld-mips-elf/unaligned-jump.d: Update.
927
9793eb77
AM
9282018-02-26 Alan Modra <amodra@gmail.com>
929
930 * testsuite/ld-elf/indirect.exp,
931 * testsuite/ld-elf/pr22649-2ab-mips.msg,
932 * testsuite/ld-elf/pr22649-2cd-mips.msg,
933 * testsuite/ld-elf/pr22649.msg,
934 * testsuite/ld-elf/tls_common.exp,
935 * testsuite/ld-elfcomm/elfcomm.exp,
936 * testsuite/ld-arm/attr-merge-incompatible.d,
937 * testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
938 * testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
939 * testsuite/ld-tic6x/attr-compatibility-other-other.d,
940 * testsuite/ld-i386/warn1.d: Update expected error/warning messages.
941
cf97bcb0
AM
9422018-02-26 Alan Modra <amodra@gmail.com>
943
944 * testsuite/ld-powerpc/attr-gnu-12-21.d,
945 * testsuite/ld-powerpc/attr-gnu-4-12.d,
946 * testsuite/ld-powerpc/attr-gnu-4-13.d,
947 * testsuite/ld-powerpc/attr-gnu-4-21.d,
948 * testsuite/ld-powerpc/attr-gnu-4-23.d,
949 * testsuite/ld-powerpc/attr-gnu-4-31.d,
950 * testsuite/ld-powerpc/attr-gnu-4-32.d,
951 * testsuite/ld-powerpc/attr-gnu-8-23.d: Update.
952
bbad9962
AM
9532018-02-21 Alan Modra <amodra@gmail.com>
954
955 * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather
956 than notarget.
957 * testsuite/ld-elf/pr12851.d: Likewise.
958 * testsuite/ld-elf/pr12975.d: Likewise.
959 * testsuite/ld-elf/pr13177.d: Likewise.
960 * testsuite/ld-elf/pr13195.d: Likewise.
961 * testsuite/ld-elf/pr17615.d: Likewise.
962 * testsuite/ld-elf/pr21562a.d: Likewise.
963 * testsuite/ld-elf/pr21562b.d: Likewise.
964 * testsuite/ld-elf/pr21562c.d: Likewise.
965 * testsuite/ld-elf/pr21562d.d: Likewise.
966 * testsuite/ld-elf/pr21562i.d: Likewise.
967 * testsuite/ld-elf/pr21562j.d: Likewise.
968 * testsuite/ld-elf/pr21562k.d: Likewise.
969 * testsuite/ld-elf/pr21562l.d: Likewise.
970 * testsuite/ld-elf/pr21562m.d: Likewise.
971 * testsuite/ld-elf/pr21562n.d: Likewise.
972 * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail
973 rather than notarget.
974 * testsuite/ld-elf/group9b.d: Likewise.
975 * testsuite/ld-elf/pr22677.d: Likewise.
976
6798f8bf
MR
9772018-02-19 Maciej W. Rozycki <macro@mips.com>
978
979 * testsuite/ld-mips-elf/reginfo-0.d: New test.
980 * testsuite/ld-mips-elf/reginfo-0r.d: New test.
981 * testsuite/ld-mips-elf/reginfo-1.d: New test.
982 * testsuite/ld-mips-elf/reginfo-1r.d: New test.
983 * testsuite/ld-mips-elf/reginfo-2.d: New test.
984 * testsuite/ld-mips-elf/reginfo-2r.d: New test.
985 * testsuite/ld-mips-elf/mips-abiflags-0.d: New test.
986 * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test.
987 * testsuite/ld-mips-elf/mips-abiflags-1.d: New test.
988 * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test.
989 * testsuite/ld-mips-elf/mips-abiflags-2.d: New test.
990 * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test.
991 * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script.
992 * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script.
993 * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker
994 script.
995 * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker
996 script.
997 * testsuite/ld-mips-elf/reginfo-1.s: New test source.
998 * testsuite/ld-mips-elf/reginfo-2.s: New test source.
999 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1000
8772de11
MR
10012018-02-19 Maciej W. Rozycki <macro@mips.com>
1002
1003 * ldlang.c (insert_pad): Do not change output section's size if
1004 SEC_FIXED_SIZE is set in the flags.
1005 (size_input_section): Likewise.
1006 (lang_size_sections_1): Likewise.
1007 (lang_reset_memory_regions): Likewise.
1008
c1c8c1ef
AM
10092018-02-19 Alan Modra <amodra@gmail.com>
1010
1011 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
1012 %I, %R, %S and %T.
1013 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
1014 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
1015 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
1016 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
1017
871b3ab2
AM
10182018-02-19 Alan Modra <amodra@gmail.com>
1019
1020 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
1021 * ldcref.c: Update all messages using %A and %B.
1022 * ldexp.c: Likewise.
1023 * ldlang.c: Likewise.
1024 * ldmain.c: Likewise.
1025 * ldmisc.c: Likewise.
1026 * pe-dll.c: Likewise.
1027 * plugin.c: Likewise.
1028 * emultempl/beos.em: Likewise.
1029 * emultempl/cr16elf.em: Likewise.
1030 * emultempl/elf32.em: Likewise.
1031 * emultempl/m68kcoff.em: Likewise.
1032 * emultempl/m68kelf.em: Likewise.
1033 * emultempl/mmo.em: Likewise.
1034 * emultempl/nds32elf.em: Likewise.
1035 * emultempl/pe.em: Likewise.
1036 * emultempl/pep.em: Likewise.
1037 * emultempl/spuelf.em: Likewise.
1038 * emultempl/sunos.em: Likewise.
1039 * emultempl/xtensaelf.em: Likewise.
1040
f61f94ec
L
10412018-02-19 H.J. Lu <hongjiu.lu@intel.com>
1042
1043 PR ld/22845
1044 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
1045 Add tests for "-z noseparate-code" and "-z separate-code".
1046 Remove unsupported -shared check.
1047
d85502cf
L
10482018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1049
1050 PR ld/22845
1051 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
1052
34b00afa
L
10532018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1054
1055 PR ld/22845
1056 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
1057 "-z noseparate-code" and "-z separate-code".
1058
92d9e363
L
10592018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1060
1061 PR ld/22845
1062 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
1063 to ld.
1064
c2596c4a
L
10652018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1066
1067 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
1068 max-page-size=0x200000 -z noseparate-code.
1069 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1070 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1071 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1072 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1073 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1074 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1075 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1076 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1077 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1078 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
1079 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
1080 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1081 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1082 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
1083 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
1084 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1085 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1086 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
1087 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
1088 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1089 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1090 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
1091 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
1092 * testsuite/ld-x86-64/load1a.d: Likewise.
1093 * testsuite/ld-x86-64/load1b.d: Likewise.
1094 * testsuite/ld-x86-64/load1c.d: Likewise.
1095 * testsuite/ld-x86-64/load1d.d: Likewise.
1096 * testsuite/ld-x86-64/pie3.d: Likewise.
1097 * testsuite/ld-x86-64/pr14207.d: Likewise.
1098 * testsuite/ld-x86-64/pr17618.d: Likewise.
1099 * testsuite/ld-x86-64/pr19162.d: Likewise.
1100 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1101 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1102 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1103 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1104 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1105 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1106 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1107 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1108 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
1109 * testsuite/ld-x86-64/pr20830a.d: Likewise.
1110 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
1111 * testsuite/ld-x86-64/pr20830b.d: Likewise.
1112 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
1113 * testsuite/ld-x86-64/pr21038a.d: Likewise.
1114 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1115 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1116 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1117 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1118
c441b623
L
11192018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1120
1121 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
1122 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1123
197741f1
L
11242018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
1127 -z noseparate-code.
1128
7c9f387a
L
11292018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1130
1131 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
1132 -z max-page-size=0x200000, excluding NaCl target.
1133
c9d3eb5f
L
11342018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1137 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1138 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1139 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1140 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1141 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1142 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1143
679a5bc8
L
11442018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1145
1146 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
1147 -z max-page-size=0x200000 -z noseparate-code.
1148 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1149 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1150 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1151 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1152 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1153 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1154
62e2b91b
L
11552018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1156
1157 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
1158 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1159 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1160
9f4aec8d
L
11612018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1164 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1165 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1166
410a69a0
L
11672018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
1170 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1171 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
1172 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1173 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
1174 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1175 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
1176 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1177 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
1178 * testsuite/ld-i386/load1.d: Likewise.
1179 * testsuite/ld-i386/pie1.d: Likewise.
1180 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1181 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1182 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1183 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1184 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1185 * testsuite/ld-i386/pr20244-4a.d: Likewise.
1186 * testsuite/ld-i386/pr20244-4b.d: Likewise.
1187 * testsuite/ld-i386/pr20830.d: Likewise.
1188
75bd00e8
L
11892018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1190
1191 * testsuite/ld-i386/pr19636-1a.d: Updated.
1192 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1193 * testsuite/ld-i386/pr19636-1j.d: Likewise.
1194 * testsuite/ld-i386/pr19636-1k.d: Likewise.
1195 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1196 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1197
760b2893
L
11982018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
1201
75cdede0
L
12022018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1203
1204 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
1205 * testsuite/ld-elf/textaddr1.d: Likewise.
1206 * testsuite/ld-elf/textaddr2.d: Likewise.
1207 * testsuite/ld-elf/textaddr4.d: Likewise.
1208 * testsuite/ld-elf/textaddr6.d: Likewise.
1209
2a0d9853
JW
12102018-02-15 Jim Wilson <jimw@sifive.com>
1211
1212 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
1213 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
1214 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
1215
451875b4
L
12162018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1217
1218 PR ld/22842
1219 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
1220 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1221 * testsuite/ld-i386/pr22842a.c: New file.
1222 * testsuite/ld-i386/pr22842b.S: Likewise.
1223 * testsuite/ld-x86-64/pr22842a.c: Likewise.
1224 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
1225 * testsuite/ld-x86-64/pr22842b.S: Likewise.
1226 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
1227
d4dd94f8
MR
12282018-02-14 Maciej W. Rozycki <macro@mips.com>
1229
1230 * ldlex.h (ldlex_command): Remove prototype.
1231
85f2093d
L
12322018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1233
1234 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
1235 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
1236
60f763ee
AM
12372018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 PR 22836
1240 * testsuite/ld-elf/pr22836-1.s: New file.
1241 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1242 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1243
bd7ab16b
L
12442018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 PR gas/22791
1247 * testsuite/ld-x86-64/mpx1c.rd: Updated.
1248 * testsuite/ld-x86-64/pr22791-1.err: New file.
1249 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
1250 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
1251 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
1252 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
1253 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
1254 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
1255 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
1256
6e5e9d58
AM
12572018-02-13 Alan Modra <amodra@gmail.com>
1258
1259 PR 22836
1260 * testsuite/ld-elf/pr22836-2.d,
1261 * testsuite/ld-elf/pr22836-2.s: New test.
1262
f2731e0c
AM
12632018-02-13 Alan Modra <amodra@gmail.com>
1264
1265 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
1266
407aa07c
AM
12672018-02-07 Alan Modra <amodra@gmail.com>
1268
1269 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
1270 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
1271 * emultempl/ppc64elf.em: Likesize
1272 * ld.texinfo: Likewise
1273 * testsuite/ld-powerpc/elfv2exe.d,
1274 * testsuite/ld-powerpc/elfv2so.d,
1275 * testsuite/ld-powerpc/relbrlt.d,
1276 * testsuite/ld-powerpc/powerpc.exp: Likewise.
1277
c20c30f6
EB
12782018-02-06 Eric Botcazou <ebotcazou@adacore.com>
1279
1280 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
1281 (pr22263-1): Pass AFLAGS_PIC to the assembler.
1282 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
1283 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
1284 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
1285 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
1286
279b2f94
RL
12872018-02-05 Renlin Li <renlin.li@arm.com>
1288
1289 PR ld/22764
1290 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
1291 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
1292 * testsuite/ld-aarch64/pr22764.s: New.
1293 * testsuite/ld-aarch64/pr22764.d: New.
1294
cd048363
L
12952018-02-05 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 PR ld/22782
1298 * testsuite/ld-i386/discarded1.s: Replace mov with div.
1299 * testsuite/ld-x86-64/discarded1.s: Likewise.
1300 * testsuite/ld-i386/i386.exp: Run pr22782.
1301 * testsuite/ld-i386/load1-nacl.d: Updated for removing
1302 _GLOBAL_OFFSET_TABLE_ from output.
1303 * testsuite/ld-i386/load1.d: Likewise.
1304 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
1305 * testsuite/ld-x86-64/load1a.d: Likewise.
1306 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
1307 * testsuite/ld-x86-64/load1b.d: Likewise.
1308 * testsuite/ld-i386/pr22782.d: New file.
1309 * testsuite/ld-i386/pr22782.s: Likewise.
1310 * testsuite/ld-x86-64/pr22782.s: Likewise.
1311 * testsuite/ld-x86-64/pr22782a.d: Likewise.
1312 * testsuite/ld-x86-64/pr22782b.d: Likewise.
1313 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
1314
f174ef9f
NC
13152018-02-05 Nick Clifton <nickc@redhat.com>
1316
1317 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1318
9f7393d8
L
13192018-02-04 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
1322 * testsuite/ld-i386/lea1e.d: Likewise.
1323 * testsuite/ld-i386/lea1f.d: Likewise.
1324 * testsuite/ld-x86-64/lea1g.d: Likewise.
1325 * testsuite/ld-x86-64/lea1h.d: Likewise.
1326 * testsuite/ld-x86-64/lea1i.d: Likewise.
1327 * testsuite/ld-x86-64/lea1j.d: Likewise.
1328 * testsuite/ld-x86-64/lea1k.d: Likewise.
1329 * testsuite/ld-x86-64/lea1l.d: Likewise.
1330
b0daac83
NC
13312018-02-03 Nick Clifton <nickc@redhat.com>
1332
1333 PR 22762
1334 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
1335 __DTOR_LIST__ symbols. Add a comment explaining why this is
1336 necessary.
1337 * scripttemp/pep.sc: Likewise.
1338 * ld.texinfo (PROVIDE): Add a note about the effect of common
1339 symbols.
1340
138a158f
SL
13412018-02-03 Sandra Loosemore <sandra@codesourcery.com>
1342
1343 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
1344
e54d3c94
MR
13452018-02-02 Maciej W. Rozycki <macro@mips.com>
1346
1347 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
1348 assembly builds where missing and remove `tic6x-*-*' XFAIL
1349 markings accordingly.
1350
e99955cd
SM
13512018-02-01 Simon Marchi <simon.marchi@ericsson.com>
1352
1353 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
1354 on NULL pointer.
1355
f000c2b9
L
13562018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
1359
450b6317
MR
13602018-01-31 Maciej W. Rozycki <macro@mips.com>
1361
1362 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
1363
8988502d
MR
13642018-01-31 Maciej W. Rozycki <macro@mips.com>
1365
1366 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
1367 involving a shared library for `mips*vr4100*-*-elf*',
1368 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
1369 * testsuite/ld-elf/provide-hidden.exp: Likewise.
1370 * testsuite/ld-elf/shared.exp: Likewise.
1371 * testsuite/ld-gc/gc.exp: Likewise.
1372 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
1373
f3a9baf1
MR
13742018-01-31 Maciej W. Rozycki <macro@mips.com>
1375
1376 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
1377 * testsuite/ld-elf/shared.exp: ... here.
1378
bf3077a6
MM
13792018-01-31 Michael Matz <matz@suse.de>
1380
1381 * testsuite/ld-elf/pr21964-5.c: New test.
1382 * testsuite/ld-elf/shared.exp: Run it.
1383
823143c6
L
13842018-01-31 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 PR ld/21964
1387 * testsuite/ld-elf/pr21964-4.c: New file.
1388 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
1389
040b4a9e
AM
13902018-01-30 Alan Modra <amodra@gmail.com>
1391
1392 * testsuite/ld-gc/stop.d,
1393 * testsuite/ld-gc/stop.s: New test.
1394 * testsuite/ld-gc/gc.exp: Run it.
1395
af667f22
MR
13962018-01-30 Maciej W. Rozycki <macro@mips.com>
1397
1398 PR ld/22649
1399 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
1400 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
1401 * testsuite/ld-elf/shared.exp: Use the new outputs with
1402 `mips*-*-*' targets.
1403
82252033
MR
14042018-01-30 Maciej W. Rozycki <macro@mips.com>
1405
1406 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
1407 `PRC[0xff02]' in place of a regular section index.
1408 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
1409
36b8fda5
AM
14102018-01-29 Alan Modra <amodra@gmail.com>
1411
1412 * testsuite/ld-elf/pr21964-3a.c: New file.
1413 * testsuite/ld-elf/pr21964-3c.c: New file.
1414 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
1415
185cdb8c
EB
14162018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1417
1418 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
1419 (pr22269-1): Pass AFLAGS_PIC to the assembler.
1420
d85815e2
EB
14212018-01-29 Eric Botcazou <ebotcazou@adacore.com>
1422
1423 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
1424
86b24e15
MR
14252018-01-29 Maciej W. Rozycki <macro@mips.com>
1426
1427 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
1428 targets using non-traditional MIPS emulation or having a limited
1429 selection of ABIs available. Don't force big endianness, use
1430 defaults.
1431
98d72909
L
14322018-01-29 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 PR ld/22732
1435 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
1436 "-static" if target compiler supports it.
1437 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
1438 tests if target compiler doesn't support it.
1439 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1440 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
1441 (run_cc_link_tests): Likewise.
1442
fef75122
L
14432018-01-27 H.J. Lu <hongjiu.lu@intel.com>
1444
1445 PR ld/22751
1446 * testsuite/config/default.exp (INT128_CFLAGS): New.
1447 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
1448 Run ld/22751 tests.
1449 * testsuite/ld-plugin/pr22751.c: New file.
1450 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
1451 ld trailing options.
1452
d580dcc7
AM
14532018-01-28 Alan Modra <amodra@gmail.com>
1454
1455 PR 22751
1456 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
1457 set.
1458
2ebd05b8
MR
14592018-01-26 Maciej W. Rozycki <macro@mips.com>
1460
1461 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
1462 `mipself'.
1463
bb363086
EB
14642018-01-25 Eric Botcazou <ebotcazou@adacore.com>
1465
1466 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
1467 Link with a version script.
1468 (32-bit: TLS -fpie): New test.
1469 (64-bit: Helper shared library): Link with a version script.
1470 (64-bit: TLS -fpie): New test.
1471 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
1472 * testsuite/ld-sparc/tlslib.ver: New file.
1473 * testsuite/ld-sparc/tlspie32.dd: Likewise.
1474 * testsuite/ld-sparc/tlspie32.s: Likewise.
1475 * testsuite/ld-sparc/tlspie64.dd: Likewise.
1476 * testsuite/ld-sparc/tlspie64.s: Likewise.
1477 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
1478 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
1479 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
1480 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
1481 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
1482 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
1483
1daf502a
RL
14842018-01-24 Renlin Li <renlin.li@arm.com>
1485
1486 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
1487 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
1488 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
1489 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
1490 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
1491 * testsuite/ld-aarch64/emit-relocs-288.d: New.
1492 * testsuite/ld-aarch64/emit-relocs-288.s: New.
1493 * testsuite/ld-aarch64/emit-relocs-289.d: New.
1494 * testsuite/ld-aarch64/emit-relocs-289.s: New.
1495 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
1496 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
1497 * testsuite/ld-aarch64/emit-relocs-290.d: New.
1498 * testsuite/ld-aarch64/emit-relocs-290.s: New.
1499 * testsuite/ld-aarch64/emit-relocs-291.d: New.
1500 * testsuite/ld-aarch64/emit-relocs-291.s: New.
1501 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
1502 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
1503 * testsuite/ld-aarch64/emit-relocs-292.d: New.
1504 * testsuite/ld-aarch64/emit-relocs-292.s: New.
1505 * testsuite/ld-aarch64/emit-relocs-293.d: New.
1506 * testsuite/ld-aarch64/emit-relocs-293.s: New.
1507
8a1b824a
L
15082018-01-20 H.J. Lu <hongjiu.lu@intel.com>
1509
1510 PR ld/22721
1511 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
1512 * testsuite/ld-plugin/pr22721.t: New file.
1513 * testsuite/ld-plugin/pr22721a.s: Likewise.
1514 * testsuite/ld-plugin/pr22721b.c: Likewise.
1515
1ebfa86a
L
15162018-01-18 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * testsuite/ld-elf/group1.d: Also xfail Solaris.
1519
f7968f08
L
15202018-01-18 H.J. Lu <hongjiu.lu@intel.com>
1521
1522 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
1523 PLT/GOT order/layout for Solaris/x86 targets.
1524 * testsuite/ld-elf/linkinfo1b.d: Likewise.
1525
c5bdb022
L
15262018-01-18 H.J. Lu <hongjiu.lu@intel.com>
1527
1528 PR ld/22728
1529 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
1530 into ...
1531 (elf_solaris2_before_allocation): This.
1532 (LDEMUL_AFTER_ALLOCATION): Removed.
1533
691d2e9a
AM
15342018-01-18 Alan Modra <amodra@gmail.com>
1535
1536 * emultempl/ppc32elf.em: Support optional --plt-align arg.
1537 * emultempl/ppc64elf.em: Support negative --plt-align arg.
1538
1be5d8d3
AM
15392018-01-17 Alan Modra <amodra@gmail.com>
1540
1541 * emultempl/ppc32elf.em (params): Init new field.
1542 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
1543 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
1544 (PARSE_AND_LIST_LONGOPTS): Handle new options.
1545 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1546 (PARSE_AND_LIST_OPTIONS): Likewise.
1547 * emultempl/ppc64elf.em (params): Init new field.
1548 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
1549 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
1550 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
1551 (PARSE_AND_LIST_OPTIONS): Likewise.
1552 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1553 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
1554 (--speculate-indirect-jumps): Document.
1555 * testsuite/ld-powerpc/elfv2exe.d,
1556 * testsuite/ld-powerpc/elfv2so.d,
1557 * testsuite/ld-powerpc/relbrlt.d,
1558 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
1559 speculation barriers on various tests.
1560
9e390558
AM
15612018-01-17 Alan Modra <amodra@gmail.com>
1562
1563 * emultempl/ppc32elf.em (params): Init new field.
1564 (enum ppc32_opt): New enum to define OPTION_* values. Add
1565 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
1566 (PARSE_AND_LIST_LONGOPTS): Handle new options.
1567 (PARSE_AND_LIST_ARGS_CASES): Likewise.
1568 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
1569 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
1570 correctly for negative --plt-stub-align.
1571 * testsuite/ld-powerpc/elfv2exe.d,
1572 * testsuite/ld-powerpc/elfv2so.d,
1573 * testsuite/ld-powerpc/relbrlt.d,
1574 * testsuite/ld-powerpc/relbrlt.s,
1575 * testsuite/ld-powerpc/tlsexe.d,
1576 * testsuite/ld-powerpc/tlsexe.r,
1577 * testsuite/ld-powerpc/tlsexe32.d,
1578 * testsuite/ld-powerpc/tlsexe32.g,
1579 * testsuite/ld-powerpc/tlsexe32.r,
1580 * testsuite/ld-powerpc/tlsexetoc.d,
1581 * testsuite/ld-powerpc/tlsexetoc.r,
1582 * testsuite/ld-powerpc/tlsopt5_32.d,
1583 * testsuite/ld-powerpc/tlsso.d,
1584 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
1585
f6efed01
NC
15862018-01-16 Nick Clifton <nickc@redhat.com>
1587
f174ef9f 1588 * po/pt_BR.po: Updated Brazilian Portuguese translation.
f6efed01 1589
616dcb87
NC
15902018-01-15 Nick Clifton <nickc@redhat.com>
1591
1592 * po/uk.po: Updated Ukranian translation.
1593
3957a496
NC
15942018-01-13 Nick Clifton <nickc@redhat.com>
1595
1596 * po/ld.pot: Regenerated.
1597
769c7ea5
NC
15982018-01-13 Nick Clifton <nickc@redhat.com>
1599
1600 * configure: Regenerate.
1601
9176ac5b
NC
16022018-01-13 Nick Clifton <nickc@redhat.com>
1603
faf766e3 1604 2.30 branch created.
9176ac5b
NC
1605 * NEWS: Add marker for 2.30.
1606
5ae5d3fd
AM
16072018-01-12 Alan Modra <amodra@gmail.com>
1608
1609 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
1610 initialization" for currently failing targets.
1611
87e79a65
AM
16122018-01-12 Alan Modra <amodra@gmail.com>
1613
1614 PR ld/22649
1615 * testsuite/ld-elf/pr22649.msg: Allow other messages.
1616 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
1617 supported before running ld/22649 tests.
1618
97a232d7
NC
16192018-01-12 Nick Clifton <nickc@redhat.com>
1620
1621 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
1622 as the opposite of "-z defs".
1623 * ld.texinfo: Document the new option. Update the description of
1624 the -z defs option to make it clear that it does generate an error
1625 if an undefined symbol reference is found in an object file whilst
1626 creating a shared library.
1627 * NEWS: Document this new feature.
1628
33eff4ce
L
16292018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1630
1631 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
1632 "-z separate-code".
1633 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
1634 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
1635 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
1636
cf9e7f1f
L
16372018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1638
1639 PR ld/22393
1640 * testsuite/ld-x86-64/pr22393-3a.c: New file.
1641 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
1642 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
1643 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
1644 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
1645 -z max-page-size=0x1000.
1646
d346bb27
L
16472018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 PR ld/22393
1650 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
1651 * testsuite/ld-elf/pr22393-1.s: New file.
1652 * testsuite/ld-elf/pr22393-1a.d: Likewise.
1653 * testsuite/ld-elf/pr22393-1b.d: Likewise.
1654 * testsuite/ld-elf/pr22393-1c.d: Likewise.
1655 * testsuite/ld-elf/pr22393-1d.d: Likewise.
1656 * testsuite/ld-elf/pr22393-1e.d: Likewise.
1657 * testsuite/ld-elf/pr22393-1f.d: Likewise.
1658 * testsuite/ld-elf/pr22393-2a.c: Likewise.
1659 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
1660 * testsuite/ld-elf/pr22393-2b.c: Likewise.
1661 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
1662 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
1663
47acac12
L
16642018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1665
1666 PR ld/22393
1667 * NEWS: Mention "-z separate-code".
1668 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
1669 builtin linker scripts and return linker scripts from disk for
1670 "-z separate-code".
1671 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
1672 and "-z noseparate-code".
1673 * genscripts.sh: Generate linker scripts for "-z separate-code".
1674 (LD_FLAG): Set to *textonly for "-z separate-code".
1675 * ld.texinfo: Document "-z separate-code".
1676 * lexsup.c (elf_shlib_list_options): Add linker help messsages
1677 for "-z separate-code" and "-z noseparate-code".
1678 * scripttempl/elf.sc (SEPARATE_TEXT): New
1679 (TEXT_SEGMENT_ALIGN): Likewise.
1680 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
1681 ${MAXPAGESIZE}.
1682
d664fd41
L
16832018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1684
1685 PR ld/22649
1686 * testsuite/ld-elf/pr22649-1.s: New file.
1687 * testsuite/ld-elf/pr22649-2a.s: Likewise.
1688 * testsuite/ld-elf/pr22649-2b.s: Likewise.
1689 * testsuite/ld-elf/pr22649.msg: Likewise.
1690 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
1691
8b6f4cd3
L
16922018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 PR ld/22677
1695 * scripttempl/elf.sc (PREINIT_ARRAY): New.
1696 Don't add .preinit_array for ld -r.
1697 * testsuite/ld-elf/pr22677.d: New file.
1698 * testsuite/ld-elf/pr22677.s: Likewise.
1699
65f14869
AB
17002018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * ldexp.h (union etree_union): Remove defsym field.
1703 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
1704 parameter.
1705 (exp_assign): Remove passing of defsym parameter.
1706 (exp_defsym): Likewise.
1707 (exp_provide): Likewise.
1708
eab62f2f
AB
17092018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1710
1711 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
1712 nodes are ignored in the tree walk, and move the location at which
1713 we change provide nodes into provided nodes.
1714 (exp_init_os): Add etree_provided.
1715 * testsuite/ld-scripts/provide-6.d: New file.
1716 * testsuite/ld-scripts/provide-6.t: New file.
1717 * testsuite/ld-scripts/provide-7.d: New file.
1718 * testsuite/ld-scripts/provide-7.t: New file.
1719 * testsuite/ld-scripts/provide-8.d: New file.
1720 * testsuite/ld-scripts/provide-8.t: New file.
1721
8be965c5
AB
17222018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1723
1724 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
1725 * testsuite/ld-scripts/provide-4.d: Use new map file name.
1726 * testsuite/ld-scripts/provide-5.d: Use new map file name.
1727 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
1728 * testsuite/ld-scripts/provide-4.map: ...this.
1729 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
1730 * testsuite/ld-scripts/provide-5.map: ...this.
1731 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
1732 file, and run tests in a loop.
1733
b3b9f8d3
AB
17342018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1735
1736 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
1737 PROVIDE statements.
1738 * testsuite/ld-scripts/provide-4.map: Update expected output.
1739 * testsuite/ld-scripts/provide-5.map: Likewise.
1740
6bd0a312
L
17412018-01-11 H.J. Lu <hongjiu.lu@intel.com>
1742
1743 PR ld/22696
1744 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
1745
74ccf6db
JW
17462018-01-09 Jim Wilson <jimw@sifive.com>
1747
1748 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
1749 (#alltargets): Renamed from #target. Add shared.
1750 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
1751 Document alltargets option. Add support for alltargets option.
1752 (istarget): Add support for shared target.
1753
7615ca1d
JW
17542018-01-08 Jim Wilson <jimw@sifive.com>
1755
1756 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
1757 instead of .text.
1758 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
1759 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
1760 tests, add call to check_shared_lib_support.
1761
be1dce26
JW
17622018-01-05 Jim Wilson <jimw@sifive.com>
1763
35eeb78f
JW
1764 * testsuite/ld-riscv-elf/disas-jalr.d: New.
1765 * testsuite/ld-riscv-elf/disas-jalr.s: New.
1766 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
1767
be1dce26
JW
1768 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
1769 case on $target, and don't set for riscv*-elf targets.
1770 (GENERATE_PIE_SCRIPT): Likewise.
1771
219d1afa
AM
17722018-01-03 Alan Modra <amodra@gmail.com>
1773
1774 Update year range in copyright notice of all files.
1775
1e563868 1776For older changes see ChangeLog-2017
3499769a 1777\f
1e563868 1778Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
1779
1780Copying and distribution of this file, with or without modification,
1781are permitted in any medium without royalty provided the copyright
1782notice and this notice are preserved.
1783
1784Local Variables:
1785mode: change-log
1786left-margin: 8
1787fill-column: 74
1788version-control: never
1789End:
This page took 0.23405 seconds and 4 git commands to generate.