Automatic date update in version.in
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
fc6041a7
AM
12018-06-07 Alan Modra <amodra@gmail.com>
2
3 * emulparams/elf64bmip.sh (EXECUTABLE_SYMBOLS): Don't define.
4 (OTHER_SYMBOLS): Define this instead.
5 * emulparams/elf32bmipn32.sh (EXECUTABLE_SYMBOLS): Don't define.
6 (OTHER_SYMBOLS): Define similarly to elf64bmip.sh.
7 * emulparams/elf64hppa.sh (EXECUTABLE_SYMBOLS): Don't define.
8 (OTHER_SYMBOLS): Define instead.
9
527278f3
AM
102018-06-07 Alan Modra <amodra@gmail.com>
11
12 * emulparams/elf32_tic6x_le.sh (EXECUTABLE_SYMBOLS): Don't define.
13
08f22593
AM
142018-06-06 Alan Modra <amodra@gmail.com>
15
16 * Makefile.am (earmelf_fbsd.c): Correct dependencies.
17 (earmelfb_fbsd.c, earmelfb_fuchsia.c): Likewise.
18 * Makefile.in: Regenerate.
19
27b07675
AM
202018-06-05 Alan Modra <amodra@gmail.com>
21
22 PR 23254
23 * plugin.c (plugin_call_claim_file): Revert 2016-07-19 patch.
24 (plugin_object_p): Don't dup file descriptor.
25
112ba867
FC
262018-06-05 Flavio Ceolin <flavio.ceolin@intel.com>
27
28 * testsuite/ld-elf/elf.exp Run new test.
29 * testsuite/ld-elf/stack-noexec.rd New file: Expected readelf output.
30
cf7a5066
JW
312018-06-03 Sebastian Huber <sebastian.huber@embedded-brains.de>
32 Jim Wilson <jimw@sifive.com>
33
34 PR ld/23244
35 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new weak ref tests.
36 * testsuite/ld-riscv-elf/weakref.ld: New.
37 * testsuite/ld-riscv-elf/weakref32.d: New.
38 * testsuite/ld-riscv-elf/weakref32.s: New.
39 * testsuite/ld-riscv-elf/weakref64.d: New.
40 * testsuite/ld-riscv-elf/weakref64.s: New.
41
55e99962
L
422018-06-01 H.J. Lu <hongjiu.lu@intel.com>
43
44 * configure: Regenerated.
45
ac98f9e2
L
462018-05-28 H.J. Lu <hongjiu.lu@intel.com>
47
48 PR ld/23238
49 * testsuite/ld-ifunc/ifunc-26.d: New file.
50 * testsuite/ld-ifunc/ifunc-26.s: Likewise.
51 * testsuite/ld-ifunc/ifunc.exp: Run *.d tests without a
52 working compiler.
53
03fce1c7
L
542018-05-28 H.J. Lu <hongjiu.lu@intel.com>
55
56 * testsuite/ld-ifunc/ifunc-10-i386.d: Skip NaCl targets.
57 * testsuite/ld-ifunc/ifunc-10-x86-64.d: Likewise.
58 * testsuite/ld-ifunc/ifunc-11-i386.d: Likewise.
59 * testsuite/ld-ifunc/ifunc-11-x86-64.d: Likewise.
60 * testsuite/ld-ifunc/ifunc-12-i386.d: Likewise.
61 * testsuite/ld-ifunc/ifunc-12-x86-64.d: Likewise.
62 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
63 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
64 * testsuite/ld-ifunc/ifunc-14a-i386.d: Likewise.
65 * testsuite/ld-ifunc/ifunc-14a-x86-64.d: Likewise.
66 * testsuite/ld-ifunc/ifunc-14b-i386.d: Likewise.
67 * testsuite/ld-ifunc/ifunc-14b-x86-64.d: Likewise.
68 * testsuite/ld-ifunc/ifunc-14c-i386.d: Likewise.
69 * testsuite/ld-ifunc/ifunc-14c-x86-64.d: Likewise.
70 * testsuite/ld-ifunc/ifunc-14d-i386.d: Likewise.
71 * testsuite/ld-ifunc/ifunc-14d-x86-64.d: Likewise.
72 * testsuite/ld-ifunc/ifunc-14e-i386.d: Likewise.
73 * testsuite/ld-ifunc/ifunc-14e-x86-64.d: Likewise.
74 * testsuite/ld-ifunc/ifunc-14f-i386.d: Likewise.
75 * testsuite/ld-ifunc/ifunc-14f-x86-64.d: Likewise.
76 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
77 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
78 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
79 * testsuite/ld-ifunc/ifunc-16-i386.d: Likewise.
80 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
81 * testsuite/ld-ifunc/ifunc-16-x86-64.d: Likewise.
82 * testsuite/ld-ifunc/ifunc-17a-i386.d: Likewise.
83 * testsuite/ld-ifunc/ifunc-17a-x86-64.d: Likewise.
84 * testsuite/ld-ifunc/ifunc-17b-i386.d: Likewise.
85 * testsuite/ld-ifunc/ifunc-17b-x86-64.d: Likewise.
86 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
87 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
88 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
89 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
90 * testsuite/ld-ifunc/ifunc-19a-i386.d: Likewise.
91 * testsuite/ld-ifunc/ifunc-19a-x86-64.d: Likewise.
92 * testsuite/ld-ifunc/ifunc-19b-i386.d: Likewise.
93 * testsuite/ld-ifunc/ifunc-19b-x86-64.d: Likewise.
94 * testsuite/ld-ifunc/ifunc-2-i386.d: Likewise.
95 * testsuite/ld-ifunc/ifunc-2-local-i386.d: Likewise.
96 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
97 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
98 * testsuite/ld-ifunc/ifunc-20-i386.d: Likewise.
99 * testsuite/ld-ifunc/ifunc-20-x86-64.d: Likewise.
100 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
101 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
102 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
103 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
104 * testsuite/ld-ifunc/ifunc-5a-i386.d: Likewise.
105 * testsuite/ld-ifunc/ifunc-5a-local-i386.d: Likewise.
106 * testsuite/ld-ifunc/ifunc-5a-local-x86-64.d: Likewise.
107 * testsuite/ld-ifunc/ifunc-5a-x86-64.d: Likewise.
108 * testsuite/ld-ifunc/ifunc-5b-i386.d: Likewise.
109 * testsuite/ld-ifunc/ifunc-5b-local-i386.d: Likewise.
110 * testsuite/ld-ifunc/ifunc-5b-local-x86-64.d: Likewise.
111 * testsuite/ld-ifunc/ifunc-5b-x86-64.d: Likewise.
112 * testsuite/ld-ifunc/ifunc-5r-local-i386.d: Likewise.
113 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
114 * testsuite/ld-ifunc/ifunc-6a-i386.d: Likewise.
115 * testsuite/ld-ifunc/ifunc-6a-x86-64.d: Likewise.
116 * testsuite/ld-ifunc/ifunc-6b-i386.d: Likewise.
117 * testsuite/ld-ifunc/ifunc-6b-x86-64.d: Likewise.
118 * testsuite/ld-ifunc/ifunc-7a-i386.d: Likewise.
119 * testsuite/ld-ifunc/ifunc-7a-x86-64.d: Likewise.
120 * testsuite/ld-ifunc/ifunc-7b-i386.d: Likewise.
121 * testsuite/ld-ifunc/ifunc-7b-x86-64.d: Likewise.
122 * testsuite/ld-ifunc/ifunc-8-i386.d: Likewise.
123 * testsuite/ld-ifunc/ifunc-8-x86-64.d: Likewise.
124 * testsuite/ld-ifunc/ifunc-9-i386.d: Likewise.
125 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
126 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
127 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
128 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
129
099bb8fb
L
1302018-05-26 H.J. Lu <hongjiu.lu@intel.com>
131
132 PR ld/23194
133 * testsuite/ld-i386/pr23194.d: Expect only R_386_GLOB_DAT
134 against foobar.
135 * testsuite/ld-i386/pr23194.map: Add foobar.
136 * testsuite/ld-x86-64/pr23194.map: Likewise.
137 * testsuite/ld-i386/pr23194.s: Add a common foobar symbol.
138 * testsuite/ld-x86-64/pr23194.s: Likewise.
139 * testsuite/ld-x86-64/pr23194.d: Expect only R_X86_64_GLOB_DAT
140 against foobar.
141
277eb7f6
AM
1422018-05-25 Alan Modra <amodra@gmail.com>
143
144 * po/BLD-POTFILES.in: Regenerate.
145
29e11a04
L
1462018-05-21 H.J. Lu <hongjiu.lu@intel.com>
147
148 PR ld/23201
149 * testsuite/ld-tic6x/shlib-1.rd: Adjusted.
150 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
151 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
152 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
153 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
154 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
155 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
156 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
157 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
158 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
159 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
160 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
161 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
162
34a87bb0
L
1632018-05-21 H.J. Lu <hongjiu.lu@intel.com>
164
165 PR ld/23201
166 * ldexp.c (exp_fold_tree_1): Call bfd_link_hide_symbol to hide
167 a symbol.
168 * testsuite/ld-elf/provide-hidden-dynabs.nd: Removed.
169 * testsuite/ld-elf/provide-hidden-dynsec.nd: Likewise.
170 * testsuite/ld-elf/provide-hidden.exp: Replace
171 provide-hidden-dynsec.nd with provide-hidden-sec.nd and
172 provide-hidden-dyn.nd. Replace provide-hidden-dynabs.nd with
173 provide-hidden-abs.nd and provide-hidden-dyn.nd.
174 * testsuite/ld-i386/pr23189.d: Expect no dynamic relocation.
175 * testsuite/ld-x86-64/pr23189.d: Likewise.
176
97373b2e
L
1772018-05-18 H.J. Lu <hongjiu.lu@intel.com>
178
179 PR ld/23194
180 * testsuite/ld-i386/i386.exp: Run pr23194.
181 * testsuite/ld-x86-64/x86-64.exp: Likewise.
182 * testsuite/ld-i386/pr23194.d: New file.
183 * testsuite/ld-i386/pr23194.map: Likewise.
184 * testsuite/ld-i386/pr23194.s: Likewise.
185 * testsuite/ld-x86-64/pr23194.d: Likewise.
186 * testsuite/ld-x86-64/pr23194.map: Likewise.
187 * testsuite/ld-x86-64/pr23194.s: Likewise.
188
941036f4
L
1892018-05-18 H.J. Lu <hongjiu.lu@intel.com>
190
191 * testsuite/ld-i386/i386.exp: Run pr23189 for all targets.
192 * testsuite/ld-x86-64/x86-64.exp: Likewise.
193
7b4ae824
JD
1942018-05-18 John Darrington <john@darrington.wattle.id.au>
195
196 * Makefile.am: Add support for s12z architecture.
197 * configure.tgt: Likewise.
198 * Makefile.in: Regenerate.
199 * emulparams/m9s12zelf.sh: New file.
200 * scripttempl/elfm9s12z.sc: New file.
201 * testsuite/ld-discard/static.d: Expect to fail for the s12z
202 target.
203 * testsuite/ld-elf/endsym.d: Likewise.
204 * testsuite/ld-elf/merge.d: Likewise.
205 * testsuite/ld-elf/pr14926.d: Skip for the s12z target.
206 * testsuite/ld-elf/sec64k.exp: Likewise.
207 * testsuite/ld-s12z: New directory.
208 * testsuite/ld-s12z/opr-linking.d: New file.
209 * testsuite/ld-s12z/opr-linking.s: New file.
210 * testsuite/ld-s12z/relative-linking.d: New file.
211 * testsuite/ld-s12z/relative-linking.s: New file.
212 * testsuite/ld-s12z/z12s.exp: New file.
213
011b32fd
L
2142018-05-18 H.J. Lu <hongjiu.lu@intel.com>
215
216 PR ld/23189
217 * testsuite/ld-i386/i386.exp: Run pr23189.
218 * testsuite/ld-x86-64/x86-64.exp: Likewise.
219 * testsuite/ld-i386/pr23189.d: New file.
220 * testsuite/ld-i386/pr23189.s: Likewise.
221 * testsuite/ld-i386/pr23189.t: Likewise.
222 * testsuite/ld-x86-64/pr23189.d: Likewise.
223 * testsuite/ld-x86-64/pr23189.s: Likewise.
224 * testsuite/ld-x86-64/pr23189.t: Likewise.
225
aa82c0d3
AM
2262018-05-15 Alan Modra <amodra@gmail.com>
227
228 * testsuite/ld-elf/notes.exp: Restore LDFLAGS.
229
864bb26c
NC
2302018-05-14 Nick Clifton <nickc@redhat.com>
231
232 * testsuite/ld-elf/notes.exp: New file: Run new test.
233 * testsuite/ld-elf/note1_1.s: New file: Source file for test.
234 * testsuite/ld-elf/note1_2.s: New file: Source file for test.
235 * testsuite/ld-elf/note1.r: New file: Expected readelf output.
236
4ec09950
L
2372018-05-14 H.J. Lu <hongjiu.lu@intel.com>
238
239 PR ld/23169
240 * testsuite/ld-ifunc/ifunc-9-i386.d: New file.
241 * testsuite/ld-ifunc/ifunc-9-x86-64.d: Likewise.
242 * testsuite/ld-ifunc/pr23169a.c: Likewise.
243 * testsuite/ld-ifunc/pr23169a.rd: Likewise.
244 * testsuite/ld-ifunc/pr23169b.c: Likewise.
245 * testsuite/ld-ifunc/pr23169b.c: Likewise.
246 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
247 * testsuite/ld-ifunc/pr23169c.rd: Likewise.
248 * testsuite/ld-ifunc/ifunc-9-x86.d: Removed.
249 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/23169 tests.
250
9bc935ef
L
2512018-05-14 H.J. Lu <hongjiu.lu@intel.com>
252
253 PR ld/23162
254 * testsuite/ld-elf/pr23162.map: New file.
255 * testsuite/ld-elf/pr23162.rd: Likewise.
256 * testsuite/ld-elf/pr23162a.c: Likewise.
257 * testsuite/ld-elf/pr23162b.c: Likewise.
258 * testsuite/ld-elf/shared.exp: Run PR ld/23162 tests.
259
9933dc52
AM
2602018-05-12 Alan Modra <amodra@gmail.com>
261
262 PR 20659
263 * testsuite/ld-elf/changelma.d,
264 * testsuite/ld-elf/changelma.lnk,
265 * testsuite/ld-elf/changelma.s: New test.
266
493ffac5
DD
2672018-05-09 2018-05-02 Dimitar Dimitrov <dimitar@dinux.eu>
268
269 * scripttempl/pru.sc: Add LD sections to allow linking TI
270 toolchain object files.
271 * scripttempl/pru.sc: Switch to init_array.
272 * testsuite/ld-pru/ldi32.d: Update LDI32 test to conform to TI ABI.
273 * testsuite/ld-pru/norelax_ldi32-data.d: Likewise.
274 * testsuite/ld-pru/norelax_ldi32-dis.d: Likewise.
275 * testsuite/ld-pru/relax_ldi32-data.d: Likewise.
276 * testsuite/ld-pru/relax_ldi32-dis.d: Likewise.
277
a7287b94
AM
2782018-05-09 Alan Modra <amodra@gmail.com>
279
280 * po/BLD-POTFILES.in: Regenerate.
281
10d98088
JW
2822018-05-08 Jim Wilson <jimw@sifive.com>
283
284 PR ld/22962
285 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lriscv_ilp32f.c,
286 eelf32lriscv_ilp32.c, eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c.
287 (eelf32lriscv_ilp32f.c, eelf32lriscv_ilp32.c): New build rules.
288 (eelf64lriscv_lp64f.c, eelf64lriscv_lp64.c): New build rules.
289 * Makefile.in: Regenerated.
290 * configure.tgt (riscv32*-*-linux*, riscv64*-*-linux*): New.
291 * ld/emulparams/elf32lriscv.sh: Set LIBPATH_SUFFIX.
292 * ld/emulparams/elf32lriscv_ilp32.sh: New.
293 * ld/emulparams/elf32lriscv_ilp32f.sh: New.
294 * ld/emulparams/elf64lriscv-defs.sh: Don't set LIBPATH_SUFFIX here.
295 * ld/emulparams/elf64lriscv.sh: Set LIBPATH_SUFFIX.
296 * ld/emulparams/elf64lriscv_lp64.sh: New.
297 * ld/emulparams/elf64lriscv_lp64f.sh: New.
298 * ld/genscripts.sh (append_to_lib_path): Change LIBPATH_SUFFIX test to
299 a for. Inside loop, change LIBPATH_SUFFIX uses to libpath_suffix.
300 (LIB_PATH): In LIB_PATH if, add loop for LIBPATH_SUFFIX, changes uses
301 inside loop to libpath_suffix.
302
d1e9de16
JW
3032018-05-03 Jim Wilson <jimw@sifive.com>
304
305 * Makefile.am (earmelfb_linux_fdpiceabi.c): Fix typo in dependencies.
306
3be08ea4
SA
3072018-05-03 Simon Atanasyan <simon@atanasyan.com>
308
309 * testsuite/ld-mips-elf/gp-disp-sym.d: New test.
310 * testsuite/ld-mips-elf/gp-disp-sym.s: New test source.
311 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
312 * testsuite/ld-mips-elf/mips16-pic-2.ad: Update for _gp_disp
313 symbol removal.
314 * testsuite/ld-mips-elf/mips16-pic-2.nd: Likewise.
315 * testsuite/ld-mips-elf/pic-and-nonpic-3a.dd: Likewise.
316 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Likewise.
317 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Likewise.
318 * testsuite/ld-mips-elf/tlslib-o32.got: Likewise.
319
197b262f
MR
3202018-04-27 Maciej W. Rozycki <macro@mips.com>
321
322 * testsuite/ld-mips-elf/bal-jalx-pic.d: Only run for
323 `check_shared_lib_support' targets.
324 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: Likewise.
325 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: Likewise.
326 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: Likewise.
327 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: Likewise.
328 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: Likewise.
329 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: Likewise.
330 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: Likewise.
331 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: Likewise.
332 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d:
333 Likewise.
334 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d:
335 Likewise.
336 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d:
337 Likewise.
338 * testsuite/ld-mips-elf/hash1a.d: Likewise.
339 * testsuite/ld-mips-elf/hash1b.d: Likewise.
340 * testsuite/ld-mips-elf/hash1c.d: Likewise.
341 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
342 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
343
6d9dabbb
MR
3442018-04-27 Maciej W. Rozycki <macro@mips.com>
345
346 * testsuite/lib/ld-lib.exp (run_dump_test): Use `match_target'
347 in place of `istarget' for matching with `target', `alltargets'
348 and `notarget' options.
349
ffa389a3
AM
3502018-04-27 Alan Modra <amodra@gmail.com>
351
352 * po/BLD-POTFILES.in: Regenerate.
353
aa684341
CL
3542018-04-26 Christophe Lyon <christophe.lyon@linaro.org>
355
356 * testsuite/ld-elf/pr2404b.c (main): Adjust printf to account for
357 new variable name.
358 * testsuite/ld-elf/pr2404.out: Adjust expected output accordingly.
359
f1ac0afe
CL
3602018-04-25 Christophe Lyon <christophe.lyon@st.com>
361
362 * testsuite/ld-arm/export-class.exp: Accept arm*-*-uclinuxfdpiceabi.
363 * testsuite/ld-discard/discard.exp: Likewise.
364 * testsuite/ld-elf/binutils.exp: Likewise.
365 * testsuite/ld-elf/commonpage1.d: Likewise.
366 * testsuite/ld-elf/compress1c.d: Likewise.
367 * testsuite/ld-elf/compressed1b.d: Likewise.
368 * testsuite/ld-elf/compressed1c.d: Likewise.
369 * testsuite/ld-elf/compressed1e.d: Likewise.
370 * testsuite/ld-elf/dynamic1.d: Likewise.
371 * testsuite/ld-elf/dynsym1.d: Likewise.
372 * testsuite/ld-elf/ehdr_start-missing.d: Likewise.
373 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
374 * testsuite/ld-elf/ehdr_start-userdef.d: Likewise.
375 * testsuite/ld-elf/ehdr_start-weak.d: Likewise.
376 * testsuite/ld-elf/ehdr_start.d: Likewise.
377 * testsuite/ld-elf/exclude3b.d: Likewise.
378 * testsuite/ld-elf/export-class.exp: Likewise.
379 * testsuite/ld-elf/global1.d: Likewise.
380 * testsuite/ld-elf/hash.d: Likewise.
381 * testsuite/ld-elf/header.d: Likewise.
382 * testsuite/ld-elf/loadaddr1.d: Likewise.
383 * testsuite/ld-elf/loadaddr2.d: Likewise.
384 * testsuite/ld-elf/loadaddr3a.d: Likewise.
385 * testsuite/ld-elf/loadaddr3b.d: Likewise.
386 * testsuite/ld-elf/local1.d: Likewise.
387 * testsuite/ld-elf/maxpage1.d: Likewise.
388 * testsuite/ld-elf/maxpage2.d: Likewise.
389 * testsuite/ld-elf/maxpage3a.d: Likewise.
390 * testsuite/ld-elf/mbind1a.d: Likewise.
391 * testsuite/ld-elf/mbind1b.d: Likewise.
392 * testsuite/ld-elf/mbind1c.d: Likewise.
393 * testsuite/ld-elf/multibss1.d: Likewise.
394 * testsuite/ld-elf/noload-2.d: Likewise.
395 * testsuite/ld-elf/now-1.d: Likewise.
396 * testsuite/ld-elf/now-2.d: Likewise.
397 * testsuite/ld-elf/now-3.d: Likewise.
398 * testsuite/ld-elf/now-4.d: Likewise.
399 * testsuite/ld-elf/pie.d: Likewise.
400 * testsuite/ld-elf/pr12975.d: Likewise.
401 * testsuite/ld-elf/pr13177.d: Likewise.
402 * testsuite/ld-elf/pr13195.d: Likewise.
403 * testsuite/ld-elf/pr16322.d: Likewise.
404 * testsuite/ld-elf/pr16498a.d: Likewise.
405 * testsuite/ld-elf/pr16498b.d: Likewise.
406 * testsuite/ld-elf/pr17615.d: Likewise.
407 * testsuite/ld-elf/pr19162.d: Likewise.
408 * testsuite/ld-elf/pr19539.d: Likewise.
409 * testsuite/ld-elf/pr19617a.d: Likewise.
410 * testsuite/ld-elf/pr19617b.d: Likewise.
411 * testsuite/ld-elf/pr19617c.d: Likewise.
412 * testsuite/ld-elf/pr19698.d: Likewise.
413 * testsuite/ld-elf/pr19789.d: Likewise.
414 * testsuite/ld-elf/pr20513c.d: Likewise.
415 * testsuite/ld-elf/pr20513d.d: Likewise.
416 * testsuite/ld-elf/pr21384.d: Likewise.
417 * testsuite/ld-elf/pr21389a.d: Likewise.
418 * testsuite/ld-elf/pr21389b.d: Likewise.
419 * testsuite/ld-elf/pr21389c.d: Likewise.
420 * testsuite/ld-elf/pr21562a.d: Likewise.
421 * testsuite/ld-elf/pr21562b.d: Likewise.
422 * testsuite/ld-elf/pr21562c.d: Likewise.
423 * testsuite/ld-elf/pr21562d.d: Likewise.
424 * testsuite/ld-elf/pr21562e.d: Likewise.
425 * testsuite/ld-elf/pr21562f.d: Likewise.
426 * testsuite/ld-elf/pr21562g.d: Likewise.
427 * testsuite/ld-elf/pr21562h.d: Likewise.
428 * testsuite/ld-elf/pr21562i.d: Likewise.
429 * testsuite/ld-elf/pr21562j.d: Likewise.
430 * testsuite/ld-elf/pr21562k.d: Likewise.
431 * testsuite/ld-elf/pr21562l.d: Likewise.
432 * testsuite/ld-elf/pr21562m.d: Likewise.
433 * testsuite/ld-elf/pr21562n.d: Likewise.
434 * testsuite/ld-elf/pr21903a.d: Likewise.
435 * testsuite/ld-elf/pr21903b.d: Likewise.
436 * testsuite/ld-elf/pr21903d.d: Likewise.
437 * testsuite/ld-elf/pr22269a.d: Likewise.
438 * testsuite/ld-elf/pr22269b.d: Likewise.
439 * testsuite/ld-elf/pr22393-1a.d: Likewise.
440 * testsuite/ld-elf/pr22393-1b.d: Likewise.
441 * testsuite/ld-elf/pr22393-1c.d: Likewise.
442 * testsuite/ld-elf/pr22393-1d.d: Likewise.
443 * testsuite/ld-elf/pr22393-1e.d: Likewise.
444 * testsuite/ld-elf/pr22393-1f.d: Likewise.
445 * testsuite/ld-elf/pr22423.d: Likewise.
446 * testsuite/ld-elf/rpath-1.d: Likewise.
447 * testsuite/ld-elf/rpath-2.d: Likewise.
448 * testsuite/ld-elf/runpath-1.d: Likewise.
449 * testsuite/ld-elf/runpath-2.d: Likewise.
450 * testsuite/ld-elf/seg.d: Likewise.
451 * testsuite/ld-elf/sizeofb.d: Likewise.
452 * testsuite/ld-elf/startofb.d: Likewise.
453 * testsuite/ld-elf/strtab.d: Likewise.
454 * testsuite/ld-elf/textaddr1.d: Likewise.
455 * testsuite/ld-elf/textaddr2.d: Likewise.
456 * testsuite/ld-elf/textaddr3.d: Likewise.
457 * testsuite/ld-elf/textaddr4.d: Likewise.
458 * testsuite/ld-elf/textaddr5.d: Likewise.
459 * testsuite/ld-elf/textaddr6.d: Likewise.
460 * testsuite/ld-elf/textaddr7.d: Likewise.
461 * testsuite/ld-elf/tls.exp: Likewise.
462 * testsuite/ld-elf/tls_common.exp: Likewise.
463 * testsuite/ld-elf/unknown2.d: Likewise.
464 * testsuite/ld-gc/abi-note.d: Likewise.
465 * testsuite/ld-gc/pr11218.d: Likewise.
466 * testsuite/ld-gc/pr19167.d: Likewise.
467 * testsuite/ld-gc/pr20022.d: Likewise.
468 * testsuite/ld-gc/start.d: Likewise.
469 * testsuite/ld-gc/stop.d: Likewise.
470 * testsuite/ld-scripts/phdrs2.exp: Likewise.
471 * testsuite/ld-scripts/rgn-at5.d: Likewise.
472 * testsuite/ld-undefined/entry-3.d: Likewise.
473 * testsuite/ld-undefined/entry-4.d: Likewise.
474
59029f57
CL
4752018-04-25 Christophe Lyon <christophe.lyon@st.com>
476 Mickaël Guêné <mickael.guene@st.com>
477
478 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC Thumb-only tests.
479 * testsuite/ld-arm/fdpic-main-m.d: New test.
480 * testsuite/ld-arm/fdpic-main-m.s: New.
481 * testsuite/ld-arm/fdpic-main-m.sym: New.
482 * testsuite/ld-arm/fdpic-shared-m.d: New test.
483 * testsuite/ld-arm/fdpic-shared-m.s: New.
484 * testsuite/ld-arm/fdpic-shared-m.sym: New.
485
4b86cbe9
CL
4862018-04-25 Christophe Lyon <christophe.lyon@st.com>
487 Mickaël Guêné <mickael.guene@st.com>
488
489 * testsuite/ld-arm/arm-elf.exp: Execute the new FDPIC tests.
490 * testsuite/ld-arm/fdpic-main.d: New test.
491 * testsuite/ld-arm/fdpic-main.ld: New.
492 * testsuite/ld-arm/fdpic-main.r: New.
493 * testsuite/ld-arm/fdpic-main.s: New.
494 * testsuite/ld-arm/fdpic-main.sym: New.
495 * testsuite/ld-arm/fdpic-shared.d: New test.
496 * testsuite/ld-arm/fdpic-shared.ld: New.
497 * testsuite/ld-arm/fdpic-shared.r: New.
498 * testsuite/ld-arm/fdpic-shared.s: New.
499 * testsuite/ld-arm/fdpic-shared.sym: New.
500
f350fc2e
CL
5012018-04-25 Christophe Lyon <christophe.lyon@st.com>
502 Mickaël Guêné <mickael.guene@st.com>
503
504 * testsuite/ld-elf/pr2404b.c (main): Rename time variable into
505 time1.
506
5c5a4843
CL
5072018-04-25 Christophe Lyon <christophe.lyon@st.com>
508 Mickaël Guêné <mickael.guene@st.com>
509
510 * scripttempl/elf.sc: Define __tdata_start for .tdata section.
511
e8b09b87
CL
5122018-04-25 Christophe Lyon <christophe.lyon@st.com>
513 Mickaël Guêné <mickael.guene@st.com>
514
515 * emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section.
516
617a5ada
CL
5172018-04-25 Christophe Lyon <christophe.lyon@st.com>
518 Mickaël Guêné <mickael.guene@st.com>
519
520 * Makefile.am (ALL_EMULATION_SOURCES): Add
521 earmelf_linux_fdpiceabi.c and earmelfb_linux_fdpiceabi.c.
522 (earmelf_linux_fdpiceabi.c, earmelfb_linux_fdpiceabi.c): New rules.
523 * Makefile.in: Regenerate.
524 * configure.tgt (arm*-*-uclinuxfdpiceabi): Handle new target.
525 * emulparams/armelf_linux_fdpiceabi.sh: New.
526 * emulparams/armelfb_linux_fdpiceabi.sh: New.
527
2ac93be7
AM
5282018-04-25 Alan Modra <amodra@gmail.com>
529
530 * Makefile.am: Remove arm-aout and arm-coff support.
531 * configure.tgt: Likewise.
532 * testsuite/ld-arm/attr-merge-div-00.d: Likewise.
533 * testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise.
534 * testsuite/ld-arm/attr-merge-div-01.d: Likewise.
535 * testsuite/ld-arm/attr-merge-div-02.d: Likewise.
536 * testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise.
537 * testsuite/ld-arm/attr-merge-div-10.d: Likewise.
538 * testsuite/ld-arm/attr-merge-div-11.d: Likewise.
539 * testsuite/ld-arm/attr-merge-div-12.d: Likewise.
540 * testsuite/ld-arm/attr-merge-div-120.d: Likewise.
541 * testsuite/ld-arm/attr-merge-div-20.d: Likewise.
542 * testsuite/ld-arm/attr-merge-div-21.d: Likewise.
543 * testsuite/ld-arm/attr-merge-div-22.d: Likewise.
544 * testsuite/ld-arm/attr-merge-hardfp-use-1.d: Likewise.
545 * testsuite/ld-arm/attr-merge-hardfp-use-2.d: Likewise.
546 * testsuite/ld-arm/attr-merge-nosection-1.d: Likewise.
547 * testsuite/ld-arm/attr-merge-unknown-2.d: Likewise.
548 * testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise.
549 * testsuite/ld-arm/attr-merge-unknown-3.d: Likewise.
550 * testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
551 * testsuite/ld-arm/attr-merge-vfp-10.d: Likewise.
552 * testsuite/ld-arm/attr-merge-vfp-10r.d: Likewise.
553 * testsuite/ld-arm/attr-merge-vfp-11.d: Likewise.
554 * testsuite/ld-arm/attr-merge-vfp-11r.d: Likewise.
555 * testsuite/ld-arm/attr-merge-vfp-12.d: Likewise.
556 * testsuite/ld-arm/attr-merge-vfp-12r.d: Likewise.
557 * testsuite/ld-arm/attr-merge-vfp-13.d: Likewise.
558 * testsuite/ld-arm/attr-merge-vfp-13r.d: Likewise.
559 * testsuite/ld-arm/attr-merge-vfp-14.d: Likewise.
560 * testsuite/ld-arm/attr-merge-vfp-14r.d: Likewise.
561 * testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
562 * testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
563 * testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
564 * testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
565 * testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
566 * testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
567 * testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
568 * testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
569 * testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
570 * testsuite/ld-arm/attr-merge-vfp-6.d: Likewise.
571 * testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise.
572 * testsuite/ld-arm/attr-merge-vfp-7.d: Likewise.
573 * testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
574 * testsuite/ld-arm/attr-merge-vfp-8.d: Likewise.
575 * testsuite/ld-arm/attr-merge-vfp-8r.d: Likewise.
576 * testsuite/ld-arm/attr-merge-vfp-9.d: Likewise.
577 * testsuite/ld-arm/attr-merge-vfp-9r.d: Likewise.
578 * testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
579 * testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
580 * testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
581 * testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
582 * testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
583 * testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
584 * testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
585 * testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
586 * testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
587 * testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
588 * testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
589 * testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
590 * testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
591 * testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
592 * testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
593 * testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
594 * testsuite/ld-arm/eabi-hard-float.d: Likewise.
595 * testsuite/ld-arm/eabi-soft-float-ABI4.d: Likewise.
596 * testsuite/ld-arm/eabi-soft-float-r.d: Likewise.
597 * testsuite/ld-arm/eabi-soft-float.d: Likewise.
598 * testsuite/ld-arm/gc-hidden-1.d: Likewise.
599 * emulparams/armaoutb.sh: Delete.
600 * emulparams/armaoutl.sh: Delete.
601 * emulparams/armcoff.sh: Delete.
602 * emulparams/armnbsd.sh: Delete.
603 * emulparams/riscix.sh: Delete.
604 * scripttempl/armaout.sc: Delete.
605 * scripttempl/armcoff.sc: Delete.
606 * scripttempl/riscix.sc: Delete.
607 * Makefile.in: Regenerate.
608 * po/BLD-POTFILES.in: Regenerate.
609
5a8edf8e
AM
6102018-04-21 Alan Modra <amodra@gmail.com>
611
612 * testsuite/lib/ld-lib.exp (run_host_cmd): Check that gcc -B
613 works.
614
c65c21e1
AM
6152018-04-18 Alan Modra <amodra@gmail.com>
616
617 * Makefile.am: Remove support for assorted i386 aout and coff targets.
618 * configure.tgt: Likewise.
619 * testsuite/ld-discard/discard.exp: Likewise.
620 * testsuite/ld-elf/binutils.exp: Likewise.
621 * testsuite/ld-elf/tls.exp: Likewise.
622 * testsuite/ld-elf/tls_common.exp: Likewise.
623 * testsuite/ld-elfvers/vers.exp: Likewise.
624 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
625 * testsuite/ld-elfweak/elfweak.exp: Likewise.
626 * testsuite/ld-gc/abi-note.d: Likewise.
627 * testsuite/ld-gc/pr19167.d: Likewise.
628 * testsuite/ld-gc/pr20022.d: Likewise.
629 * testsuite/ld-gc/start.d: Likewise.
630 * testsuite/ld-gc/stop.d: Likewise.
631 * testsuite/ld-i386/i386.exp: Likewise.
632 * testsuite/ld-ifunc/binutils.exp: Likewise.
633 * testsuite/ld-ifunc/ifunc.exp: Likewise.
634 * testsuite/ld-linkonce/linkonce.exp: Likewise.
635 * testsuite/ld-plugin/lto.exp: Likewise.
636 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
637 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
638 * testsuite/ld-scripts/phdrs2.exp: Likewise.
639 * testsuite/ld-scripts/section-match-1.d: Likewise.
640 * testsuite/ld-shared/shared.exp: Likewise.
641 * testsuite/ld-size/size.exp: Likewise.
642 * testsuite/ld-sparc/sparc.exp: Likewise.
643 * emulparams/i386coff.sh: Delete.
644 * emulparams/i386linux.sh: Delete.
645 * emulparams/i386mach.sh: Delete.
646 * emulparams/i386nbsd.sh: Delete.
647 * emulparams/vsta.sh: Delete.
648 * scripttempl/i386coff.sc: Delete.
649 * Makefile.in: Regenerate.
650 * po/BLD-POTFILES.in: Regenerate.
651
884d4d8a 6522018-04-17 Andrew Sadek <andrew.sadek.se@gmail.com>
3f0a5f17
ME
653
654 Microblaze Target: PIC data text relative
655
656 * ld/lexsup.c (Add 2 ld options):
657 (ld_options): add disable-multiple-abs-defs @ 'ld_options' array
658 (parse_args): parse new option and pass flag to 'link_info' struct.
659 * ld/ldlex.h (Add enum): add new enum @ 'option_values' enum.
660 * ld/ld.texinfo (Add new option): Add description for
661 'disable-multiple-abs-defs'
662 * ld/main.c: Initialize flags with false @ 'main'. Handle
663 disable-multiple-abs-defs @ 'mutiple_definition'.
664
fc7aa874
AM
6652018-04-16 Alan Modra <amodra@gmail.com>
666
667 * emultempl/sunos.em: Delete.
668
ddb00039
AM
6692018-04-16 Alan Modra <amodra@gmail.com>
670
671 * Makefile.am: Remove arm-epoc-pe support.
672 * configure.tgt: Likewise.
673 * emultempl/pe.em: Likewise.
674 * pe-dll.c: Likewise.
675 * testsuite/ld-scripts/fill.d: Likewise.
676 * testsuite/ld-scripts/fill16.d: Likewise.
677 * emulparams/arm_epoc_pe.sh: Delete.
678 * scripttempl/epocpe.sc: Delete.
679 * Makefile.in: Regenerate.
680 * po/BLD-POTFILES.in: Regenerate.
681
c9098af4
AM
6822018-04-16 Alan Modra <amodra@gmail.com>
683
684 * Makefile.am: Remove sparc-aout and sparc-coff support.
685 * configure.tgt: Likewise.
686 * testsuite/ld-elfvers/vers.exp: Likewise.
687 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
688 * testsuite/ld-elfweak/elfweak.exp: Likewise.
689 * testsuite/ld-shared/shared.exp: Likewise.
690 * emulparams/coff_sparc.sh: Delete.
691 * emulparams/sparcaout.sh: Delete.
692 * emulparams/sparclinux.sh: Delete.
693 * emulparams/sparcnbsd.sh: Delete.
694 * emulparams/sun4.sh: Delete.
695 * scripttempl/sparccoff.sc: Delete.
696 * Makefile.in: Regenerate.
697 * po/BLD-POTFILES.in: Regenerate.
698
dc12032b
AM
6992018-04-16 Alan Modra <amodra@gmail.com>
700
701 * Makefile.am: Remove m68k-aout and m68k-coff support.
702 * configure.tgt: Likewise.
703 * emultempl/m68kelf.em: Likewise.
704 * ld.texinfo: Likewise.
705 * mri.c: Likewise.
706 * emulparams/delta68.sh: Delete.
707 * emulparams/hp300bsd.sh: Delete.
708 * emulparams/hp3hpux.sh: Delete.
709 * emulparams/m68k4knbsd.sh: Delete.
710 * emulparams/m68kaout.sh: Delete.
711 * emulparams/m68kaux.sh: Delete.
712 * emulparams/m68kcoff.sh: Delete.
713 * emulparams/m68klinux.sh: Delete.
714 * emulparams/m68knbsd.sh: Delete.
715 * emulparams/m68kpsos.sh: Delete.
716 * emulparams/sun3.sh: Delete.
717 * emultempl/m68kcoff.em: Delete.
718 * scripttempl/delta68.sc: Delete.
719 * scripttempl/m68kaux.sc: Delete.
720 * scripttempl/m68kcoff.sc: Delete.
721 * scripttempl/psos.sc: Delete.
722 * testsuite/ld-versados/t1-1.ro: Delete.
723 * testsuite/ld-versados/t1-2.ro: Delete.
724 * testsuite/ld-versados/t1.ld: Delete.
725 * testsuite/ld-versados/t1.ook: Delete.
726 * testsuite/ld-versados/t2-1.ro: Delete.
727 * testsuite/ld-versados/t2-2.ro: Delete.
728 * testsuite/ld-versados/t2-3.ro: Delete.
729 * testsuite/ld-versados/t2.ld: Delete.
730 * testsuite/ld-versados/t2.ook: Delete.
731 * testsuite/ld-versados/versados.exp: Delete.
732 * Makefile.in: Regenerate.
733 * po/BLD-POTFILES.in: Regenerate.
734
211dc24b
AM
7352018-04-16 Alan Modra <amodra@gmail.com>
736
737 * Makefile.am: Remove sh5 and sh64 support.
738 * configure.tgt: Likewise.
739 * ldlang.c: Likewise.
740 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
741 * testsuite/ld-gc/gc.exp: Likewise.
742 * testsuite/ld-gc/pr13683.d: Likewise.
743 * testsuite/ld-scripts/crossref.exp: Likewise.
744 * testsuite/ld-selective/selective.exp: Likewise.
745 * testsuite/ld-sh/ld-r-1.d: Likewise.
746 * testsuite/ld-sh/rd-sh.exp: Likewise.
747 * testsuite/ld-sh/sh.exp: Likewise.
748 * testsuite/ld-srec/srec.exp: Likewise.
749 * testsuite/ld-undefined/undefined.exp: Likewise.
750 * emulparams/shelf32.sh: Delete.
751 * emulparams/shelf32_linux.sh: Delete.
752 * emulparams/shelf32_nbsd.sh: Delete.
753 * emulparams/shelf64.sh: Delete.
754 * emulparams/shelf64_nbsd.sh: Delete.
755 * emulparams/shlelf32.sh: Delete.
756 * emulparams/shlelf32_linux.sh: Delete.
757 * emulparams/shlelf32_nbsd.sh: Delete.
758 * emulparams/shlelf64.sh: Delete.
759 * emulparams/shlelf64_nbsd.sh: Delete.
760 * emultempl/sh64elf.em: Delete.
761 * testsuite/ld-sh/sh64/abi32.sd: Delete.
762 * testsuite/ld-sh/sh64/abi32.xd: Delete.
763 * testsuite/ld-sh/sh64/abi64.sd: Delete.
764 * testsuite/ld-sh/sh64/abi64.xd: Delete.
765 * testsuite/ld-sh/sh64/abixx-noexp.sd: Delete.
766 * testsuite/ld-sh/sh64/cmpct1.sd: Delete.
767 * testsuite/ld-sh/sh64/cmpct1.xd: Delete.
768 * testsuite/ld-sh/sh64/crange-1.s: Delete.
769 * testsuite/ld-sh/sh64/crange-2a.s: Delete.
770 * testsuite/ld-sh/sh64/crange-2b.s: Delete.
771 * testsuite/ld-sh/sh64/crange-2c.s: Delete.
772 * testsuite/ld-sh/sh64/crange-2d.s: Delete.
773 * testsuite/ld-sh/sh64/crange-2e.s: Delete.
774 * testsuite/ld-sh/sh64/crange-2f.s: Delete.
775 * testsuite/ld-sh/sh64/crange-2g.s: Delete.
776 * testsuite/ld-sh/sh64/crange-2h.s: Delete.
777 * testsuite/ld-sh/sh64/crange-2i.s: Delete.
778 * testsuite/ld-sh/sh64/crange1.rd: Delete.
779 * testsuite/ld-sh/sh64/crange2.rd: Delete.
780 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Delete.
781 * testsuite/ld-sh/sh64/crange3-media.rd: Delete.
782 * testsuite/ld-sh/sh64/crange3.dd: Delete.
783 * testsuite/ld-sh/sh64/crange3.rd: Delete.
784 * testsuite/ld-sh/sh64/crangerel1.rd: Delete.
785 * testsuite/ld-sh/sh64/crangerel2.rd: Delete.
786 * testsuite/ld-sh/sh64/dlsection-1.s: Delete.
787 * testsuite/ld-sh/sh64/dlsection.sd: Delete.
788 * testsuite/ld-sh/sh64/endian.dbd: Delete.
789 * testsuite/ld-sh/sh64/endian.dld: Delete.
790 * testsuite/ld-sh/sh64/endian.ld: Delete.
791 * testsuite/ld-sh/sh64/endian.s: Delete.
792 * testsuite/ld-sh/sh64/endian.sbd: Delete.
793 * testsuite/ld-sh/sh64/endian.sld: Delete.
794 * testsuite/ld-sh/sh64/gotplt.d: Delete.
795 * testsuite/ld-sh/sh64/gotplt.map: Delete.
796 * testsuite/ld-sh/sh64/gotplt.s: Delete.
797 * testsuite/ld-sh/sh64/init-cmpct.d: Delete.
798 * testsuite/ld-sh/sh64/init-media.d: Delete.
799 * testsuite/ld-sh/sh64/init.s: Delete.
800 * testsuite/ld-sh/sh64/init64.d: Delete.
801 * testsuite/ld-sh/sh64/mix1-noexp.sd: Delete.
802 * testsuite/ld-sh/sh64/mix1.sd: Delete.
803 * testsuite/ld-sh/sh64/mix1.xd: Delete.
804 * testsuite/ld-sh/sh64/mix2-noexp.sd: Delete.
805 * testsuite/ld-sh/sh64/mix2.sd: Delete.
806 * testsuite/ld-sh/sh64/mix2.xd: Delete.
807 * testsuite/ld-sh/sh64/rd-sh64.exp: Delete.
808 * testsuite/ld-sh/sh64/rel-1.s: Delete.
809 * testsuite/ld-sh/sh64/rel-2.s: Delete.
810 * testsuite/ld-sh/sh64/rel32.xd: Delete.
811 * testsuite/ld-sh/sh64/rel64.xd: Delete.
812 * testsuite/ld-sh/sh64/relax.exp: Delete.
813 * testsuite/ld-sh/sh64/relax1.s: Delete.
814 * testsuite/ld-sh/sh64/relax2.s: Delete.
815 * testsuite/ld-sh/sh64/relax3.s: Delete.
816 * testsuite/ld-sh/sh64/relax4.s: Delete.
817 * testsuite/ld-sh/sh64/reldl-1.s: Delete.
818 * testsuite/ld-sh/sh64/reldl-2.s: Delete.
819 * testsuite/ld-sh/sh64/reldl32.rd: Delete.
820 * testsuite/ld-sh/sh64/reldl64.rd: Delete.
821 * testsuite/ld-sh/sh64/relfail.exp: Delete.
822 * testsuite/ld-sh/sh64/relfail.s: Delete.
823 * testsuite/ld-sh/sh64/sh64-1.s: Delete.
824 * testsuite/ld-sh/sh64/sh64-2.s: Delete.
825 * testsuite/ld-sh/sh64/sh64.exp: Delete.
826 * testsuite/ld-sh/sh64/shcmp-1.s: Delete.
827 * testsuite/ld-sh/sh64/shdl-1.s: Delete.
828 * testsuite/ld-sh/sh64/shdl-2.s: Delete.
829 * testsuite/ld-sh/sh64/shdl32.xd: Delete.
830 * testsuite/ld-sh/sh64/shdl64.sd: Delete.
831 * testsuite/ld-sh/sh64/shdl64.xd: Delete.
832 * testsuite/ld-sh/sh64/shmix-1.s: Delete.
833 * testsuite/ld-sh/sh64/shmix-2.s: Delete.
834 * testsuite/ld-sh/sh64/shmix-3.s: Delete.
835 * testsuite/ld-sh/sh64/stobin-0-dso.d: Delete.
836 * testsuite/ld-sh/sh64/stobin-1.d: Delete.
837 * testsuite/ld-sh/sh64/stobin.s: Delete.
838 * testsuite/ld-sh/sh64/stolib.s: Delete.
839 * Makefile.in: Regenerate.
840 * po/BLD-POTFILES.in: Regenerate.
841
4db9937a
AM
8422018-04-16 Alan Modra <amodra@gmail.com>
843
844 * Makefile.am: Remove sh-symbianelf support.
845 * configure.tgt: Likewise.
846 * emulparams/shlsymbian.sh: Delete.
847 * scripttempl/elf32sh-symbian.sc: Delete.
848 * Makefile.in: Regenerate.
849 * po/BLD-POTFILES.in: Regenerate.
850
9f5d1593
AM
8512018-04-16 Alan Modra <amodra@gmail.com>
852
853 * Makefile.am: Remove vax-bsd and vax-ultrix support.
854 * configure.tgt: Likewise.
855 * emulparams/vax.sh: Delete.
856 * Makefile.in: Regenerate.
857 * po/BLD-POTFILES.in: Regenerate.
858
a9a4b302
AM
8592018-04-16 Alan Modra <amodra@gmail.com>
860
861 * Makefile.am: Remove w65 support.
862 * configure.tgt: Likewise.
863 * emulparams/w65.sh: Delete.
864 * scripttempl/w65.sc: Delete.
865 * Makefile.in: Regenerate.
866 * po/BLD-POTFILES.in: Regenerate.
867
c2bf1eec
AM
8682018-04-16 Alan Modra <amodra@gmail.com>
869
870 * Makefile.am: Remove m88k support.
871 * configure.host: Likewise.
872 * configure.tgt: Likewise.
873 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
874 * emulparams/m88kbcs.sh: Delete.
875 * scripttempl/m88kbcs.sc: Delete.
876 * Makefile.in: Regenerate.
877 * po/BLD-POTFILES.in: Regenerate.
878
6793974d
AM
8792018-04-16 Alan Modra <amodra@gmail.com>
880
881 * Makefile.am: Remove i370 support.
882 * configure.tgt: Likewise.
883 * testsuite/ld-elf/compressed1d.d: Likewise.
884 * testsuite/ld-elf/group8a.d: Likewise.
885 * testsuite/ld-elf/group8b.d: Likewise.
886 * testsuite/ld-elf/group9a.d: Likewise.
887 * testsuite/ld-elf/group9b.d: Likewise.
888 * testsuite/ld-elf/merge.d: Likewise.
889 * testsuite/ld-elf/pr12851.d: Likewise.
890 * testsuite/ld-elf/pr12975.d: Likewise.
891 * testsuite/ld-elf/pr13177.d: Likewise.
892 * testsuite/ld-elf/pr13195.d: Likewise.
893 * testsuite/ld-elf/pr17615.d: Likewise.
894 * testsuite/ld-elf/pr21562a.d: Likewise.
895 * testsuite/ld-elf/pr21562b.d: Likewise.
896 * testsuite/ld-elf/pr21562c.d: Likewise.
897 * testsuite/ld-elf/pr21562d.d: Likewise.
898 * testsuite/ld-elf/pr21562i.d: Likewise.
899 * testsuite/ld-elf/pr21562j.d: Likewise.
900 * testsuite/ld-elf/pr21562k.d: Likewise.
901 * testsuite/ld-elf/pr21562l.d: Likewise.
902 * testsuite/ld-elf/pr21562m.d: Likewise.
903 * testsuite/ld-elf/pr21562n.d: Likewise.
904 * testsuite/ld-elf/pr22677.d: Likewise.
905 * testsuite/lib/ld-lib.exp: Likewise.
906 * emulparams/elf32i370.sh: Delete.
907 * scripttempl/elfi370.sc: Delete.
908 * Makefile.in: Regenerate.
909 * po/BLD-POTFILES.in: Regenerate.
910
e82aa794
AM
9112018-04-16 Alan Modra <amodra@gmail.com>
912
913 * Makefile.am: Remove h8500 support.
914 * configure.tgt: Likewise.
915 * emulparams/h8500.sh: Delete.
916 * emulparams/h8500b.sh: Delete.
917 * emulparams/h8500c.sh: Delete.
918 * emulparams/h8500m.sh: Delete.
919 * emulparams/h8500s.sh: Delete.
920 * scripttempl/h8500.sc: Delete.
921 * scripttempl/h8500b.sc: Delete.
922 * scripttempl/h8500c.sc: Delete.
923 * scripttempl/h8500m.sc: Delete.
924 * scripttempl/h8500s.sc: Delete.
925 * Makefile.in: Regenerate.
926 * po/BLD-POTFILES.in: Regenerate.
927
fe0bf0fd
AM
9282018-04-16 Alan Modra <amodra@gmail.com>
929
930 * Makefile.am: Remove h8300-coff support.
931 * configure.tgt: Likewise.
932 * testsuite/ld-h8300/h8300.exp: Likewise.
933 * emulparams/h8300.sh: Delete.
934 * emulparams/h8300h.sh: Delete.
935 * emulparams/h8300hn.sh: Delete.
936 * emulparams/h8300s.sh: Delete.
937 * emulparams/h8300sn.sh: Delete.
938 * emulparams/h8300sx.sh: Delete.
939 * emulparams/h8300sxn.sh: Delete.
940 * scripttempl/h8300.sc: Delete.
941 * scripttempl/h8300h.sc: Delete.
942 * scripttempl/h8300hn.sc: Delete.
943 * scripttempl/h8300s.sc: Delete.
944 * scripttempl/h8300sn.sc: Delete.
945 * scripttempl/h8300sx.sc: Delete.
946 * scripttempl/h8300sxn.sc: Delete.
947 * testsuite/ld-h8300/relax-3-coff.d: Delete.
948 * testsuite/ld-h8300/relax-4-coff.d: Delete.
949 * testsuite/ld-h8300/relax-5-coff.d: Delete.
950 * testsuite/ld-h8300/relax-6-coff.d: Delete.
951 * Makefile.in: Regenerate.
952 * po/BLD-POTFILES.in: Regenerate.
953
fdef3943
AM
9542018-04-16 Alan Modra <amodra@gmail.com>
955
956 * ld.texinfo: Remove IEEE 695 support.
957 * mri.c: Likewise.
958
de96689e
AM
9592018-04-16 Alan Modra <amodra@gmail.com>
960
961 * Makefile.am: Remove tandem support.
962 * configure.tgt: Likewise.
963 * emulparams/st2000.sh: Delete.
964 * scripttempl/st2000.sc: Delete.
965 * Makefile.in: Regenerate.
966 * po/BLD-POTFILES.in: Regenerate.
967
5972ac73
AM
9682018-04-16 Alan Modra <amodra@gmail.com>
969
970 * Makefile.am: Remove newsos3 support.
971 * configure.tgt: Likewise.
972 * emulparams/news.sh: Delete.
973 * Makefile.in: Regenerate.
974 * po/BLD-POTFILES.in: Regenerate.
975
b4b594e3
AM
9762018-04-16 Alan Modra <amodra@gmail.com>
977
978 * Makefile.am: Remove netware support.
979 * configure.tgt: Likewise.
980 * testsuite/ld-powerpc/powerpc.exp: Likewise.
981 * emulparams/i386nw.sh: Delete.
982 * emulparams/ppcnw.sh: Delete.
983 * scripttempl/nw.sc: Delete.
984 * Makefile.in: Regenerate.
985 * po/BLD-POTFILES.in: Regenerate.
986
702d1671
AM
9872018-04-14 Alan Modra <amodra@gmail.com>
988
989 * ldmain.c (main): Move config.maxpagesize and
990 config.commonpagesize initialization to..
991 * ldemul.c (after_parse_default): ..here.
992 * testsuite/ld-powerpc/ppc476-shared.d: Pass -z common-page-size.
993 * testsuite/ld-powerpc/ppc476-shared2.d: Likewise.
994
24acfe5e
AM
9952018-04-14 Alan Modra <amodra@gmail.com>
996
997 * emulparams/elf32ppcwindiss.sh: Rewrite to use elf32ppc.sh.
998 * emulparams/ppclynx.sh: Likewise.
999
a8eb42a8
AM
10002018-04-11 Alan Modra <amodra@gmail.com>
1001
1002 * emulparams/coff_i860.sh: Delete.
1003 * emulparams/elf32_i860.sh: Delete.
1004 * emulparams/elf32_i960.sh: Delete.
1005 * emulparams/gld960.sh: Delete.
1006 * emulparams/gld960coff.sh: Delete.
1007 * emulparams/lnk960.sh: Delete.
1008 * emultempl/gld960.em: Delete.
1009 * emultempl/gld960c.em: Delete.
1010 * emultempl/lnk960.em: Delete.
1011 * scripttempl/i860coff.sc: Delete.
1012 * scripttempl/i960.sc: Delete.
1013 * ld.texinfo: Remove i960 support.
1014 * Makefile.am: Remove i860 and i960 support.
1015 * configure.tgt: Likewise.
1016 * testsuite/ld-discard/extern.d: Likewise.
1017 * testsuite/ld-discard/start.d: Likewise.
1018 * testsuite/ld-discard/static.d: Likewise.
1019 * testsuite/ld-elf/compressed1d.d: Likewise.
1020 * testsuite/ld-elf/group1.d: Likewise.
1021 * testsuite/ld-elf/group3b.d: Likewise.
1022 * testsuite/ld-elf/group8a.d: Likewise.
1023 * testsuite/ld-elf/group8b.d: Likewise.
1024 * testsuite/ld-elf/group9a.d: Likewise.
1025 * testsuite/ld-elf/group9b.d: Likewise.
1026 * testsuite/ld-elf/linkonce2.d: Likewise.
1027 * testsuite/ld-elf/merge.d: Likewise.
1028 * testsuite/ld-elf/merge2.d: Likewise.
1029 * testsuite/ld-elf/merge3.d: Likewise.
1030 * testsuite/ld-elf/orphan-10.d: Likewise.
1031 * testsuite/ld-elf/orphan-11.d: Likewise.
1032 * testsuite/ld-elf/orphan-12.d: Likewise.
1033 * testsuite/ld-elf/orphan-9.d: Likewise.
1034 * testsuite/ld-elf/orphan-region.d: Likewise.
1035 * testsuite/ld-elf/orphan.d: Likewise.
1036 * testsuite/ld-elf/orphan3.d: Likewise.
1037 * testsuite/ld-elf/pr12851.d: Likewise.
1038 * testsuite/ld-elf/pr12975.d: Likewise.
1039 * testsuite/ld-elf/pr13177.d: Likewise.
1040 * testsuite/ld-elf/pr13195.d: Likewise.
1041 * testsuite/ld-elf/pr17550a.d: Likewise.
1042 * testsuite/ld-elf/pr17550b.d: Likewise.
1043 * testsuite/ld-elf/pr17550c.d: Likewise.
1044 * testsuite/ld-elf/pr17550d.d: Likewise.
1045 * testsuite/ld-elf/pr17615.d: Likewise.
1046 * testsuite/ld-elf/pr20528a.d: Likewise.
1047 * testsuite/ld-elf/pr20528b.d: Likewise.
1048 * testsuite/ld-elf/pr21562a.d: Likewise.
1049 * testsuite/ld-elf/pr21562b.d: Likewise.
1050 * testsuite/ld-elf/pr21562c.d: Likewise.
1051 * testsuite/ld-elf/pr21562d.d: Likewise.
1052 * testsuite/ld-elf/pr21562i.d: Likewise.
1053 * testsuite/ld-elf/pr21562j.d: Likewise.
1054 * testsuite/ld-elf/pr21562k.d: Likewise.
1055 * testsuite/ld-elf/pr21562l.d: Likewise.
1056 * testsuite/ld-elf/pr21562m.d: Likewise.
1057 * testsuite/ld-elf/pr21562n.d: Likewise.
1058 * testsuite/ld-elf/pr22677.d: Likewise.
1059 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1060 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1061 * testsuite/ld-elf/pr349.d: Likewise.
1062 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1063 * testsuite/ld-elf/sec64k.exp: Likewise.
1064 * testsuite/ld-elf/warn1.d: Likewise.
1065 * testsuite/ld-elf/warn2.d: Likewise.
1066 * testsuite/ld-elf/warn3.d: Likewise.
1067 * testsuite/lib/ld-lib.exp: Likewise.
1068 * Makefile.in: Regenerate.
1069 * po/BLD-POTFILES.in: Regenerate.
1070
18e404c4
AM
10712018-04-11 Alan Modra <amodra@gmail.com>
1072
1073 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Add -mpic for nds32.
1074
c4a614e2
AM
10752018-04-09 Alan Modra <amodra@gmail.com>
1076
1077 * po/BLD-POTFILES.in: Regenerate.
1078
3e04d765
AM
10792018-04-09 Alan Modra <amodra@gmail.com>
1080
1081 * emultempl/ppc64elf.em (no_inline_plt): New var.
1082 (ppc_before_allocation): Call ppc64_elf_inline_plt.
1083 (enum ppc64_opt): Add OPTION_NO_INLINE_OPT.
1084 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
1085 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
1086 * emultemps/ppc32elf.em (no_inline_opt): New var.
1087 (prelim_size_sections): New function, extracted from..
1088 (ppc_before_allocation): ..here. Call ppc_elf_inline_plt.
1089 (enum ppc32_opt): Add OPTION_NO_INLINE_OPT.
1090 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
1091 PARSE_AND_LIST_ARGS_CASES): Handle --no-inline-optimize.
1092
2d7ad24e
AM
10932018-04-09 Alan Modra <amodra@gmail.com>
1094
1095 * emulparams/elf32ppc.sh (OTHER_RELRO_SECTIONS_2): Add .branch_lt.
1096 (OTHER_GOT_RELOC_SECTIONS): Add .rela.branch_lt.
1097 * testsuite/ld-powerpc/elfv2so.d: Update for symbol/stub reordering.
1098 * testsuite/ld-powerpc/relbrlt.d: Likewise.
1099 * testsuite/ld-powerpc/relbrlt.s: Likewise.
1100 * testsuite/ld-powerpc/tlsso.r: Likewise.
1101 * testsuite/ld-powerpc/tlstocso.r: Likewise.
1102
49c09209
AM
11032018-04-09 Alan Modra <amodra@gmail.com>
1104
1105 * ppc32elf.em (ppc_finish): Call ppc_finish_symbols.
1106
3cba8b6c
L
11072018-04-05 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 PR gas/22318
1110 * configure: Regenerated.
1111
043e9508
NC
11122018-04-05 Nick Clifton <nickc@redhat.com>
1113
1114 PR 23030
1115 * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Make sure
1116 that the .IA_64.unwind_info and .IA_64.unwind sections are not
1117 subject to garbage collection.
1118
9d8e8f44
EB
11192018-04-04 Eric Botcazou <ebotcazou@adacore.com>
1120
1121 * deffile.h (def_file_add_import_from): Declare.
1122 (def_file_add_import_at): Likewise.
1123 * deffilep.y (fill_in_import): New function extracted from...
1124 (def_file_add_import): ...here. Call it.
1125 (def_file_add_import_from): New function.
1126 (def_file_add_import_at): Likewise.
1127 * pe-dll.c (pe_implied_import_dll): Use an optimized version of the
1128 insertion loop for imported symbols if possible.
1129
317ff008
EB
11302018-04-04 Eric Botcazou <ebotcazou@adacore.com>
1131
1132 * emultempl/pe.em (U_SIZE): Delete.
1133 (pe_data_import_dll): Likewise.
1134 (make_import_fixup): Return void, take 4th parameter and pass it down
1135 in call to pe_create_import_fixup.
1136 (pe_find_data_imports): Move to...
1137 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
1138 the auto-import pass and add a guard before running the latter.
1139 * emultempl/pep.em (U_SIZE): Delete.
1140 (pep_data_import_dll): Likewise.
1141 (make_import_fixup): Return void, take 4th parameter and pass it down
1142 in call to pe_create_import_fixup.
1143 (pep_find_data_imports): Move to...
1144 (gld_${EMULATION_NAME}_after_open): Run the stdcall fixup pass after
1145 the auto-import pass and add a guard before running the latter.
1146 * pe-dll.c (runtime_pseudp_reloc_v2_init): Change type to bfd_boolean.
1147 (pe_walk_relocs_of_symbol): Rename into...
1148 (pe_walk_relocs): ...this. Add 2 more parameters,4th parameter to the
1149 callback prototype and pass 4th parameter in calls to the callback.
1150 If the import hash table is present, invoke the callback on the reloc
1151 if the symbol name is in the table.
1152 (pe_find_data_imports): ...here. Take 2 parameters. Build an import
1153 hash table for the pseudo-relocation support version 2. When it is
1154 built, walk the relocations only once at the end; when it is not, do
1155 not build a fixup when the symbol isn't part of an import table.
1156 Issue the associated warning only after a first fixup is built.
1157 (tmp_seq2): Delete.
1158 (make_singleton_name_imp): Likewise.
1159 (make_import_fixup_mark): Return const char * and a stable string.
1160 (make_import_fixup_entry): Do not deal with the pseudo-relocation
1161 support version 2.
1162 (make_runtime_pseudo_reloc): Factor out code and fix formatting.
1163 (pe_create_import_fixup): Add 5th parameter. Clearly separate the
1164 pseudo-relocation support version 2 from the rest. Fix formatting.
1165 * pe-dll.h (pe_walk_relocs_of_symbol): Delete.
1166 (pe_find_data_imports): Declare.
1167 (pe_create_import_fixup): Add 5th parameter.
1168 * pep-dll.c (pe_data_import_dll): Delete.
1169 (pe_find_data_imports): Define.
1170 (pe_walk_relocs_of_symbol): Delete.
1171 * pep-dll.h (pep_walk_relocs_of_symbol): Delete.
1172 (pep_find_data_imports): Declare.
1173 (pep_create_import_fixup): Add 5th parameter.
1174 * ld.texinfo (--enable-auto-import): Adjust to new implementation.
1175
4fb0d2b9
NC
11762018-04-04 Nick Clifton <nickc@redhat.com>
1177
1178 * po/es.po: Updated Spanish translation.
1179
dfdad367
MR
11802018-04-03 Maciej W. Rozycki <macro@mips.com>
1181
1182 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
1183 `mips*-*-kfreebsd*-gnu' targets.
1184
e04ef022
RL
11852018-03-23 Renlin Li <renlin.li@arm.com>
1186
1187 PR ld/22970
1188 * testsuite/ld-aarch64/aarch64-elf.exp: Update to run new tests.
1189 * testsuite/ld-aarch64/emit-relocs-552-overflow.d: New.
1190 * testsuite/ld-aarch64/emit-relocs-552-overflow.s: New.
1191 * testsuite/ld-aarch64/emit-relocs-552.d: New.
1192 * testsuite/ld-aarch64/emit-relocs-552.s: New.
1193 * testsuite/ld-aarch64/emit-relocs-553.d: New.
1194 * testsuite/ld-aarch64/emit-relocs-553.s: New.
1195 * testsuite/ld-aarch64/emit-relocs-554-overflow.d: New.
1196 * testsuite/ld-aarch64/emit-relocs-554-overflow.s: New.
1197 * testsuite/ld-aarch64/emit-relocs-554.d: New.
1198 * testsuite/ld-aarch64/emit-relocs-554.s: New.
1199 * testsuite/ld-aarch64/emit-relocs-555.d: New.
1200 * testsuite/ld-aarch64/emit-relocs-555.s: New.
1201 * testsuite/ld-aarch64/emit-relocs-556-overflow.d: New.
1202 * testsuite/ld-aarch64/emit-relocs-556-overflow.s: New.
1203 * testsuite/ld-aarch64/emit-relocs-556.d: New.
1204 * testsuite/ld-aarch64/emit-relocs-556.s: New.
1205 * testsuite/ld-aarch64/emit-relocs-557.d: New.
1206 * testsuite/ld-aarch64/emit-relocs-557.s: New.
1207 * testsuite/ld-aarch64/emit-relocs-558-overflow.d: New.
1208 * testsuite/ld-aarch64/emit-relocs-558-overflow.s: New.
1209 * testsuite/ld-aarch64/emit-relocs-558.d: New.
1210 * testsuite/ld-aarch64/emit-relocs-558.s: New.
1211 * testsuite/ld-aarch64/emit-relocs-559.d: New.
1212 * testsuite/ld-aarch64/emit-relocs-559.s: New.
1213 * testsuite/ld-aarch64/emit-relocs-112-overflow.d: New.
1214 * testsuite/ld-aarch64/emit-relocs-112-overflow.s: New.
1215 * testsuite/ld-aarch64/emit-relocs-112.d: New.
1216 * testsuite/ld-aarch64/emit-relocs-112.s: New.
1217 * testsuite/ld-aarch64/emit-relocs-113.d: New.
1218 * testsuite/ld-aarch64/emit-relocs-113.s: New.
1219 * testsuite/ld-aarch64/emit-relocs-114-overflow.d: New.
1220 * testsuite/ld-aarch64/emit-relocs-114-overflow.s: New.
1221 * testsuite/ld-aarch64/emit-relocs-114.d: New.
1222 * testsuite/ld-aarch64/emit-relocs-114.s: New.
1223 * testsuite/ld-aarch64/emit-relocs-115.d: New.
1224 * testsuite/ld-aarch64/emit-relocs-115.s: New.
1225 * testsuite/ld-aarch64/emit-relocs-116-overflow.d: New.
1226 * testsuite/ld-aarch64/emit-relocs-116-overflow.s: New.
1227 * testsuite/ld-aarch64/emit-relocs-116.d: New.
1228 * testsuite/ld-aarch64/emit-relocs-116.s: New.
1229 * testsuite/ld-aarch64/emit-relocs-117.d: New.
1230 * testsuite/ld-aarch64/emit-relocs-117.s: New.
1231 * testsuite/ld-aarch64/emit-relocs-118-overflow.d: New.
1232 * testsuite/ld-aarch64/emit-relocs-118-overflow.s: New.
1233 * testsuite/ld-aarch64/emit-relocs-118.d: New.
1234 * testsuite/ld-aarch64/emit-relocs-118.s: New.
1235 * testsuite/ld-aarch64/emit-relocs-119.d: New.
1236 * testsuite/ld-aarch64/emit-relocs-119.s: New.
1237
f8745e1c
EB
12382018-03-28 Eric Botcazou <ebotcazou@adacore.com>
1239
1240 PR ld/22972
1241 * testsuite/ld-sparc/sparc.exp: Add test for mixed GOTDATA/GOT relocs.
1242 * testsuite/ld-sparc/gotop-hidden.c: New file.
1243 * testsuite/ld-sparc/got-hidden32.s: Likewise.
1244 * testsuite/ld-sparc/got-hidden64.s: Likewise.
1245 * testsuite/ld-sparc/pass.out: Likewise.
1246
bf54968b
L
12472018-03-25 H.J. Lu <hongjiu.lu@intel.com>
1248
1249 PR ld/23000
1250 * testsuite/ld-x86-64/tlsdesc.pd: Updated.
1251
f6c4d4b1
NC
12522018-03-23 Nick Clifton <nickc@redhat.com>
1253
1254 PR 22948
1255 * emultempl/pe.em (open_dynamic_archive): Add libXXX.lib template
1256 to library name list.
1257 * emultempl/pep.em (open_dynamic_archive): Likewise.
1258 * ld.texinfo (WIN32): Update documentation.
1259
cbac2231
RM
12602018-03-20 Roland McGrath <mcgrathr@google.com>
1261
1262 * testsuite/ld-elf/shared.exp (pr20995-2): XFAIL on aarch64*-*-elf*,
1263 another target without RELRO.
1264
8c5b71ad
L
12652018-03-20 H.J. Lu <hongjiu.lu@intel.com>
1266
1267 * testsuite/ld-plugin/pr22983.d: Allow leading underscore as
1268 well as extra lines between symbols.
1269
ed381877
MR
12702018-03-20 Maciej W. Rozycki <macro@mips.com>
1271
1272 * testsuite/ld-gc/gc.exp: Remove extraneous LD flags from the
1273 personality test.
1274
416c34d6
L
12752018-03-20 H.J. Lu <hongjiu.lu@intel.com>
1276
1277 PR ld/22983
1278 * testsuite/ld-plugin/lto.exp: Run PR ld/22983 test.
1279 * testsuite/ld-plugin/pr22983.d: New file.
1280 * testsuite/ld-plugin/pr22983.t: Likewise.
1281 * testsuite/ld-plugin/pr22983a.c: Likewise.
1282 * testsuite/ld-plugin/pr22983b.c: Likewise.
1283
202d116e
AS
12842018-03-15 Andreas Schwab <schwab@suse.de>
1285
1286 PR ld/22949
1287 * emultempl/riscvelf.em (riscv_elf_before_allocation): Don't
1288 enable relaxation in relocatable link.
1289
f9671640
KLC
12902018-03-15 Kuan-Lin Chen <kuanlinchentw@gmail.com>
1291
1292 * emultempl/nds32elf.em (nds32_elf_after_allocation): Remove
1293 unsupported target feature.
1294
9e223787
L
12952018-03-14 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 PR ld/20882
1298 * testsuite/ld-gc/pr20882.d: Also dump and check .debug_abbrev
1299 section.
1300 * testsuite/ld-gc/pr20882b.s: Add .debug_abbrev section.
1301
bf485201
L
13022018-03-14 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 * testsuite/ld-gc/gc.exp: Fix a typo: $LFLAGS -> $LDFLAGS.
1305
b4a3689a
NC
13062018-03-13 Nick Clifton <nickc@redhat.com>
1307
1308 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1309
f657f8c4
NC
13102018-03-09 Nick Clifton <nickc@redhat.com>
1311
1312 * testsuite/ld-ifunc/ifuncmod5.s: New test. Checks that targets
1313 that support IFUNC symbols can handle relocations against those
1314 symbols in NOTE sections.
1315 * testsuite/ld-ifunc/ifuncmod5.d: New file: Driver for the new
1316 test.
1317 * testsuite/ld-ifunc/ifunc.exp: Run the new test.
1318
347a8774
L
13192018-03-08 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 PR ld/22929
1322 * testsuite/ld-i386/i386.exp: Run PR ld/22929 test.
1323 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1324 * testsuite/ld-i386/pr22929.d: New file.
1325 * testsuite/ld-i386/pr22929.s: Likewise.
1326 * testsuite/ld-x86-64/pr22929.d: Likewise.
1327 * testsuite/ld-x86-64/pr22929.s: Likewise.
1328
d6ab6481
MF
13292018-03-07 Max Filippov <jcmvbkbc@gmail.com>
1330
1331 * emulparams/elf32xtensa.sh (COMMONPAGESIZE): Define.
1332
0c1ded8d
RL
13332018-03-07 Renlin Li <renlin.li@arm.com>
1334
1335 PR ld/20402
1336 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1337 * testsuite/ld-aarch64/pr20402.s: New.
1338 * testsuite/ld-aarch64/pr20402.d: New.
1339
770aa8a3
JW
13402018-03-06 Jim Wilson <jimw@sifive.com>
1341
1342 PR 22920
1343 * emultempl/riscvelf.em (riscv_create_output_section_statements): New.
1344 (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): New.
1345 * testsuite/ld-elf/pr21884.d (#notarget): Add riscv*-*-*.
1346 * testsuite/ld-unique/pr21529.d (#notarget): Likewise.
1347 * testsuite/ld-srec/srec.exp (run_srec_test): For riscv*-*-* target,
1348 call setup_xfail.
1349
dfb93f11
JC
13502018-03-03 James Cowgill <james.cowgill@mips.com>
1351 Maciej W. Rozycki <macro@mips.com>
1352
1353 PR ld/21900
1354 * testsuite/ld-mips-elf/undefined-warn.d: New test.
1355 * testsuite/ld-mips-elf/undefined.s: Add padding at the end.
1356 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1357
9a2ebffd
JW
13582018-03-02 Jim Wilson <jimw@sifive.com>
1359
1360 PR 22903
1361 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1362 Give stub_sec 8 byte alignment.
1363 * emulparams/aarch64cloudabi.sh (NOP): Set to 0x1f2003d5.
1364 * emulparams/aarch64elf.sh (NOP): Likewise.
1365 * emulparams/aarch64elf32.sh (NOP): Likewise.
1366 * emulparams/aarch64fbsd.sh (NOP): Likewise.
1367 * emulparams/aarch64linux.sh (NOP): Likewise.
1368 * emulparams/aarch64linux32.sh (NOP): Likewise.
1369 * testsuite/ld-aarch64/erratum835769.d: Adjust for added nop.
1370 * testsuite/ld-aarch64/erratum843419.d: Likewise.
1371 * testsuite/ld-aarch64/farcall-b-defsym.d: Likewise.
1372 * testsuite/ld-aarch64/farcall-b-none-function.d: Likewise.
1373 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
1374 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
1375 * testsuite/ld-aarch64/farcall-b.d: Likewise.
1376 * testsuite/ld-aarch64/farcall-back.d: Likewise.
1377 * testsuite/ld-aarch64/farcall-bl-defsym.d: Likewise.
1378 * testsuite/ld-aarch64/farcall-bl-none-function.d: Likewise.
1379 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
1380 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1381 * testsuite/ld-aarch64/farcall-bl.d: Likewise.
1382
e184813f
AM
13832018-03-01 Alan Modra <amodra@gmail.com>
1384
1385 * configure.ac (ALL_LINGUAS): Add ja. Sort.
1386 * configure: Regenerate.
1387
889be5db
DR
13882018-02-28 Douglas B Rupp <rupp@adacore.com>
1389
1390 * ldmain.c (main): Remove directory separator, if any, from the
1391 end of the canonicalized sysroot.
1392
f6aec96d
L
13932018-02-27 H.J. Lu <hongjiu.lu@intel.com>
1394
1395 * NEWS: Mention --enable-separate-code.
1396 * configure.ac: Add --enable-separate-code.
1397 (DEFAULT_LD_Z_SEPARATE_CODE): New AC_DEFINE_UNQUOTED.
1398 * configure.tgt: Default ac_default_ld_z_separate_code to 1 for
1399 Linux/x86 targets.
1400 * config.in: Regenerated.
1401 * configure: Likewise.
1402 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1403 link_info.separate_code DEFAULT_LD_Z_SEPARATE_CODE.
1404
df5f2391
AM
14052018-02-26 Alan Modra <amodra@gmail.com>
1406
1407 * emulparams/call_nop.sh, * emulparams/cet.sh,
1408 * emulparams/elf32mcore.sh, * emultempl/aarch64elf.em
1409 * emultempl/aix.em, * emultempl/alphaelf.em, * emultempl/armcoff.em,
1410 * emultempl/armelf.em, * emultempl/avrelf.em, * emultempl/beos.em,
1411 * emultempl/bfin.em, * emultempl/cr16elf.em, * emultempl/elf32.em,
1412 * emultempl/elf-generic.em, * emultempl/hppaelf.em,
1413 * emultempl/linux.em, * emultempl/lnk960.em,
1414 * emultempl/m68hc1xelf.em, * emultempl/m68kcoff.em,
1415 * emultempl/m68kelf.em, * emultempl/metagelf.em,
1416 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em,
1417 * emultempl/mmo.em, * emultempl/msp430.em, * emultempl/nds32elf.em,
1418 * emultempl/nios2elf.em, * emultempl/pe.em, * emultempl/pep.em,
1419 * emultempl/ppc32elf.em, * emultempl/ppc64elf.em,
1420 * emultempl/scoreelf.em, * emultempl/sh64elf.em,
1421 * emultempl/spuelf.em, * emultempl/sunos.em, * emultempl/tic6xdsbt.em,
1422 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em,
1423 * emultempl/vxworks.em, * emultempl/xtensaelf.em, * ldcref.c,
1424 * ldctor.c, * ldexp.c, * ldfile.c, * ldgram.y, * ldlang.c,
1425 * ldmain.c, * ldmisc.c, * ldwrite.c, * lexsup.c, * mri.c, * pe-dll.c,
1426 * plugin.c: Standardize error/warning messages.
1427 * testsuite/ld-arc/jli-overflow.err,
1428 * testsuite/ld-arm/cmse-implib-errors.out,
1429 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1430 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1431 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1432 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1433 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1434 * testsuite/ld-arm/vxworks1-static.d,
1435 * testsuite/ld-cris/tls-err-20x.d, * testsuite/ld-cris/tls-err-29.d,
1436 * testsuite/ld-cris/tls-err-31.d, * testsuite/ld-cris/tls-err-33.d,
1437 * testsuite/ld-cris/tls-err-35.d, * testsuite/ld-cris/tls-err-37.d,
1438 * testsuite/ld-cris/tls-err-39.d, * testsuite/ld-cris/tls-err-41.d,
1439 * testsuite/ld-cris/tls-err-43.d, * testsuite/ld-cris/tls-err-45.d,
1440 * testsuite/ld-cris/tls-err-47.d, * testsuite/ld-cris/tls-err-49.d,
1441 * testsuite/ld-cris/tls-err-51.d, * testsuite/ld-cris/tls-err-67.d,
1442 * testsuite/ld-elf/dwarf2.err, * testsuite/ld-elf/dwarf3.err,
1443 * testsuite/ld-elf/orphan-5.l, * testsuite/ld-elf/orphan-6.l,
1444 * testsuite/ld-i386/vxworks1-static.d,
1445 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
1446 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
1447 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
1448 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
1449 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
1450 * testsuite/ld-mips-elf/bal-jalx-pic.d,
1451 * testsuite/ld-mips-elf/jal-global-overflow-1.d,
1452 * testsuite/ld-mips-elf/jal-local-overflow-1.d,
1453 * testsuite/ld-mips-elf/mode-change-error-1.d,
1454 * testsuite/ld-mips-elf/unaligned-branch-2.d,
1455 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
1456 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
1457 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
1458 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
1459 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
1460 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
1461 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
1462 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
1463 * testsuite/ld-mips-elf/unaligned-branch.d,
1464 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
1465 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
1466 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
1467 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
1468 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
1469 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
1470 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
1471 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
1472 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
1473 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
1474 * testsuite/ld-mips-elf/unaligned-jump.d,
1475 * testsuite/ld-mips-elf/unaligned-ldpc-1.d,
1476 * testsuite/ld-mips-elf/unaligned-lwpc-1.d,
1477 * testsuite/ld-mips-elf/undefined.d,
1478 * testsuite/ld-mips-elf/vxworks1-static.d,
1479 * testsuite/ld-mmix/bpo-20.d, * testsuite/ld-mmix/bpo-20m.d,
1480 * testsuite/ld-mmix/bpo-7.d, * testsuite/ld-mmix/bpo-7m.d,
1481 * testsuite/ld-mmix/bpo-8.d, * testsuite/ld-mmix/bpo-8m.d,
1482 * testsuite/ld-mmix/greg-17.d, * testsuite/ld-mmix/greg-18.d,
1483 * testsuite/ld-mmix/greg-8.d, * testsuite/ld-mmix/greg-9.d,
1484 * testsuite/ld-plugin/plugin-14.d, * testsuite/ld-plugin/plugin-15.d,
1485 * testsuite/ld-plugin/plugin-16.d, * testsuite/ld-plugin/plugin-20.d,
1486 * testsuite/ld-plugin/plugin-21.d, * testsuite/ld-plugin/plugin-22.d,
1487 * testsuite/ld-plugin/plugin-23.d, * testsuite/ld-plugin/plugin-6.d,
1488 * testsuite/ld-plugin/plugin-7.d, * testsuite/ld-plugin/plugin-8.d,
1489 * testsuite/ld-powerpc/aix-weak-3-32.d,
1490 * testsuite/ld-powerpc/aix-weak-3-64.d,
1491 * testsuite/ld-powerpc/vxworks1-static.d,
1492 * testsuite/ld-sh/vxworks1-static.d,
1493 * testsuite/ld-sparc/vxworks1-static.d,
1494 * testsuite/ld-undefined/undefined.exp,
1495 * testsuite/ld-x86-64/pie1.d: Update for changed errors and warnings.
1496 * testsuite/ld-elf/warn1.d, * testsuite/ld-elf/warn2.d: Correct regex.
1497
33589acb
AM
14982018-02-26 Alan Modra <amodra@gmail.com>
1499
1500 * Makefile.am (EMULATION_FILES, POTFILES): Delete.
1501 (SRC_POTFILES, BLD_POTFILES): Define.
1502 (po/POTFILES.in): Delete rule.
1503 (po/SRC-POTFILES.in, po/BLD-POTFILES.in): New rules.
1504 * configure.ac: Add AC_CONFIG_COMMANDS to create po/Makefile.
1505 * po/Make-in (DISTFILES): Remove POTFILES.in, add SRC-POTFILES.in
1506 and BLD-POTFILES.in.
1507 (POTFILES): Delete.
1508 (SRC-POTFILES, BLD-POTFILES): Define place marker.
1509 (ld.pot): Build from SRC-POTFILES plus BLD-POTFILES.
1510 (distclean, maintainer-clean): Tidy up new files.
1511 (POTFILES, POTFILES.in): Delete rules.
1512 (SRC-POTFILES, BLD-POTFILES, SRC-POTFILES.in, BLD-POTFILES.in):
1513 New rules.
1514 (Makefile): Depend on SRC-POTFILES and BLD-POTFILES.
1515 * po/SRC-POTFILES.in: Rename from po/POTFILES.in.
1516 * po/BLD-POTFILES.in: New file.
1517 * Makefile.in: Regenerate.
1518 * configure: Regenerate.
1519
38f14ab8
AM
15202018-02-26 Alan Modra <amodra@gmail.com>
1521
1522 * testsuite/ld-cris/pcrelcp-1.d,
1523 * testsuite/ld-mmix/start-2.d: Update.
1524
6e05870c
AM
15252018-02-26 Alan Modra <amodra@gmail.com>
1526
1527 * testsuite/ld-arm/cmse-implib-errors.out,
1528 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1529 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1530 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1531 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1532 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1533 * testsuite/ld-cris/badgotr1.d,
1534 * testsuite/ld-cris/tls-err-24.d,
1535 * testsuite/ld-cris/tls-err-25.d,
1536 * testsuite/ld-cris/tls-err-26.d,
1537 * testsuite/ld-cris/tls-err-27.d,
1538 * testsuite/ld-cris/tls-err-28.d,
1539 * testsuite/ld-cris/tls-err-40.d,
1540 * testsuite/ld-cris/tls-err-44.d,
1541 * testsuite/ld-cris/tls-err-48.d,
1542 * testsuite/ld-cris/tls-err-52.d,
1543 * testsuite/ld-cris/tls-err-53.d,
1544 * testsuite/ld-cris/tls-err-55.d,
1545 * testsuite/ld-cris/tls-err-56.d,
1546 * testsuite/ld-cris/tls-err-62.d,
1547 * testsuite/ld-cris/tls-err-65.d,
1548 * testsuite/ld-cris/tls-err-77.d,
1549 * testsuite/ld-elf/empty-implib.out,
1550 * testsuite/ld-elf/indirect.exp: Update.
1551
90b6238f
AM
15522018-02-26 Alan Modra <amodra@gmail.com>
1553
1554 * testsuite/ld-aarch64/reloc-overflow-bad.d,
1555 * testsuite/ld-arm/attr-merge-9.out,
1556 * testsuite/ld-arm/attr-merge-arch-2.d,
1557 * testsuite/ld-arm/attr-merge-unknown-1.d,
1558 * testsuite/ld-arm/attr-merge-unknown-2.d,
1559 * testsuite/ld-arm/attr-merge-unknown-2r.d,
1560 * testsuite/ld-arm/attr-merge-unknown-3.d,
1561 * testsuite/ld-arm/cmse-implib-errors.out,
1562 * testsuite/ld-arm/cmse-new-earlier-later-implib.out,
1563 * testsuite/ld-arm/cmse-new-implib-no-output.out,
1564 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out,
1565 * testsuite/ld-arm/cmse-new-implib.out,
1566 * testsuite/ld-arm/cmse-new-wrong-implib.out,
1567 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out,
1568 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out,
1569 * testsuite/ld-arm/group-relocs-alu-bad-2.d,
1570 * testsuite/ld-arm/group-relocs-alu-bad.d,
1571 * testsuite/ld-arm/group-relocs-ldc-bad-2.d,
1572 * testsuite/ld-arm/group-relocs-ldc-bad.d,
1573 * testsuite/ld-arm/group-relocs-ldr-bad-2.d,
1574 * testsuite/ld-arm/group-relocs-ldr-bad.d,
1575 * testsuite/ld-arm/group-relocs-ldrs-bad-2.d,
1576 * testsuite/ld-arm/group-relocs-ldrs-bad.d,
1577 * testsuite/ld-arm/stm32l4xx-cannot-fix-far-ldm.d: Update.
1578
2c1c9679
AM
15792018-02-26 Alan Modra <amodra@gmail.com>
1580
1581 * testsuite/ld-mips-elf/attr-gnu-4-12.d,
1582 * testsuite/ld-mips-elf/attr-gnu-4-13.d,
1583 * testsuite/ld-mips-elf/attr-gnu-4-14.d,
1584 * testsuite/ld-mips-elf/attr-gnu-4-16.d,
1585 * testsuite/ld-mips-elf/attr-gnu-4-17.d,
1586 * testsuite/ld-mips-elf/attr-gnu-4-18.d,
1587 * testsuite/ld-mips-elf/attr-gnu-4-19.d,
1588 * testsuite/ld-mips-elf/attr-gnu-4-21.d,
1589 * testsuite/ld-mips-elf/attr-gnu-4-23.d,
1590 * testsuite/ld-mips-elf/attr-gnu-4-24.d,
1591 * testsuite/ld-mips-elf/attr-gnu-4-25.d,
1592 * testsuite/ld-mips-elf/attr-gnu-4-26.d,
1593 * testsuite/ld-mips-elf/attr-gnu-4-27.d,
1594 * testsuite/ld-mips-elf/attr-gnu-4-28.d,
1595 * testsuite/ld-mips-elf/attr-gnu-4-29.d,
1596 * testsuite/ld-mips-elf/attr-gnu-4-31.d,
1597 * testsuite/ld-mips-elf/attr-gnu-4-32.d,
1598 * testsuite/ld-mips-elf/attr-gnu-4-34.d,
1599 * testsuite/ld-mips-elf/attr-gnu-4-35.d,
1600 * testsuite/ld-mips-elf/attr-gnu-4-36.d,
1601 * testsuite/ld-mips-elf/attr-gnu-4-37.d,
1602 * testsuite/ld-mips-elf/attr-gnu-4-38.d,
1603 * testsuite/ld-mips-elf/attr-gnu-4-39.d,
1604 * testsuite/ld-mips-elf/attr-gnu-4-41.d,
1605 * testsuite/ld-mips-elf/attr-gnu-4-42.d,
1606 * testsuite/ld-mips-elf/attr-gnu-4-43.d,
1607 * testsuite/ld-mips-elf/attr-gnu-4-45.d,
1608 * testsuite/ld-mips-elf/attr-gnu-4-46.d,
1609 * testsuite/ld-mips-elf/attr-gnu-4-47.d,
1610 * testsuite/ld-mips-elf/attr-gnu-4-48.d,
1611 * testsuite/ld-mips-elf/attr-gnu-4-49.d,
1612 * testsuite/ld-mips-elf/attr-gnu-4-52.d,
1613 * testsuite/ld-mips-elf/attr-gnu-4-53.d,
1614 * testsuite/ld-mips-elf/attr-gnu-4-54.d,
1615 * testsuite/ld-mips-elf/attr-gnu-4-58.d,
1616 * testsuite/ld-mips-elf/attr-gnu-4-59.d,
1617 * testsuite/ld-mips-elf/attr-gnu-4-61.d,
1618 * testsuite/ld-mips-elf/attr-gnu-4-62.d,
1619 * testsuite/ld-mips-elf/attr-gnu-4-63.d,
1620 * testsuite/ld-mips-elf/attr-gnu-4-64.d,
1621 * testsuite/ld-mips-elf/attr-gnu-4-68.d,
1622 * testsuite/ld-mips-elf/attr-gnu-4-69.d,
1623 * testsuite/ld-mips-elf/attr-gnu-4-71.d,
1624 * testsuite/ld-mips-elf/attr-gnu-4-72.d,
1625 * testsuite/ld-mips-elf/attr-gnu-4-73.d,
1626 * testsuite/ld-mips-elf/attr-gnu-4-74.d,
1627 * testsuite/ld-mips-elf/attr-gnu-4-78.d,
1628 * testsuite/ld-mips-elf/attr-gnu-4-79.d,
1629 * testsuite/ld-mips-elf/attr-gnu-4-81.d,
1630 * testsuite/ld-mips-elf/attr-gnu-4-89.d,
1631 * testsuite/ld-mips-elf/attr-gnu-8-12.d,
1632 * testsuite/ld-mips-elf/attr-gnu-8-21.d,
1633 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d,
1634 * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d,
1635 * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d,
1636 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d,
1637 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d,
1638 * testsuite/ld-mips-elf/bal-jalx-pic.d,
1639 * testsuite/ld-mips-elf/mode-change-error-1.d,
1640 * testsuite/ld-mips-elf/unaligned-branch-2.d,
1641 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d,
1642 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d,
1643 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d,
1644 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d,
1645 * testsuite/ld-mips-elf/unaligned-branch-micromips.d,
1646 * testsuite/ld-mips-elf/unaligned-branch-mips16.d,
1647 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d,
1648 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d,
1649 * testsuite/ld-mips-elf/unaligned-branch.d,
1650 * testsuite/ld-mips-elf/unaligned-jalx-1.d,
1651 * testsuite/ld-mips-elf/unaligned-jalx-3.d,
1652 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d,
1653 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d,
1654 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d,
1655 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d,
1656 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d,
1657 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d,
1658 * testsuite/ld-mips-elf/unaligned-jump-micromips.d,
1659 * testsuite/ld-mips-elf/unaligned-jump-mips16.d,
1660 * testsuite/ld-mips-elf/unaligned-jump.d: Update.
1661
9793eb77
AM
16622018-02-26 Alan Modra <amodra@gmail.com>
1663
1664 * testsuite/ld-elf/indirect.exp,
1665 * testsuite/ld-elf/pr22649-2ab-mips.msg,
1666 * testsuite/ld-elf/pr22649-2cd-mips.msg,
1667 * testsuite/ld-elf/pr22649.msg,
1668 * testsuite/ld-elf/tls_common.exp,
1669 * testsuite/ld-elfcomm/elfcomm.exp,
1670 * testsuite/ld-arm/attr-merge-incompatible.d,
1671 * testsuite/ld-tic6x/attr-compatibility-gnu-other.d,
1672 * testsuite/ld-tic6x/attr-compatibility-other-gnu.d,
1673 * testsuite/ld-tic6x/attr-compatibility-other-other.d,
1674 * testsuite/ld-i386/warn1.d: Update expected error/warning messages.
1675
cf97bcb0
AM
16762018-02-26 Alan Modra <amodra@gmail.com>
1677
1678 * testsuite/ld-powerpc/attr-gnu-12-21.d,
1679 * testsuite/ld-powerpc/attr-gnu-4-12.d,
1680 * testsuite/ld-powerpc/attr-gnu-4-13.d,
1681 * testsuite/ld-powerpc/attr-gnu-4-21.d,
1682 * testsuite/ld-powerpc/attr-gnu-4-23.d,
1683 * testsuite/ld-powerpc/attr-gnu-4-31.d,
1684 * testsuite/ld-powerpc/attr-gnu-4-32.d,
1685 * testsuite/ld-powerpc/attr-gnu-8-23.d: Update.
1686
bbad9962
AM
16872018-02-21 Alan Modra <amodra@gmail.com>
1688
1689 * testsuite/ld-elf/group8b.d: Run test on ia64. Use xfail rather
1690 than notarget.
1691 * testsuite/ld-elf/pr12851.d: Likewise.
1692 * testsuite/ld-elf/pr12975.d: Likewise.
1693 * testsuite/ld-elf/pr13177.d: Likewise.
1694 * testsuite/ld-elf/pr13195.d: Likewise.
1695 * testsuite/ld-elf/pr17615.d: Likewise.
1696 * testsuite/ld-elf/pr21562a.d: Likewise.
1697 * testsuite/ld-elf/pr21562b.d: Likewise.
1698 * testsuite/ld-elf/pr21562c.d: Likewise.
1699 * testsuite/ld-elf/pr21562d.d: Likewise.
1700 * testsuite/ld-elf/pr21562i.d: Likewise.
1701 * testsuite/ld-elf/pr21562j.d: Likewise.
1702 * testsuite/ld-elf/pr21562k.d: Likewise.
1703 * testsuite/ld-elf/pr21562l.d: Likewise.
1704 * testsuite/ld-elf/pr21562m.d: Likewise.
1705 * testsuite/ld-elf/pr21562n.d: Likewise.
1706 * testsuite/ld-elf/group9a.d: Run test on ia64 and alpha. Use xfail
1707 rather than notarget.
1708 * testsuite/ld-elf/group9b.d: Likewise.
1709 * testsuite/ld-elf/pr22677.d: Likewise.
1710
6798f8bf
MR
17112018-02-19 Maciej W. Rozycki <macro@mips.com>
1712
1713 * testsuite/ld-mips-elf/reginfo-0.d: New test.
1714 * testsuite/ld-mips-elf/reginfo-0r.d: New test.
1715 * testsuite/ld-mips-elf/reginfo-1.d: New test.
1716 * testsuite/ld-mips-elf/reginfo-1r.d: New test.
1717 * testsuite/ld-mips-elf/reginfo-2.d: New test.
1718 * testsuite/ld-mips-elf/reginfo-2r.d: New test.
1719 * testsuite/ld-mips-elf/mips-abiflags-0.d: New test.
1720 * testsuite/ld-mips-elf/mips-abiflags-0r.d: New test.
1721 * testsuite/ld-mips-elf/mips-abiflags-1.d: New test.
1722 * testsuite/ld-mips-elf/mips-abiflags-1r.d: New test.
1723 * testsuite/ld-mips-elf/mips-abiflags-2.d: New test.
1724 * testsuite/ld-mips-elf/mips-abiflags-2r.d: New test.
1725 * testsuite/ld-mips-elf/reginfo-0.ld: New test linker script.
1726 * testsuite/ld-mips-elf/reginfo-1.ld: New test linker script.
1727 * testsuite/ld-mips-elf/mips-abiflags-0.ld: New test linker
1728 script.
1729 * testsuite/ld-mips-elf/mips-abiflags-1.ld: New test linker
1730 script.
1731 * testsuite/ld-mips-elf/reginfo-1.s: New test source.
1732 * testsuite/ld-mips-elf/reginfo-2.s: New test source.
1733 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1734
8772de11
MR
17352018-02-19 Maciej W. Rozycki <macro@mips.com>
1736
1737 * ldlang.c (insert_pad): Do not change output section's size if
1738 SEC_FIXED_SIZE is set in the flags.
1739 (size_input_section): Likewise.
1740 (lang_size_sections_1): Likewise.
1741 (lang_reset_memory_regions): Likewise.
1742
c1c8c1ef
AM
17432018-02-19 Alan Modra <amodra@gmail.com>
1744
1745 * ldmisc.c (vfinfo) Handle %pI, %pR, %pS and %pT in place of
1746 %I, %R, %S and %T.
1747 * ldcref.c, * ldctor.c, * ldemul.c, * ldexp.c, * ldgram.y,
1748 * ldlang.c, * ldlex.l, * ldmain.c, * ldmisc.c, * pe-dll.c,
1749 * emultempl/sh64elf.em: Replace use of of %I, %R, %S and %T in
1750 format strings passed to einfo and friends by %pI, %pR, %pS and %pT.
1751
871b3ab2
AM
17522018-02-19 Alan Modra <amodra@gmail.com>
1753
1754 * ldmisc.c (vfinfo): Handle %pA and %pB in place of %A and %B.
1755 * ldcref.c: Update all messages using %A and %B.
1756 * ldexp.c: Likewise.
1757 * ldlang.c: Likewise.
1758 * ldmain.c: Likewise.
1759 * ldmisc.c: Likewise.
1760 * pe-dll.c: Likewise.
1761 * plugin.c: Likewise.
1762 * emultempl/beos.em: Likewise.
1763 * emultempl/cr16elf.em: Likewise.
1764 * emultempl/elf32.em: Likewise.
1765 * emultempl/m68kcoff.em: Likewise.
1766 * emultempl/m68kelf.em: Likewise.
1767 * emultempl/mmo.em: Likewise.
1768 * emultempl/nds32elf.em: Likewise.
1769 * emultempl/pe.em: Likewise.
1770 * emultempl/pep.em: Likewise.
1771 * emultempl/spuelf.em: Likewise.
1772 * emultempl/sunos.em: Likewise.
1773 * emultempl/xtensaelf.em: Likewise.
1774
f61f94ec
L
17752018-02-19 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 PR ld/22845
1778 * testsuite/ld-elf/frame.exp: Skip if -shared isn't supported.
1779 Add tests for "-z noseparate-code" and "-z separate-code".
1780 Remove unsupported -shared check.
1781
d85502cf
L
17822018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 PR ld/22845
1785 * testsuite/ld-elf/ehdr_start.d: Pass --build-id to ld.
1786
34b00afa
L
17872018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 PR ld/22845
1790 * testsuite/ld-elf/binutils.exp (tls_opts): Add tests for
1791 "-z noseparate-code" and "-z separate-code".
1792
92d9e363
L
17932018-02-17 H.J. Lu <hongjiu.lu@intel.com>
1794
1795 PR ld/22845
1796 * ld-elf/eh4.d: Pass -z max-page-size=0x200000 -z noseparate-code
1797 to ld.
1798
c2596c4a
L
17992018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1800
1801 * testsuite/ld-x86-64/bnd-branch-1-now.d: Add -z
1802 max-page-size=0x200000 -z noseparate-code.
1803 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
1804 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
1805 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1806 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
1807 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1808 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
1809 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
1810 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
1811 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
1812 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
1813 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
1814 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
1815 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
1816 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
1817 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
1818 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
1819 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
1820 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
1821 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
1822 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
1823 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
1824 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
1825 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
1826 * testsuite/ld-x86-64/load1a.d: Likewise.
1827 * testsuite/ld-x86-64/load1b.d: Likewise.
1828 * testsuite/ld-x86-64/load1c.d: Likewise.
1829 * testsuite/ld-x86-64/load1d.d: Likewise.
1830 * testsuite/ld-x86-64/pie3.d: Likewise.
1831 * testsuite/ld-x86-64/pr14207.d: Likewise.
1832 * testsuite/ld-x86-64/pr17618.d: Likewise.
1833 * testsuite/ld-x86-64/pr19162.d: Likewise.
1834 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1835 * testsuite/ld-x86-64/pr19636-2l.d: Likewise.
1836 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1837 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1838 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1839 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1840 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1841 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1842 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
1843 * testsuite/ld-x86-64/pr20830a.d: Likewise.
1844 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
1845 * testsuite/ld-x86-64/pr20830b.d: Likewise.
1846 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
1847 * testsuite/ld-x86-64/pr21038a.d: Likewise.
1848 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
1849 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1850 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
1851 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1852
c441b623
L
18532018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 * testsuite/ld-x86-64/bnd-ifunc-1.d: Updated.
1856 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1857
197741f1
L
18582018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1859
1860 * testsuite/ld-x86-64/mpx.exp: Add -z max-page-size=0x200000
1861 -z noseparate-code.
1862
7c9f387a
L
18632018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1864
1865 * testsuite/ld-x86-64/x86-64.exp: Add -z noseparate-code
1866 -z max-page-size=0x200000, excluding NaCl target.
1867
c9d3eb5f
L
18682018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
1871 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
1872 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1873 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1874 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1875 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
1876 * testsuite/ld-ifunc/pr17154-i386.d: Likewise.
1877
679a5bc8
L
18782018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1879
1880 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Add
1881 -z max-page-size=0x200000 -z noseparate-code.
1882 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
1883 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1884 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1885 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1886 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
1887 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1888
62e2b91b
L
18892018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1890
1891 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated for i386.
1892 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1893 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1894
9f4aec8d
L
18952018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1896
1897 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1898 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1899 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1900
410a69a0
L
19012018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1902
1903 * testsuite/ld-i386/ibt-plt-1.d: Add -z noseparate-code.
1904 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
1905 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
1906 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
1907 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
1908 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
1909 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
1910 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
1911 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
1912 * testsuite/ld-i386/load1.d: Likewise.
1913 * testsuite/ld-i386/pie1.d: Likewise.
1914 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1915 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1916 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1917 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1918 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1919 * testsuite/ld-i386/pr20244-4a.d: Likewise.
1920 * testsuite/ld-i386/pr20244-4b.d: Likewise.
1921 * testsuite/ld-i386/pr20830.d: Likewise.
1922
75bd00e8
L
19232018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1924
1925 * testsuite/ld-i386/pr19636-1a.d: Updated.
1926 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1927 * testsuite/ld-i386/pr19636-1j.d: Likewise.
1928 * testsuite/ld-i386/pr19636-1k.d: Likewise.
1929 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1930 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1931
760b2893
L
19322018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1933
1934 * testsuite/ld-i386/i386.exp: Add -z noseparate-code.
1935
75cdede0
L
19362018-02-16 H.J. Lu <hongjiu.lu@intel.com>
1937
1938 * testsuite/ld-elf/pr19162.d: Add -z noseparate-code.
1939 * testsuite/ld-elf/textaddr1.d: Likewise.
1940 * testsuite/ld-elf/textaddr2.d: Likewise.
1941 * testsuite/ld-elf/textaddr4.d: Likewise.
1942 * testsuite/ld-elf/textaddr6.d: Likewise.
1943
2a0d9853
JW
19442018-02-15 Jim Wilson <jimw@sifive.com>
1945
1946 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run pcrel-lo-addend test.
1947 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: New.
1948 * testsuite/ld-riscv-elf/pcrel-lo-addend.s: New.
1949
451875b4
L
19502018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1951
1952 PR ld/22842
1953 * testsuite/ld-i386/i386.exp: Run PR ld/22842 tests.
1954 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1955 * testsuite/ld-i386/pr22842a.c: New file.
1956 * testsuite/ld-i386/pr22842b.S: Likewise.
1957 * testsuite/ld-x86-64/pr22842a.c: Likewise.
1958 * testsuite/ld-x86-64/pr22842a.rd: Likewise.
1959 * testsuite/ld-x86-64/pr22842b.S: Likewise.
1960 * testsuite/ld-x86-64/pr22842b.rd: Likewise.
1961
d4dd94f8
MR
19622018-02-14 Maciej W. Rozycki <macro@mips.com>
1963
1964 * ldlex.h (ldlex_command): Remove prototype.
1965
85f2093d
L
19662018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1967
1968 * testsuite/ld-x86-64/x86-64.exp: Replace pr22393-2a.so and
1969 pr22393-2a-now.so with pr22393-3a.so and pr22393-3a-now.so.
1970
60f763ee
AM
19712018-02-14 H.J. Lu <hongjiu.lu@intel.com>
1972
1973 PR 22836
1974 * testsuite/ld-elf/pr22836-1.s: New file.
1975 * testsuite/ld-elf/pr22836-1a.d: Likewise.
1976 * testsuite/ld-elf/pr22836-1b.d: Likewise.
1977
bd7ab16b
L
19782018-02-13 H.J. Lu <hongjiu.lu@intel.com>
1979
1980 PR gas/22791
1981 * testsuite/ld-x86-64/mpx1c.rd: Updated.
1982 * testsuite/ld-x86-64/pr22791-1.err: New file.
1983 * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
1984 * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
1985 * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
1986 * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
1987 * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
1988 * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
1989 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
1990
6e5e9d58
AM
19912018-02-13 Alan Modra <amodra@gmail.com>
1992
1993 PR 22836
1994 * testsuite/ld-elf/pr22836-2.d,
1995 * testsuite/ld-elf/pr22836-2.s: New test.
1996
f2731e0c
AM
19972018-02-13 Alan Modra <amodra@gmail.com>
1998
1999 * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
2000
407aa07c
AM
20012018-02-07 Alan Modra <amodra@gmail.com>
2002
2003 Revert 2018-01-17 Alan Modra <amodra@gmail.com>
2004 * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
2005 * emultempl/ppc64elf.em: Likesize
2006 * ld.texinfo: Likewise
2007 * testsuite/ld-powerpc/elfv2exe.d,
2008 * testsuite/ld-powerpc/elfv2so.d,
2009 * testsuite/ld-powerpc/relbrlt.d,
2010 * testsuite/ld-powerpc/powerpc.exp: Likewise.
2011
c20c30f6
EB
20122018-02-06 Eric Botcazou <ebotcazou@adacore.com>
2013
2014 * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
2015 (pr22263-1): Pass AFLAGS_PIC to the assembler.
2016 * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
2017 * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
2018 * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
2019 * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
2020
279b2f94
RL
20212018-02-05 Renlin Li <renlin.li@arm.com>
2022
2023 PR ld/22764
2024 * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
2025 * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
2026 * testsuite/ld-aarch64/pr22764.s: New.
2027 * testsuite/ld-aarch64/pr22764.d: New.
2028
cd048363
L
20292018-02-05 H.J. Lu <hongjiu.lu@intel.com>
2030
2031 PR ld/22782
2032 * testsuite/ld-i386/discarded1.s: Replace mov with div.
2033 * testsuite/ld-x86-64/discarded1.s: Likewise.
2034 * testsuite/ld-i386/i386.exp: Run pr22782.
2035 * testsuite/ld-i386/load1-nacl.d: Updated for removing
2036 _GLOBAL_OFFSET_TABLE_ from output.
2037 * testsuite/ld-i386/load1.d: Likewise.
2038 * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
2039 * testsuite/ld-x86-64/load1a.d: Likewise.
2040 * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
2041 * testsuite/ld-x86-64/load1b.d: Likewise.
2042 * testsuite/ld-i386/pr22782.d: New file.
2043 * testsuite/ld-i386/pr22782.s: Likewise.
2044 * testsuite/ld-x86-64/pr22782.s: Likewise.
2045 * testsuite/ld-x86-64/pr22782a.d: Likewise.
2046 * testsuite/ld-x86-64/pr22782b.d: Likewise.
2047 * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
2048
f174ef9f
NC
20492018-02-05 Nick Clifton <nickc@redhat.com>
2050
2051 * po/pt_BR.po: Updated Brazilian Portuguese translation.
2052
9f7393d8
L
20532018-02-04 H.J. Lu <hongjiu.lu@intel.com>
2054
2055 * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
2056 * testsuite/ld-i386/lea1e.d: Likewise.
2057 * testsuite/ld-i386/lea1f.d: Likewise.
2058 * testsuite/ld-x86-64/lea1g.d: Likewise.
2059 * testsuite/ld-x86-64/lea1h.d: Likewise.
2060 * testsuite/ld-x86-64/lea1i.d: Likewise.
2061 * testsuite/ld-x86-64/lea1j.d: Likewise.
2062 * testsuite/ld-x86-64/lea1k.d: Likewise.
2063 * testsuite/ld-x86-64/lea1l.d: Likewise.
2064
b0daac83
NC
20652018-02-03 Nick Clifton <nickc@redhat.com>
2066
2067 PR 22762
2068 * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
2069 __DTOR_LIST__ symbols. Add a comment explaining why this is
2070 necessary.
2071 * scripttemp/pep.sc: Likewise.
2072 * ld.texinfo (PROVIDE): Add a note about the effect of common
2073 symbols.
2074
138a158f
SL
20752018-02-03 Sandra Loosemore <sandra@codesourcery.com>
2076
2077 * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
2078
e54d3c94
MR
20792018-02-02 Maciej W. Rozycki <macro@mips.com>
2080
2081 * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
2082 assembly builds where missing and remove `tic6x-*-*' XFAIL
2083 markings accordingly.
2084
e99955cd
SM
20852018-02-01 Simon Marchi <simon.marchi@ericsson.com>
2086
2087 * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
2088 on NULL pointer.
2089
f000c2b9
L
20902018-01-31 H.J. Lu <hongjiu.lu@intel.com>
2091
2092 * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
2093
450b6317
MR
20942018-01-31 Maciej W. Rozycki <macro@mips.com>
2095
2096 * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
2097
8988502d
MR
20982018-01-31 Maciej W. Rozycki <macro@mips.com>
2099
2100 * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
2101 involving a shared library for `mips*vr4100*-*-elf*',
2102 `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
2103 * testsuite/ld-elf/provide-hidden.exp: Likewise.
2104 * testsuite/ld-elf/shared.exp: Likewise.
2105 * testsuite/ld-gc/gc.exp: Likewise.
2106 * testsuite/ld-mips-elf/comm-data.exp: Likewise.
2107
f3a9baf1
MR
21082018-01-31 Maciej W. Rozycki <macro@mips.com>
2109
2110 * testsuite/ld-elf/elf.exp: Move shared library tests over to...
2111 * testsuite/ld-elf/shared.exp: ... here.
2112
bf3077a6
MM
21132018-01-31 Michael Matz <matz@suse.de>
2114
2115 * testsuite/ld-elf/pr21964-5.c: New test.
2116 * testsuite/ld-elf/shared.exp: Run it.
2117
823143c6
L
21182018-01-31 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 PR ld/21964
2121 * testsuite/ld-elf/pr21964-4.c: New file.
2122 * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
2123
040b4a9e
AM
21242018-01-30 Alan Modra <amodra@gmail.com>
2125
2126 * testsuite/ld-gc/stop.d,
2127 * testsuite/ld-gc/stop.s: New test.
2128 * testsuite/ld-gc/gc.exp: Run it.
2129
af667f22
MR
21302018-01-30 Maciej W. Rozycki <macro@mips.com>
2131
2132 PR ld/22649
2133 * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
2134 * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
2135 * testsuite/ld-elf/shared.exp: Use the new outputs with
2136 `mips*-*-*' targets.
2137
82252033
MR
21382018-01-30 Maciej W. Rozycki <macro@mips.com>
2139
2140 * testsuite/ld-elf/comm-data1.sd: Alternatively accept
2141 `PRC[0xff02]' in place of a regular section index.
2142 * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
2143
36b8fda5
AM
21442018-01-29 Alan Modra <amodra@gmail.com>
2145
2146 * testsuite/ld-elf/pr21964-3a.c: New file.
2147 * testsuite/ld-elf/pr21964-3c.c: New file.
2148 * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
2149
185cdb8c
EB
21502018-01-29 Eric Botcazou <ebotcazou@adacore.com>
2151
2152 * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
2153 (pr22269-1): Pass AFLAGS_PIC to the assembler.
2154
d85815e2
EB
21552018-01-29 Eric Botcazou <ebotcazou@adacore.com>
2156
2157 * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
2158
86b24e15
MR
21592018-01-29 Maciej W. Rozycki <macro@mips.com>
2160
2161 * testsuite/ld-mips-elf/comm-data.exp: Correct support for
2162 targets using non-traditional MIPS emulation or having a limited
2163 selection of ABIs available. Don't force big endianness, use
2164 defaults.
2165
98d72909
L
21662018-01-29 H.J. Lu <hongjiu.lu@intel.com>
2167
2168 PR ld/22732
2169 * testsuite/config/default.exp (STATIC_LDFLAGS): New. Set to
2170 "-static" if target compiler supports it.
2171 * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
2172 tests if target compiler doesn't support it.
2173 * testsuite/ld-ifunc/ifunc.exp: Likewise.
2174 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
2175 (run_cc_link_tests): Likewise.
2176
fef75122
L
21772018-01-27 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 PR ld/22751
2180 * testsuite/config/default.exp (INT128_CFLAGS): New.
2181 * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
2182 Run ld/22751 tests.
2183 * testsuite/ld-plugin/pr22751.c: New file.
2184 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
2185 ld trailing options.
2186
d580dcc7
AM
21872018-01-28 Alan Modra <amodra@gmail.com>
2188
2189 PR 22751
2190 * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
2191 set.
2192
2ebd05b8
MR
21932018-01-26 Maciej W. Rozycki <macro@mips.com>
2194
2195 * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
2196 `mipself'.
2197
bb363086
EB
21982018-01-25 Eric Botcazou <ebotcazou@adacore.com>
2199
2200 * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
2201 Link with a version script.
2202 (32-bit: TLS -fpie): New test.
2203 (64-bit: Helper shared library): Link with a version script.
2204 (64-bit: TLS -fpie): New test.
2205 (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
2206 * testsuite/ld-sparc/tlslib.ver: New file.
2207 * testsuite/ld-sparc/tlspie32.dd: Likewise.
2208 * testsuite/ld-sparc/tlspie32.s: Likewise.
2209 * testsuite/ld-sparc/tlspie64.dd: Likewise.
2210 * testsuite/ld-sparc/tlspie64.s: Likewise.
2211 * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
2212 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
2213 * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
2214 * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
2215 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
2216 * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
2217
1daf502a
RL
22182018-01-24 Renlin Li <renlin.li@arm.com>
2219
2220 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
2221 * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
2222 * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
2223 * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
2224 * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
2225 * testsuite/ld-aarch64/emit-relocs-288.d: New.
2226 * testsuite/ld-aarch64/emit-relocs-288.s: New.
2227 * testsuite/ld-aarch64/emit-relocs-289.d: New.
2228 * testsuite/ld-aarch64/emit-relocs-289.s: New.
2229 * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
2230 * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
2231 * testsuite/ld-aarch64/emit-relocs-290.d: New.
2232 * testsuite/ld-aarch64/emit-relocs-290.s: New.
2233 * testsuite/ld-aarch64/emit-relocs-291.d: New.
2234 * testsuite/ld-aarch64/emit-relocs-291.s: New.
2235 * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
2236 * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
2237 * testsuite/ld-aarch64/emit-relocs-292.d: New.
2238 * testsuite/ld-aarch64/emit-relocs-292.s: New.
2239 * testsuite/ld-aarch64/emit-relocs-293.d: New.
2240 * testsuite/ld-aarch64/emit-relocs-293.s: New.
2241
8a1b824a
L
22422018-01-20 H.J. Lu <hongjiu.lu@intel.com>
2243
2244 PR ld/22721
2245 * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
2246 * testsuite/ld-plugin/pr22721.t: New file.
2247 * testsuite/ld-plugin/pr22721a.s: Likewise.
2248 * testsuite/ld-plugin/pr22721b.c: Likewise.
2249
1ebfa86a
L
22502018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2251
2252 * testsuite/ld-elf/group1.d: Also xfail Solaris.
2253
f7968f08
L
22542018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2255
2256 * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
2257 PLT/GOT order/layout for Solaris/x86 targets.
2258 * testsuite/ld-elf/linkinfo1b.d: Likewise.
2259
c5bdb022
L
22602018-01-18 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 PR ld/22728
2263 * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
2264 into ...
2265 (elf_solaris2_before_allocation): This.
2266 (LDEMUL_AFTER_ALLOCATION): Removed.
2267
691d2e9a
AM
22682018-01-18 Alan Modra <amodra@gmail.com>
2269
2270 * emultempl/ppc32elf.em: Support optional --plt-align arg.
2271 * emultempl/ppc64elf.em: Support negative --plt-align arg.
2272
1be5d8d3
AM
22732018-01-17 Alan Modra <amodra@gmail.com>
2274
2275 * emultempl/ppc32elf.em (params): Init new field.
2276 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
2277 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
2278 (PARSE_AND_LIST_LONGOPTS): Handle new options.
2279 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2280 (PARSE_AND_LIST_OPTIONS): Likewise.
2281 * emultempl/ppc64elf.em (params): Init new field.
2282 (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
2283 (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
2284 (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
2285 (PARSE_AND_LIST_OPTIONS): Likewise.
2286 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2287 * ld.texinfo (--no-plt-thread-safe): Correct itemx.
2288 (--speculate-indirect-jumps): Document.
2289 * testsuite/ld-powerpc/elfv2exe.d,
2290 * testsuite/ld-powerpc/elfv2so.d,
2291 * testsuite/ld-powerpc/relbrlt.d,
2292 * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
2293 speculation barriers on various tests.
2294
9e390558
AM
22952018-01-17 Alan Modra <amodra@gmail.com>
2296
2297 * emultempl/ppc32elf.em (params): Init new field.
2298 (enum ppc32_opt): New enum to define OPTION_* values. Add
2299 OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
2300 (PARSE_AND_LIST_LONGOPTS): Handle new options.
2301 (PARSE_AND_LIST_ARGS_CASES): Likewise.
2302 (PARSE_AND_LIST_OPTIONS): Likewise. Break up help output.
2303 * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
2304 correctly for negative --plt-stub-align.
2305 * testsuite/ld-powerpc/elfv2exe.d,
2306 * testsuite/ld-powerpc/elfv2so.d,
2307 * testsuite/ld-powerpc/relbrlt.d,
2308 * testsuite/ld-powerpc/relbrlt.s,
2309 * testsuite/ld-powerpc/tlsexe.d,
2310 * testsuite/ld-powerpc/tlsexe.r,
2311 * testsuite/ld-powerpc/tlsexe32.d,
2312 * testsuite/ld-powerpc/tlsexe32.g,
2313 * testsuite/ld-powerpc/tlsexe32.r,
2314 * testsuite/ld-powerpc/tlsexetoc.d,
2315 * testsuite/ld-powerpc/tlsexetoc.r,
2316 * testsuite/ld-powerpc/tlsopt5_32.d,
2317 * testsuite/ld-powerpc/tlsso.d,
2318 * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
2319
f6efed01
NC
23202018-01-16 Nick Clifton <nickc@redhat.com>
2321
f174ef9f 2322 * po/pt_BR.po: Updated Brazilian Portuguese translation.
f6efed01 2323
616dcb87
NC
23242018-01-15 Nick Clifton <nickc@redhat.com>
2325
2326 * po/uk.po: Updated Ukranian translation.
2327
3957a496
NC
23282018-01-13 Nick Clifton <nickc@redhat.com>
2329
2330 * po/ld.pot: Regenerated.
2331
769c7ea5
NC
23322018-01-13 Nick Clifton <nickc@redhat.com>
2333
2334 * configure: Regenerate.
2335
9176ac5b
NC
23362018-01-13 Nick Clifton <nickc@redhat.com>
2337
faf766e3 2338 2.30 branch created.
9176ac5b
NC
2339 * NEWS: Add marker for 2.30.
2340
5ae5d3fd
AM
23412018-01-12 Alan Modra <amodra@gmail.com>
2342
2343 * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
2344 initialization" for currently failing targets.
2345
87e79a65
AM
23462018-01-12 Alan Modra <amodra@gmail.com>
2347
2348 PR ld/22649
2349 * testsuite/ld-elf/pr22649.msg: Allow other messages.
2350 * testsuite/ld-elf/shared.exp: Check that --gc-sections is
2351 supported before running ld/22649 tests.
2352
97a232d7
NC
23532018-01-12 Nick Clifton <nickc@redhat.com>
2354
2355 * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
2356 as the opposite of "-z defs".
2357 * ld.texinfo: Document the new option. Update the description of
2358 the -z defs option to make it clear that it does generate an error
2359 if an undefined symbol reference is found in an object file whilst
2360 creating a shared library.
2361 * NEWS: Document this new feature.
2362
33eff4ce
L
23632018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2364
2365 * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
2366 "-z separate-code".
2367 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
2368 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
2369 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
2370
cf9e7f1f
L
23712018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2372
2373 PR ld/22393
2374 * testsuite/ld-x86-64/pr22393-3a.c: New file.
2375 * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
2376 * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
2377 * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
2378 * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
2379 -z max-page-size=0x1000.
2380
d346bb27
L
23812018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2382
2383 PR ld/22393
2384 * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
2385 * testsuite/ld-elf/pr22393-1.s: New file.
2386 * testsuite/ld-elf/pr22393-1a.d: Likewise.
2387 * testsuite/ld-elf/pr22393-1b.d: Likewise.
2388 * testsuite/ld-elf/pr22393-1c.d: Likewise.
2389 * testsuite/ld-elf/pr22393-1d.d: Likewise.
2390 * testsuite/ld-elf/pr22393-1e.d: Likewise.
2391 * testsuite/ld-elf/pr22393-1f.d: Likewise.
2392 * testsuite/ld-elf/pr22393-2a.c: Likewise.
2393 * testsuite/ld-elf/pr22393-2a.rd: Likewise.
2394 * testsuite/ld-elf/pr22393-2b.c: Likewise.
2395 * testsuite/ld-elf/pr22393-2b.rd: Likewise.
2396 * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
2397
47acac12
L
23982018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2399
2400 PR ld/22393
2401 * NEWS: Mention "-z separate-code".
2402 * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
2403 builtin linker scripts and return linker scripts from disk for
2404 "-z separate-code".
2405 (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
2406 and "-z noseparate-code".
2407 * genscripts.sh: Generate linker scripts for "-z separate-code".
2408 (LD_FLAG): Set to *textonly for "-z separate-code".
2409 * ld.texinfo: Document "-z separate-code".
2410 * lexsup.c (elf_shlib_list_options): Add linker help messsages
2411 for "-z separate-code" and "-z noseparate-code".
2412 * scripttempl/elf.sc (SEPARATE_TEXT): New
2413 (TEXT_SEGMENT_ALIGN): Likewise.
2414 Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
2415 ${MAXPAGESIZE}.
2416
d664fd41
L
24172018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2418
2419 PR ld/22649
2420 * testsuite/ld-elf/pr22649-1.s: New file.
2421 * testsuite/ld-elf/pr22649-2a.s: Likewise.
2422 * testsuite/ld-elf/pr22649-2b.s: Likewise.
2423 * testsuite/ld-elf/pr22649.msg: Likewise.
2424 * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
2425
8b6f4cd3
L
24262018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2427
2428 PR ld/22677
2429 * scripttempl/elf.sc (PREINIT_ARRAY): New.
2430 Don't add .preinit_array for ld -r.
2431 * testsuite/ld-elf/pr22677.d: New file.
2432 * testsuite/ld-elf/pr22677.s: Likewise.
2433
65f14869
AB
24342018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2435
2436 * ldexp.h (union etree_union): Remove defsym field.
2437 * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
2438 parameter.
2439 (exp_assign): Remove passing of defsym parameter.
2440 (exp_defsym): Likewise.
2441 (exp_provide): Likewise.
2442
eab62f2f
AB
24432018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2444
2445 * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
2446 nodes are ignored in the tree walk, and move the location at which
2447 we change provide nodes into provided nodes.
2448 (exp_init_os): Add etree_provided.
2449 * testsuite/ld-scripts/provide-6.d: New file.
2450 * testsuite/ld-scripts/provide-6.t: New file.
2451 * testsuite/ld-scripts/provide-7.d: New file.
2452 * testsuite/ld-scripts/provide-7.t: New file.
2453 * testsuite/ld-scripts/provide-8.d: New file.
2454 * testsuite/ld-scripts/provide-8.t: New file.
2455
8be965c5
AB
24562018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2457
2458 * testsuite/ld-scripts/provide-3.d: Add xfail directive.
2459 * testsuite/ld-scripts/provide-4.d: Use new map file name.
2460 * testsuite/ld-scripts/provide-5.d: Use new map file name.
2461 * testsuite/ld-scripts/provide-4-map.d: Renamed to...
2462 * testsuite/ld-scripts/provide-4.map: ...this.
2463 * testsuite/ld-scripts/provide-5-map.d: Renamed to...
2464 * testsuite/ld-scripts/provide-5.map: ...this.
2465 * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
2466 file, and run tests in a loop.
2467
b3b9f8d3
AB
24682018-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2469
2470 * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
2471 PROVIDE statements.
2472 * testsuite/ld-scripts/provide-4.map: Update expected output.
2473 * testsuite/ld-scripts/provide-5.map: Likewise.
2474
6bd0a312
L
24752018-01-11 H.J. Lu <hongjiu.lu@intel.com>
2476
2477 PR ld/22696
2478 * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
2479
74ccf6db
JW
24802018-01-09 Jim Wilson <jimw@sifive.com>
2481
2482 * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
2483 (#alltargets): Renamed from #target. Add shared.
2484 * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
2485 Document alltargets option. Add support for alltargets option.
2486 (istarget): Add support for shared target.
2487
7615ca1d
JW
24882018-01-08 Jim Wilson <jimw@sifive.com>
2489
2490 * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start
2491 instead of .text.
2492 * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
2493 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
2494 tests, add call to check_shared_lib_support.
2495
be1dce26
JW
24962018-01-05 Jim Wilson <jimw@sifive.com>
2497
35eeb78f
JW
2498 * testsuite/ld-riscv-elf/disas-jalr.d: New.
2499 * testsuite/ld-riscv-elf/disas-jalr.s: New.
2500 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
2501
be1dce26
JW
2502 * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
2503 case on $target, and don't set for riscv*-elf targets.
2504 (GENERATE_PIE_SCRIPT): Likewise.
2505
219d1afa
AM
25062018-01-03 Alan Modra <amodra@gmail.com>
2507
2508 Update year range in copyright notice of all files.
2509
1e563868 2510For older changes see ChangeLog-2017
3499769a 2511\f
1e563868 2512Copyright (C) 2018 Free Software Foundation, Inc.
3499769a
AM
2513
2514Copying and distribution of this file, with or without modification,
2515are permitted in any medium without royalty provided the copyright
2516notice and this notice are preserved.
2517
2518Local Variables:
2519mode: change-log
2520left-margin: 8
2521fill-column: 74
2522version-control: never
2523End:
This page took 0.263904 seconds and 4 git commands to generate.