x86-64: Generate branch with PLT32 relocation
[external/binutils.git] / ld / ChangeLog
1 2018-02-13  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR gas/22791
4         * testsuite/ld-x86-64/mpx1c.rd: Updated.
5         * testsuite/ld-x86-64/pr22791-1.err: New file.
6         * testsuite/ld-x86-64/pr22791-1a.c: Likewise.
7         * testsuite/ld-x86-64/pr22791-1b.s: Likewise.
8         * testsuite/ld-x86-64/pr22791-2.rd: Likewise.
9         * testsuite/ld-x86-64/pr22791-2a.s: Likewise.
10         * testsuite/ld-x86-64/pr22791-2b.c: Likewise.
11         * testsuite/ld-x86-64/pr22791-2c.s: Likewise.
12         * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22791 tests.
13
14 2018-02-13  Alan Modra  <amodra@gmail.com>
15
16         PR 22836
17         * testsuite/ld-elf/pr22836-2.d,
18         * testsuite/ld-elf/pr22836-2.s: New test.
19
20 2018-02-13  Alan Modra  <amodra@gmail.com>
21
22         * testsuite/ld-x86-64/pr14207.d: Adjust relro p_filesz.
23
24 2018-02-07  Alan Modra  <amodra@gmail.com>
25
26         Revert 2018-01-17  Alan Modra  <amodra@gmail.com>
27         * emultempl/ppc32elf.em: Remove --speculate-indirect-jumps support.
28         * emultempl/ppc64elf.em: Likesize
29         * ld.texinfo: Likewise
30         * testsuite/ld-powerpc/elfv2exe.d,
31         * testsuite/ld-powerpc/elfv2so.d,
32         * testsuite/ld-powerpc/relbrlt.d,
33         * testsuite/ld-powerpc/powerpc.exp: Likewise.
34
35 2018-02-06  Eric Botcazou  <ebotcazou@adacore.com>
36
37         * testsuite/ld-elf/tls.exp (AFLAGS_PIC): Define on SPARC.
38         (pr22263-1): Pass AFLAGS_PIC to the assembler.
39         * testsuite/ld-sparc/tlspie32.s: Add test for other 3 transitions.
40         * testsuite/ld-sparc/tlspie32.dd: Adjust to above.
41         * testsuite/ld-sparc/tlspie64.s: Add test for other 3 transitions.
42         * testsuite/ld-sparc/tlspie64.dd: Adjust to above.
43
44 2018-02-05  Renlin Li  <renlin.li@arm.com>
45
46         PR ld/22764
47         * testsuite/ld-aarch64/emit-relocs-258.s: Define symbol as an address.
48         * testsuite/ld-aarch64/emit-relocs-259.s: Likewise.
49         * testsuite/ld-aarch64/pr22764.s: New.
50         * testsuite/ld-aarch64/pr22764.d: New.
51
52 2018-02-05  H.J. Lu  <hongjiu.lu@intel.com>
53
54         PR ld/22782
55         * testsuite/ld-i386/discarded1.s: Replace mov with div.
56         * testsuite/ld-x86-64/discarded1.s: Likewise.
57         * testsuite/ld-i386/i386.exp: Run pr22782.
58         * testsuite/ld-i386/load1-nacl.d: Updated for removing
59         _GLOBAL_OFFSET_TABLE_ from output.
60         * testsuite/ld-i386/load1.d: Likewise.
61         * testsuite/ld-x86-64/load1a-nacl.d: Likewise.
62         * testsuite/ld-x86-64/load1a.d: Likewise.
63         * testsuite/ld-x86-64/load1b-nacl.d: Likewise.
64         * testsuite/ld-x86-64/load1b.d: Likewise.
65         * testsuite/ld-i386/pr22782.d: New file.
66         * testsuite/ld-i386/pr22782.s: Likewise.
67         * testsuite/ld-x86-64/pr22782.s: Likewise.
68         * testsuite/ld-x86-64/pr22782a.d: Likewise.
69         * testsuite/ld-x86-64/pr22782b.d: Likewise.
70         * testsuite/ld-x86-64/x86-64.exp: Run pr22782a and pr22782b.
71
72 2018-02-05  Nick Clifton  <nickc@redhat.com>
73
74         * po/pt_BR.po: Updated Brazilian Portuguese translation.
75
76 2018-02-04  H.J. Lu  <hongjiu.lu@intel.com>
77
78         * testsuite/ld-i386/lea1d.d: Replace -Sw with -SW.
79         * testsuite/ld-i386/lea1e.d: Likewise.
80         * testsuite/ld-i386/lea1f.d: Likewise.
81         * testsuite/ld-x86-64/lea1g.d: Likewise.
82         * testsuite/ld-x86-64/lea1h.d: Likewise.
83         * testsuite/ld-x86-64/lea1i.d: Likewise.
84         * testsuite/ld-x86-64/lea1j.d: Likewise.
85         * testsuite/ld-x86-64/lea1k.d: Likewise.
86         * testsuite/ld-x86-64/lea1l.d: Likewise.
87
88 2018-02-03  Nick Clifton  <nickc@redhat.com>
89
90         PR 22762
91         * scripttempl/pe.sc: Remove PROVIDE()s from __CTOR_LIST__ and
92         __DTOR_LIST__ symbols.  Add a comment explaining why this is
93         necessary.
94         * scripttemp/pep.sc: Likewise.
95         * ld.texinfo (PROVIDE): Add a note about the effect of common
96         symbols.
97
98 2018-02-03  Sandra Loosemore  <sandra@codesourcery.com>
99
100         * emulparams/nios2elf.sh (GENERATE_SHLIB_SCRIPT): Don't set.
101
102 2018-02-02  Maciej W. Rozycki  <macro@mips.com>
103
104         * testsuite/ld-elf/shared.exp: Add $AFLAGS_PIC throughout to PIC
105         assembly builds where missing and remove `tic6x-*-*' XFAIL
106         markings accordingly.
107
108 2018-02-01  Simon Marchi  <simon.marchi@ericsson.com>
109
110         * ldexp.c (fold_name, exp_fold_tree_1): Avoid pointer arithmetic
111         on NULL pointer.
112
113 2018-01-31  H.J. Lu  <hongjiu.lu@intel.com>
114
115         * testsuite/ld-elf/pr21964-5.c (my_var): Mark as used.
116
117 2018-01-31  Maciej W. Rozycki  <macro@mips.com>
118
119         * testsuite/ld-elf/shared.exp: Fix a typo s/scrip/script/.
120
121 2018-01-31  Maciej W. Rozycki  <macro@mips.com>
122
123         * testsuite/ld-elf/comm-data.exp: Pass `-call_shared' to links
124         involving a shared library for `mips*vr4100*-*-elf*',
125         `mips*vr4300*-*-elf*' and `mips*vr5000*-*-elf*' targets.
126         * testsuite/ld-elf/provide-hidden.exp: Likewise.
127         * testsuite/ld-elf/shared.exp: Likewise.
128         * testsuite/ld-gc/gc.exp: Likewise.
129         * testsuite/ld-mips-elf/comm-data.exp: Likewise.
130
131 2018-01-31  Maciej W. Rozycki  <macro@mips.com>
132
133         * testsuite/ld-elf/elf.exp: Move shared library tests over to...
134         * testsuite/ld-elf/shared.exp: ... here.
135
136 2018-01-31  Michael Matz  <matz@suse.de>
137
138         * testsuite/ld-elf/pr21964-5.c: New test.
139         * testsuite/ld-elf/shared.exp: Run it.
140
141 2018-01-31  H.J. Lu  <hongjiu.lu@intel.com>
142
143         PR ld/21964
144         * testsuite/ld-elf/pr21964-4.c: New file.
145         * testsuite/ld-elf/shared.exp: Run pr21964-4 test on Linux.
146
147 2018-01-30  Alan Modra  <amodra@gmail.com>
148
149         * testsuite/ld-gc/stop.d,
150         * testsuite/ld-gc/stop.s: New test.
151         * testsuite/ld-gc/gc.exp: Run it.
152
153 2018-01-30  Maciej W. Rozycki  <macro@mips.com>
154
155         PR ld/22649
156         * testsuite/ld-elf/pr22649-2ab-mips.msg: New stderr output.
157         * testsuite/ld-elf/pr22649-2cd-mips.msg: New stderr output.
158         * testsuite/ld-elf/shared.exp: Use the new outputs with
159         `mips*-*-*' targets.
160
161 2018-01-30  Maciej W. Rozycki  <macro@mips.com>
162
163         * testsuite/ld-elf/comm-data1.sd: Alternatively accept
164         `PRC[0xff02]' in place of a regular section index.
165         * testsuite/ld-elf/pr21703-shared.sd: Likewise `PRC[0xff01]'.
166
167 2018-01-29  Alan Modra  <amodra@gmail.com>
168
169         * testsuite/ld-elf/pr21964-3a.c: New file.
170         * testsuite/ld-elf/pr21964-3c.c: New file.
171         * testsuite/ld-elf/shared.exp: Run new __start/__stop testcase.
172
173 2018-01-29  Eric Botcazou  <ebotcazou@adacore.com>
174
175         * testsuite/ld-elf/shared.exp (AFLAGS_PIC): Define on SPARC.
176         (pr22269-1): Pass AFLAGS_PIC to the assembler.
177
178 2018-01-29  Eric Botcazou  <ebotcazou@adacore.com>
179
180         * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
181
182 2018-01-29  Maciej W. Rozycki  <macro@mips.com>
183
184         * testsuite/ld-mips-elf/comm-data.exp: Correct support for
185         targets using non-traditional MIPS emulation or having a limited
186         selection of ABIs available.  Don't force big endianness, use
187         defaults.
188
189 2018-01-29  H.J. Lu  <hongjiu.lu@intel.com>
190
191         PR ld/22732
192         * testsuite/config/default.exp (STATIC_LDFLAGS): New.  Set to
193         "-static" if target compiler supports it.
194         * testsuite/ld-bootstrap/bootstrap.exp: Skip static executable
195         tests if target compiler doesn't support it.
196         * testsuite/ld-ifunc/ifunc.exp: Likewise.
197         * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Likewise.
198         (run_cc_link_tests): Likewise.
199
200 2018-01-27  H.J. Lu  <hongjiu.lu@intel.com>
201
202         PR ld/22751
203         * testsuite/config/default.exp (INT128_CFLAGS): New.
204         * testsuite/ld-plugin/lto.exp (INT128_CFLAGS): New.
205         Run ld/22751 tests.
206         * testsuite/ld-plugin/pr22751.c: New file.
207         * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Add
208         ld trailing options.
209
210 2018-01-28  Alan Modra  <amodra@gmail.com>
211
212         PR 22751
213         * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
214         set.
215
216 2018-01-26  Maciej W. Rozycki  <macro@mips.com>
217
218         * emulparams/elf32mipswindiss.sh (EXTRA_EM_FILE): Set to
219         `mipself'.
220
221 2018-01-25  Eric Botcazou  <ebotcazou@adacore.com>
222
223         * testsuite/ld-sparc/sparc.exp (32-bit: Helper shared library):
224         Link with a version script.
225         (32-bit: TLS -fpie): New test.
226         (64-bit: Helper shared library): Link with a version script.
227         (64-bit: TLS -fpie): New test.
228         (64-bit: GOTDATA relocations): Pass -Av9 to the assembler.
229         * testsuite/ld-sparc/tlslib.ver: New file.
230         * testsuite/ld-sparc/tlspie32.dd: Likewise.
231         * testsuite/ld-sparc/tlspie32.s: Likewise.
232         * testsuite/ld-sparc/tlspie64.dd: Likewise.
233         * testsuite/ld-sparc/tlspie64.s: Likewise.
234         * testsuite/ld-sparc/tlssunbin32.dd: Adjust for versioned symbol.
235         * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
236         * testsuite/ld-sparc/tlssunbin32.sd: Likewise.
237         * testsuite/ld-sparc/tlssunbin64.dd: Likewise.
238         * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
239         * testsuite/ld-sparc/tlssunbin64.sd: Likewise.
240
241 2018-01-24  Renlin Li  <renlin.li@arm.com>
242
243         * testsuite/ld-aarch64/aarch64-elf.exp: Run new testes.
244         * testsuite/ld-aarch64/emit-relocs-287.s: Fix test case.
245         * testsuite/ld-aarch64/emit-relocs-287.d: Fix expected output.
246         * testsuite/ld-aarch64/emit-relocs-287-overflow.s: New.
247         * testsuite/ld-aarch64/emit-relocs-287-overflow.d: New.
248         * testsuite/ld-aarch64/emit-relocs-288.d: New.
249         * testsuite/ld-aarch64/emit-relocs-288.s: New.
250         * testsuite/ld-aarch64/emit-relocs-289.d: New.
251         * testsuite/ld-aarch64/emit-relocs-289.s: New.
252         * testsuite/ld-aarch64/emit-relocs-289-overflow.s: New.
253         * testsuite/ld-aarch64/emit-relocs-289-overflow.d: New.
254         * testsuite/ld-aarch64/emit-relocs-290.d: New.
255         * testsuite/ld-aarch64/emit-relocs-290.s: New.
256         * testsuite/ld-aarch64/emit-relocs-291.d: New.
257         * testsuite/ld-aarch64/emit-relocs-291.s: New.
258         * testsuite/ld-aarch64/emit-relocs-291-overflow.s: New.
259         * testsuite/ld-aarch64/emit-relocs-291-overflow.d: New.
260         * testsuite/ld-aarch64/emit-relocs-292.d: New.
261         * testsuite/ld-aarch64/emit-relocs-292.s: New.
262         * testsuite/ld-aarch64/emit-relocs-293.d: New.
263         * testsuite/ld-aarch64/emit-relocs-293.s: New.
264
265 2018-01-20  H.J. Lu  <hongjiu.lu@intel.com>
266
267         PR ld/22721
268         * testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
269         * testsuite/ld-plugin/pr22721.t: New file.
270         * testsuite/ld-plugin/pr22721a.s: Likewise.
271         * testsuite/ld-plugin/pr22721b.c: Likewise.
272
273 2018-01-18  H.J. Lu  <hongjiu.lu@intel.com>
274
275         * testsuite/ld-elf/group1.d: Also xfail Solaris.
276
277 2018-01-18  H.J. Lu  <hongjiu.lu@intel.com>
278
279         * testsuite/ld-elf/linkinfo1a.d: Updated for slightly different
280         PLT/GOT order/layout for Solaris/x86 targets.
281         * testsuite/ld-elf/linkinfo1b.d: Likewise.
282
283 2018-01-18  H.J. Lu  <hongjiu.lu@intel.com>
284
285         PR ld/22728
286         * emultempl/solaris2.em (elf_solaris2_after_allocation): Fold
287         into ...
288         (elf_solaris2_before_allocation): This.
289         (LDEMUL_AFTER_ALLOCATION): Removed.
290
291 2018-01-18  Alan Modra  <amodra@gmail.com>
292
293         * emultempl/ppc32elf.em: Support optional --plt-align arg.
294         * emultempl/ppc64elf.em: Support negative --plt-align arg.
295
296 2018-01-17  Alan Modra  <amodra@gmail.com>
297
298         * emultempl/ppc32elf.em (params): Init new field.
299         (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
300         (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
301         (PARSE_AND_LIST_LONGOPTS): Handle new options.
302         (PARSE_AND_LIST_ARGS_CASES): Likewise.
303         (PARSE_AND_LIST_OPTIONS): Likewise.
304         * emultempl/ppc64elf.em (params): Init new field.
305         (OPTION_SPECULATE_INDIRECT_JUMPS): Define.
306         (OPTION_NO_SPECULATE_INDIRECT_JUMPS): Define.
307         (PARSE_AND_LIST_LONGOPTS): Handle --speculate-indirect-jumps.
308         (PARSE_AND_LIST_OPTIONS): Likewise.
309         (PARSE_AND_LIST_ARGS_CASES): Likewise.
310         * ld.texinfo (--no-plt-thread-safe): Correct itemx.
311         (--speculate-indirect-jumps): Document.
312         * testsuite/ld-powerpc/elfv2exe.d,
313         * testsuite/ld-powerpc/elfv2so.d,
314         * testsuite/ld-powerpc/relbrlt.d,
315         * testsuite/ld-powerpc/powerpc.exp: Disable plt alignment and
316         speculation barriers on various tests.
317
318 2018-01-17  Alan Modra  <amodra@gmail.com>
319
320         * emultempl/ppc32elf.em (params): Init new field.
321         (enum ppc32_opt): New enum to define OPTION_* values.  Add
322         OPTION_PLT_ALIGN and OPTION_NO_PLT_ALIGN.
323         (PARSE_AND_LIST_LONGOPTS): Handle new options.
324         (PARSE_AND_LIST_ARGS_CASES): Likewise.
325         (PARSE_AND_LIST_OPTIONS): Likewise.  Break up help output.
326         * emultempl/ppc64elf.em (ppc_add_stub_section): Init alignment
327         correctly for negative --plt-stub-align.
328         * testsuite/ld-powerpc/elfv2exe.d,
329         * testsuite/ld-powerpc/elfv2so.d,
330         * testsuite/ld-powerpc/relbrlt.d,
331         * testsuite/ld-powerpc/relbrlt.s,
332         * testsuite/ld-powerpc/tlsexe.d,
333         * testsuite/ld-powerpc/tlsexe.r,
334         * testsuite/ld-powerpc/tlsexe32.d,
335         * testsuite/ld-powerpc/tlsexe32.g,
336         * testsuite/ld-powerpc/tlsexe32.r,
337         * testsuite/ld-powerpc/tlsexetoc.d,
338         * testsuite/ld-powerpc/tlsexetoc.r,
339         * testsuite/ld-powerpc/tlsopt5_32.d,
340         * testsuite/ld-powerpc/tlsso.d,
341         * testsuite/ld-powerpc/tlstocso.d: Update for changed stub order.
342
343 2018-01-16  Nick Clifton  <nickc@redhat.com>
344
345         * po/pt_BR.po: Updated Brazilian Portuguese translation.
346
347 2018-01-15  Nick Clifton  <nickc@redhat.com>
348
349         * po/uk.po: Updated Ukranian translation.
350
351 2018-01-13  Nick Clifton  <nickc@redhat.com>
352
353         * po/ld.pot: Regenerated.
354
355 2018-01-13  Nick Clifton  <nickc@redhat.com>
356
357         * configure: Regenerate.
358
359 2018-01-13  Nick Clifton  <nickc@redhat.com>
360
361         2.30 branch created.
362         * NEWS: Add marker for 2.30.
363
364 2018-01-12  Alan Modra  <amodra@gmail.com>
365
366         * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer
367         initialization" for currently failing targets.
368
369 2018-01-12  Alan Modra  <amodra@gmail.com>
370
371         PR ld/22649
372         * testsuite/ld-elf/pr22649.msg: Allow other messages.
373         * testsuite/ld-elf/shared.exp: Check that --gc-sections is
374         supported before running ld/22649 tests.
375
376 2018-01-12  Nick Clifton  <nickc@redhat.com>
377
378         * emultempl/elf32.em (_handle_option): Add support for "-z undefs"
379         as the opposite of "-z defs".
380         * ld.texinfo: Document the new option.  Update the description of
381         the -z defs option to make it clear that it does generate an error
382         if an undefined symbol reference is found in an object file whilst
383         creating a shared library.
384         * NEWS: Document this new feature.
385
386 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
387
388         * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with
389         "-z separate-code".
390         * testsuite/ld-elf/pr22393-2b.rd: Likewise.
391         * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
392         * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
393
394 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
395
396         PR ld/22393
397         * testsuite/ld-x86-64/pr22393-3a.c: New file.
398         * testsuite/ld-x86-64/pr22393-3a.rd: Likewise.
399         * testsuite/ld-x86-64/pr22393-3b.c: Likewise.
400         * testsuite/ld-x86-64/pr22393-3b.rd: Likewise.
401         * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code
402         -z max-page-size=0x1000.
403
404 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
405
406         PR ld/22393
407         * testsuite/ld-elf/pr16322.d: Add -z noseparate-code.
408         * testsuite/ld-elf/pr22393-1.s: New file.
409         * testsuite/ld-elf/pr22393-1a.d: Likewise.
410         * testsuite/ld-elf/pr22393-1b.d: Likewise.
411         * testsuite/ld-elf/pr22393-1c.d: Likewise.
412         * testsuite/ld-elf/pr22393-1d.d: Likewise.
413         * testsuite/ld-elf/pr22393-1e.d: Likewise.
414         * testsuite/ld-elf/pr22393-1f.d: Likewise.
415         * testsuite/ld-elf/pr22393-2a.c: Likewise.
416         * testsuite/ld-elf/pr22393-2a.rd: Likewise.
417         * testsuite/ld-elf/pr22393-2b.c: Likewise.
418         * testsuite/ld-elf/pr22393-2b.rd: Likewise.
419         * testsuite/ld-elf/shared.exp: Run tests for -z separate-code.
420
421 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
422
423         PR ld/22393
424         * NEWS: Mention "-z separate-code".
425         * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get
426         builtin linker scripts and return linker scripts from disk for
427         "-z separate-code".
428         (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code"
429         and "-z noseparate-code".
430         * genscripts.sh: Generate linker scripts for "-z separate-code".
431         (LD_FLAG): Set to *textonly for "-z separate-code".
432         * ld.texinfo: Document "-z separate-code".
433         * lexsup.c (elf_shlib_list_options): Add linker help messsages
434         for "-z separate-code" and "-z noseparate-code".
435         * scripttempl/elf.sc (SEPARATE_TEXT): New
436         (TEXT_SEGMENT_ALIGN): Likewise.
437         Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to
438         ${MAXPAGESIZE}.
439
440 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
441
442         PR ld/22649
443         * testsuite/ld-elf/pr22649-1.s: New file.
444         * testsuite/ld-elf/pr22649-2a.s: Likewise.
445         * testsuite/ld-elf/pr22649-2b.s: Likewise.
446         * testsuite/ld-elf/pr22649.msg: Likewise.
447         * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
448
449 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
450
451         PR ld/22677
452         * scripttempl/elf.sc (PREINIT_ARRAY): New.
453         Don't add .preinit_array for ld -r.
454         * testsuite/ld-elf/pr22677.d: New file.
455         * testsuite/ld-elf/pr22677.s: Likewise.
456
457 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
458
459         * ldexp.h (union etree_union): Remove defsym field.
460         * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
461         parameter.
462         (exp_assign): Remove passing of defsym parameter.
463         (exp_defsym): Likewise.
464         (exp_provide): Likewise.
465
466 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
467
468         * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
469         nodes are ignored in the tree walk, and move the location at which
470         we change provide nodes into provided nodes.
471         (exp_init_os): Add etree_provided.
472         * testsuite/ld-scripts/provide-6.d: New file.
473         * testsuite/ld-scripts/provide-6.t: New file.
474         * testsuite/ld-scripts/provide-7.d: New file.
475         * testsuite/ld-scripts/provide-7.t: New file.
476         * testsuite/ld-scripts/provide-8.d: New file.
477         * testsuite/ld-scripts/provide-8.t: New file.
478
479 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
480
481         * testsuite/ld-scripts/provide-3.d: Add xfail directive.
482         * testsuite/ld-scripts/provide-4.d: Use new map file name.
483         * testsuite/ld-scripts/provide-5.d: Use new map file name.
484         * testsuite/ld-scripts/provide-4-map.d: Renamed to...
485         * testsuite/ld-scripts/provide-4.map: ...this.
486         * testsuite/ld-scripts/provide-5-map.d: Renamed to...
487         * testsuite/ld-scripts/provide-5.map: ...this.
488         * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
489         file, and run tests in a loop.
490
491 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
492
493         * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
494         PROVIDE statements.
495         * testsuite/ld-scripts/provide-4.map: Update expected output.
496         * testsuite/ld-scripts/provide-5.map: Likewise.
497
498 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
499
500         PR ld/22696
501         * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
502
503 2018-01-09  Jim Wilson  <jimw@sifive.com>
504
505         * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
506         (#alltargets): Renamed from #target.  Add shared.
507         * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
508         Document alltargets option.  Add support for alltargets option.
509         (istarget): Add support for shared target.
510
511 2018-01-08  Jim Wilson  <jimw@sifive.com>
512
513         * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared.  Check for _start
514         instead of .text.
515         * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
516         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
517         tests, add call to check_shared_lib_support.
518
519 2018-01-05  Jim Wilson  <jimw@sifive.com>
520
521         * testsuite/ld-riscv-elf/disas-jalr.d: New.
522         * testsuite/ld-riscv-elf/disas-jalr.s: New.
523         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
524
525         * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
526         case on $target, and don't set for riscv*-elf targets.
527         (GENERATE_PIE_SCRIPT): Likewise.
528
529 2018-01-03  Alan Modra  <amodra@gmail.com>
530
531         Update year range in copyright notice of all files.
532
533 For older changes see ChangeLog-2017
534 \f
535 Copyright (C) 2018 Free Software Foundation, Inc.
536
537 Copying and distribution of this file, with or without modification,
538 are permitted in any medium without royalty provided the copyright
539 notice and this notice are preserved.
540
541 Local Variables:
542 mode: change-log
543 left-margin: 8
544 fill-column: 74
545 version-control: never
546 End: