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