Ignore dynamic references on forced local symbols
[external/binutils.git] / ld / ChangeLog
1 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
2
3         PR ld/22649
4         * testsuite/ld-elf/pr22649-1.s: New file.
5         * testsuite/ld-elf/pr22649-2a.s: Likewise.
6         * testsuite/ld-elf/pr22649-2b.s: Likewise.
7         * testsuite/ld-elf/pr22649.msg: Likewise.
8         * testsuite/ld-elf/shared.exp: Run ld/22649 tests.
9
10 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
11
12         PR ld/22677
13         * scripttempl/elf.sc (PREINIT_ARRAY): New.
14         Don't add .preinit_array for ld -r.
15         * testsuite/ld-elf/pr22677.d: New file.
16         * testsuite/ld-elf/pr22677.s: Likewise.
17
18 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
19
20         * ldexp.h (union etree_union): Remove defsym field.
21         * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym
22         parameter.
23         (exp_assign): Remove passing of defsym parameter.
24         (exp_defsym): Likewise.
25         (exp_provide): Likewise.
26
27 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
28
29         * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide
30         nodes are ignored in the tree walk, and move the location at which
31         we change provide nodes into provided nodes.
32         (exp_init_os): Add etree_provided.
33         * testsuite/ld-scripts/provide-6.d: New file.
34         * testsuite/ld-scripts/provide-6.t: New file.
35         * testsuite/ld-scripts/provide-7.d: New file.
36         * testsuite/ld-scripts/provide-7.t: New file.
37         * testsuite/ld-scripts/provide-8.d: New file.
38         * testsuite/ld-scripts/provide-8.t: New file.
39
40 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
41
42         * testsuite/ld-scripts/provide-3.d: Add xfail directive.
43         * testsuite/ld-scripts/provide-4.d: Use new map file name.
44         * testsuite/ld-scripts/provide-5.d: Use new map file name.
45         * testsuite/ld-scripts/provide-4-map.d: Renamed to...
46         * testsuite/ld-scripts/provide-4.map: ...this.
47         * testsuite/ld-scripts/provide-5-map.d: Renamed to...
48         * testsuite/ld-scripts/provide-5.map: ...this.
49         * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d
50         file, and run tests in a loop.
51
52 2018-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
53
54         * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing
55         PROVIDE statements.
56         * testsuite/ld-scripts/provide-4.map: Update expected output.
57         * testsuite/ld-scripts/provide-5.map: Likewise.
58
59 2018-01-11  H.J. Lu  <hongjiu.lu@intel.com>
60
61         PR ld/22696
62         * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR.
63
64 2018-01-09  Jim Wilson  <jimw@sifive.com>
65
66         * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete
67         (#alltargets): Renamed from #target.  Add shared.
68         * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target.
69         Document alltargets option.  Add support for alltargets option.
70         (istarget): Add support for shared target.
71
72 2018-01-08  Jim Wilson  <jimw@sifive.com>
73
74         * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared.  Check for _start
75         instead of .text.
76         * testsuite/ld-riscv-elf/c-lui.s: Add _start label.
77         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
78         tests, add call to check_shared_lib_support.
79
80 2018-01-05  Jim Wilson  <jimw@sifive.com>
81
82         * testsuite/ld-riscv-elf/disas-jalr.d: New.
83         * testsuite/ld-riscv-elf/disas-jalr.s: New.
84         * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase.
85
86         * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside
87         case on $target, and don't set for riscv*-elf targets.
88         (GENERATE_PIE_SCRIPT): Likewise.
89
90 2018-01-03  Alan Modra  <amodra@gmail.com>
91
92         Update year range in copyright notice of all files.
93
94 For older changes see ChangeLog-2017
95 \f
96 Copyright (C) 2018 Free Software Foundation, Inc.
97
98 Copying and distribution of this file, with or without modification,
99 are permitted in any medium without royalty provided the copyright
100 notice and this notice are preserved.
101
102 Local Variables:
103 mode: change-log
104 left-margin: 8
105 fill-column: 74
106 version-control: never
107 End: