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