Commit | Line | Data |
---|---|---|
9176ac5b NC |
1 | 2018-01-13 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * NEWS: Add marker for 2.30. | |
4 | ||
5ae5d3fd AM |
5 | 2018-01-12 Alan Modra <amodra@gmail.com> |
6 | ||
7 | * testsuite/ld-elf/elf.exp: xfail "pr22374 function pointer | |
8 | initialization" for currently failing targets. | |
9 | ||
87e79a65 AM |
10 | 2018-01-12 Alan Modra <amodra@gmail.com> |
11 | ||
12 | PR ld/22649 | |
13 | * testsuite/ld-elf/pr22649.msg: Allow other messages. | |
14 | * testsuite/ld-elf/shared.exp: Check that --gc-sections is | |
15 | supported before running ld/22649 tests. | |
16 | ||
97a232d7 NC |
17 | 2018-01-12 Nick Clifton <nickc@redhat.com> |
18 | ||
19 | * emultempl/elf32.em (_handle_option): Add support for "-z undefs" | |
20 | as the opposite of "-z defs". | |
21 | * ld.texinfo: Document the new option. Update the description of | |
22 | the -z defs option to make it clear that it does generate an error | |
23 | if an undefined symbol reference is found in an object file whilst | |
24 | creating a shared library. | |
25 | * NEWS: Document this new feature. | |
26 | ||
33eff4ce L |
27 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
28 | ||
29 | * testsuite/ld-elf/pr22393-2a.rd: Replace "-z textonly" with | |
30 | "-z separate-code". | |
31 | * testsuite/ld-elf/pr22393-2b.rd: Likewise. | |
32 | * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. | |
33 | * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. | |
34 | ||
cf9e7f1f L |
35 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
36 | ||
37 | PR ld/22393 | |
38 | * testsuite/ld-x86-64/pr22393-3a.c: New file. | |
39 | * testsuite/ld-x86-64/pr22393-3a.rd: Likewise. | |
40 | * testsuite/ld-x86-64/pr22393-3b.c: Likewise. | |
41 | * testsuite/ld-x86-64/pr22393-3b.rd: Likewise. | |
42 | * testsuite/ld-x86-64/x86-64.exp: Run tests for -z separate-code | |
43 | -z max-page-size=0x1000. | |
44 | ||
d346bb27 L |
45 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
46 | ||
47 | PR ld/22393 | |
48 | * testsuite/ld-elf/pr16322.d: Add -z noseparate-code. | |
49 | * testsuite/ld-elf/pr22393-1.s: New file. | |
50 | * testsuite/ld-elf/pr22393-1a.d: Likewise. | |
51 | * testsuite/ld-elf/pr22393-1b.d: Likewise. | |
52 | * testsuite/ld-elf/pr22393-1c.d: Likewise. | |
53 | * testsuite/ld-elf/pr22393-1d.d: Likewise. | |
54 | * testsuite/ld-elf/pr22393-1e.d: Likewise. | |
55 | * testsuite/ld-elf/pr22393-1f.d: Likewise. | |
56 | * testsuite/ld-elf/pr22393-2a.c: Likewise. | |
57 | * testsuite/ld-elf/pr22393-2a.rd: Likewise. | |
58 | * testsuite/ld-elf/pr22393-2b.c: Likewise. | |
59 | * testsuite/ld-elf/pr22393-2b.rd: Likewise. | |
60 | * testsuite/ld-elf/shared.exp: Run tests for -z separate-code. | |
61 | ||
47acac12 L |
62 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
63 | ||
64 | PR ld/22393 | |
65 | * NEWS: Mention "-z separate-code". | |
66 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Get | |
67 | builtin linker scripts and return linker scripts from disk for | |
68 | "-z separate-code". | |
69 | (gld${EMULATION_NAME}_handle_option): Handle "-z separate-code" | |
70 | and "-z noseparate-code". | |
71 | * genscripts.sh: Generate linker scripts for "-z separate-code". | |
72 | (LD_FLAG): Set to *textonly for "-z separate-code". | |
73 | * ld.texinfo: Document "-z separate-code". | |
74 | * lexsup.c (elf_shlib_list_options): Add linker help messsages | |
75 | for "-z separate-code" and "-z noseparate-code". | |
76 | * scripttempl/elf.sc (SEPARATE_TEXT): New | |
77 | (TEXT_SEGMENT_ALIGN): Likewise. | |
78 | Use ${TEXT_SEGMENT_ALIGN} to align and pad text segment to | |
79 | ${MAXPAGESIZE}. | |
80 | ||
d664fd41 L |
81 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
82 | ||
83 | PR ld/22649 | |
84 | * testsuite/ld-elf/pr22649-1.s: New file. | |
85 | * testsuite/ld-elf/pr22649-2a.s: Likewise. | |
86 | * testsuite/ld-elf/pr22649-2b.s: Likewise. | |
87 | * testsuite/ld-elf/pr22649.msg: Likewise. | |
88 | * testsuite/ld-elf/shared.exp: Run ld/22649 tests. | |
89 | ||
8b6f4cd3 L |
90 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
91 | ||
92 | PR ld/22677 | |
93 | * scripttempl/elf.sc (PREINIT_ARRAY): New. | |
94 | Don't add .preinit_array for ld -r. | |
95 | * testsuite/ld-elf/pr22677.d: New file. | |
96 | * testsuite/ld-elf/pr22677.s: Likewise. | |
97 | ||
65f14869 AB |
98 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
99 | ||
100 | * ldexp.h (union etree_union): Remove defsym field. | |
101 | * ldexp.c (exp_assop): Remove defsym parameter, and use of defsym | |
102 | parameter. | |
103 | (exp_assign): Remove passing of defsym parameter. | |
104 | (exp_defsym): Likewise. | |
105 | (exp_provide): Likewise. | |
106 | ||
eab62f2f AB |
107 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
108 | ||
109 | * ldexp.c (exp_fold_tree_1): Rework condition underwhich provide | |
110 | nodes are ignored in the tree walk, and move the location at which | |
111 | we change provide nodes into provided nodes. | |
112 | (exp_init_os): Add etree_provided. | |
113 | * testsuite/ld-scripts/provide-6.d: New file. | |
114 | * testsuite/ld-scripts/provide-6.t: New file. | |
115 | * testsuite/ld-scripts/provide-7.d: New file. | |
116 | * testsuite/ld-scripts/provide-7.t: New file. | |
117 | * testsuite/ld-scripts/provide-8.d: New file. | |
118 | * testsuite/ld-scripts/provide-8.t: New file. | |
119 | ||
8be965c5 AB |
120 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
121 | ||
122 | * testsuite/ld-scripts/provide-3.d: Add xfail directive. | |
123 | * testsuite/ld-scripts/provide-4.d: Use new map file name. | |
124 | * testsuite/ld-scripts/provide-5.d: Use new map file name. | |
125 | * testsuite/ld-scripts/provide-4-map.d: Renamed to... | |
126 | * testsuite/ld-scripts/provide-4.map: ...this. | |
127 | * testsuite/ld-scripts/provide-5-map.d: Renamed to... | |
128 | * testsuite/ld-scripts/provide-5.map: ...this. | |
129 | * testsuite/ld-scripts/provide.exp: Move xfail into provide-3.d | |
130 | file, and run tests in a loop. | |
131 | ||
b3b9f8d3 AB |
132 | 2018-01-11 Andrew Burgess <andrew.burgess@embecosm.com> |
133 | ||
134 | * ldexp.c (exp_print_tree): Use '=' instead of ',' when printing | |
135 | PROVIDE statements. | |
136 | * testsuite/ld-scripts/provide-4.map: Update expected output. | |
137 | * testsuite/ld-scripts/provide-5.map: Likewise. | |
138 | ||
6bd0a312 L |
139 | 2018-01-11 H.J. Lu <hongjiu.lu@intel.com> |
140 | ||
141 | PR ld/22696 | |
142 | * scripttempl/elf.sc: Fix the order of SHLIB_RODATA_ADDR. | |
143 | ||
74ccf6db JW |
144 | 2018-01-09 Jim Wilson <jimw@sifive.com> |
145 | ||
146 | * testsuite/ld-elf/eh-frame-hdr.d (#xfail): Delete | |
147 | (#alltargets): Renamed from #target. Add shared. | |
148 | * testsuite/lib/ld-lib.exp (run_dump_test): Document shared target. | |
149 | Document alltargets option. Add support for alltargets option. | |
150 | (istarget): Add support for shared target. | |
151 | ||
7615ca1d JW |
152 | 2018-01-08 Jim Wilson <jimw@sifive.com> |
153 | ||
154 | * testsuite/ld-riscv-elf/c-lui.d: Don't use -shared. Check for _start | |
155 | instead of .text. | |
156 | * testsuite/ld-riscv-elf/c-lui.s: Add _start label. | |
157 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$ | |
158 | tests, add call to check_shared_lib_support. | |
159 | ||
be1dce26 JW |
160 | 2018-01-05 Jim Wilson <jimw@sifive.com> |
161 | ||
35eeb78f JW |
162 | * testsuite/ld-riscv-elf/disas-jalr.d: New. |
163 | * testsuite/ld-riscv-elf/disas-jalr.s: New. | |
164 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run new testcase. | |
165 | ||
be1dce26 JW |
166 | * emulparams/elf32lriscv-defs.sh (GENERATE_SHLIB_SCRIPT): Move inside |
167 | case on $target, and don't set for riscv*-elf targets. | |
168 | (GENERATE_PIE_SCRIPT): Likewise. | |
169 | ||
219d1afa AM |
170 | 2018-01-03 Alan Modra <amodra@gmail.com> |
171 | ||
172 | Update year range in copyright notice of all files. | |
173 | ||
1e563868 | 174 | For older changes see ChangeLog-2017 |
3499769a | 175 | \f |
1e563868 | 176 | Copyright (C) 2018 Free Software Foundation, Inc. |
3499769a AM |
177 | |
178 | Copying and distribution of this file, with or without modification, | |
179 | are permitted in any medium without royalty provided the copyright | |
180 | notice and this notice are preserved. | |
181 | ||
182 | Local Variables: | |
183 | mode: change-log | |
184 | left-margin: 8 | |
185 | fill-column: 74 | |
186 | version-control: never | |
187 | End: |