MIPS/LD/testsuite: Fix lazy binding stub test symbol count comment
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
653e0a1e
MR
12018-06-09 Maciej W. Rozycki <macro@mips.com>
2
3 * testsuite/ld-mips-elf/mips-elf.exp: Update symbol count in the
4 comment associated with lazy binding stub tests.
5
2f8b83ee
MR
62018-06-09 Maciej W. Rozycki <macro@mips.com>
7
8 * Makefile.am (eelf32mipswindiss.c): Add `mipself.em' dependency.
9 * Makefile.in: Regenerate.
10
ecf99cc0
L
112018-06-08 H.J. Lu <hongjiu.lu@intel.com>
12
13 PR ld/23161
14 * testsuite/ld-elf/pr23161d.rd: Remove local _edata, __bss_start,
15 and _end from dynamic symbol table.
16
fd161d86
AM
172018-06-08 H.J. Lu <hongjiu.lu@intel.com>
18 Alan Modra <amodra@gmail.com>
19
20 PR ld/23161
21 * emulparams/aarch64cloudabi.sh: PROVIDE __bss_start__, _bss_end__,
22 and __end__ in shared libraries.
23 * emulparams/aarch64fbsd.sh: Likewise.
24 * emulparams/aarch64linux.sh: Likewise.
25 * emulparams/aarch64linux32.sh: Likewise.
26 * emulparams/armelf_fuchsia.sh: Likewise.
27 * emulparams/armelf_linux.sh: Likewise.
28 * emulparams/armelf_phoenix.sh: Likewise.
29 * emulparams/aarch64elf.sh: Likewise, and __data_start
30 * emulparams/aarch64elf32.sh: Likewise.
31 * emulparams/armelf.sh: Likewise.
32 * emulparams/armnto.sh: Likewise.
33 * emulparams/elf32bmip.sh: Remove duplicate ". = ." from
34 OTHER_GOT_SYMBOLS. PROVIDE _ftext, _fdata, and _fbss in shared libs.
35 * emulparams/elf32bmipn32-defs.sh: Likewise.
36 * emulparams/elf32frv.sh: PROVIDE __end and __data_start in shared libs.
37 * emulparams/elf32lriscv-defs.sh: Tidy.
38 * emulparams/elf32mcore.sh: PROVIDE __bss_start and _bss_end in
39 shared libs
40 * emulparams/elf32ppccommon.sh: PROVIDE __end in shared libs.
41 * emulparams/elf32rl78.sh: Tidy.
42 * emulparams/i386nto.sh: PROVIDE _btext in shared libs.
43 * emulparams/shelf_nto.sh: Likewise.
44 * emulparams/shlelf_nto.sh: Likewise.
45 * emulparams/score3_elf.sh: PROVIDE _gp, _bss_start__, _bss_end__,
46 __bss_end__, __end__, _fdata, _sdata_begin, and _bss_start in
47 shared libs.
48 * scripttempl/elf.sc: Don't use EXECUTABLE_SYMBOLS for shared
49 libraries. PROVIDE _edata, edata, __bss_start, and _end in shared
50 libraries.
51 * testsuite/ld-elf/pr23161.map,
52 * testsuite/ld-elf/pr23161a.c,
53 * testsuite/ld-elf/pr23161b.c,
54 * testsuite/ld-elf/pr23161c.c,
55 * testsuite/ld-elf/pr23161a.rd,
56 * testsuite/ld-elf/pr23161b.rd,
57 * testsuite/ld-elf/pr23161c.rd,
58 * testsuite/ld-elf/pr23161d.rd: New tests.
59 * testsuite/ld-elf/shared.exp: Run ld/23161 tests.
60 * testsuite/ld-elf/pr23162.rd,
61 * testsuite/ld-aarch64/ifunc-1-local.d,
62 * testsuite/ld-aarch64/ifunc-1.d,
63 * testsuite/ld-aarch64/ifunc-2-local.d,
64 * testsuite/ld-aarch64/ifunc-2.d,
65 * testsuite/ld-aarch64/ifunc-21.d,
66 * testsuite/ld-aarch64/ifunc-3a.d,
67 * testsuite/ld-alpha/tlsbin.rd,
68 * testsuite/ld-alpha/tlsbin.sd,
69 * testsuite/ld-alpha/tlsbinr.rd,
70 * testsuite/ld-alpha/tlspic.rd,
71 * testsuite/ld-alpha/tlspic.sd,
72 * testsuite/ld-cris/dso-pltdis1.d,
73 * testsuite/ld-cris/dso-pltdis2.d,
74 * testsuite/ld-cris/dso12-pltdis.d,
75 * testsuite/ld-cris/gotplt1.d,
76 * testsuite/ld-cris/gotplt2.d,
77 * testsuite/ld-cris/gotplt3.d,
78 * testsuite/ld-cris/hiddef1.d,
79 * testsuite/ld-cris/libdso-1.d,
80 * testsuite/ld-cris/libdso-10.d,
81 * testsuite/ld-cris/libdso-11.d,
82 * testsuite/ld-cris/libdso-12.d,
83 * testsuite/ld-cris/libdso-12b.d,
84 * testsuite/ld-cris/libdso-12c.d,
85 * testsuite/ld-cris/libdso-13.d,
86 * testsuite/ld-cris/libdso-13b.d,
87 * testsuite/ld-cris/libdso-14.d,
88 * testsuite/ld-cris/libdso-15.d,
89 * testsuite/ld-cris/libdso-15b.d,
90 * testsuite/ld-cris/libdso-1c.d,
91 * testsuite/ld-cris/libdso-1d.d,
92 * testsuite/ld-cris/libdso-2.d,
93 * testsuite/ld-cris/pic-gc-72.d,
94 * testsuite/ld-cris/pic-gc-73.d,
95 * testsuite/ld-cris/pr16044.d,
96 * testsuite/ld-cris/pv32-1.d,
97 * testsuite/ld-cris/tls-dso-dtpoffd2.d,
98 * testsuite/ld-cris/tls-dso-dtpoffd4.d,
99 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d,
100 * testsuite/ld-cris/tls-gc-71.d,
101 * testsuite/ld-cris/tls-gd-1.d,
102 * testsuite/ld-cris/tls-gd-1h.d,
103 * testsuite/ld-cris/tls-gd-2.d,
104 * testsuite/ld-cris/tls-gd-2h.d,
105 * testsuite/ld-cris/tls-ie-10.d,
106 * testsuite/ld-cris/tls-ie-11.d,
107 * testsuite/ld-cris/tls-ie-78.d,
108 * testsuite/ld-cris/tls-ie-8.d,
109 * testsuite/ld-cris/tls-ie-9.d,
110 * testsuite/ld-cris/tls-js1.d,
111 * testsuite/ld-cris/tls-ld-4.d,
112 * testsuite/ld-cris/tls-ld-5.d,
113 * testsuite/ld-cris/tls-ld-6.d,
114 * testsuite/ld-cris/tls-ld-7.d,
115 * testsuite/ld-cris/tls-ldgd-14.d,
116 * testsuite/ld-cris/tls-ldgd-15.d,
117 * testsuite/ld-cris/tls-ldgdex-14.d,
118 * testsuite/ld-cris/tls-ldgdex-15.d,
119 * testsuite/ld-cris/tls-ldgdx-14.d,
120 * testsuite/ld-cris/tls-ldgdx-15.d,
121 * testsuite/ld-cris/tls-legdx-16.d,
122 * testsuite/ld-cris/tls-legdx-17.d,
123 * testsuite/ld-cris/tls-local-54.d,
124 * testsuite/ld-cris/tls-local-60.d,
125 * testsuite/ld-cris/tls-local-61.d,
126 * testsuite/ld-cris/tls-local-63.d,
127 * testsuite/ld-cris/tls-local-64.d,
128 * testsuite/ld-cris/tls-ok-30.d,
129 * testsuite/ld-cris/tls-ok-32.d,
130 * testsuite/ld-cris/tls-ok-34.d,
131 * testsuite/ld-cris/tls-und-38.d,
132 * testsuite/ld-cris/tls-und-42.d,
133 * testsuite/ld-cris/tls-und-46.d,
134 * testsuite/ld-cris/tls-und-50.d,
135 * testsuite/ld-cris/weakhiddso.d,
136 * testsuite/ld-cris/weakref2.d,
137 * testsuite/ld-frv/fdpic-shared-1.d,
138 * testsuite/ld-frv/fdpic-shared-2.d,
139 * testsuite/ld-frv/fdpic-shared-3.d,
140 * testsuite/ld-frv/fdpic-shared-4.d,
141 * testsuite/ld-frv/fdpic-shared-5.d,
142 * testsuite/ld-frv/fdpic-shared-7.d,
143 * testsuite/ld-frv/fdpic-shared-8.d,
144 * testsuite/ld-frv/tls-dynamic-2.d,
145 * testsuite/ld-i386/ibt-plt-1.d,
146 * testsuite/ld-i386/ibt-plt-2a.d,
147 * testsuite/ld-i386/ibt-plt-2b.d,
148 * testsuite/ld-i386/ibt-plt-2c.d,
149 * testsuite/ld-i386/ibt-plt-2d.d,
150 * testsuite/ld-i386/ibt-plt-3a.d,
151 * testsuite/ld-i386/ibt-plt-3b.d,
152 * testsuite/ld-i386/ibt-plt-3c.d,
153 * testsuite/ld-i386/ibt-plt-3d.d,
154 * testsuite/ld-i386/plt2.dd,
155 * testsuite/ld-i386/pr20830.d,
156 * testsuite/ld-i386/tlsbin-nacl.rd,
157 * testsuite/ld-i386/tlsbin.rd,
158 * testsuite/ld-i386/tlsbin2-nacl.rd,
159 * testsuite/ld-i386/tlsbin2.rd,
160 * testsuite/ld-i386/tlsbindesc-nacl.rd,
161 * testsuite/ld-i386/tlsbindesc.rd,
162 * testsuite/ld-i386/tlsdesc-nacl.rd,
163 * testsuite/ld-i386/tlsdesc.rd,
164 * testsuite/ld-i386/tlsgdesc-nacl.rd,
165 * testsuite/ld-i386/tlsgdesc.rd,
166 * testsuite/ld-i386/tlsnopic-nacl.rd,
167 * testsuite/ld-i386/tlsnopic.dd,
168 * testsuite/ld-i386/tlsnopic.rd,
169 * testsuite/ld-i386/tlsnopic.sd,
170 * testsuite/ld-i386/tlspic-nacl.rd,
171 * testsuite/ld-i386/tlspic.rd,
172 * testsuite/ld-i386/tlspic2-nacl.rd,
173 * testsuite/ld-i386/tlspic2.rd,
174 * testsuite/ld-ia64/merge1.d,
175 * testsuite/ld-ia64/merge2.d,
176 * testsuite/ld-ia64/merge3.d,
177 * testsuite/ld-ia64/merge4.d,
178 * testsuite/ld-ia64/merge5.d,
179 * testsuite/ld-ia64/tlsbin.rd,
180 * testsuite/ld-ia64/tlspic.rd,
181 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
182 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
183 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d,
184 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d,
185 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d,
186 * testsuite/ld-ifunc/ifunc-2-x86-64.d,
187 * testsuite/ld-ifunc/pr17154-i386-now.d,
188 * testsuite/ld-ifunc/pr17154-i386.d,
189 * testsuite/ld-ifunc/pr17154-x86-64-now.d,
190 * testsuite/ld-ifunc/pr17154-x86-64.d,
191 * testsuite/ld-m68k/tls-def-1.d,
192 * testsuite/ld-m68k/tls-gd-1.d2,
193 * testsuite/ld-metag/shared.d,
194 * testsuite/ld-metag/stub_pic_app.d,
195 * testsuite/ld-mips-elf/rel32-n32.d,
196 * testsuite/ld-mips-elf/rel32-o32.d,
197 * testsuite/ld-mips-elf/rel64.d,
198 * testsuite/ld-powerpc/ambiguousv1.d,
199 * testsuite/ld-powerpc/ambiguousv1b.d,
200 * testsuite/ld-powerpc/ambiguousv2.d,
201 * testsuite/ld-powerpc/ambiguousv2b.d,
202 * testsuite/ld-powerpc/tlsexe.d,
203 * testsuite/ld-powerpc/tlsexe.r,
204 * testsuite/ld-powerpc/tlsexe32.d,
205 * testsuite/ld-powerpc/tlsexe32.g,
206 * testsuite/ld-powerpc/tlsexe32.r,
207 * testsuite/ld-powerpc/tlsexetoc.d,
208 * testsuite/ld-powerpc/tlsexetoc.r,
209 * testsuite/ld-powerpc/tlsso.d,
210 * testsuite/ld-powerpc/tlsso.r,
211 * testsuite/ld-powerpc/tlsso32.g,
212 * testsuite/ld-powerpc/tlsso32.r,
213 * testsuite/ld-powerpc/tlstocso.d,
214 * testsuite/ld-powerpc/tlstocso.g,
215 * testsuite/ld-powerpc/tlstocso.r,
216 * testsuite/ld-s390/gotreloc_31-1.dd,
217 * testsuite/ld-s390/tlsbin.dd,
218 * testsuite/ld-s390/tlsbin.rd,
219 * testsuite/ld-s390/tlsbin_64.dd,
220 * testsuite/ld-s390/tlsbin_64.rd,
221 * testsuite/ld-s390/tlspic.rd,
222 * testsuite/ld-s390/tlspic_64.rd,
223 * testsuite/ld-sh/tlsbin-2.d,
224 * testsuite/ld-sh/tlspic-2.d,
225 * testsuite/ld-sparc/gotop32.rd,
226 * testsuite/ld-sparc/gotop64.rd,
227 * testsuite/ld-sparc/tlssunbin32.rd,
228 * testsuite/ld-sparc/tlssunbin64.rd,
229 * testsuite/ld-sparc/tlssunnopic32.rd,
230 * testsuite/ld-sparc/tlssunnopic64.rd,
231 * testsuite/ld-sparc/tlssunpic32.rd,
232 * testsuite/ld-sparc/tlssunpic64.rd,
233 * testsuite/ld-x86-64/bnd-branch-1-now.d,
234 * testsuite/ld-x86-64/bnd-ifunc-1-now.d,
235 * testsuite/ld-x86-64/bnd-ifunc-2-now.d,
236 * testsuite/ld-x86-64/bnd-ifunc-2.d,
237 * testsuite/ld-x86-64/bnd-plt-1-now.d,
238 * testsuite/ld-x86-64/bnd-plt-1.d,
239 * testsuite/ld-x86-64/ibt-plt-1-x32.d,
240 * testsuite/ld-x86-64/ibt-plt-1.d,
241 * testsuite/ld-x86-64/ibt-plt-2a-x32.d,
242 * testsuite/ld-x86-64/ibt-plt-2a.d,
243 * testsuite/ld-x86-64/ibt-plt-2b-x32.d,
244 * testsuite/ld-x86-64/ibt-plt-2b.d,
245 * testsuite/ld-x86-64/ibt-plt-2c-x32.d,
246 * testsuite/ld-x86-64/ibt-plt-2c.d,
247 * testsuite/ld-x86-64/ibt-plt-2d-x32.d,
248 * testsuite/ld-x86-64/ibt-plt-2d.d,
249 * testsuite/ld-x86-64/ibt-plt-3a-x32.d,
250 * testsuite/ld-x86-64/ibt-plt-3a.d,
251 * testsuite/ld-x86-64/ibt-plt-3b-x32.d,
252 * testsuite/ld-x86-64/ibt-plt-3b.d,
253 * testsuite/ld-x86-64/ibt-plt-3c-x32.d,
254 * testsuite/ld-x86-64/ibt-plt-3c.d,
255 * testsuite/ld-x86-64/ibt-plt-3d-x32.d,
256 * testsuite/ld-x86-64/ibt-plt-3d.d,
257 * testsuite/ld-x86-64/ilp32-4-nacl.d,
258 * testsuite/ld-x86-64/ilp32-4.d,
259 * testsuite/ld-x86-64/load1c-nacl.d,
260 * testsuite/ld-x86-64/load1c.d,
261 * testsuite/ld-x86-64/load1d-nacl.d,
262 * testsuite/ld-x86-64/load1d.d,
263 * testsuite/ld-x86-64/mpx3n.dd,
264 * testsuite/ld-x86-64/mpx4.dd,
265 * testsuite/ld-x86-64/mpx4n.dd,
266 * testsuite/ld-x86-64/plt2.dd,
267 * testsuite/ld-x86-64/pr14207.d,
268 * testsuite/ld-x86-64/pr19162.d,
269 * testsuite/ld-x86-64/pr20253-1f.d,
270 * testsuite/ld-x86-64/pr20253-1l.d,
271 * testsuite/ld-x86-64/pr20830a-now.d,
272 * testsuite/ld-x86-64/pr20830a.d,
273 * testsuite/ld-x86-64/pr20830b-now.d,
274 * testsuite/ld-x86-64/pr20830b.d,
275 * testsuite/ld-x86-64/pr21038a-now.d,
276 * testsuite/ld-x86-64/pr21038a.d,
277 * testsuite/ld-x86-64/pr21038b-now.d,
278 * testsuite/ld-x86-64/pr21038b.d,
279 * testsuite/ld-x86-64/pr21038c-now.d,
280 * testsuite/ld-x86-64/pr21038c.d,
281 * testsuite/ld-x86-64/tlsbin-nacl.rd,
282 * testsuite/ld-x86-64/tlsbin.rd,
283 * testsuite/ld-x86-64/tlsbin2-nacl.rd,
284 * testsuite/ld-x86-64/tlsbin2.rd,
285 * testsuite/ld-x86-64/tlsbindesc-nacl.rd,
286 * testsuite/ld-x86-64/tlsbindesc.rd,
287 * testsuite/ld-x86-64/tlsdesc-nacl.rd,
288 * testsuite/ld-x86-64/tlsdesc.rd,
289 * testsuite/ld-x86-64/tlsgdesc-nacl.rd,
290 * testsuite/ld-x86-64/tlsgdesc.rd,
291 * testsuite/ld-x86-64/tlspic-nacl.rd,
292 * testsuite/ld-x86-64/tlspic.rd,
293 * testsuite/ld-x86-64/tlspic2-nacl.rd,
294 * testsuite/ld-x86-64/tlspic2.rd: Update.
295
fc6041a7
AM
2962018-06-07 Alan Modra <amodra@gmail.com>
297
298 * emulparams/elf64bmip.sh (EXECUTABLE_SYMBOLS): Don't define.
299 (OTHER_SYMBOLS): Define this instead.
300 * emulparams/elf32bmipn32.sh (EXECUTABLE_SYMBOLS): Don't define.
301 (OTHER_SYMBOLS): Define similarly to elf64bmip.sh.
302 * emulparams/elf64hppa.sh (EXECUTABLE_SYMBOLS): Don't define.
303 (OTHER_SYMBOLS): Define instead.
304
527278f3
AM
3052018-06-07 Alan Modra <amodra@gmail.com>
306
307 * emulparams/elf32_tic6x_le.sh (EXECUTABLE_SYMBOLS): Don't define.
308
08f22593
AM
3092018-06-06 Alan Modra <amodra@gmail.com>
310
311 * Makefile.am (earmelf_fbsd.c): Correct dependencies.
312 (earmelfb_fbsd.c, earmelfb_fuchsia.c): Likewise.
313 * Makefile.in: Regenerate.
314
27b07675
AM
3152018-06-05 Alan Modra <amodra@gmail.com>
316
317 PR 23254
318 * plugin.c (plugin_call_claim_file): Revert 2016-07-19 patch.
319 (plugin_object_p): Don't dup file descriptor.
320
112ba867
FC
3212018-06-05 Flavio Ceolin <flavio.ceolin@intel.com>
322
323 * testsuite/ld-elf/elf.exp Run new test.
324 * testsuite/ld-elf/stack-noexec.rd New file: Expected readelf output.
325
cf7a5066
JW
3262018-06-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
327 Jim Wilson <jimw@sifive.com>
328
329 PR ld/23244
330 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new weak ref tests.
331 * testsuite/ld-riscv-elf/weakref.ld: New.
332 * testsuite/ld-riscv-elf/weakref32.d: New.
333 * testsuite/ld-riscv-elf/weakref32.s: New.
334 * testsuite/ld-riscv-elf/weakref64.d: New.
335 * testsuite/ld-riscv-elf/weakref64.s: New.
336
55e99962
L
3372018-06-01 H.J. Lu <hongjiu.lu@intel.com>
338
339 * configure: Regenerated.
340
ac98f9e2
L
3412018-05-28 H.J. Lu <hongjiu.lu@intel.com>
342
343 PR ld/23238
344 * testsuite/ld-ifunc/ifunc-26.d: New file.
345 * testsuite/ld-ifunc/ifunc-26.s: Likewise.
346 * testsuite/ld-ifunc/ifunc.exp: Run *.d tests without a
347 working compiler.
348
03fce1c7
L
3492018-05-28 H.J. Lu <hongjiu.lu@intel.com>
350
351 * testsuite/ld-ifunc/ifunc-10-i386.d: Skip NaCl targets.
352 * testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise.
353 * testsuite/ld-ifunc/ifunc-11-i386.d: Likewise.
354 * testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise.
355 * testsuite/ld-ifunc/ifunc-12-i386.d: Likewise.
356 * testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise.
357 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
358 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
359 * testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise.
360 * testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise.
361 * testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise.
362 * testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise.
363 * testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise.
364 * testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise.
365 * testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise.
366 * testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise.
367 * testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise.
368 * testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise.
369 * testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise.
370 * testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise.
371 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
372 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
373 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
374 * testsuite/ld-ifunc/ifunc-16-i386.d: Likewise.
375 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
376 * testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise.
377 * testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise.
378 * testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise.
379 * testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise.
380 * testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise.
381 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
382 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
383 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
384 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
385 * testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise.
386 * testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise.
387 * testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise.
388 * testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise.
389 * testsuite/ld-ifunc/ifunc-2-i386.d: Likewise.
390 * testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise.
391 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
392 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
393 * testsuite/ld-ifunc/ifunc-20-i386.d: Likewise.
394 * testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise.
395 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
396 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
397 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
398 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
399 * testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise.
400 * testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise.
401 * testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
402 * testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise.
403 * testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise.
404 * testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise.
405 * testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
406 * testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise.
407 * testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise.
408 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
409 * testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise.
410 * testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise.
411 * testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise.
412 * testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise.
413 * testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise.
414 * testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise.
415 * testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise.
416 * testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise.
417 * testsuite/ld-ifunc/ifunc-8-i386.d: Likewise.
418 * testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise.
419 * testsuite/ld-ifunc/ifunc-9-i386.d: Likewise.
420 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
421 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
422 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
423 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
424
099bb8fb
L
4252018-05-26 H.J. Lu <hongjiu.lu@intel.com>
426
427 PR ld/23194
428 * testsuite/ld-i386/pr23194.d: Expect only R_386_GLOB_DAT
429 against foobar.
430 * testsuite/ld-i386/pr23194.map: Add foobar.
431 * testsuite/ld-x86-64/pr23194.map: Likewise.
432 * testsuite/ld-i386/pr23194.s: Add a common foobar symbol.
433 * testsuite/ld-x86-64/pr23194.s: Likewise.
434 * testsuite/ld-x86-64/pr23194.d: Expect only R_X86_64_GLOB_DAT
435 against foobar.
436
277eb7f6
AM
4372018-05-25 Alan Modra <amodra@gmail.com>
438
439 * po/BLD-POTFILES.in: Regenerate.
440
29e11a04
L
4412018-05-21 H.J. Lu <hongjiu.lu@intel.com>
442
443 PR ld/23201
444 * testsuite/ld-tic6x/shlib-1.rd: Adjusted.
445 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
446 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
447 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
448 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
449 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
450 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
451 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
452 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
453 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
454 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
455 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
456 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
457
34a87bb0
L
4582018-05-21 H.J. Lu <hongjiu.lu@intel.com>
459
460 PR ld/23201
461 * ldexp.c (exp_fold_tree_1): Call bfd_link_hide_symbol to hide
462 a symbol.
463 * testsuite/ld-elf/provide-hidden-dynabs.nd: Removed.
464 * testsuite/ld-elf/provide-hidden-dynsec.nd: Likewise.
465 * testsuite/ld-elf/provide-hidden.exp: Replace
466 provide-hidden-dynsec.nd with provide-hidden-sec.nd and
467 provide-hidden-dyn.nd. Replace provide-hidden-dynabs.nd with
468 provide-hidden-abs.nd and provide-hidden-dyn.nd.
469 * testsuite/ld-i386/pr23189.d: Expect no dynamic relocation.
470 * testsuite/ld-x86-64/pr23189.d: Likewise.
471
97373b2e
L
4722018-05-18 H.J. Lu <hongjiu.lu@intel.com>
473
474 PR ld/23194
475 * testsuite/ld-i386/i386.exp: Run pr23194.
476 * testsuite/ld-x86-64/x86-64.exp: Likewise.
477 * testsuite/ld-i386/pr23194.d: New file.
478 * testsuite/ld-i386/pr23194.map: Likewise.
479 * testsuite/ld-i386/pr23194.s: Likewise.
480 * testsuite/ld-x86-64/pr23194.d: Likewise.
481 * testsuite/ld-x86-64/pr23194.map: Likewise.
482 * testsuite/ld-x86-64/pr23194.s: Likewise.
483
941036f4
L
4842018-05-18 H.J. Lu <hongjiu.lu@intel.com>
485
486 * testsuite/ld-i386/i386.exp: Run pr23189 for all targets.
487 * testsuite/ld-x86-64/x86-64.exp: Likewise.
488
7b4ae824
JD
4892018-05-18 John Darrington <john@darrington.wattle.id.au>
490
491 * Makefile.am: Add support for s12z architecture.
492 * configure.tgt: Likewise.
493 * Makefile.in: Regenerate.
494 * emulparams/m9s12zelf.sh: New file.
495 * scripttempl/elfm9s12z.sc: New file.
496 * testsuite/ld-discard/static.d: Expect to fail for the s12z
497 target.
498 * testsuite/ld-elf/endsym.d: Likewise.
499 * testsuite/ld-elf/merge.d: Likewise.
500 * testsuite/ld-elf/pr14926.d: Skip for the s12z target.
501 * testsuite/ld-elf/sec64k.exp: Likewise.
502 * testsuite/ld-s12z: New directory.
503 * testsuite/ld-s12z/opr-linking.d: New file.
504 * testsuite/ld-s12z/opr-linking.s: New file.
505 * testsuite/ld-s12z/relative-linking.d: New file.
506 * testsuite/ld-s12z/relative-linking.s: New file.
507 * testsuite/ld-s12z/z12s.exp: New file.
508
011b32fd
L
5092018-05-18 H.J. Lu <hongjiu.lu@intel.com>
510
511 PR ld/23189
512 * testsuite/ld-i386/i386.exp: Run pr23189.
513 * testsuite/ld-x86-64/x86-64.exp: Likewise.
514 * testsuite/ld-i386/pr23189.d: New file.
515 * testsuite/ld-i386/pr23189.s: Likewise.
516 * testsuite/ld-i386/pr23189.t: Likewise.
517 * testsuite/ld-x86-64/pr23189.d: Likewise.
518 * testsuite/ld-x86-64/pr23189.s: Likewise.
519 * testsuite/ld-x86-64/pr23189.t: Likewise.
520
aa82c0d3
AM
5212018-05-15 Alan Modra <amodra@gmail.com>
522
523 * testsuite/ld-elf/notes.exp: Restore LDFLAGS.
524
864bb26c
NC
5252018-05-14 Nick Clifton <nickc@redhat.com>
526
527 * testsuite/ld-elf/notes.exp: New file: Run new test.
528 * testsuite/ld-elf/note1_1.s: New file: Source file for test.
529 * testsuite/ld-elf/note1_2.s: New file: Source file for test.
530 * testsuite/ld-elf/note1.r: New file: Expected readelf output.
531
4ec09950
L
5322018-05-14 H.J. Lu <hongjiu.lu@intel.com>
533
534 PR ld/23169
535 * testsuite/ld-ifunc/ifunc-9-i386.d: New file.
536 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
537 * testsuite/ld-ifunc/pr23169a.c: Likewise.
538 * testsuite/ld-ifunc/pr23169a.rd: Likewise.
539 * testsuite/ld-ifunc/pr23169b.c: Likewise.
540 * testsuite/ld-ifunc/pr23169b.c: Likewise.
541 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
542 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
543 * testsuite/ld-ifunc/ifunc-9-x86.d: Removed.
544 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/23169 tests.
545
9bc935ef
L
5462018-05-14 H.J. Lu <hongjiu.lu@intel.com>
547
548 PR ld/23162
549 * testsuite/ld-elf/pr23162.map: New file.
550 * testsuite/ld-elf/pr23162.rd: Likewise.
551 * testsuite/ld-elf/pr23162a.c: Likewise.
552 * testsuite/ld-elf/pr23162b.c: Likewise.
553 * testsuite/ld-elf/shared.exp: Run PR ld/23162 tests.
554
9933dc52
AM
5552018-05-12 Alan Modra <amodra@gmail.com>
556
557 PR 20659
558 * testsuite/ld-elf/changelma.d,
559 * testsuite/ld-elf/changelma.lnk,
560 * testsuite/ld-elf/changelma.s: New test.
561
493ffac5
DD
5622018-05-09 2018-05-02 Dimitar Dimitrov <dimitar@dinux.eu>
563
564 * scripttempl/pru.sc: Add LD sections to allow linking TI
565 toolchain object files.
566 * scripttempl/pru.sc: Switch to init_array.
567 * testsuite/ld-pru/ldi32.d: Update LDI32 test to conform to TI ABI.
568 * testsuite/ld-pru/norelax_ldi32-data.d: Likewise.
569 * testsuite/ld-pru/norelax_ldi32-dis.d: Likewise.
570 * testsuite/ld-pru/relax_ldi32-data.d: Likewise.
571 * testsuite/ld-pru/relax_ldi32-dis.d: Likewise.
572
a7287b94
AM
5732018-05-09 Alan Modra <amodra@gmail.com>
574
575 * po/BLD-POTFILES.in: Regenerate.
576
10d98088
JW
5772018-05-08 Jim Wilson <jimw@sifive.com>
578
579 PR ld/22962
580 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lriscv_ilp32f.c,
581 eelf32lriscv_ilp32.c, eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c.
582 (eelf32lriscv_ilp32f.c, eelf32lriscv_ilp32.c): New build rules.
583 (eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c): New build rules.
584 * Makefile.in: Regenerated.
585 * configure.tgt (riscv32*-*-linux*, riscv64*-*-linux*): New.
586 * ld/emulparams/elf32lriscv.sh: Set LIBPATH_SUFFIX.
587 * ld/emulparams/elf32lriscv_ilp32.sh: New.
588 * ld/emulparams/elf32lriscv_ilp32f.sh: New.
589 * ld/emulparams/elf64lriscv-defs.sh: Don't set LIBPATH_SUFFIX here.
590 * ld/emulparams/elf64lriscv.sh: Set LIBPATH_SUFFIX.
591 * ld/emulparams/elf64lriscv_lp64.sh: New.
592 * ld/emulparams/elf64lriscv_lp64f.sh: New.
593 * ld/genscripts.sh (append_to_lib_path): Change LIBPATH_SUFFIX test to
594 a for. Inside loop, change LIBPATH_SUFFIX uses to libpath_suffix.
595 (LIB_PATH): In LIB_PATH if, add loop for LIBPATH_SUFFIX, changes uses
596 inside loop to libpath_suffix.
597
d1e9de16
JW
5982018-05-03 Jim Wilson <jimw@sifive.com>
599
600 * Makefile.am (earmelfb_linux_fdpiceabi.c): Fix typo in dependencies.
601
3be08ea4
SA
6022018-05-03 Simon Atanasyan <simon@atanasyan.com>
603
604 * testsuite/ld-mips-elf/gp-disp-sym.d: New test.
605 * testsuite/ld-mips-elf/gp-disp-sym.s: New test source.
606 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
607 * testsuite/ld-mips-elf/mips16-pic-2.ad: Update for _gp_disp
608 symbol removal.
609 * testsuite/ld-mips-elf/mips16-pic-2.nd: Likewise.
610 * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd: Likewise.
611 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Likewise.
612 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Likewise.
613 * testsuite/ld-mips-elf/tlslib-o32.got: Likewise.
614
197b262f
MR
6152018-04-27 Maciej W. Rozycki <macro@mips.com>
616
617 * testsuite/ld-mips-elf/bal-jalx-pic.d: Only run for
618 `check_shared_lib_support' targets.
619 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
620 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
621 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
622 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
623 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
624 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
625 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
626 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
627 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
628 Likewise.
629 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
630 Likewise.
631 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
632 Likewise.
633 * testsuite/ld-mips-elf/hash1a.d: Likewise.
634 * testsuite/ld-mips-elf/hash1b.d: Likewise.
635 * testsuite/ld-mips-elf/hash1c.d: Likewise.
636 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
637 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
638
6d9dabbb
MR
6392018-04-27 Maciej W. Rozycki <macro@mips.com>
640
641 * testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target'
642 in place of `istarget' for matching with `target', `alltargets'
643 and `notarget' options.
644
ffa389a3
AM
6452018-04-27 Alan Modra <amodra@gmail.com>
646
647 * po/BLD-POTFILES.in: Regenerate.
648
aa684341
CL
6492018-04-26 Christophe Lyon <christophe.lyon@linaro.org>
650
651 * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for
652 new variable name.
653 * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly.
654
f1ac0afe
CL
6552018-04-25 Christophe Lyon <christophe.lyon@st.com>
656
657 * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi.
658 * testsuite/ld-discard/discard.exp: Likewise.
659 * testsuite/ld-elf/binutils.exp: Likewise.
660 * testsuite/ld-elf/commonpage1.d: Likewise.
661 * testsuite/ld-elf/compress1c.d: Likewise.
662 * testsuite/ld-elf/compressed1b.d: Likewise.
663 * testsuite/ld-elf/compressed1c.d: Likewise.
664 * testsuite/ld-elf/compressed1e.d: Likewise.
665 * testsuite/ld-elf/dynamic1.d: Likewise.
666 * testsuite/ld-elf/dynsym1.d: Likewise.
667 * testsuite/ld-elf/ehdr_start-missing.d: Likewise.
668 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
669 * testsuite/ld-elf/ehdr_start-userdef.d: Likewise.
670 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
671 * testsuite/ld-elf/ehdr_start.d: Likewise.
672 * testsuite/ld-elf/exclude3b.d: Likewise.
673 * testsuite/ld-elf/export-class.exp: Likewise.
674 * testsuite/ld-elf/global1.d: Likewise.
675 * testsuite/ld-elf/hash.d: Likewise.
676 * testsuite/ld-elf/header.d: Likewise.
677 * testsuite/ld-elf/loadaddr1.d: Likewise.
678 * testsuite/ld-elf/loadaddr2.d: Likewise.
679 * testsuite/ld-elf/loadaddr3a.d: Likewise.
680 * testsuite/ld-elf/loadaddr3b.d: Likewise.
681 * testsuite/ld-elf/local1.d: Likewise.
682 * testsuite/ld-elf/maxpage1.d: Likewise.
683 * testsuite/ld-elf/maxpage2.d: Likewise.
684 * testsuite/ld-elf/maxpage3a.d: Likewise.
685 * testsuite/ld-elf/mbind1a.d: Likewise.
686 * testsuite/ld-elf/mbind1b.d: Likewise.
687 * testsuite/ld-elf/mbind1c.d: Likewise.
688 * testsuite/ld-elf/multibss1.d: Likewise.
689 * testsuite/ld-elf/noload-2.d: Likewise.
690 * testsuite/ld-elf/now-1.d: Likewise.
691 * testsuite/ld-elf/now-2.d: Likewise.
692 * testsuite/ld-elf/now-3.d: Likewise.
693 * testsuite/ld-elf/now-4.d: Likewise.
694 * testsuite/ld-elf/pie.d: Likewise.
695 * testsuite/ld-elf/pr12975.d: Likewise.
696 * testsuite/ld-elf/pr13177.d: Likewise.
697 * testsuite/ld-elf/pr13195.d: Likewise.
698 * testsuite/ld-elf/pr16322.d: Likewise.
699 * testsuite/ld-elf/pr16498a.d: Likewise.
700 * testsuite/ld-elf/pr16498b.d: Likewise.
701 * testsuite/ld-elf/pr17615.d: Likewise.
702 * testsuite/ld-elf/pr19162.d: Likewise.
703 * testsuite/ld-elf/pr19539.d: Likewise.
704 * testsuite/ld-elf/pr19617a.d: Likewise.
705 * testsuite/ld-elf/pr19617b.d: Likewise.
706 * testsuite/ld-elf/pr19617c.d: Likewise.
707 * testsuite/ld-elf/pr19698.d: Likewise.
708 * testsuite/ld-elf/pr19789.d: Likewise.
709 * testsuite/ld-elf/pr20513c.d: Likewise.
710 * testsuite/ld-elf/pr20513d.d: Likewise.
711 * testsuite/ld-elf/pr21384.d: Likewise.
712 * testsuite/ld-elf/pr21389a.d: Likewise.
713 * testsuite/ld-elf/pr21389b.d: Likewise.
714 * testsuite/ld-elf/pr21389c.d: Likewise.
715 * testsuite/ld-elf/pr21562a.d: Likewise.
716 * testsuite/ld-elf/pr21562b.d: Likewise.
717 * testsuite/ld-elf/pr21562c.d: Likewise.
718 * testsuite/ld-elf/pr21562d.d: Likewise.
719 * testsuite/ld-elf/pr21562e.d: Likewise.
720 * testsuite/ld-elf/pr21562f.d: Likewise.
721 * testsuite/ld-elf/pr21562g.d: Likewise.
722 * testsuite/ld-elf/pr21562h.d: Likewise.
723 * testsuite/ld-elf/pr21562i.d: Likewise.
724 * testsuite/ld-elf/pr21562j.d: Likewise.
725 * testsuite/ld-elf/pr21562k.d: Likewise.
726 * testsuite/ld-elf/pr21562l.d: Likewise.
727 * testsuite/ld-elf/pr21562m.d: Likewise.
728 * testsuite/ld-elf/pr21562n.d: Likewise.
729 * testsuite/ld-elf/pr21903a.d: Likewise.
730 * testsuite/ld-elf/pr21903b.d: Likewise.
731 * testsuite/ld-elf/pr21903d.d: Likewise.
732 * testsuite/ld-elf/pr22269a.d: Likewise.
733 * testsuite/ld-elf/pr22269b.d: Likewise.
734 * testsuite/ld-elf/pr22393-1a.d: Likewise.
735 * testsuite/ld-elf/pr22393-1b.d: Likewise.
736 * testsuite/ld-elf/pr22393-1c.d: Likewise.
737 * testsuite/ld-elf/pr22393-1d.d: Likewise.
738 * testsuite/ld-elf/pr22393-1e.d: Likewise.
739 * testsuite/ld-elf/pr22393-1f.d: Likewise.
740 * testsuite/ld-elf/pr22423.d: Likewise.
741 * testsuite/ld-elf/rpath-1.d: Likewise.
742 * testsuite/ld-elf/rpath-2.d: Likewise.
743 * testsuite/ld-elf/runpath-1.d: Likewise.
744 * testsuite/ld-elf/runpath-2.d: Likewise.
745 * testsuite/ld-elf/seg.d: Likewise.
746 * testsuite/ld-elf/sizeofb.d: Likewise.
747 * testsuite/ld-elf/startofb.d: Likewise.
748 * testsuite/ld-elf/strtab.d: Likewise.
749 * testsuite/ld-elf/textaddr1.d: Likewise.
750 * testsuite/ld-elf/textaddr2.d: Likewise.
751 * testsuite/ld-elf/textaddr3.d: Likewise.
752 * testsuite/ld-elf/textaddr4.d: Likewise.
753 * testsuite/ld-elf/textaddr5.d: Likewise.
754 * testsuite/ld-elf/textaddr6.d: Likewise.
755 * testsuite/ld-elf/textaddr7.d: Likewise.
756 * testsuite/ld-elf/tls.exp: Likewise.
757 * testsuite/ld-elf/tls_common.exp: Likewise.
758 * testsuite/ld-elf/unknown2.d: Likewise.
759 * testsuite/ld-gc/abi-note.d: Likewise.
760 * testsuite/ld-gc/pr11218.d: Likewise.
761 * testsuite/ld-gc/pr19167.d: Likewise.
762 * testsuite/ld-gc/pr20022.d: Likewise.
763 * testsuite/ld-gc/start.d: Likewise.
764 * testsuite/ld-gc/stop.d: Likewise.
765 * testsuite/ld-scripts/phdrs2.exp: Likewise.
766 * testsuite/ld-scripts/rgn-at5.d: Likewise.
767 * testsuite/ld-undefined/entry-3.d: Likewise.
768 * testsuite/ld-undefined/entry-4.d: Likewise.
769
59029f57
CL
7702018-04-25 Christophe Lyon <christophe.lyon@st.com>
771 Mickaël Guêné <mickael.guene@st.com>
772
773 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC Thumb-only tests.
774 * testsuite/ld-arm/fdpic-main-m.d: New test.
775 * testsuite/ld-arm/fdpic-main-m.s: New.
776 * testsuite/ld-arm/fdpic-main-m.sym: New.
777 * testsuite/ld-arm/fdpic-shared-m.d: New test.
778 * testsuite/ld-arm/fdpic-shared-m.s: New.
779 * testsuite/ld-arm/fdpic-shared-m.sym: New.
780
4b86cbe9
CL
7812018-04-25 Christophe Lyon <christophe.lyon@st.com>
782 Mickaël Guêné <mickael.guene@st.com>
783
784 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC tests.
785 * testsuite/ld-arm/fdpic-main.d: New test.
786 * testsuite/ld-arm/fdpic-main.ld: New.
787 * testsuite/ld-arm/fdpic-main.r: New.
788 * testsuite/ld-arm/fdpic-main.s: New.
789 * testsuite/ld-arm/fdpic-main.sym: New.
790 * testsuite/ld-arm/fdpic-shared.d: New test.
791 * testsuite/ld-arm/fdpic-shared.ld: New.
792 * testsuite/ld-arm/fdpic-shared.r: New.
793 * testsuite/ld-arm/fdpic-shared.s: New.
794 * testsuite/ld-arm/fdpic-shared.sym: New.
795
f350fc2e
CL
7962018-04-25 Christophe Lyon <christophe.lyon@st.com>
797 Mickaël Guêné <mickael.guene@st.com>
798
799 * testsuite/ld-elf/pr2404b.c (main): Rename time variable into
800 time1.
801
5c5a4843
CL
8022018-04-25 Christophe Lyon <christophe.lyon@st.com>
803 Mickaël Guêné <mickael.guene@st.com>
804
805 * scripttempl/elf.sc: Define __tdata_start for .tdata section.
806
e8b09b87
CL
8072018-04-25 Christophe Lyon <christophe.lyon@st.com>
808 Mickaël Guêné <mickael.guene@st.com>
809
810 * emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section.
811
617a5ada
CL
8122018-04-25 Christophe Lyon <christophe.lyon@st.com>
813 Mickaël Guêné <mickael.guene@st.com>
814
815 * Makefile.am (ALL_EMULATION_SOURCES): Add
816 earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c.
817 (earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules.
818 * Makefile.in: Regenerate.
819 * configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target.
820 * emulparams/armelf_linux_fdpiceabi.sh: New.
821 * emulparams/armelfb_linux_fdpiceabi.sh: New.
822
2ac93be7
AM
8232018-04-25 Alan Modra <amodra@gmail.com>
824
825 * Makefile.am: Remove arm-aout and arm-coff support.
826 * configure.tgt: Likewise.
827 * testsuite/ld-arm/attr-merge-div-00.d: Likewise.
828 * testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise.
829 * testsuite/ld-arm/attr-merge-div-01.d: Likewise.
830 * testsuite/ld-arm/attr-merge-div-02.d: Likewise.
831 * testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise.
832 * testsuite/ld-arm/attr-merge-div-10.d: Likewise.
833 * testsuite/ld-arm/attr-merge-div-11.d: Likewise.
834 * testsuite/ld-arm/attr-merge-div-12.d: Likewise.
835 * testsuite/ld-arm/attr-merge-div-120.d: Likewise.
836 * testsuite/ld-arm/attr-merge-div-20.d: Likewise.
837 * testsuite/ld-arm/attr-merge-div-21.d: Likewise.
838 * testsuite/ld-arm/attr-merge-div-22.d: Likewise.
839 * testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise.
840 * testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise.
841 * testsuite/ld-arm/attr-merge-nosection-1.d: Likewise.
842 * testsuite/ld-arm/attr-merge-unknown-2.d: Likewise.
843 * testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise.
844 * testsuite/ld-arm/attr-merge-unknown-3.d: Likewise.
845 * testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
846 * testsuite/ld-arm/attr-merge-vfp-10.d: Likewise.
847 * testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise.
848 * testsuite/ld-arm/attr-merge-vfp-11.d: Likewise.
849 * testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise.
850 * testsuite/ld-arm/attr-merge-vfp-12.d: Likewise.
851 * testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise.
852 * testsuite/ld-arm/attr-merge-vfp-13.d: Likewise.
853 * testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise.
854 * testsuite/ld-arm/attr-merge-vfp-14.d: Likewise.
855 * testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise.
856 * testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
857 * testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
858 * testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
859 * testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
860 * testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
861 * testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
862 * testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
863 * testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
864 * testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
865 * testsuite/ld-arm/attr-merge-vfp-6.d: Likewise.
866 * testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise.
867 * testsuite/ld-arm/attr-merge-vfp-7.d: Likewise.
868 * testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
869 * testsuite/ld-arm/attr-merge-vfp-8.d: Likewise.
870 * testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise.
871 * testsuite/ld-arm/attr-merge-vfp-9.d: Likewise.
872 * testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise.
873 * testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
874 * testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
875 * testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
876 * testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
877 * testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
878 * testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
879 * testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
880 * testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
881 * testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
882 * testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
883 * testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
884 * testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
885 * testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
886 * testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
887 * testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
888 * testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
889 * testsuite/ld-arm/eabi-hard-float.d: Likewise.
890 * testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise.
891 * testsuite/ld-arm/eabi-soft-float-r.d: Likewise.
892 * testsuite/ld-arm/eabi-soft-float.d: Likewise.
893 * testsuite/ld-arm/gc-hidden-1.d: Likewise.
894 * emulparams/armaoutb.sh: Delete.
895 * emulparams/armaoutl.sh: Delete.
896 * emulparams/armcoff.sh: Delete.
897 * emulparams/armnbsd.sh: Delete.
898 * emulparams/riscix.sh: Delete.
899 * scripttempl/armaout.sc: Delete.
900 * scripttempl/armcoff.sc: Delete.
901 * scripttempl/riscix.sc: Delete.
902 * Makefile.in: Regenerate.
903 * po/BLD-POTFILES.in: Regenerate.
904
5a8edf8e
AM
9052018-04-21 Alan Modra <amodra@gmail.com>
906
907 * testsuite/lib/ld-lib.exp (run_host_cmd): Check that gcc -B
908 works.
909
c65c21e1
AM
9102018-04-18 Alan Modra <amodra@gmail.com>
911
912 * Makefile.am: Remove support for assorted i386 aout and coff targets.
913 * configure.tgt: Likewise.
914 * testsuite/ld-discard/discard.exp: Likewise.
915 * testsuite/ld-elf/binutils.exp: Likewise.
916 * testsuite/ld-elf/tls.exp: Likewise.
917 * testsuite/ld-elf/tls_common.exp: Likewise.
918 * testsuite/ld-elfvers/vers.exp: Likewise.
919 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
920 * testsuite/ld-elfweak/elfweak.exp: Likewise.
921 * testsuite/ld-gc/abi-note.d: Likewise.
922 * testsuite/ld-gc/pr19167.d: Likewise.
923 * testsuite/ld-gc/pr20022.d: Likewise.
924 * testsuite/ld-gc/start.d: Likewise.
925 * testsuite/ld-gc/stop.d: Likewise.
926 * testsuite/ld-i386/i386.exp: Likewise.
927 * testsuite/ld-ifunc/binutils.exp: Likewise.
928 * testsuite/ld-ifunc/ifunc.exp: Likewise.
929 * testsuite/ld-linkonce/linkonce.exp: Likewise.
930 * testsuite/ld-plugin/lto.exp: Likewise.
931 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
932 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
933 * testsuite/ld-scripts/phdrs2.exp: Likewise.
934 * testsuite/ld-scripts/section-match-1.d: Likewise.
935 * testsuite/ld-shared/shared.exp: Likewise.
936 * testsuite/ld-size/size.exp: Likewise.
937 * testsuite/ld-sparc/sparc.exp: Likewise.
938 * emulparams/i386coff.sh: Delete.
939 * emulparams/i386linux.sh: Delete.
940 * emulparams/i386mach.sh: Delete.
941 * emulparams/i386nbsd.sh: Delete.
942 * emulparams/vsta.sh: Delete.
943 * scripttempl/i386coff.sc: Delete.
944 * Makefile.in: Regenerate.
945 * po/BLD-POTFILES.in: Regenerate.
946
884d4d8a 9472018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
3f0a5f17
ME
948
949 Microblaze Target: PIC data text relative
950
951 * ld/lexsup.c (Add 2 ld options):
952 (ld_options): add disable-multiple-abs-defs @ 'ld_options' array
953 (parse_args): parse new option and pass flag to 'link_info' struct.
954 * ld/ldlex.h (Add enum): add new enum @ 'option_values' enum.
955 * ld/ld.texinfo (Add new option): Add description for
956 'disable-multiple-abs-defs'
957 * ld/main.c: Initialize flags with false @ 'main'. Handle
958 disable-multiple-abs-defs @ 'mutiple_definition'.
959
fc7aa874
AM
9602018-04-16 Alan Modra <amodra@gmail.com>
961
962 * emultempl/sunos.em: Delete.
963
ddb00039
AM
9642018-04-16 Alan Modra <amodra@gmail.com>
965
966 * Makefile.am: Remove arm-epoc-pe support.
967 * configure.tgt: Likewise.
968 * emultempl/pe.em: Likewise.
969 * pe-dll.c: Likewise.
970 * testsuite/ld-scripts/fill.d: Likewise.
971 * testsuite/ld-scripts/fill16.d: Likewise.
972 * emulparams/arm_epoc_pe.sh: Delete.
973 * scripttempl/epocpe.sc: Delete.
974 * Makefile.in: Regenerate.
975 * po/BLD-POTFILES.in: Regenerate.
976
c9098af4
AM
9772018-04-16 Alan Modra <amodra@gmail.com>
978
979 * Makefile.am: Remove sparc-aout and sparc-coff support.
980 * configure.tgt: Likewise.
981 * testsuite/ld-elfvers/vers.exp: Likewise.
982 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
983 * testsuite/ld-elfweak/elfweak.exp: Likewise.
984 * testsuite/ld-shared/shared.exp: Likewise.
985 * emulparams/coff_sparc.sh: Delete.
986 * emulparams/sparcaout.sh: Delete.
987 * emulparams/sparclinux.sh: Delete.
988 * emulparams/sparcnbsd.sh: Delete.
989 * emulparams/sun4.sh: Delete.
990 * scripttempl/sparccoff.sc: Delete.
991 * Makefile.in: Regenerate.
992 * po/BLD-POTFILES.in: Regenerate.
993
dc12032b
AM
9942018-04-16 Alan Modra <amodra@gmail.com>
995
996 * Makefile.am: Remove m68k-aout and m68k-coff support.
997 * configure.tgt: Likewise.
998 * emultempl/m68kelf.em: Likewise.
999 * ld.texinfo: Likewise.
1000 * mri.c: Likewise.
1001 * emulparams/delta68.sh: Delete.
1002 * emulparams/hp300bsd.sh: Delete.
1003 * emulparams/hp3hpux.sh: Delete.
1004 * emulparams/m68k4knbsd.sh: Delete.
1005 * emulparams/m68kaout.sh: Delete.
1006 * emulparams/m68kaux.sh: Delete.
1007 * emulparams/m68kcoff.sh: Delete.
1008 * emulparams/m68klinux.sh: Delete.
1009 * emulparams/m68knbsd.sh: Delete.
1010 * emulparams/m68kpsos.sh: Delete.
1011 * emulparams/sun3.sh: Delete.
1012 * emultempl/m68kcoff.em: Delete.
1013 * scripttempl/delta68.sc: Delete.
1014 * scripttempl/m68kaux.sc: Delete.
1015 * scripttempl/m68kcoff.sc: Delete.
1016 * scripttempl/psos.sc: Delete.
1017 * testsuite/ld-versados/t1-1.ro: Delete.
1018 * testsuite/ld-versados/t1-2.ro: Delete.
1019 * testsuite/ld-versados/t1.ld: Delete.
1020 * testsuite/ld-versados/t1.ook: Delete.
1021 * testsuite/ld-versados/t2-1.ro: Delete.
1022 * testsuite/ld-versados/t2-2.ro: Delete.
1023 * testsuite/ld-versados/t2-3.ro: Delete.
1024 * testsuite/ld-versados/t2.ld: Delete.
1025 * testsuite/ld-versados/t2.ook: Delete.
1026 * testsuite/ld-versados/versados.exp: Delete.
1027 * Makefile.in: Regenerate.
1028 * po/BLD-POTFILES.in: Regenerate.
1029
211dc24b
AM
10302018-04-16 Alan Modra <amodra@gmail.com>
1031
1032 * Makefile.am: Remove sh5 and sh64 support.
1033 * configure.tgt: Likewise.
1034 * ldlang.c: Likewise.
1035 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
1036 * testsuite/ld-gc/gc.exp: Likewise.
1037 * testsuite/ld-gc/pr13683.d: Likewise.
1038 * testsuite/ld-scripts/crossref.exp: Likewise.
1039 * testsuite/ld-selective/selective.exp: Likewise.
1040 * testsuite/ld-sh/ld-r-1.d: Likewise.
1041 * testsuite/ld-sh/rd-sh.exp: Likewise.
1042 * testsuite/ld-sh/sh.exp: Likewise.
1043 * testsuite/ld-srec/srec.exp: Likewise.
1044 * testsuite/ld-undefined/undefined.exp: Likewise.
1045 * emulparams/shelf32.sh: Delete.
1046 * emulparams/shelf32_linux.sh: Delete.
1047 * emulparams/shelf32_nbsd.sh: Delete.
1048 * emulparams/shelf64.sh: Delete.
1049 * emulparams/shelf64_nbsd.sh: Delete.
1050 * emulparams/shlelf32.sh: Delete.
1051 * emulparams/shlelf32_linux.sh: Delete.
1052 * emulparams/shlelf32_nbsd.sh: Delete.
1053 * emulparams/shlelf64.sh: Delete.
1054 * emulparams/shlelf64_nbsd.sh: Delete.
1055 * emultempl/sh64elf.em: Delete.
1056 * testsuite/ld-sh/sh64/abi32.sd: Delete.
1057 * testsuite/ld-sh/sh64/abi32.xd: Delete.
1058 * testsuite/ld-sh/sh64/abi64.sd: Delete.
1059 * testsuite/ld-sh/sh64/abi64.xd: Delete.
1060 * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete.
1061 * testsuite/ld-sh/sh64/cmpct1.sd: Delete.
1062 * testsuite/ld-sh/sh64/cmpct1.xd: Delete.
1063 * testsuite/ld-sh/sh64/crange-1.s: Delete.
1064 * testsuite/ld-sh/sh64/crange-2a.s: Delete.
1065 * testsuite/ld-sh/sh64/crange-2b.s: Delete.
1066 * testsuite/ld-sh/sh64/crange-2c.s: Delete.
1067 * testsuite/ld-sh/sh64/crange-2d.s: Delete.
1068 * testsuite/ld-sh/sh64/crange-2e.s: Delete.
1069 * testsuite/ld-sh/sh64/crange-2f.s: Delete.
1070 * testsuite/ld-sh/sh64/crange-2g.s: Delete.
1071 * testsuite/ld-sh/sh64/crange-2h.s: Delete.
1072 * testsuite/ld-sh/sh64/crange-2i.s: Delete.
1073 * testsuite/ld-sh/sh64/crange1.rd: Delete.
1074 * testsuite/ld-sh/sh64/crange2.rd: Delete.
1075 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete.
1076 * testsuite/ld-sh/sh64/crange3-media.rd: Delete.
1077 * testsuite/ld-sh/sh64/crange3.dd: Delete.
1078 * testsuite/ld-sh/sh64/crange3.rd: Delete.
1079 * testsuite/ld-sh/sh64/crangerel1.rd: Delete.
1080 * testsuite/ld-sh/sh64/crangerel2.rd: Delete.
1081 * testsuite/ld-sh/sh64/dlsection-1.s: Delete.
1082 * testsuite/ld-sh/sh64/dlsection.sd: Delete.
1083 * testsuite/ld-sh/sh64/endian.dbd: Delete.
1084 * testsuite/ld-sh/sh64/endian.dld: Delete.
1085 * testsuite/ld-sh/sh64/endian.ld: Delete.
1086 * testsuite/ld-sh/sh64/endian.s: Delete.
1087 * testsuite/ld-sh/sh64/endian.sbd: Delete.
1088 * testsuite/ld-sh/sh64/endian.sld: Delete.
1089 * testsuite/ld-sh/sh64/gotplt.d: Delete.
1090 * testsuite/ld-sh/sh64/gotplt.map: Delete.
1091 * testsuite/ld-sh/sh64/gotplt.s: Delete.
1092 * testsuite/ld-sh/sh64/init-cmpct.d: Delete.
1093 * testsuite/ld-sh/sh64/init-media.d: Delete.
1094 * testsuite/ld-sh/sh64/init.s: Delete.
1095 * testsuite/ld-sh/sh64/init64.d: Delete.
1096 * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete.
1097 * testsuite/ld-sh/sh64/mix1.sd: Delete.
1098 * testsuite/ld-sh/sh64/mix1.xd: Delete.
1099 * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete.
1100 * testsuite/ld-sh/sh64/mix2.sd: Delete.
1101 * testsuite/ld-sh/sh64/mix2.xd: Delete.
1102 * testsuite/ld-sh/sh64/rd-sh64.exp: Delete.
1103 * testsuite/ld-sh/sh64/rel-1.s: Delete.
1104 * testsuite/ld-sh/sh64/rel-2.s: Delete.
1105 * testsuite/ld-sh/sh64/rel32.xd: Delete.
1106 * testsuite/ld-sh/sh64/rel64.xd: Delete.
1107 * testsuite/ld-sh/sh64/relax.exp: Delete.
1108 * testsuite/ld-sh/sh64/relax1.s: Delete.
1109 * testsuite/ld-sh/sh64/relax2.s: Delete.
1110 * testsuite/ld-sh/sh64/relax3.s: Delete.
1111 * testsuite/ld-sh/sh64/relax4.s: Delete.
1112 * testsuite/ld-sh/sh64/reldl-1.s: Delete.
1113 * testsuite/ld-sh/sh64/reldl-2.s: Delete.
1114 * testsuite/ld-sh/sh64/reldl32.rd: Delete.
1115 * testsuite/ld-sh/sh64/reldl64.rd: Delete.
1116 * testsuite/ld-sh/sh64/relfail.exp: Delete.
1117 * testsuite/ld-sh/sh64/relfail.s: Delete.
1118 * testsuite/ld-sh/sh64/sh64-1.s: Delete.
1119 * testsuite/ld-sh/sh64/sh64-2.s: Delete.
1120 * testsuite/ld-sh/sh64/sh64.exp: Delete.
1121 * testsuite/ld-sh/sh64/shcmp-1.s: Delete.
1122 * testsuite/ld-sh/sh64/shdl-1.s: Delete.
1123 * testsuite/ld-sh/sh64/shdl-2.s: Delete.
1124 * testsuite/ld-sh/sh64/shdl32.xd: Delete.
1125 * testsuite/ld-sh/sh64/shdl64.sd: Delete.
1126 * testsuite/ld-sh/sh64/shdl64.xd: Delete.
1127 * testsuite/ld-sh/sh64/shmix-1.s: Delete.
1128 * testsuite/ld-sh/sh64/shmix-2.s: Delete.
1129 * testsuite/ld-sh/sh64/shmix-3.s: Delete.
1130 * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete.
1131 * testsuite/ld-sh/sh64/stobin-1.d: Delete.
1132 * testsuite/ld-sh/sh64/stobin.s: Delete.
1133 * testsuite/ld-sh/sh64/stolib.s: Delete.
1134 * Makefile.in: Regenerate.
1135 * po/BLD-POTFILES.in: Regenerate.
1136
4db9937a
AM
11372018-04-16 Alan Modra <amodra@gmail.com>
1138
1139 * Makefile.am: Remove sh-symbianelf support.
1140 * configure.tgt: Likewise.
1141 * emulparams/shlsymbian.sh: Delete.
1142 * scripttempl/elf32sh-symbian.sc: Delete.
1143 * Makefile.in: Regenerate.
1144 * po/BLD-POTFILES.in: Regenerate.
1145
9f5d1593
AM
11462018-04-16 Alan Modra <amodra@gmail.com>
1147
1148 * Makefile.am: Remove vax-bsd and vax-ultrix support.
1149 * configure.tgt: Likewise.
1150 * emulparams/vax.sh: Delete.
1151 * Makefile.in: Regenerate.
1152 * po/BLD-POTFILES.in: Regenerate.
1153
a9a4b302
AM
11542018-04-16 Alan Modra <amodra@gmail.com>
1155
1156 * Makefile.am: Remove w65 support.
1157 * configure.tgt: Likewise.
1158 * emulparams/w65.sh: Delete.
1159 * scripttempl/w65.sc: Delete.
1160 * Makefile.in: Regenerate.
1161 * po/BLD-POTFILES.in: Regenerate.
1162
c2bf1eec
AM
11632018-04-16 Alan Modra <amodra@gmail.com>
1164
1165 * Makefile.am: Remove m88k support.
1166 * configure.host: Likewise.
1167 * configure.tgt: Likewise.
1168 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1169 * emulparams/m88kbcs.sh: Delete.
1170 * scripttempl/m88kbcs.sc: Delete.
1171 * Makefile.in: Regenerate.
1172 * po/BLD-POTFILES.in: Regenerate.
1173
6793974d
AM
11742018-04-16 Alan Modra <amodra@gmail.com>
1175
1176 * Makefile.am: Remove i370 support.
1177 * configure.tgt: Likewise.
1178 * testsuite/ld-elf/compressed1d.d: Likewise.
1179 * testsuite/ld-elf/group8a.d: Likewise.
1180 * testsuite/ld-elf/group8b.d: Likewise.
1181 * testsuite/ld-elf/group9a.d: Likewise.
1182 * testsuite/ld-elf/group9b.d: Likewise.
1183 * testsuite/ld-elf/merge.d: Likewise.
1184 * testsuite/ld-elf/pr12851.d: Likewise.
1185 * testsuite/ld-elf/pr12975.d: Likewise.
1186 * testsuite/ld-elf/pr13177.d: Likewise.
1187 * testsuite/ld-elf/pr13195.d: Likewise.
1188 * testsuite/ld-elf/pr17615.d: Likewise.
1189 * testsuite/ld-elf/pr21562a.d: Likewise.
1190 * testsuite/ld-elf/pr21562b.d: Likewise.
1191 * testsuite/ld-elf/pr21562c.d: Likewise.
1192 * testsuite/ld-elf/pr21562d.d: Likewise.
1193 * testsuite/ld-elf/pr21562i.d: Likewise.
1194 * testsuite/ld-elf/pr21562j.d: Likewise.
1195 * testsuite/ld-elf/pr21562k.d: Likewise.
1196 * testsuite/ld-elf/pr21562l.d: Likewise.
1197 * testsuite/ld-elf/pr21562m.d: Likewise.
1198 * testsuite/ld-elf/pr21562n.d: Likewise.
1199 * testsuite/ld-elf/pr22677.d: Likewise.
1200 * testsuite/lib/ld-lib.exp: Likewise.
1201 * emulparams/elf32i370.sh: Delete.
1202 * scripttempl/elfi370.sc: Delete.
1203 * Makefile.in: Regenerate.
1204 * po/BLD-POTFILES.in: Regenerate.
1205
e82aa794
AM
12062018-04-16 Alan Modra <amodra@gmail.com>
1207
1208 * Makefile.am: Remove h8500 support.
1209 * configure.tgt: Likewise.
1210 * emulparams/h8500.sh: Delete.
1211 * emulparams/h8500b.sh: Delete.
1212 * emulparams/h8500c.sh: Delete.
1213 * emulparams/h8500m.sh: Delete.
1214 * emulparams/h8500s.sh: Delete.
1215 * scripttempl/h8500.sc: Delete.
1216 * scripttempl/h8500b.sc: Delete.
1217 * scripttempl/h8500c.sc: Delete.
1218 * scripttempl/h8500m.sc: Delete.
1219 * scripttempl/h8500s.sc: Delete.
1220 * Makefile.in: Regenerate.
1221 * po/BLD-POTFILES.in: Regenerate.
1222
fe0bf0fd
AM
12232018-04-16 Alan Modra <amodra@gmail.com>
1224
1225 * Makefile.am: Remove h8300-coff support.
1226 * configure.tgt: Likewise.
1227 * testsuite/ld-h8300/h8300.exp: Likewise.
1228 * emulparams/h8300.sh: Delete.
1229 * emulparams/h8300h.sh: Delete.
1230 * emulparams/h8300hn.sh: Delete.
1231 * emulparams/h8300s.sh: Delete.
1232 * emulparams/h8300sn.sh: Delete.
1233 * emulparams/h8300sx.sh: Delete.
1234 * emulparams/h8300sxn.sh: Delete.
1235 * scripttempl/h8300.sc: Delete.
1236 * scripttempl/h8300h.sc: Delete.
1237 * scripttempl/h8300hn.sc: Delete.
1238 * scripttempl/h8300s.sc: Delete.
1239 * scripttempl/h8300sn.sc: Delete.
1240 * scripttempl/h8300sx.sc: Delete.
1241 * scripttempl/h8300sxn.sc: Delete.
1242 * testsuite/ld-h8300/relax-3-coff.d: Delete.
1243 * testsuite/ld-h8300/relax-4-coff.d: Delete.
1244 * testsuite/ld-h8300/relax-5-coff.d: Delete.
1245 * testsuite/ld-h8300/relax-6-coff.d: Delete.
1246 * Makefile.in: Regenerate.
1247 * po/BLD-POTFILES.in: Regenerate.
1248
fdef3943
AM
12492018-04-16 Alan Modra <amodra@gmail.com>
1250
1251 * ld.texinfo: Remove IEEE 695 support.
1252 * mri.c: Likewise.
1253
de96689e
AM
12542018-04-16 Alan Modra <amodra@gmail.com>
1255
1256 * Makefile.am: Remove tandem support.
1257 * configure.tgt: Likewise.
1258 * emulparams/st2000.sh: Delete.
1259 * scripttempl/st2000.sc: Delete.
1260 * Makefile.in: Regenerate.
1261 * po/BLD-POTFILES.in: Regenerate.
1262
5972ac73
AM
12632018-04-16 Alan Modra <amodra@gmail.com>
1264
1265 * Makefile.am: Remove newsos3 support.
1266 * configure.tgt: Likewise.
1267 * emulparams/news.sh: Delete.
1268 * Makefile.in: Regenerate.
1269 * po/BLD-POTFILES.in: Regenerate.
1270
b4b594e3
AM
12712018-04-16 Alan Modra <amodra@gmail.com>
1272
1273 * Makefile.am: Remove netware support.
1274 * configure.tgt: Likewise.
1275 * testsuite/ld-powerpc/powerpc.exp: Likewise.
1276 * emulparams/i386nw.sh: Delete.
1277 * emulparams/ppcnw.sh: Delete.
1278 * scripttempl/nw.sc: Delete.
1279 * Makefile.in: Regenerate.
1280 * po/BLD-POTFILES.in: Regenerate.
1281
702d1671
AM
12822018-04-14 Alan Modra <amodra@gmail.com>
1283
1284 * ldmain.c (main): Move config.maxpagesize and
1285 config.commonpagesize initialization to..
1286 * ldemul.c (after_parse_default): ..here.
1287 * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size.
1288 * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
1289
24acfe5e
AM
12902018-04-14 Alan Modra <amodra@gmail.com>
1291
1292 * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh.
1293 * emulparams/ppclynx.sh: Likewise.
1294
a8eb42a8
AM
12952018-04-11 Alan Modra <amodra@gmail.com>
1296
1297 * emulparams/coff_i860.sh: Delete.
1298 * emulparams/elf32_i860.sh: Delete.
1299 * emulparams/elf32_i960.sh: Delete.
1300 * emulparams/gld960.sh: Delete.
1301 * emulparams/gld960coff.sh: Delete.
1302 * emulparams/lnk960.sh: Delete.
1303 * emultempl/gld960.em: Delete.
1304 * emultempl/gld960c.em: Delete.
1305 * emultempl/lnk960.em: Delete.
1306 * scripttempl/i860coff.sc: Delete.
1307 * scripttempl/i960.sc: Delete.
1308 * ld.texinfo: Remove i960 support.
1309 * Makefile.am: Remove i860 and i960 support.
1310 * configure.tgt: Likewise.
1311 * testsuite/ld-discard/extern.d: Likewise.
1312 * testsuite/ld-discard/start.d: Likewise.
1313 * testsuite/ld-discard/static.d: Likewise.
1314 * testsuite/ld-elf/compressed1d.d: Likewise.
1315 * testsuite/ld-elf/group1.d: Likewise.
1316 * testsuite/ld-elf/group3b.d: Likewise.
1317 * testsuite/ld-elf/group8a.d: Likewise.
1318 * testsuite/ld-elf/group8b.d: Likewise.
1319 * testsuite/ld-elf/group9a.d: Likewise.
1320 * testsuite/ld-elf/group9b.d: Likewise.
1321 * testsuite/ld-elf/linkonce2.d: Likewise.
1322 * testsuite/ld-elf/merge.d: Likewise.
1323 * testsuite/ld-elf/merge2.d: Likewise.
1324 * testsuite/ld-elf/merge3.d: Likewise.
1325 * testsuite/ld-elf/orphan-10.d: Likewise.
1326 * testsuite/ld-elf/orphan-11.d: Likewise.
1327 * testsuite/ld-elf/orphan-12.d: Likewise.
1328 * testsuite/ld-elf/orphan-9.d: Likewise.
1329 * testsuite/ld-elf/orphan-region.d: Likewise.
1330 * testsuite/ld-elf/orphan.d: Likewise.
1331 * testsuite/ld-elf/orphan3.d: Likewise.
1332 * testsuite/ld-elf/pr12851.d: Likewise.
1333 * testsuite/ld-elf/pr12975.d: Likewise.
1334 * testsuite/ld-elf/pr13177.d: Likewise.
1335 * testsuite/ld-elf/pr13195.d: Likewise.
1336 * testsuite/ld-elf/pr17550a.d: Likewise.
1337 * testsuite/ld-elf/pr17550b.d: Likewise.
1338 * testsuite/ld-elf/pr17550c.d: Likewise.
1339 * testsuite/ld-elf/pr17550d.d: Likewise.
1340 * testsuite/ld-elf/pr17615.d: Likewise.
1341 * testsuite/ld-elf/pr20528a.d: Likewise.
1342 * testsuite/ld-elf/pr20528b.d: Likewise.
1343 * testsuite/ld-elf/pr21562a.d: Likewise.
1344 * testsuite/ld-elf/pr21562b.d: Likewise.
1345 * testsuite/ld-elf/pr21562c.d: Likewise.
1346 * testsuite/ld-elf/pr21562d.d: Likewise.
1347 * testsuite/ld-elf/pr21562i.d: Likewise.
1348 * testsuite/ld-elf/pr21562j.d: Likewise.
1349 * testsuite/ld-elf/pr21562k.d: Likewise.
1350 * testsuite/ld-elf/pr21562l.d: Likewise.
1351 * testsuite/ld-elf/pr21562m.d: Likewise.
1352 * testsuite/ld-elf/pr21562n.d: Likewise.
1353 * testsuite/ld-elf/pr22677.d: Likewise.
1354 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1355 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1356 * testsuite/ld-elf/pr349.d: Likewise.
1357 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1358 * testsuite/ld-elf/sec64k.exp: Likewise.
1359 * testsuite/ld-elf/warn1.d: Likewise.
1360 * testsuite/ld-elf/warn2.d: Likewise.
1361 * testsuite/ld-elf/warn3.d: Likewise.
1362 * testsuite/lib/ld-lib.exp: Likewise.
1363 * Makefile.in: Regenerate.
1364 * po/BLD-POTFILES.in: Regenerate.
1365
18e404c4
AM
13662018-04-11 Alan Modra <amodra@gmail.com>
1367
1368 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32.
1369
c4a614e2
AM
13702018-04-09 Alan Modra <amodra@gmail.com>
1371
1372 * po/BLD-POTFILES.in: Regenerate.
1373
3e04d765
AM
13742018-04-09 Alan Modra <amodra@gmail.com>
1375
1376 * emultempl/ppc64elf.em (no_inline_plt): New var.
1377 (ppc_before_allocation): Call ppc64_elf_inline_plt.
1378 (enum ppc64_opt): Add OPTION_NO_INLINE_OPT.
1379 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
1380 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
1381 * emultemps/ppc32elf.em (no_inline_opt): New var.
1382 (prelim_size_sections): New function, extracted from..
1383 (ppc_before_allocation): ..here. Call ppc_elf_inline_plt.
1384 (enum ppc32_opt): Add OPTION_NO_INLINE_OPT.
1385 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
1386 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
1387
2d7ad24e
AM
13882018-04-09 Alan Modra <amodra@gmail.com>
1389
1390 * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt.
1391 (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt.
1392 * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering.
1393 * testsuite/ld-powerpc/relbrlt.d: Likewise.
1394 * testsuite/ld-powerpc/relbrlt.s: Likewise.
1395 * testsuite/ld-powerpc/tlsso.r: Likewise.
1396 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1397
49c09209
AM
13982018-04-09 Alan Modra <amodra@gmail.com>
1399
1400 * ppc32elf.em (ppc_finish): Call ppc_finish_symbols.
1401
3cba8b6c
L
14022018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 PR gas/22318
1405 * configure: Regenerated.
1406
043e9508
NC
14072018-04-05 Nick Clifton <nickc@redhat.com>
1408
1409 PR 23030
1410 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure
1411 that the .IA_64.unwind_info and .IA_64.unwind sections are not
1412 subject to garbage collection.
1413
9d8e8f44
EB
14142018-04-04 Eric Botcazou <ebotcazou@adacore.com>
1415
1416 * deffile.h (def_file_add_import_from): Declare.
1417 (def_file_add_import_at): Likewise.
1418 * deffilep.y (fill_in_import): New function extracted from...
1419 (def_file_add_import): ...here. Call it.
1420 (def_file_add_import_from): New function.
1421 (def_file_add_import_at): Likewise.
1422 * pe-dll.c (pe_implied_import_dll): Use an optimized version of the
1423 insertion loop for imported symbols if possible.
1424
317ff008
EB
14252018-04-04 Eric Botcazou <ebotcazou@adacore.com>
1426
1427 * emultempl/pe.em (U_SIZE): Delete.
1428 (pe_data_import_dll): Likewise.
1429 (make_import_fixup): Return void, take 4th parameter and pass it down
1430 in call to pe_create_import_fixup.
1431 (pe_find_data_imports): Move to...
1432 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
1433 the auto-import pass and add a guard before running the latter.
1434 * emultempl/pep.em (U_SIZE): Delete.
1435 (pep_data_import_dll): Likewise.
1436 (make_import_fixup): Return void, take 4th parameter and pass it down
1437 in call to pe_create_import_fixup.
1438 (pep_find_data_imports): Move to...
1439 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
1440 the auto-import pass and add a guard before running the latter.
1441 * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean.
1442 (pe_walk_relocs_of_symbol): Rename into...
1443 (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the
1444 callback prototype and pass 4th parameter in calls to the callback.
1445 If the import hash table is present, invoke the callback on the reloc
1446 if the symbol name is in the table.
1447 (pe_find_data_imports): ...here. Take 2 parameters. Build an import
1448 hash table for the pseudo-relocation support version 2. When it is
1449 built, walk the relocations only once at the end; when it is not, do
1450 not build a fixup when the symbol isn't part of an import table.
1451 Issue the associated warning only after a first fixup is built.
1452 (tmp_seq2): Delete.
1453 (make_singleton_name_imp): Likewise.
1454 (make_import_fixup_mark): Return const char * and a stable string.
1455 (make_import_fixup_entry): Do not deal with the pseudo-relocation
1456 support version 2.
1457 (make_runtime_pseudo_reloc): Factor out code and fix formatting.
1458 (pe_create_import_fixup): Add 5th parameter. Clearly separate the
1459 pseudo-relocation support version 2 from the rest. Fix formatting.
1460 * pe-dll.h (pe_walk_relocs_of_symbol): Delete.
1461 (pe_find_data_imports): Declare.
1462 (pe_create_import_fixup): Add 5th parameter.
1463 * pep-dll.c (pe_data_import_dll): Delete.
1464 (pe_find_data_imports): Define.
1465 (pe_walk_relocs_of_symbol): Delete.
1466 * pep-dll.h (pep_walk_relocs_of_symbol): Delete.
1467 (pep_find_data_imports): Declare.
1468 (pep_create_import_fixup): Add 5th parameter.
1469 * ld.texinfo (--enable-auto-import): Adjust to new implementation.
1470
4fb0d2b9
NC
14712018-04-04 Nick Clifton <nickc@redhat.com>
1472
1473 * po/es.po: Updated Spanish translation.
1474
dfdad367
MR
14752018-04-03 Maciej W. Rozycki <macro@mips.com>
1476
1477 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
1478 `mips*-*-kfreebsd*-gnu' targets.
1479
e04ef022
RL
14802018-03-23 Renlin Li <renlin.li@arm.com>
1481
1482 PR ld/22970
1483 * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests.
1484 * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New.
1485 * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New.
1486 * testsuite/ld-aarch64/emit-relocs-552.d: New.
1487 * testsuite/ld-aarch64/emit-relocs-552.s: New.
1488 * testsuite/ld-aarch64/emit-relocs-553.d: New.
1489 * testsuite/ld-aarch64/emit-relocs-553.s: New.
1490 * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New.
1491 * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New.
1492 * testsuite/ld-aarch64/emit-relocs-554.d: New.
1493 * testsuite/ld-aarch64/emit-relocs-554.s: New.
1494 * testsuite/ld-aarch64/emit-relocs-555.d: New.
1495 * testsuite/ld-aarch64/emit-relocs-555.s: New.
1496 * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New.
1497 * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New.
1498 * testsuite/ld-aarch64/emit-relocs-556.d: New.
1499 * testsuite/ld-aarch64/emit-relocs-556.s: New.
1500 * testsuite/ld-aarch64/emit-relocs-557.d: New.
1501 * testsuite/ld-aarch64/emit-relocs-557.s: New.
1502 * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New.
1503 * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New.
1504 * testsuite/ld-aarch64/emit-relocs-558.d: New.
1505 * testsuite/ld-aarch64/emit-relocs-558.s: New.
1506 * testsuite/ld-aarch64/emit-relocs-559.d: New.
1507 * testsuite/ld-aarch64/emit-relocs-559.s: New.
1508 * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New.
1509 * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New.
1510 * testsuite/ld-aarch64/emit-relocs-112.d: New.
1511 * testsuite/ld-aarch64/emit-relocs-112.s: New.
1512 * testsuite/ld-aarch64/emit-relocs-113.d: New.
1513 * testsuite/ld-aarch64/emit-relocs-113.s: New.
1514 * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New.
1515 * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New.
1516 * testsuite/ld-aarch64/emit-relocs-114.d: New.
1517 * testsuite/ld-aarch64/emit-relocs-114.s: New.
1518 * testsuite/ld-aarch64/emit-relocs-115.d: New.
1519 * testsuite/ld-aarch64/emit-relocs-115.s: New.
1520 * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New.
1521 * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New.
1522 * testsuite/ld-aarch64/emit-relocs-116.d: New.
1523 * testsuite/ld-aarch64/emit-relocs-116.s: New.
1524 * testsuite/ld-aarch64/emit-relocs-117.d: New.
1525 * testsuite/ld-aarch64/emit-relocs-117.s: New.
1526 * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New.
1527 * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New.
1528 * testsuite/ld-aarch64/emit-relocs-118.d: New.
1529 * testsuite/ld-aarch64/emit-relocs-118.s: New.
1530 * testsuite/ld-aarch64/emit-relocs-119.d: New.
1531 * testsuite/ld-aarch64/emit-relocs-119.s: New.
1532
f8745e1c
EB
15332018-03-28 Eric Botcazou <ebotcazou@adacore.com>
1534
1535 PR ld/22972
1536 * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs.
1537 * testsuite/ld-sparc/gotop-hidden.c: New file.
1538 * testsuite/ld-sparc/got-hidden32.s: Likewise.
1539 * testsuite/ld-sparc/got-hidden64.s: Likewise.
1540 * testsuite/ld-sparc/pass.out: Likewise.
1541
bf54968b
L
15422018-03-25 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 PR ld/23000
1545 * testsuite/ld-x86-64/tlsdesc.pd: Updated.
1546
f6c4d4b1
NC
15472018-03-23 Nick Clifton <nickc@redhat.com>
1548
1549 PR 22948
1550 * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template
1551 to library name list.
1552 * emultempl/pep.em (open_dynamic_archive): Likewise.
1553 * ld.texinfo (WIN32): Update documentation.
1554
cbac2231
RM
15552018-03-20 Roland McGrath <mcgrathr@google.com>
1556
1557 * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*,
1558 another target without RELRO.
1559
8c5b71ad
L
15602018-03-20 H.J. Lu <hongjiu.lu@intel.com>
1561
1562 * testsuite/ld-plugin/pr22983.d: Allow leading underscore as
1563 well as extra lines between symbols.
1564
ed381877
MR
15652018-03-20 Maciej W. Rozycki <macro@mips.com>
1566
1567 * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the
1568 personality test.
1569
416c34d6
L
15702018-03-20 H.J. Lu <hongjiu.lu@intel.com>
1571
1572 PR ld/22983
1573 * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test.
1574 * testsuite/ld-plugin/pr22983.d: New file.
1575 * testsuite/ld-plugin/pr22983.t: Likewise.
1576 * testsuite/ld-plugin/pr22983a.c: Likewise.
1577 * testsuite/ld-plugin/pr22983b.c: Likewise.
1578
202d116e
AS
15792018-03-15 Andreas Schwab <schwab@suse.de>
1580
1581 PR ld/22949
1582 * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't
1583 enable relaxation in relocatable link.
1584
f9671640
KLC
15852018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1586
1587 * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove
1588 unsupported target feature.
1589
9e223787
L
15902018-03-14 H.J. Lu <hongjiu.lu@intel.com>
1591
1592 PR ld/20882
1593 * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
1594 section.
1595 * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.
1596
bf485201
L
15972018-03-14 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS.
1600
b4a3689a
NC
16012018-03-13 Nick Clifton <nickc@redhat.com>
1602
1603 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1604
f657f8c4
NC
16052018-03-09 Nick Clifton <nickc@redhat.com>
1606
1607 * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets
1608 that support IFUNC symbols can handle relocations against those
1609 symbols in NOTE sections.
1610 * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new
1611 test.
1612 * testsuite/ld-ifunc/ifunc.exp: Run the new test.
1613
347a8774
L
16142018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 PR ld/22929
1617 * testsuite/ld-i386/i386.exp: Run PR ld/22929 test.
1618 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1619 * testsuite/ld-i386/pr22929.d: New file.
1620 * testsuite/ld-i386/pr22929.s: Likewise.
1621 * testsuite/ld-x86-64/pr22929.d: Likewise.
1622 * testsuite/ld-x86-64/pr22929.s: Likewise.
1623
d6ab6481
MF
16242018-03-07 Max Filippov <jcmvbkbc@gmail.com>
1625
1626 * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
1627
0c1ded8d
RL
16282018-03-07 Renlin Li <renlin.li@arm.com>
1629
1630 PR ld/20402
1631 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1632 * testsuite/ld-aarch64/pr20402.s: New.
1633 * testsuite/ld-aarch64/pr20402.d: New.
1634
770aa8a3
JW
16352018-03-06 Jim Wilson <jimw@sifive.com>
1636
1637 PR 22920
1638 * emultempl/riscvelf.em (riscv_create_output_section_statements): New.
1639 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New.
1640 * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*.
1641 * testsuite/ld-unique/pr21529.d (#notarget): Likewise.
1642 * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target,
1643 call setup_xfail.
1644
dfb93f11
JC
16452018-03-03 James Cowgill <james.cowgill@mips.com>
1646 Maciej W. Rozycki <macro@mips.com>
1647
1648 PR ld/21900
1649 * testsuite/ld-mips-elf/undefined-warn.d: New test.
1650 * testsuite/ld-mips-elf/undefined.s: Add padding at the end.
1651 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1652
9a2ebffd
JW
16532018-03-02 Jim Wilson <jimw@sifive.com>
1654
1655 PR 22903
1656 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1657 Give stub_sec 8 byte alignment.
1658 * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5.
1659 * emulparams/aarch64elf.sh (NOP): Likewise.
1660 * emulparams/aarch64elf32.sh (NOP): Likewise.
1661 * emulparams/aarch64fbsd.sh (NOP): Likewise.
1662 * emulparams/aarch64linux.sh (NOP): Likewise.
1663 * emulparams/aarch64linux32.sh (NOP): Likewise.
1664 * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop.
1665 * testsuite/ld-aarch64/erratum843419.d: Likewise.
1666 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
1667 * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise.
1668 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
1669 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
1670 * testsuite/ld-aarch64/farcall-b.d: Likewise.
1671 * testsuite/ld-aarch64/farcall-back.d: Likewise.
1672 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
1673 * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise.
1674 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
1675 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1676 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
1677
e184813f
AM
16782018-03-01 Alan Modra <amodra@gmail.com>
1679
1680 * configure.ac (ALL_LINGUAS): Add ja. Sort.
1681 * configure: Regenerate.
1682
889be5db
DR
16832018-02-28 Douglas B Rupp <rupp@adacore.com>
1684
1685 * ldmain.c (main): Remove directory separator, if any, from the
1686 end of the canonicalized sysroot.
1687
f6aec96d
L
16882018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 * NEWS: Mention --enable-separate-code.
1691 * configure.ac: Add --enable-separate-code.
1692 (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED.
1693 * configure.tgt: Default ac_default_ld_z_separate_code to 1 for
1694 Linux/x86 targets.
1695 * config.in: Regenerated.
1696 * configure: Likewise.
1697 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1698 link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE.
1699
df5f2391
AM
17002018-02-26 Alan Modra <amodra@gmail.com>
1701
1702 * emulparams/call_nop.sh, * emulparams/cet.sh,
1703 * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em
1704 * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em,
1705 * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em,
1706 * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em,
1707 * emultempl/elf-generic.em, * emultempl/hppaelf.em,
1708 * emultempl/linux.em, * emultempl/lnk960.em,
1709 * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em,
1710 * emultempl/m68kelf.em, * emultempl/metagelf.em,
1711 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
1712 * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em,
1713 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
1714 * emultempl/ppc32elf.em, * emultempl/ppc64elf.em,
1715 * emultempl/scoreelf.em, * emultempl/sh64elf.em,
1716 * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em,
1717 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
1718 * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c,
1719 * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c,
1720 * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c,
1721 * plugin.c: Standardize error/warning messages.
1722 * testsuite/ld-arc/jli-overflow.err,
1723 * testsuite/ld-arm/cmse-implib-errors.out,
1724 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1725 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1726 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1727 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1728 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1729 * testsuite/ld-arm/vxworks1-static.d,
1730 * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d,
1731 * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d,
1732 * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d,
1733 * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d,
1734 * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d,
1735 * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d,
1736 * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d,
1737 * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err,
1738 * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l,
1739 * testsuite/ld-i386/vxworks1-static.d,
1740 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
1741 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
1742 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
1743 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
1744 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
1745 * testsuite/ld-mips-elf/bal-jalx-pic.d,
1746 * testsuite/ld-mips-elf/jal-global-overflow-1.d,
1747 * testsuite/ld-mips-elf/jal-local-overflow-1.d,
1748 * testsuite/ld-mips-elf/mode-change-error-1.d,
1749 * testsuite/ld-mips-elf/unaligned-branch-2.d,
1750 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
1751 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
1752 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
1753 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
1754 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
1755 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
1756 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
1757 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
1758 * testsuite/ld-mips-elf/unaligned-branch.d,
1759 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
1760 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
1761 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
1762 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
1763 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
1764 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
1765 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
1766 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
1767 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
1768 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
1769 * testsuite/ld-mips-elf/unaligned-jump.d,
1770 * testsuite/ld-mips-elf/unaligned-ldpc-1.d,
1771 * testsuite/ld-mips-elf/unaligned-lwpc-1.d,
1772 * testsuite/ld-mips-elf/undefined.d,
1773 * testsuite/ld-mips-elf/vxworks1-static.d,
1774 * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d,
1775 * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d,
1776 * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d,
1777 * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d,
1778 * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d,
1779 * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d,
1780 * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d,
1781 * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d,
1782 * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d,
1783 * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d,
1784 * testsuite/ld-powerpc/aix-weak-3-32.d,
1785 * testsuite/ld-powerpc/aix-weak-3-64.d,
1786 * testsuite/ld-powerpc/vxworks1-static.d,
1787 * testsuite/ld-sh/vxworks1-static.d,
1788 * testsuite/ld-sparc/vxworks1-static.d,
1789 * testsuite/ld-undefined/undefined.exp,
1790 * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings.
1791 * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex.
1792
33589acb
AM
17932018-02-26 Alan Modra <amodra@gmail.com>
1794
1795 * Makefile.am (EMULATION_FILES, POTFILES): Delete.
1796 (SRC_POTFILES, BLD_POTFILES): Define.
1797 (po/POTFILES.in): Delete rule.
1798 (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules.
1799 * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile.
1800 * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in
1801 and BLD-POTFILES.in.
1802 (POTFILES): Delete.
1803 (SRC-POTFILES, BLD-POTFILES): Define place marker.
1804 (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES.
1805 (distclean, maintainer-clean): Tidy up new files.
1806 (POTFILES, POTFILES.in): Delete rules.
1807 (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in):
1808 New rules.
1809 (Makefile): Depend on SRC-POTFILES and BLD-POTFILES.
1810 * po/SRC-POTFILES.in: Rename from po/POTFILES.in.
1811 * po/BLD-POTFILES.in: New file.
1812 * Makefile.in: Regenerate.
1813 * configure: Regenerate.
1814
38f14ab8
AM
18152018-02-26 Alan Modra <amodra@gmail.com>
1816
1817 * testsuite/ld-cris/pcrelcp-1.d,
1818 * testsuite/ld-mmix/start-2.d: Update.
1819
6e05870c
AM
18202018-02-26 Alan Modra <amodra@gmail.com>
1821
1822 * testsuite/ld-arm/cmse-implib-errors.out,
1823 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1824 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1825 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1826 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1827 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1828 * testsuite/ld-cris/badgotr1.d,
1829 * testsuite/ld-cris/tls-err-24.d,
1830 * testsuite/ld-cris/tls-err-25.d,
1831 * testsuite/ld-cris/tls-err-26.d,
1832 * testsuite/ld-cris/tls-err-27.d,
1833 * testsuite/ld-cris/tls-err-28.d,
1834 * testsuite/ld-cris/tls-err-40.d,
1835 * testsuite/ld-cris/tls-err-44.d,
1836 * testsuite/ld-cris/tls-err-48.d,
1837 * testsuite/ld-cris/tls-err-52.d,
1838 * testsuite/ld-cris/tls-err-53.d,
1839 * testsuite/ld-cris/tls-err-55.d,
1840 * testsuite/ld-cris/tls-err-56.d,
1841 * testsuite/ld-cris/tls-err-62.d,
1842 * testsuite/ld-cris/tls-err-65.d,
1843 * testsuite/ld-cris/tls-err-77.d,
1844 * testsuite/ld-elf/empty-implib.out,
1845 * testsuite/ld-elf/indirect.exp: Update.
1846
90b6238f
AM
18472018-02-26 Alan Modra <amodra@gmail.com>
1848
1849 * testsuite/ld-aarch64/reloc-overflow-bad.d,
1850 * testsuite/ld-arm/attr-merge-9.out,
1851 * testsuite/ld-arm/attr-merge-arch-2.d,
1852 * testsuite/ld-arm/attr-merge-unknown-1.d,
1853 * testsuite/ld-arm/attr-merge-unknown-2.d,
1854 * testsuite/ld-arm/attr-merge-unknown-2r.d,
1855 * testsuite/ld-arm/attr-merge-unknown-3.d,
1856 * testsuite/ld-arm/cmse-implib-errors.out,
1857 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1858 * testsuite/ld-arm/cmse-new-implib-no-output.out,
1859 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1860 * testsuite/ld-arm/cmse-new-implib.out,
1861 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1862 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1863 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1864 * testsuite/ld-arm/group-relocs-alu-bad-2.d,
1865 * testsuite/ld-arm/group-relocs-alu-bad.d,
1866 * testsuite/ld-arm/group-relocs-ldc-bad-2.d,
1867 * testsuite/ld-arm/group-relocs-ldc-bad.d,
1868 * testsuite/ld-arm/group-relocs-ldr-bad-2.d,
1869 * testsuite/ld-arm/group-relocs-ldr-bad.d,
1870 * testsuite/ld-arm/group-relocs-ldrs-bad-2.d,
1871 * testsuite/ld-arm/group-relocs-ldrs-bad.d,
1872 * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update.
1873
2c1c9679
AM
18742018-02-26 Alan Modra <amodra@gmail.com>
1875
1876 * testsuite/ld-mips-elf/attr-gnu-4-12.d,
1877 * testsuite/ld-mips-elf/attr-gnu-4-13.d,
1878 * testsuite/ld-mips-elf/attr-gnu-4-14.d,
1879 * testsuite/ld-mips-elf/attr-gnu-4-16.d,
1880 * testsuite/ld-mips-elf/attr-gnu-4-17.d,
1881 * testsuite/ld-mips-elf/attr-gnu-4-18.d,
1882 * testsuite/ld-mips-elf/attr-gnu-4-19.d,
1883 * testsuite/ld-mips-elf/attr-gnu-4-21.d,
1884 * testsuite/ld-mips-elf/attr-gnu-4-23.d,
1885 * testsuite/ld-mips-elf/attr-gnu-4-24.d,
1886 * testsuite/ld-mips-elf/attr-gnu-4-25.d,
1887 * testsuite/ld-mips-elf/attr-gnu-4-26.d,
1888 * testsuite/ld-mips-elf/attr-gnu-4-27.d,
1889 * testsuite/ld-mips-elf/attr-gnu-4-28.d,
1890 * testsuite/ld-mips-elf/attr-gnu-4-29.d,
1891 * testsuite/ld-mips-elf/attr-gnu-4-31.d,
1892 * testsuite/ld-mips-elf/attr-gnu-4-32.d,
1893 * testsuite/ld-mips-elf/attr-gnu-4-34.d,
1894 * testsuite/ld-mips-elf/attr-gnu-4-35.d,
1895 * testsuite/ld-mips-elf/attr-gnu-4-36.d,
1896 * testsuite/ld-mips-elf/attr-gnu-4-37.d,
1897 * testsuite/ld-mips-elf/attr-gnu-4-38.d,
1898 * testsuite/ld-mips-elf/attr-gnu-4-39.d,
1899 * testsuite/ld-mips-elf/attr-gnu-4-41.d,
1900 * testsuite/ld-mips-elf/attr-gnu-4-42.d,
1901 * testsuite/ld-mips-elf/attr-gnu-4-43.d,
1902 * testsuite/ld-mips-elf/attr-gnu-4-45.d,
1903 * testsuite/ld-mips-elf/attr-gnu-4-46.d,
1904 * testsuite/ld-mips-elf/attr-gnu-4-47.d,
1905 * testsuite/ld-mips-elf/attr-gnu-4-48.d,
1906 * testsuite/ld-mips-elf/attr-gnu-4-49.d,
1907 * testsuite/ld-mips-elf/attr-gnu-4-52.d,
1908 * testsuite/ld-mips-elf/attr-gnu-4-53.d,
1909 * testsuite/ld-mips-elf/attr-gnu-4-54.d,
1910 * testsuite/ld-mips-elf/attr-gnu-4-58.d,
1911 * testsuite/ld-mips-elf/attr-gnu-4-59.d,
1912 * testsuite/ld-mips-elf/attr-gnu-4-61.d,
1913 * testsuite/ld-mips-elf/attr-gnu-4-62.d,
1914 * testsuite/ld-mips-elf/attr-gnu-4-63.d,
1915 * testsuite/ld-mips-elf/attr-gnu-4-64.d,
1916 * testsuite/ld-mips-elf/attr-gnu-4-68.d,
1917 * testsuite/ld-mips-elf/attr-gnu-4-69.d,
1918 * testsuite/ld-mips-elf/attr-gnu-4-71.d,
1919 * testsuite/ld-mips-elf/attr-gnu-4-72.d,
1920 * testsuite/ld-mips-elf/attr-gnu-4-73.d,
1921 * testsuite/ld-mips-elf/attr-gnu-4-74.d,
1922 * testsuite/ld-mips-elf/attr-gnu-4-78.d,
1923 * testsuite/ld-mips-elf/attr-gnu-4-79.d,
1924 * testsuite/ld-mips-elf/attr-gnu-4-81.d,
1925 * testsuite/ld-mips-elf/attr-gnu-4-89.d,
1926 * testsuite/ld-mips-elf/attr-gnu-8-12.d,
1927 * testsuite/ld-mips-elf/attr-gnu-8-21.d,
1928 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
1929 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
1930 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
1931 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
1932 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
1933 * testsuite/ld-mips-elf/bal-jalx-pic.d,
1934 * testsuite/ld-mips-elf/mode-change-error-1.d,
1935 * testsuite/ld-mips-elf/unaligned-branch-2.d,
1936 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
1937 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
1938 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
1939 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
1940 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
1941 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
1942 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
1943 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
1944 * testsuite/ld-mips-elf/unaligned-branch.d,
1945 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
1946 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
1947 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
1948 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
1949 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
1950 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
1951 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
1952 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
1953 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
1954 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
1955 * testsuite/ld-mips-elf/unaligned-jump.d: Update.
1956
9793eb77
AM
19572018-02-26 Alan Modra <amodra@gmail.com>
1958
1959 * testsuite/ld-elf/indirect.exp,
1960 * testsuite/ld-elf/pr22649-2ab-mips.msg,
1961 * testsuite/ld-elf/pr22649-2cd-mips.msg,
1962 * testsuite/ld-elf/pr22649.msg,
1963 * testsuite/ld-elf/tls_common.exp,
1964 * testsuite/ld-elfcomm/elfcomm.exp,
1965 * testsuite/ld-arm/attr-merge-incompatible.d,
1966 * testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
1967 * testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
1968 * testsuite/ld-tic6x/attr-compatibility-other-other.d,
1969 * testsuite/ld-i386/warn1.d: Update expected error/warning messages.
1970
cf97bcb0
AM
19712018-02-26 Alan Modra <amodra@gmail.com>
1972
1973 * testsuite/ld-powerpc/attr-gnu-12-21.d,
1974 * testsuite/ld-powerpc/attr-gnu-4-12.d,
1975 * testsuite/ld-powerpc/attr-gnu-4-13.d,
1976 * testsuite/ld-powerpc/attr-gnu-4-21.d,
1977 * testsuite/ld-powerpc/attr-gnu-4-23.d,
1978 * testsuite/ld-powerpc/attr-gnu-4-31.d,
1979 * testsuite/ld-powerpc/attr-gnu-4-32.d,
1980 * testsuite/ld-powerpc/attr-gnu-8-23.d: Update.
1981
bbad9962
AM
19822018-02-21 Alan Modra <amodra@gmail.com>
1983
1984 * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather
1985 than notarget.
1986 * testsuite/ld-elf/pr12851.d: Likewise.
1987 * testsuite/ld-elf/pr12975.d: Likewise.
1988 * testsuite/ld-elf/pr13177.d: Likewise.
1989 * testsuite/ld-elf/pr13195.d: Likewise.
1990 * testsuite/ld-elf/pr17615.d: Likewise.
1991 * testsuite/ld-elf/pr21562a.d: Likewise.
1992 * testsuite/ld-elf/pr21562b.d: Likewise.
1993 * testsuite/ld-elf/pr21562c.d: Likewise.
1994 * testsuite/ld-elf/pr21562d.d: Likewise.
1995 * testsuite/ld-elf/pr21562i.d: Likewise.
1996 * testsuite/ld-elf/pr21562j.d: Likewise.
1997 * testsuite/ld-elf/pr21562k.d: Likewise.
1998 * testsuite/ld-elf/pr21562l.d: Likewise.
1999 * testsuite/ld-elf/pr21562m.d: Likewise.
2000 * testsuite/ld-elf/pr21562n.d: Likewise.
2001 * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail
2002 rather than notarget.
2003 * testsuite/ld-elf/group9b.d: Likewise.
2004 * testsuite/ld-elf/pr22677.d: Likewise.
2005
6798f8bf
MR
20062018-02-19 Maciej W. Rozycki <macro@mips.com>
2007
2008 * testsuite/ld-mips-elf/reginfo-0.d: New test.
2009 * testsuite/ld-mips-elf/reginfo-0r.d: New test.
2010 * testsuite/ld-mips-elf/reginfo-1.d: New test.
2011 * testsuite/ld-mips-elf/reginfo-1r.d: New test.
2012 * testsuite/ld-mips-elf/reginfo-2.d: New test.
2013 * testsuite/ld-mips-elf/reginfo-2r.d: New test.
2014 * testsuite/ld-mips-elf/mips-abiflags-0.d: New test.
2015 * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test.
2016 * testsuite/ld-mips-elf/mips-abiflags-1.d: New test.
2017 * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test.
2018 * testsuite/ld-mips-elf/mips-abiflags-2.d: New test.
2019 * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test.
2020 * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script.
2021 * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script.
2022 * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker
2023 script.
2024 * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker
2025 script.
2026 * testsuite/ld-mips-elf/reginfo-1.s: New test source.
2027 * testsuite/ld-mips-elf/reginfo-2.s: New test source.
2028 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2029
8772de11
MR
20302018-02-19 Maciej W. Rozycki <macro@mips.com>
2031
2032 * ldlang.c (insert_pad): Do not change output section's size if
2033 SEC_FIXED_SIZE is set in the flags.
2034 (size_input_section): Likewise.
2035 (lang_size_sections_1): Likewise.
2036 (lang_reset_memory_regions): Likewise.
2037
c1c8c1ef
AM
20382018-02-19 Alan Modra <amodra@gmail.com>
2039
2040 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
2041 %I, %R, %S and %T.
2042 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
2043 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
2044 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
2045 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
2046
871b3ab2
AM
20472018-02-19 Alan Modra <amodra@gmail.com>
2048
2049 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
2050 * ldcref.c: Update all messages using %A and %B.
2051 * ldexp.c: Likewise.
2052 * ldlang.c: Likewise.
2053 * ldmain.c: Likewise.
2054 * ldmisc.c: Likewise.
2055 * pe-dll.c: Likewise.
2056 * plugin.c: Likewise.
2057 * emultempl/beos.em: Likewise.
2058 * emultempl/cr16elf.em: Likewise.
2059 * emultempl/elf32.em: Likewise.
2060 * emultempl/m68kcoff.em: Likewise.
2061 * emultempl/m68kelf.em: Likewise.
2062 * emultempl/mmo.em: Likewise.
2063 * emultempl/nds32elf.em: Likewise.
2064 * emultempl/pe.em: Likewise.
2065 * emultempl/pep.em: Likewise.
2066 * emultempl/spuelf.em: Likewise.
2067 * emultempl/sunos.em: Likewise.
2068 * emultempl/xtensaelf.em: Likewise.
2069
f61f94ec
L
20702018-02-19 H.J. Lu <hongjiu.lu@intel.com>
2071
2072 PR ld/22845
2073 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
2074 Add tests for "-z noseparate-code" and "-z separate-code".
2075 Remove unsupported -shared check.
2076
d85502cf
L
20772018-02-17 H.J. Lu <hongjiu.lu@intel.com>
2078
2079 PR ld/22845
2080 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
2081
34b00afa
L
20822018-02-17 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 PR ld/22845
2085 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
2086 "-z noseparate-code" and "-z separate-code".
2087
92d9e363
L
20882018-02-17 H.J. Lu <hongjiu.lu@intel.com>
2089
2090 PR ld/22845
2091 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
2092 to ld.
2093
c2596c4a
L
20942018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2095
2096 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
2097 max-page-size=0x200000 -z noseparate-code.
2098 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
2099 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
2100 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
2101 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
2102 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
2103 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
2104 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
2105 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
2106 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
2107 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
2108 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
2109 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
2110 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
2111 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
2112 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
2113 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
2114 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
2115 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
2116 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
2117 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
2118 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
2119 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
2120 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
2121 * testsuite/ld-x86-64/load1a.d: Likewise.
2122 * testsuite/ld-x86-64/load1b.d: Likewise.
2123 * testsuite/ld-x86-64/load1c.d: Likewise.
2124 * testsuite/ld-x86-64/load1d.d: Likewise.
2125 * testsuite/ld-x86-64/pie3.d: Likewise.
2126 * testsuite/ld-x86-64/pr14207.d: Likewise.
2127 * testsuite/ld-x86-64/pr17618.d: Likewise.
2128 * testsuite/ld-x86-64/pr19162.d: Likewise.
2129 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
2130 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
2131 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
2132 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
2133 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
2134 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
2135 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
2136 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
2137 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
2138 * testsuite/ld-x86-64/pr20830a.d: Likewise.
2139 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
2140 * testsuite/ld-x86-64/pr20830b.d: Likewise.
2141 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
2142 * testsuite/ld-x86-64/pr21038a.d: Likewise.
2143 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
2144 * testsuite/ld-x86-64/pr21038b.d: Likewise.
2145 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
2146 * testsuite/ld-x86-64/pr21038c.d: Likewise.
2147
c441b623
L
21482018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2149
2150 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
2151 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2152
197741f1
L
21532018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2154
2155 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
2156 -z noseparate-code.
2157
7c9f387a
L
21582018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2159
2160 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
2161 -z max-page-size=0x200000, excluding NaCl target.
2162
c9d3eb5f
L
21632018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2164
2165 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
2166 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
2167 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
2168 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2169 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2170 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
2171 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
2172
679a5bc8
L
21732018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2174
2175 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
2176 -z max-page-size=0x200000 -z noseparate-code.
2177 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
2178 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
2179 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2180 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2181 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
2182 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
2183
62e2b91b
L
21842018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2185
2186 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
2187 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2188 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2189
9f4aec8d
L
21902018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2191
2192 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
2193 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
2194 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
2195
410a69a0
L
21962018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2197
2198 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
2199 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
2200 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
2201 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
2202 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
2203 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
2204 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
2205 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
2206 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
2207 * testsuite/ld-i386/load1.d: Likewise.
2208 * testsuite/ld-i386/pie1.d: Likewise.
2209 * testsuite/ld-i386/pr20244-1a.d: Likewise.
2210 * testsuite/ld-i386/pr20244-1b.d: Likewise.
2211 * testsuite/ld-i386/pr20244-2a.d: Likewise.
2212 * testsuite/ld-i386/pr20244-2b.d: Likewise.
2213 * testsuite/ld-i386/pr20244-2c.d: Likewise.
2214 * testsuite/ld-i386/pr20244-4a.d: Likewise.
2215 * testsuite/ld-i386/pr20244-4b.d: Likewise.
2216 * testsuite/ld-i386/pr20830.d: Likewise.
2217
75bd00e8
L
22182018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2219
2220 * testsuite/ld-i386/pr19636-1a.d: Updated.
2221 * testsuite/ld-i386/pr19636-1b.d: Likewise.
2222 * testsuite/ld-i386/pr19636-1j.d: Likewise.
2223 * testsuite/ld-i386/pr19636-1k.d: Likewise.
2224 * testsuite/ld-i386/pr19636-2a.d: Likewise.
2225 * testsuite/ld-i386/pr19636-2b.d: Likewise.
2226
760b2893
L
22272018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2228
2229 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
2230
75cdede0
L
22312018-02-16 H.J. Lu <hongjiu.lu@intel.com>
2232
2233 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
2234 * testsuite/ld-elf/textaddr1.d: Likewise.
2235 * testsuite/ld-elf/textaddr2.d: Likewise.
2236 * testsuite/ld-elf/textaddr4.d: Likewise.
2237 * testsuite/ld-elf/textaddr6.d: Likewise.
2238
2a0d9853
JW
22392018-02-15 Jim Wilson <jimw@sifive.com>
2240
2241 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
2242 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
2243 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
2244
451875b4
L
22452018-02-14 H.J. Lu <hongjiu.lu@intel.com>
2246
2247 PR ld/22842
2248 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
2249 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2250 * testsuite/ld-i386/pr22842a.c: New file.
2251 * testsuite/ld-i386/pr22842b.S: Likewise.
2252 * testsuite/ld-x86-64/pr22842a.c: Likewise.
2253 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
2254 * testsuite/ld-x86-64/pr22842b.S: Likewise.
2255 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
2256
d4dd94f8
MR
22572018-02-14 Maciej W. Rozycki <macro@mips.com>
2258
2259 * ldlex.h (ldlex_command): Remove prototype.
2260
85f2093d
L
22612018-02-13 H.J. Lu <hongjiu.lu@intel.com>
2262
2263 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
2264 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
2265
60f763ee
AM
22662018-02-14 H.J. Lu <hongjiu.lu@intel.com>
2267
2268 PR 22836
2269 * testsuite/ld-elf/pr22836-1.s: New file.
2270 * testsuite/ld-elf/pr22836-1a.d: Likewise.
2271 * testsuite/ld-elf/pr22836-1b.d: Likewise.
2272
bd7ab16b
L
22732018-02-13 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 PR gas/22791
2276 * testsuite/ld-x86-64/mpx1c.rd: Updated.
2277 * testsuite/ld-x86-64/pr22791-1.err: New file.
2278 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
2279 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
2280 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
2281 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
2282 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
2283 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
2284 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
2285
6e5e9d58
AM
22862018-02-13 Alan Modra <amodra@gmail.com>
2287
2288 PR 22836
2289 * testsuite/ld-elf/pr22836-2.d,
2290 * testsuite/ld-elf/pr22836-2.s: New test.
2291
f2731e0c
AM
22922018-02-13 Alan Modra <amodra@gmail.com>
2293
2294 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
2295
407aa07c
AM
22962018-02-07 Alan Modra <amodra@gmail.com>
2297
2298 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
2299 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
2300 * emultempl/ppc64elf.em: Likesize
2301 * ld.texinfo: Likewise
2302 * testsuite/ld-powerpc/elfv2exe.d,
2303 * testsuite/ld-powerpc/elfv2so.d,
2304 * testsuite/ld-powerpc/relbrlt.d,
2305 * testsuite/ld-powerpc/powerpc.exp: Likewise.
2306
c20c30f6
EB
23072018-02-06 Eric Botcazou <ebotcazou@adacore.com>
2308
2309 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
2310 (pr22263-1): Pass AFLAGS_PIC to the assembler.
2311 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
2312 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
2313 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
2314 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
2315
279b2f94
RL
23162018-02-05 Renlin Li <renlin.li@arm.com>
2317
2318 PR ld/22764
2319 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
2320 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
2321 * testsuite/ld-aarch64/pr22764.s: New.
2322 * testsuite/ld-aarch64/pr22764.d: New.
2323
cd048363
L
23242018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 PR ld/22782
2327 * testsuite/ld-i386/discarded1.s: Replace mov with div.
2328 * testsuite/ld-x86-64/discarded1.s: Likewise.
2329 * testsuite/ld-i386/i386.exp: Run pr22782.
2330 * testsuite/ld-i386/load1-nacl.d: Updated for removing
2331 _GLOBAL_OFFSET_TABLE_ from output.
2332 * testsuite/ld-i386/load1.d: Likewise.
2333 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
2334 * testsuite/ld-x86-64/load1a.d: Likewise.
2335 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
2336 * testsuite/ld-x86-64/load1b.d: Likewise.
2337 * testsuite/ld-i386/pr22782.d: New file.
2338 * testsuite/ld-i386/pr22782.s: Likewise.
2339 * testsuite/ld-x86-64/pr22782.s: Likewise.
2340 * testsuite/ld-x86-64/pr22782a.d: Likewise.
2341 * testsuite/ld-x86-64/pr22782b.d: Likewise.
2342 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
2343
f174ef9f
NC
23442018-02-05 Nick Clifton <nickc@redhat.com>
2345
2346 * po/pt_BR.po: Updated Brazilian Portuguese translation.
2347
9f7393d8
L
23482018-02-04 H.J. Lu <hongjiu.lu@intel.com>
2349
2350 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
2351 * testsuite/ld-i386/lea1e.d: Likewise.
2352 * testsuite/ld-i386/lea1f.d: Likewise.
2353 * testsuite/ld-x86-64/lea1g.d: Likewise.
2354 * testsuite/ld-x86-64/lea1h.d: Likewise.
2355 * testsuite/ld-x86-64/lea1i.d: Likewise.
2356 * testsuite/ld-x86-64/lea1j.d: Likewise.
2357 * testsuite/ld-x86-64/lea1k.d: Likewise.
2358 * testsuite/ld-x86-64/lea1l.d: Likewise.
2359
b0daac83
NC
23602018-02-03 Nick Clifton <nickc@redhat.com>
2361
2362 PR 22762
2363 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
2364 __DTOR_LIST__ symbols. Add a comment explaining why this is
2365 necessary.
2366 * scripttemp/pep.sc: Likewise.
2367 * ld.texinfo (PROVIDE): Add a note about the effect of common
2368 symbols.
2369
138a158f
SL
23702018-02-03 Sandra Loosemore <sandra@codesourcery.com>
2371
2372 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
2373
e54d3c94
MR
23742018-02-02 Maciej W. Rozycki <macro@mips.com>
2375
2376 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
2377 assembly builds where missing and remove `tic6x-*-*' XFAIL
2378 markings accordingly.
2379
e99955cd
SM
23802018-02-01 Simon Marchi <simon.marchi@ericsson.com>
2381
2382 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
2383 on NULL pointer.
2384
f000c2b9
L
23852018-01-31 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
2388
450b6317
MR
23892018-01-31 Maciej W. Rozycki <macro@mips.com>
2390
2391 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
2392
8988502d
MR
23932018-01-31 Maciej W. Rozycki <macro@mips.com>
2394
2395 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
2396 involving a shared library for `mips*vr4100*-*-elf*',
2397 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
2398 * testsuite/ld-elf/provide-hidden.exp: Likewise.
2399 * testsuite/ld-elf/shared.exp: Likewise.
2400 * testsuite/ld-gc/gc.exp: Likewise.
2401 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
2402
f3a9baf1
MR
24032018-01-31 Maciej W. Rozycki <macro@mips.com>
2404
2405 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
2406 * testsuite/ld-elf/shared.exp: ... here.
2407
bf3077a6
MM
24082018-01-31 Michael Matz <matz@suse.de>
2409
2410 * testsuite/ld-elf/pr21964-5.c: New test.
2411 * testsuite/ld-elf/shared.exp: Run it.
2412
823143c6
L
24132018-01-31 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 PR ld/21964
2416 * testsuite/ld-elf/pr21964-4.c: New file.
2417 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
2418
040b4a9e
AM
24192018-01-30 Alan Modra <amodra@gmail.com>
2420
2421 * testsuite/ld-gc/stop.d,
2422 * testsuite/ld-gc/stop.s: New test.
2423 * testsuite/ld-gc/gc.exp: Run it.
2424
af667f22
MR
24252018-01-30 Maciej W. Rozycki <macro@mips.com>
2426
2427 PR ld/22649
2428 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
2429 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
2430 * testsuite/ld-elf/shared.exp: Use the new outputs with
2431 `mips*-*-*' targets.
2432
82252033
MR
24332018-01-30 Maciej W. Rozycki <macro@mips.com>
2434
2435 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
2436 `PRC[0xff02]' in place of a regular section index.
2437 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
2438
36b8fda5
AM
24392018-01-29 Alan Modra <amodra@gmail.com>
2440
2441 * testsuite/ld-elf/pr21964-3a.c: New file.
2442 * testsuite/ld-elf/pr21964-3c.c: New file.
2443 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
2444
185cdb8c
EB
24452018-01-29 Eric Botcazou <ebotcazou@adacore.com>
2446
2447 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
2448 (pr22269-1): Pass AFLAGS_PIC to the assembler.
2449
d85815e2
EB
24502018-01-29 Eric Botcazou <ebotcazou@adacore.com>
2451
2452 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
2453
86b24e15
MR
24542018-01-29 Maciej W. Rozycki <macro@mips.com>
2455
2456 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
2457 targets using non-traditional MIPS emulation or having a limited
2458 selection of ABIs available. Don't force big endianness, use
2459 defaults.
2460
98d72909
L
24612018-01-29 H.J. Lu <hongjiu.lu@intel.com>
2462
2463 PR ld/22732
2464 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
2465 "-static" if target compiler supports it.
2466 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
2467 tests if target compiler doesn't support it.
2468 * testsuite/ld-ifunc/ifunc.exp: Likewise.
2469 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
2470 (run_cc_link_tests): Likewise.
2471
fef75122
L
24722018-01-27 H.J. Lu <hongjiu.lu@intel.com>
2473
2474 PR ld/22751
2475 * testsuite/config/default.exp (INT128_CFLAGS): New.
2476 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
2477 Run ld/22751 tests.
2478 * testsuite/ld-plugin/pr22751.c: New file.
2479 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
2480 ld trailing options.
2481
d580dcc7
AM
24822018-01-28 Alan Modra <amodra@gmail.com>
2483
2484 PR 22751
2485 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
2486 set.
2487
2ebd05b8
MR
24882018-01-26 Maciej W. Rozycki <macro@mips.com>
2489
2490 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
2491 `mipself'.
2492
bb363086
EB
24932018-01-25 Eric Botcazou <ebotcazou@adacore.com>
2494
2495 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
2496 Link with a version script.
2497 (32-bit: TLS -fpie): New test.
2498 (64-bit: Helper shared library): Link with a version script.
2499 (64-bit: TLS -fpie): New test.
2500 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
2501 * testsuite/ld-sparc/tlslib.ver: New file.
2502 * testsuite/ld-sparc/tlspie32.dd: Likewise.
2503 * testsuite/ld-sparc/tlspie32.s: Likewise.
2504 * testsuite/ld-sparc/tlspie64.dd: Likewise.
2505 * testsuite/ld-sparc/tlspie64.s: Likewise.
2506 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
2507 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
2508 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
2509 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
2510 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
2511 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
2512
1daf502a
RL
25132018-01-24 Renlin Li <renlin.li@arm.com>
2514
2515 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
2516 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
2517 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
2518 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
2519 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
2520 * testsuite/ld-aarch64/emit-relocs-288.d: New.
2521 * testsuite/ld-aarch64/emit-relocs-288.s: New.
2522 * testsuite/ld-aarch64/emit-relocs-289.d: New.
2523 * testsuite/ld-aarch64/emit-relocs-289.s: New.
2524 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
2525 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
2526 * testsuite/ld-aarch64/emit-relocs-290.d: New.
2527 * testsuite/ld-aarch64/emit-relocs-290.s: New.
2528 * testsuite/ld-aarch64/emit-relocs-291.d: New.
2529 * testsuite/ld-aarch64/emit-relocs-291.s: New.
2530 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
2531 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
2532 * testsuite/ld-aarch64/emit-relocs-292.d: New.
2533 * testsuite/ld-aarch64/emit-relocs-292.s: New.
2534 * testsuite/ld-aarch64/emit-relocs-293.d: New.
2535 * testsuite/ld-aarch64/emit-relocs-293.s: New.
2536
8a1b824a
L
25372018-01-20 H.J. Lu <hongjiu.lu@intel.com>
2538
2539 PR ld/22721
2540 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
2541 * testsuite/ld-plugin/pr22721.t: New file.
2542 * testsuite/ld-plugin/pr22721a.s: Likewise.
2543 * testsuite/ld-plugin/pr22721b.c: Likewise.
2544
1ebfa86a
L
25452018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2546
2547 * testsuite/ld-elf/group1.d: Also xfail Solaris.
2548
f7968f08
L
25492018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2550
2551 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
2552 PLT/GOT order/layout for Solaris/x86 targets.
2553 * testsuite/ld-elf/linkinfo1b.d: Likewise.
2554
c5bdb022
L
25552018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2556
2557 PR ld/22728
2558 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
2559 into ...
2560 (elf_solaris2_before_allocation): This.
2561 (LDEMUL_AFTER_ALLOCATION): Removed.
2562
691d2e9a
AM
25632018-01-18 Alan Modra <amodra@gmail.com>
2564
2565 * emultempl/ppc32elf.em: Support optional --plt-align arg.
2566 * emultempl/ppc64elf.em: Support negative --plt-align arg.
2567
1be5d8d3
AM
25682018-01-17 Alan Modra <amodra@gmail.com>
2569
2570 * emultempl/ppc32elf.em (params): Init new field.
2571 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
2572 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
2573 (PARSE_AND_LIST_LONGOPTS): Handle new options.
2574 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2575 (PARSE_AND_LIST_OPTIONS): Likewise.
2576 * emultempl/ppc64elf.em (params): Init new field.
2577 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
2578 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
2579 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
2580 (PARSE_AND_LIST_OPTIONS): Likewise.
2581 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2582 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
2583 (--speculate-indirect-jumps): Document.
2584 * testsuite/ld-powerpc/elfv2exe.d,
2585 * testsuite/ld-powerpc/elfv2so.d,
2586 * testsuite/ld-powerpc/relbrlt.d,
2587 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
2588 speculation barriers on various tests.
2589
9e390558
AM
25902018-01-17 Alan Modra <amodra@gmail.com>
2591
2592 * emultempl/ppc32elf.em (params): Init new field.
2593 (enum ppc32_opt): New enum to define OPTION_* values. Add
2594 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
2595 (PARSE_AND_LIST_LONGOPTS): Handle new options.
2596 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2597 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
2598 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
2599 correctly for negative --plt-stub-align.
2600 * testsuite/ld-powerpc/elfv2exe.d,
2601 * testsuite/ld-powerpc/elfv2so.d,
2602 * testsuite/ld-powerpc/relbrlt.d,
2603 * testsuite/ld-powerpc/relbrlt.s,
2604 * testsuite/ld-powerpc/tlsexe.d,
2605 * testsuite/ld-powerpc/tlsexe.r,
2606 * testsuite/ld-powerpc/tlsexe32.d,
2607 * testsuite/ld-powerpc/tlsexe32.g,
2608 * testsuite/ld-powerpc/tlsexe32.r,
2609 * testsuite/ld-powerpc/tlsexetoc.d,
2610 * testsuite/ld-powerpc/tlsexetoc.r,
2611 * testsuite/ld-powerpc/tlsopt5_32.d,
2612 * testsuite/ld-powerpc/tlsso.d,
2613 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
2614
f6efed01
NC
26152018-01-16 Nick Clifton <nickc@redhat.com>
2616
f174ef9f 2617 * po/pt_BR.po: Updated Brazilian Portuguese translation.
f6efed01 2618
616dcb87
NC
26192018-01-15 Nick Clifton <nickc@redhat.com>
2620
2621 * po/uk.po: Updated Ukranian translation.
2622
3957a496
NC
26232018-01-13 Nick Clifton <nickc@redhat.com>
2624
2625 * po/ld.pot: Regenerated.
2626
769c7ea5
NC
26272018-01-13 Nick Clifton <nickc@redhat.com>
2628
2629 * configure: Regenerate.
2630
9176ac5b
NC
26312018-01-13 Nick Clifton <nickc@redhat.com>
2632
faf766e3 2633 2.30 branch created.
9176ac5b
NC
2634 * NEWS: Add marker for 2.30.
2635
5ae5d3fd
AM
26362018-01-12 Alan Modra <amodra@gmail.com>
2637
2638 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
2639 initialization" for currently failing targets.
2640
87e79a65
AM
26412018-01-12 Alan Modra <amodra@gmail.com>
2642
2643 PR ld/22649
2644 * testsuite/ld-elf/pr22649.msg: Allow other messages.
2645 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
2646 supported before running ld/22649 tests.
2647
97a232d7
NC
26482018-01-12 Nick Clifton <nickc@redhat.com>
2649
2650 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
2651 as the opposite of "-z defs".
2652 * ld.texinfo: Document the new option. Update the description of
2653 the -z defs option to make it clear that it does generate an error
2654 if an undefined symbol reference is found in an object file whilst
2655 creating a shared library.
2656 * NEWS: Document this new feature.
2657
33eff4ce
L
26582018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2659
2660 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
2661 "-z separate-code".
2662 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
2663 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
2664 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
2665
cf9e7f1f
L
26662018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2667
2668 PR ld/22393
2669 * testsuite/ld-x86-64/pr22393-3a.c: New file.
2670 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
2671 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
2672 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
2673 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
2674 -z max-page-size=0x1000.
2675
d346bb27
L
26762018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2677
2678 PR ld/22393
2679 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
2680 * testsuite/ld-elf/pr22393-1.s: New file.
2681 * testsuite/ld-elf/pr22393-1a.d: Likewise.
2682 * testsuite/ld-elf/pr22393-1b.d: Likewise.
2683 * testsuite/ld-elf/pr22393-1c.d: Likewise.
2684 * testsuite/ld-elf/pr22393-1d.d: Likewise.
2685 * testsuite/ld-elf/pr22393-1e.d: Likewise.
2686 * testsuite/ld-elf/pr22393-1f.d: Likewise.
2687 * testsuite/ld-elf/pr22393-2a.c: Likewise.
2688 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
2689 * testsuite/ld-elf/pr22393-2b.c: Likewise.
2690 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
2691 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
2692
47acac12
L
26932018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2694
2695 PR ld/22393
2696 * NEWS: Mention "-z separate-code".
2697 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
2698 builtin linker scripts and return linker scripts from disk for
2699 "-z separate-code".
2700 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
2701 and "-z noseparate-code".
2702 * genscripts.sh: Generate linker scripts for "-z separate-code".
2703 (LD_FLAG): Set to *textonly for "-z separate-code".
2704 * ld.texinfo: Document "-z separate-code".
2705 * lexsup.c (elf_shlib_list_options): Add linker help messsages
2706 for "-z separate-code" and "-z noseparate-code".
2707 * scripttempl/elf.sc (SEPARATE_TEXT): New
2708 (TEXT_SEGMENT_ALIGN): Likewise.
2709 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
2710 ${MAXPAGESIZE}.
2711
d664fd41
L
27122018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 PR ld/22649
2715 * testsuite/ld-elf/pr22649-1.s: New file.
2716 * testsuite/ld-elf/pr22649-2a.s: Likewise.
2717 * testsuite/ld-elf/pr22649-2b.s: Likewise.
2718 * testsuite/ld-elf/pr22649.msg: Likewise.
2719 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
2720
8b6f4cd3
L
27212018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2722
2723 PR ld/22677
2724 * scripttempl/elf.sc (PREINIT_ARRAY): New.
2725 Don't add .preinit_array for ld -r.
2726 * testsuite/ld-elf/pr22677.d: New file.
2727 * testsuite/ld-elf/pr22677.s: Likewise.
2728
65f14869
AB
27292018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2730
2731 * ldexp.h (union etree_union): Remove defsym field.
2732 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
2733 parameter.
2734 (exp_assign): Remove passing of defsym parameter.
2735 (exp_defsym): Likewise.
2736 (exp_provide): Likewise.
2737
eab62f2f
AB
27382018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2739
2740 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
2741 nodes are ignored in the tree walk, and move the location at which
2742 we change provide nodes into provided nodes.
2743 (exp_init_os): Add etree_provided.
2744 * testsuite/ld-scripts/provide-6.d: New file.
2745 * testsuite/ld-scripts/provide-6.t: New file.
2746 * testsuite/ld-scripts/provide-7.d: New file.
2747 * testsuite/ld-scripts/provide-7.t: New file.
2748 * testsuite/ld-scripts/provide-8.d: New file.
2749 * testsuite/ld-scripts/provide-8.t: New file.
2750
8be965c5
AB
27512018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2752
2753 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
2754 * testsuite/ld-scripts/provide-4.d: Use new map file name.
2755 * testsuite/ld-scripts/provide-5.d: Use new map file name.
2756 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
2757 * testsuite/ld-scripts/provide-4.map: ...this.
2758 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
2759 * testsuite/ld-scripts/provide-5.map: ...this.
2760 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
2761 file, and run tests in a loop.
2762
b3b9f8d3
AB
27632018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2764
2765 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
2766 PROVIDE statements.
2767 * testsuite/ld-scripts/provide-4.map: Update expected output.
2768 * testsuite/ld-scripts/provide-5.map: Likewise.
2769
6bd0a312
L
27702018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2771
2772 PR ld/22696
2773 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
2774
74ccf6db
JW
27752018-01-09 Jim Wilson <jimw@sifive.com>
2776
2777 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
2778 (#alltargets): Renamed from #target. Add shared.
2779 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
2780 Document alltargets option. Add support for alltargets option.
2781 (istarget): Add support for shared target.
2782
7615ca1d
JW
27832018-01-08 Jim Wilson <jimw@sifive.com>
2784
2785 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
2786 instead of .text.
2787 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
2788 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
2789 tests, add call to check_shared_lib_support.
2790
be1dce26
JW
27912018-01-05 Jim Wilson <jimw@sifive.com>
2792
35eeb78f
JW
2793 * testsuite/ld-riscv-elf/disas-jalr.d: New.
2794 * testsuite/ld-riscv-elf/disas-jalr.s: New.
2795 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
2796
be1dce26
JW
2797 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
2798 case on $target, and don't set for riscv*-elf targets.
2799 (GENERATE_PIE_SCRIPT): Likewise.
2800
219d1afa
AM
28012018-01-03 Alan Modra <amodra@gmail.com>
2802
2803 Update year range in copyright notice of all files.
2804
1e563868 2805For older changes see ChangeLog-2017
3499769a 2806\f
1e563868 2807Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
2808
2809Copying and distribution of this file, with or without modification,
2810are permitted in any medium without royalty provided the copyright
2811notice and this notice are preserved.
2812
2813Local Variables:
2814mode: change-log
2815left-margin: 8
2816fill-column: 74
2817version-control: never
2818End:
This page took 0.283824 seconds and 4 git commands to generate.