Commit | Line | Data |
---|---|---|
f4d18a54 L |
1 | 2017-11-12 H.J. Lu <hongjiu.lu@intel.com> |
2 | ||
3 | * ldlang.c (lang_size_sections_1): Extract GNU_RELRO region check | |
4 | into ... | |
5 | (ldlang_check_relro_region): New function. | |
6 | (lang_find_relro_sections_1): Add an argument for pointer to | |
7 | seg_align_type and replace expld.dataseg with the pointer. | |
8 | (lang_find_relro_sections): Pass address of expld.dataseg to | |
9 | lang_find_relro_sections_1. | |
10 | ||
cba6246d L |
11 | 2017-11-12 H.J. Lu <hongjiu.lu@intel.com> |
12 | ||
13 | * ldlang.c (lang_size_segment): New function. | |
14 | (lang_size_relro_segment_1): Likewise. | |
15 | (lang_size_relro_segment): Likewise. | |
16 | (lang_size_sections): Rewrite to call lang_size_relro_segment. | |
17 | ||
d7475e03 L |
18 | 2017-11-12 H.J. Lu <hongjiu.lu@intel.com> |
19 | ||
20 | * ldexp.c (fold_unary): Extract the DATA_SEGMENT_END case to ... | |
21 | (fold_segment_end): New function. | |
22 | (fold_binary): Extract the DATA_SEGMENT_ALIGN case to ... | |
23 | (fold_segment_align): New function. | |
24 | (fold_binary): Extract the DATA_SEGMENT_RELRO_END case to ... | |
25 | (fold_segment_relro_end): New function. | |
26 | ||
0f99513f L |
27 | 2017-11-12 H.J. Lu <hongjiu.lu@intel.com> |
28 | ||
29 | * ldexp.h (phase_enum): Rename exp_dataseg_none, | |
30 | exp_dataseg_align_seen, exp_dataseg_relro_seen, | |
31 | exp_dataseg_end_seen, exp_dataseg_relro_adjust, | |
32 | exp_dataseg_adjust and exp_dataseg_done to exp_seg_none, | |
33 | exp_seg_align_seen, exp_seg_relro_seen, exp_seg_end_seen, | |
34 | exp_seg_relro_adjust, exp_seg_adjust and exp_seg_done. | |
35 | (relro_enum): Rename exp_dataseg_relro_none, | |
36 | exp_dataseg_relro_start and exp_dataseg_relro_end to | |
37 | exp_seg_relro_none, exp_seg_relro_start and exp_seg_relro_end. | |
38 | (seg_align_type): New struct type. | |
39 | (ldexp_control): Use seg_align_type. | |
40 | * ldexp.c (fold_unary): Updated. | |
41 | (fold_binary): Likewise. | |
42 | * ldlang.c (strip_excluded_output_sections): Likewise. | |
43 | (lang_size_sections_1): Likewise. | |
44 | (lang_size_sections): Likewise. | |
45 | ||
f882209d L |
46 | 2017-11-12 H.J. Lu <hongjiu.lu@intel.com> |
47 | ||
48 | PR ld/22423 | |
49 | * testsuite/ld-alpha/tlsbin.rd: Replace "R E " with "R +" for | |
50 | PT_PHDR segment. | |
51 | * testsuite/ld-alpha/tlsbinr.rd: Likewise. | |
52 | * testsuite/ld-ia64/tlsbin.rd: Likewise. | |
53 | * testsuite/ld-powerpc/tlsexe.r: Likewise. | |
54 | * testsuite/ld-powerpc/tlsexe32.r: Likewise. | |
55 | * testsuite/ld-powerpc/tlsexetoc.r: Likewise. | |
56 | * testsuite/ld-s390/tlsbin.rd: Likewise. | |
57 | * testsuite/ld-s390/tlsbin_64.rd: Likewise. | |
58 | * testsuite/ld-sparc/tlssunbin32.rd: Likewise. | |
59 | * testsuite/ld-sparc/tlssunbin64.rd: Likewise. | |
60 | * testsuite/ld-elf/pr22423.d: New test. | |
61 | ||
ce3ad333 L |
62 | 2017-11-12 H.J. Lu <hongjiu.lu@intel.com> |
63 | ||
64 | * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): Renamed | |
65 | to ... | |
66 | (OTHER_PLT_SECTIONS): This. | |
67 | * emulparams/elf_i386.sh: Likewise. | |
68 | * emulparams/elf_iamcu.sh: Likewise. | |
69 | * emulparams/elf_x86_64.sh: Likewise. | |
70 | * scripttempl/elf.sc: Place ${OTHER_PLT_SECTIONS} just after | |
71 | .plt. | |
72 | ||
fb24d531 L |
73 | 2017-11-09 H.J. Lu <hongjiu.lu@intel.com> |
74 | ||
75 | * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Reformat | |
76 | to generate consistent codes. | |
77 | ||
d3a49aa8 AM |
78 | 2017-11-07 Alan Modra <amodra@gmail.com> |
79 | ||
80 | * testsuite/ld-aarch64/ifunc-13.d, | |
81 | * testsuite/ld-aarch64/ifunc-15.d, | |
82 | * testsuite/ld-aarch64/ifunc-20.d, | |
83 | * testsuite/ld-alpha/tlsbin.rd, | |
84 | * testsuite/ld-alpha/tlspic.rd, | |
85 | * testsuite/ld-arm/ifunc-3.rd, | |
86 | * testsuite/ld-arm/ifunc-9.rd, | |
87 | * testsuite/ld-arm/unwind-mix.d, | |
88 | * testsuite/ld-arm/unwind-rel.d, | |
89 | * testsuite/ld-cris/hiddef1.d, | |
90 | * testsuite/ld-cris/libdso-13.d, | |
91 | * testsuite/ld-cris/libdso-2.d, | |
92 | * testsuite/ld-cris/pr16044.d, | |
93 | * testsuite/ld-cris/tls-local-63.d, | |
94 | * testsuite/ld-cris/tls-local-64.d, | |
95 | * testsuite/ld-cris/tls-und-38.d, | |
96 | * testsuite/ld-cris/tls-und-42.d, | |
97 | * testsuite/ld-cris/tls-und-46.d, | |
98 | * testsuite/ld-cris/tls-und-50.d, | |
99 | * testsuite/ld-cris/weakref3.d, | |
100 | * testsuite/ld-cris/weakref4.d, | |
101 | * testsuite/ld-elf/comm-data2r.rd, | |
102 | * testsuite/ld-elf/discard1.d, | |
103 | * testsuite/ld-elf/discard2.d, | |
104 | * testsuite/ld-elf/pr19539.d, | |
105 | * testsuite/ld-elf/pr22374-1.r, | |
106 | * testsuite/ld-elf/pr22374-2.r, | |
107 | * testsuite/ld-i386/combreloc.d, | |
108 | * testsuite/ld-i386/emit-relocs-nacl.rd, | |
109 | * testsuite/ld-i386/emit-relocs.rd, | |
110 | * testsuite/ld-i386/pr13302.d, | |
111 | * testsuite/ld-i386/pr17709-nacl.rd, | |
112 | * testsuite/ld-i386/pr17709.rd, | |
113 | * testsuite/ld-i386/pr19539.d, | |
114 | * testsuite/ld-i386/pr19615.d, | |
115 | * testsuite/ld-i386/pr19636-1a.d, | |
116 | * testsuite/ld-i386/pr19636-1e.d, | |
117 | * testsuite/ld-i386/pr19636-1f.d, | |
118 | * testsuite/ld-i386/pr19636-2a.d, | |
119 | * testsuite/ld-i386/pr19636-2b.d, | |
120 | * testsuite/ld-i386/pr19636-2d-nacl.d, | |
121 | * testsuite/ld-i386/pr19636-2e-nacl.d, | |
122 | * testsuite/ld-i386/pr19636-3a.d, | |
123 | * testsuite/ld-i386/pr19636-3d.d, | |
124 | * testsuite/ld-i386/pr19636-3e.d, | |
125 | * testsuite/ld-i386/pr19636-4a.d, | |
126 | * testsuite/ld-i386/pr19645.d, | |
127 | * testsuite/ld-i386/pr19827-nacl.rd, | |
128 | * testsuite/ld-i386/pr19827.rd, | |
129 | * testsuite/ld-i386/pr20253-4a.d, | |
130 | * testsuite/ld-i386/pr20253-4b.d, | |
131 | * testsuite/ld-i386/pr20253-5.d, | |
132 | * testsuite/ld-i386/tlsbin-nacl.rd, | |
133 | * testsuite/ld-i386/tlsbin.rd, | |
134 | * testsuite/ld-i386/tlspic-nacl.rd, | |
135 | * testsuite/ld-i386/tlspic.rd, | |
136 | * testsuite/ld-i386/undefweakb.d, | |
137 | * testsuite/ld-ia64/tlsbin.rd, | |
138 | * testsuite/ld-ia64/tlspic.rd, | |
139 | * testsuite/ld-ifunc/ifunc-13-i386.d, | |
140 | * testsuite/ld-ifunc/ifunc-13-x86-64.d, | |
141 | * testsuite/ld-ifunc/ifunc-15-i386.d, | |
142 | * testsuite/ld-ifunc/ifunc-15-x86-64.d, | |
143 | * testsuite/ld-ifunc/ifunc-20-i386.d, | |
144 | * testsuite/ld-ifunc/ifunc-20-x86-64.d, | |
145 | * testsuite/ld-ifunc/ifunc-23a-x86.d, | |
146 | * testsuite/ld-ifunc/ifunc-23b-x86.d, | |
147 | * testsuite/ld-ifunc/ifunc-23c-x86.d, | |
148 | * testsuite/ld-ifunc/ifunc-24a-x86.d, | |
149 | * testsuite/ld-ifunc/ifunc-24b-x86.d, | |
150 | * testsuite/ld-ifunc/ifunc-24c-x86.d, | |
151 | * testsuite/ld-ifunc/ifunc-25a-x86.d, | |
152 | * testsuite/ld-ifunc/ifunc-25b-x86.d, | |
153 | * testsuite/ld-ifunc/ifunc-25c-x86.d, | |
154 | * testsuite/ld-m68k/got-1.d, | |
155 | * testsuite/ld-mips-elf/vxworks1.rd, | |
156 | * testsuite/ld-powerpc/ambiguousv1.d, | |
157 | * testsuite/ld-powerpc/ambiguousv1b.d, | |
158 | * testsuite/ld-powerpc/ambiguousv2.d, | |
159 | * testsuite/ld-powerpc/ambiguousv2b.d, | |
160 | * testsuite/ld-powerpc/tlsexe.r, | |
161 | * testsuite/ld-powerpc/tlsexe32.r, | |
162 | * testsuite/ld-powerpc/tlsexetoc.r, | |
163 | * testsuite/ld-powerpc/tlsso.r, | |
164 | * testsuite/ld-powerpc/tlsso32.r, | |
165 | * testsuite/ld-powerpc/tlstocso.r, | |
166 | * testsuite/ld-powerpc/vle-multiseg-1.d, | |
167 | * testsuite/ld-powerpc/vle-multiseg-2.d, | |
168 | * testsuite/ld-powerpc/vle-multiseg-3.d, | |
169 | * testsuite/ld-s390/tlsbin.rd, | |
170 | * testsuite/ld-s390/tlsbin_64.rd, | |
171 | * testsuite/ld-s390/tlspic.rd, | |
172 | * testsuite/ld-s390/tlspic_64.rd, | |
173 | * testsuite/ld-sh/ld-r-1.d, | |
174 | * testsuite/ld-sh/sh64/gotplt.d, | |
175 | * testsuite/ld-sh/shared-1.d, | |
176 | * testsuite/ld-sh/tlsbin-2.d, | |
177 | * testsuite/ld-sh/tlspic-2.d, | |
178 | * testsuite/ld-sparc/gotop32.rd, | |
179 | * testsuite/ld-sparc/gotop64.rd, | |
180 | * testsuite/ld-sparc/tlssunpic32.rd, | |
181 | * testsuite/ld-sparc/tlssunpic64.rd, | |
182 | * testsuite/ld-sparc/vxworks1-lib.rd, | |
183 | * testsuite/ld-tic6x/shlib-app-1.rd, | |
184 | * testsuite/ld-tic6x/shlib-app-1b.rd, | |
185 | * testsuite/ld-tic6x/shlib-app-1r.rd, | |
186 | * testsuite/ld-tic6x/shlib-app-1rb.rd, | |
187 | * testsuite/ld-tic6x/shlib-noindex.rd, | |
188 | * testsuite/ld-vax-elf/export-class-data.rd, | |
189 | * testsuite/ld-x86-64/pr13082-1a.d, | |
190 | * testsuite/ld-x86-64/pr13082-1b.d, | |
191 | * testsuite/ld-x86-64/pr13082-2a.d, | |
192 | * testsuite/ld-x86-64/pr13082-2b.d, | |
193 | * testsuite/ld-x86-64/pr13082-3a.d, | |
194 | * testsuite/ld-x86-64/pr13082-3c.d, | |
195 | * testsuite/ld-x86-64/pr13082-4a.d, | |
196 | * testsuite/ld-x86-64/pr13082-5a.d, | |
197 | * testsuite/ld-x86-64/pr13082-5b.d, | |
198 | * testsuite/ld-x86-64/pr13082-6a.d, | |
199 | * testsuite/ld-x86-64/pr13082-6b.d, | |
200 | * testsuite/ld-x86-64/pr17709-nacl.rd, | |
201 | * testsuite/ld-x86-64/pr17709.rd, | |
202 | * testsuite/ld-x86-64/pr19539a.d, | |
203 | * testsuite/ld-x86-64/pr19539b.d, | |
204 | * testsuite/ld-x86-64/pr19615.d, | |
205 | * testsuite/ld-x86-64/pr19636-1a.d, | |
206 | * testsuite/ld-x86-64/pr19636-1d.d, | |
207 | * testsuite/ld-x86-64/pr19636-1e.d, | |
208 | * testsuite/ld-x86-64/pr19636-2a.d, | |
209 | * testsuite/ld-x86-64/pr19636-2e.d, | |
210 | * testsuite/ld-x86-64/pr19636-2f.d, | |
211 | * testsuite/ld-x86-64/pr19636-3a.d, | |
212 | * testsuite/ld-x86-64/pr19645.d, | |
213 | * testsuite/ld-x86-64/pr19807-2b.d, | |
214 | * testsuite/ld-x86-64/pr19807-2d.d, | |
215 | * testsuite/ld-x86-64/pr19827-nacl.rd, | |
216 | * testsuite/ld-x86-64/pr19827.rd, | |
217 | * testsuite/ld-x86-64/pr20253-4a.d, | |
218 | * testsuite/ld-x86-64/pr20253-4b.d, | |
219 | * testsuite/ld-x86-64/pr20253-4d.d, | |
220 | * testsuite/ld-x86-64/pr20253-4e.d, | |
221 | * testsuite/ld-x86-64/pr20253-5a.d, | |
222 | * testsuite/ld-x86-64/pr20253-5b.d, | |
223 | * testsuite/ld-x86-64/tlsbin-nacl.rd, | |
224 | * testsuite/ld-x86-64/tlsbin.rd, | |
225 | * testsuite/ld-x86-64/tlspic-nacl.rd, | |
226 | * testsuite/ld-x86-64/tlspic.rd, | |
227 | * testsuite/ld-x86-64/tlspic2-nacl.rd: Update for | |
228 | pluralization fixes. | |
229 | ||
992a06ee AM |
230 | 2017-11-07 Alan Modra <amodra@gmail.com> |
231 | ||
232 | * ldlang.c (lang_size_sections_1): Properly pluralize messages. | |
233 | (lang_check_section_addresses): Likewise. | |
234 | ||
6003e27e AM |
235 | 2017-11-07 Alan Modra <amodra@gmail.com> |
236 | ||
237 | * ld.h (textdomain, bindtextdomain): Use safer "do nothing". | |
238 | (ngettext, dngettext, dcngettext): Define when !ENABLE_NLS. | |
239 | ||
3988aed5 AM |
240 | 2017-11-01 Alan Modra <amodra@gmail.com> |
241 | ||
242 | * testsuite/ld-powerpc/ambiguousv2.d: Remove FIXME. | |
243 | ||
e48f0c8f AM |
244 | 2017-11-01 Alan Modra <amodra@gmail.com> |
245 | ||
246 | PR 22374 | |
247 | * testsuite/ld-elf/pr22374a.s, | |
248 | * testsuite/ld-elf/pr22374b.s, | |
249 | * testsuite/ld-elf/pr22374-1.r, | |
250 | * testsuite/ld-elf/pr22374-2.r: New test. | |
251 | * testsuite/ld-elf/elf.exp: Run it. | |
252 | ||
46b06a98 AM |
253 | 2017-11-01 Alan Modra <amodra@gmail.com> |
254 | ||
255 | * testsuite/ld-elf/elf.exp: Merge some conditionals, a better | |
256 | name than "shared library for next test", and use xfail arg | |
257 | of run_ld_link_tests in a few places. | |
258 | ||
506981af RL |
259 | 2017-10-26 Renlin Li <renlin.li@arm.com> |
260 | ||
261 | * testsuite/ld-elf/elf.exp: xfail pr21703 tests on specific targets. | |
262 | Only run shared lib test for targets which support it. | |
263 | * testsuite/ld-elf/pr21703-r.sd: Adjust the expected output. | |
264 | * testsuite/ld-elf/pr21703-shared.sd: Likewise. | |
265 | ||
4062f504 JG |
266 | 2017-10-26 James Greenhalgh <james.greenhalgh@arm.com> |
267 | ||
268 | * testsuite/ld-arm/cortex-a8-far.d: Update expected disassembly. | |
269 | * testsuite/ld-arm/farcall-group-size2: Likewise. | |
270 | * testsuite/ld-arm/farcall-group.d: Likewise. | |
271 | ||
8df93cb5 L |
272 | 2017-10-25 H.J. Lu <hongjiu.lu@intel.com> |
273 | ||
274 | * ld.texinfo: Correct -z ibt. | |
275 | ||
e601d38b AM |
276 | 2017-10-25 Alan Modra <amodra@gmail.com> |
277 | ||
278 | * testsuite/ld-plugin/lto-3r.d: Match "__gnu_lto_v" optionally | |
279 | prefixed with "_". | |
280 | * testsuite/ld-plugin/lto-5r.d: Likewise. | |
281 | ||
2e30886f HPN |
282 | 2017-10-25 Hans-Peter Nilsson <hp@axis.com> |
283 | ||
284 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Fix typo for istarget. | |
285 | ||
3342be5d AW |
286 | 2017-10-24 Andrew Waterman <andrew@sifive.com> |
287 | ||
db283f44 HPN |
288 | * testsuite/ld-riscv-elf/c-lui.d: New testcase. |
289 | * testsuite/ld-riscv-elf/c-lui.s: Likewise. | |
290 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: New test suite. | |
3342be5d | 291 | |
93f4de39 RL |
292 | 2017-10-24 Renlin Li <renlin.li@arm.com> |
293 | ||
294 | PR ld/21703 | |
295 | * testsuite/ld-elf/elf.exp: Run new tests. | |
296 | * testsuite/ld-elf/pr21703-1.s: New. | |
297 | * testsuite/ld-elf/pr21703-2.s: New. | |
298 | * testsuite/ld-elf/pr21703-3.s: New. | |
299 | * testsuite/ld-elf/pr21703-4.s: New. | |
300 | * testsuite/ld-elf/pr21703-r.sd: New. | |
301 | * testsuite/ld-elf/pr21703-shared.sd: New. | |
302 | * testsuite/ld-elf/pr21703.sd: New. | |
303 | * testsuite/ld-elf/pr21703.ver: New. | |
304 | ||
4a8f9fc2 L |
305 | 2017-10-23 H.J. Lu <hongjiu.lu@intel.com> |
306 | ||
307 | * configure.tgt (i[3-7]86-*-linux-*): Move elf32_x86_64 from | |
308 | targ_extra_libpath to targ64_extra_libpath. | |
309 | ||
66cae560 NC |
310 | 2017-10-23 Nick Clifton <nickc@redhat.com> |
311 | ||
312 | PR 22310 | |
313 | * testsuite/ld-elf/pr22310.s: New test source file. | |
314 | * testsuite/ld-elf/pr22310.d: New test driver. | |
315 | * testsuite/ld-mmix/undef-3.d: Update expected output from readelf. | |
316 | ||
4e15b78b HPN |
317 | 2017-10-21 Hans-Peter Nilsson <hp@axis.com> |
318 | ||
319 | PR ld/21233 | |
320 | * testsuite/ld-elf/shared.exp: Remove kfails. | |
321 | ||
f3012016 L |
322 | 2017-10-20 H.J. Lu <hongjiu.lu@intel.com> |
323 | ||
324 | PR ld/22269 | |
325 | * testsuite/ld-elf/pr22269-1.rd: New file. | |
326 | * testsuite/ld-elf/pr22269-1.c: Likewise. | |
327 | * testsuite/ld-elf/shared.exp: Run pr22269-1. | |
328 | ||
ff6f4d9b PD |
329 | 2017-10-19 Palmer Dabbelt <palmer@dabbelt.com> |
330 | ||
331 | * emultempl/riscvelf.em (riscv_elf_before_allocation): Add a | |
332 | third relaxation pass. | |
333 | ||
e6e2dfbd AM |
334 | 2017-10-17 Alan Modra <amodra@gmail.com> |
335 | ||
336 | * ld.texinfo (-z): Combine negative options with corresponding | |
337 | positive option. Sort the table. Expand and correct "combreloc", | |
338 | "common", "common-page-size", "interpose", "loadfltr", | |
339 | "max-page-size", "muldefs", "nodefaultlib", "nodelete", "nodlopen", | |
340 | "nodump", "noextern-protected-data", "now", "origin", and "text". | |
341 | ||
5c3261b0 L |
342 | 2017-10-16 H.J. Lu <hongjiu.lu@intel.com> |
343 | ||
344 | * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
345 | Removed. | |
346 | * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
347 | Likewise. | |
348 | * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
349 | Likewise. | |
350 | * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
351 | Likewise. | |
352 | * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
353 | Likewise. | |
354 | * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
355 | Likewise. | |
356 | * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
357 | Likewise. | |
358 | * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
359 | Likewise. | |
360 | * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
361 | Likewise. | |
362 | * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
363 | Likewise. | |
364 | * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
365 | Likewise. | |
366 | * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
367 | Likewise. | |
368 | * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
369 | Likewise. | |
370 | * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
371 | Likewise. | |
372 | * emulparams/shelf32.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
373 | Likewise. | |
374 | * emulparams/shelf_nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
375 | Likewise. | |
376 | * emulparams/shelf_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
377 | Likewise. | |
378 | * emulparams/shlelf32_linux.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
379 | Likewise. | |
380 | * emulparams/shlelf_linux.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
381 | Likewise. | |
382 | * emulparams/shlelf_nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
383 | Likewise. | |
384 | * emultempl/aarch64elf.em (gld${EMULATION_NAME}_before_parse): | |
385 | Set link_info.check_relocs_after_open_input to TRUE. | |
386 | * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): | |
387 | Likewise. | |
388 | * emultempl/scoreelf.em (gld${EMULATION_NAME}_before_parse): | |
389 | Likewise. | |
390 | * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add | |
391 | after_parse_default. | |
392 | * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
393 | * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
394 | * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
395 | * emultempl/gld960.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
396 | * emultempl/gld960c.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
397 | * emultempl/lnk960.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
398 | * emultempl/m68kcoff.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
399 | * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
400 | * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
401 | * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
402 | * emultempl/sunos.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
403 | * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
404 | * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise. | |
405 | * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Always | |
406 | set link_info.check_relocs_after_open_input to TRUE. | |
407 | (ld_${EMULATION_NAME}_emulation): Add $LDEMUL_AFTER_CHECK_RELOCS. | |
408 | * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): | |
409 | Set link_info.check_relocs_after_open_input to TRUE. | |
410 | (ld_${EMULATION_NAME}_emulation): Add after_check_relocs_default. | |
411 | * emultempl/mmix-elfnmmo.em (mmix_before_parse): New function. | |
412 | (LDEMUL_BEFORE_PARSE): New. | |
413 | * emultempl/mmixelf.em (elfmmix_before_parse): Replace | |
414 | gld${EMULATION_NAME}_before_parse with mmix_before_parse. | |
415 | * emultempl/ppc32elf.em (ppc_after_open): Renamed to ... | |
416 | (ppc_after_check_relocs): This. Call after_check_relocs_default | |
417 | instead of gld${EMULATION_NAME}_after_open. | |
418 | (LDEMUL_AFTER_OPEN): Removed. | |
419 | (LDEMUL_AFTER_CHECK_RELOCS): New. | |
420 | * ldemul.c (ldemul_after_check_relocs): New. | |
421 | (after_check_relocs_default): Likewise. | |
422 | * ldemul.h (ldemul_after_check_relocs): Likewise. | |
423 | (after_check_relocs_default): Likewise. | |
424 | (ld_emulation_xfer_struct): Add after_check_relocs. | |
425 | * ldlang.c (lang_process): Call ldemul_after_check_relocs after | |
426 | lang_check_relocs. | |
427 | * testsuite/ld-aarch64/gc-got-relocs.d: Don't expect GOT section. | |
428 | * testsuite/ld-aarch64/gc-tls-relocs.d: Likewise. | |
429 | * testsuite/ld-cris/tls-gc-68.d: Likewise. | |
430 | * testsuite/ld-cris/tls-gc-69.d: Likewise. | |
431 | * testsuite/ld-cris/tls-gc-70.d: Likewise. | |
432 | * testsuite/ld-cris/tls-gc-75.d: Likewise. | |
433 | * testsuite/ld-cris/tls-gc-79.d: Likewise. | |
434 | * testsuite/ld-mmix/bpo-10.d: Don't expect .MMIX.reg_contents | |
435 | section. | |
436 | ||
e01c16a8 L |
437 | 2017-10-14 H.J. Lu <hongjiu.lu@intel.com> |
438 | ||
439 | PR ld/22269 | |
440 | * testsuite/ld-cris/weakhiddso.d: Update and remove R_CRIS_NONE. | |
441 | ||
354bac40 AM |
442 | 2017-10-13 Alan Modra <amodra@gmail.com> |
443 | ||
444 | PR ld/22263 | |
445 | * testsuite/ld-elf/tls.exp: Link with -z text. | |
446 | * testsuite/ld-elf/pr22263-1.rd: Test for tprel relocs. | |
447 | ||
74ffa566 L |
448 | 2017-10-12 H.J. Lu <hongjiu.lu@intel.com> |
449 | ||
450 | PR ld/22263 | |
451 | * testsuite/ld-elf/pr22263-1.rd: New file. | |
452 | * testsuite/ld-elf/pr22263-1a.c: Likewise. | |
453 | * testsuite/ld-elf/pr22263-1b.c: Likewise. | |
454 | * testsuite/ld-elf/tls.exp: Likewise. | |
455 | ||
1d75a8e2 NC |
456 | 2017-10-12 Nick Clifton <nickc@redhat.com> |
457 | ||
458 | * testsuite/ld-aarch64/pcrel_pic_defined.d: Expect errors not | |
459 | warnings. Expect errors about unsupported relocations. | |
460 | * testsuite/ld-aarch64/pcrel_pic_undefined.d: Likewise. | |
461 | ||
359987e2 L |
462 | 2017-10-12 H.J. Lu <hongjiu.lu@intel.com> |
463 | ||
464 | * testsuite/ld-elf/pr22269b.d: Expect warning of | |
465 | "-z dynamic-undefined-weak ignored". | |
466 | * testsuite/ld-i386/pr19636-1j.d: Likewise. | |
467 | * testsuite/ld-i386/pr19636-1k.d: Likewise. | |
468 | * testsuite/ld-i386/pr19636-1l.d: Likewise. | |
469 | * testsuite/ld-x86-64/pr19636-2j.d: Likewise. | |
470 | * testsuite/ld-x86-64/pr19636-2k.d: Likewise. | |
471 | * testsuite/ld-x86-64/pr19636-2l.d: Likewise. | |
472 | * testsuite/ld-x86-64/pr19636-2m.d: Likewise. | |
473 | ||
22b1ee18 AM |
474 | 2017-10-12 Alan Modra <amodra@gmail.com> |
475 | ||
476 | PR 22269 | |
477 | * emultempl/elf32.em (after_parse): Warn on --no-dynamic-linker | |
478 | -z dynamic-undefined-weak combination. Set dynamic_undefined_weak | |
479 | to zero when nointerp. | |
480 | ||
559192d8 AM |
481 | 2017-10-12 Alan Modra <amodra@gmail.com> |
482 | ||
483 | * emultempl/elf32.em (before_allocation): Call | |
484 | elf_backend_hide_symbol, not _bfd_elf_link_hash_hide_symbol. | |
485 | Formatting. | |
486 | ||
4b97e389 L |
487 | 2017-10-11 H.J. Lu <hongjiu.lu@intel.com> |
488 | ||
489 | * PR ld/22269 | |
490 | * testsuite/ld-elf/pr22269.s: New file. | |
491 | * testsuite/ld-elf/pr22269a.d: Likewise. | |
492 | * testsuite/ld-elf/pr22269b.d: Likewise. | |
493 | ||
853ee16f L |
494 | 2017-10-11 H.J. Lu <hongjiu.lu@intel.com> |
495 | ||
496 | * testsuite/ld-i386/i386.exp: Run pr19636-1j, pr19636-1k, | |
497 | pr19636-1l, pr19636-3h and pr19636-3i. | |
498 | * testsuite/ld-i386/pr19636-1j.d: New file. | |
499 | * testsuite/ld-i386/pr19636-1k.d: Likewise. | |
500 | * testsuite/ld-i386/pr19636-1l.d: Likewise. | |
501 | * testsuite/ld-i386/pr19636-3h.d: Likewise. | |
502 | * testsuite/ld-i386/pr19636-3i.d: Likewise. | |
503 | * testsuite/ld-x86-64/pr19636-1h.d: Likewise. | |
504 | * testsuite/ld-x86-64/pr19636-1i.d: Likewise. | |
505 | * testsuite/ld-x86-64/pr19636-1j.d: Likewise. | |
506 | * testsuite/ld-x86-64/pr19636-2j.d: Likewise. | |
507 | * testsuite/ld-x86-64/pr19636-2k.d: Likewise. | |
508 | * testsuite/ld-x86-64/pr19636-2l.d: Likewise. | |
509 | * testsuite/ld-x86-64/pr19636-2m.d: Likewise. | |
510 | * testsuite/ld-x86-64/x86-64.exp: Run pr19636-1h, pr19636-1i, | |
511 | pr19636-1j, pr19636-2j, pr19636-2k, pr19636-2l and pr19636-2m. | |
512 | ||
d003af55 AM |
513 | 2017-10-11 Alan Modra <amodra@gmail.com> |
514 | ||
515 | * emultempl/aarch64elf.em: Wrap einfo strings in _(). Formatting. | |
516 | * emultempl/aix.em: Likewise. | |
517 | * emultempl/armcoff.em: Likewise. | |
518 | * emultempl/armelf.em: Likewise. | |
519 | * emultempl/avrelf.em: Likewise. | |
520 | * emultempl/beos.em: Likewise. | |
521 | * emultempl/cr16elf.em: Likewise. | |
522 | * emultempl/elf-generic.em: Likewise. | |
523 | * emultempl/elf32.em: Likewise. | |
524 | * emultempl/genelf.em: Likewise. | |
525 | * emultempl/hppaelf.em: Likewise. | |
526 | * emultempl/linux.em: Likewise. | |
527 | * emultempl/lnk960.em: Likewise. | |
528 | * emultempl/m68hc1xelf.em: Likewise. | |
529 | * emultempl/m68kcoff.em: Likewise. | |
530 | * emultempl/m68kelf.em: Likewise. | |
531 | * emultempl/metagelf.em: Likewise. | |
532 | * emultempl/mipself.em: Likewise. | |
533 | * emultempl/mmix-elfnmmo.em: Likewise. | |
534 | * emultempl/mmo.em: Likewise. | |
535 | * emultempl/msp430.em: Likewise. | |
536 | * emultempl/nds32elf.em: Likewise. | |
537 | * emultempl/nios2elf.em: Likewise. | |
538 | * emultempl/pe.em: Likewise. | |
539 | * emultempl/pep.em: Likewise. | |
540 | * emultempl/ppc32elf.em: Likewise. | |
541 | * emultempl/ppc64elf.em: Likewise. | |
542 | * emultempl/riscvelf.em: Likewise. | |
543 | * emultempl/s390.em: Likewise. | |
544 | * emultempl/scoreelf.em: Likewise. | |
545 | * emultempl/spuelf.em: Likewise. | |
546 | * emultempl/sunos.em: Likewise. | |
547 | * emultempl/tic6xdsbt.em: Likewise. | |
548 | * emultempl/v850elf.em: Likewise. | |
549 | * emultempl/vms.em: Likewise. | |
550 | * emultempl/vxworks.em: Likewise. | |
551 | * ldcref.c: Likewise. | |
552 | * ldlang.c: Likewise. | |
553 | * ldlex.l: Likewise. | |
554 | * ldmain.c: Likewise. | |
555 | * pe-dll.c: Likewise. | |
556 | * plugin.c: Likewise. | |
557 | ||
6c699715 RL |
558 | 2017-10-10 Renlin Li <renlin.li@arm.com> |
559 | ||
560 | PR ld/21402 | |
561 | * testsuite/ld-arm/tls-app.d: Update address. | |
562 | * testsuite/ld-arm/tls-app.r: Remove relocations. | |
563 | * testsuite/ld-arm/unresolved-1-dyn.d: Update. | |
564 | ||
cbd3b1c1 AM |
565 | 2017-10-10 Alan Modra <amodra@gmail.com> |
566 | ||
567 | * Makefile.am (earmelfb_fuchsia.c): Rename rule from earmelf_fuchsia.c. | |
568 | * Makefile.in: Regenerate. | |
569 | ||
6753e38a NC |
570 | 2017-10-09 Nick Clifton <nickc@redhat.com> |
571 | ||
c474ea1a NC |
572 | * testsuite/ld-srec/srec.exp (run_srec_test): Set start address. |
573 | ||
6753e38a NC |
574 | PR ld/19874 |
575 | * testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void. | |
576 | ||
76f361eb L |
577 | 2017-10-09 H.J. Lu <hongjiu.lu@intel.com> |
578 | ||
579 | PR ld/22267 | |
580 | * ldlex.l (SYMBOLNAMECHAR1) New. | |
581 | (DEFSYMEXP): Replace FILENAMECHAR1 with SYMBOLNAMECHAR1. | |
582 | (EXPRESSION): Likewise. | |
583 | * testsuite/ld-scripts/expr.exp: Run pr22267. | |
584 | * testsuite/ld-scripts/pr22267.d: New file. | |
585 | * testsuite/ld-scripts/pr22267.s: Likewise. | |
586 | * testsuite/ld-scripts/pr22267.t: Likewise. | |
587 | ||
2458d83b L |
588 | 2017-10-07 H.J. Lu <hongjiu.lu@intel.com> |
589 | ||
590 | * testsuite/ld-elf/merge.d: Don't expect to fail for sparc. | |
591 | ||
94750c06 NC |
592 | 2017-10-05 Nick Clifton <nickc@redhat.com> |
593 | ||
594 | * po/tr.po: Updated Turkish translation. | |
595 | ||
5c144731 NC |
596 | 2017-10-05 Nick Clifton <nickc@redhat.com> |
597 | ||
598 | PR 22262 | |
599 | * testsuite/ld-powerpc/relocsort.d: Update expected output (for | |
600 | longer reloc names). | |
601 | ||
db4677b8 AM |
602 | 2017-10-05 Alan Modra <amodra@gmail.com> |
603 | ||
604 | PR 21167 | |
605 | * testsuite/ld-elf/group9b.d: Adjust for relocs included in group. | |
606 | ||
9194f82d AM |
607 | 2017-10-03 Alan Modra <amodra@gmail.com> |
608 | ||
609 | PR 21294 | |
610 | * NEWS: Note that defaulting to -z relro results in increased | |
611 | memory and disk size. | |
612 | ||
def5c83c AM |
613 | 2017-10-03 Alan Modra <amodra@gmail.com> |
614 | ||
615 | * ld.texinfo (-z relro): Expand description. | |
616 | (DATA_SEGMENT_ALIGN): Note that -z relro is not effective when | |
617 | running with system page size larger than commonpagesize. | |
618 | (DATA_SEGMENT_RELRO_END): Be explicit about the alignment. | |
619 | ||
8cb1232a AM |
620 | 2017-10-01 Alan Modra <amodra@gmail.com> |
621 | ||
622 | PR 21970 | |
623 | * ldlang.c (lang_leave_overlay): Reset overlay_subalign. | |
624 | ||
2715765b L |
625 | 2017-09-30 H.J. Lu <hongjiu.lu@intel.com> |
626 | ||
627 | PR binutils/21978 | |
628 | * testsuite/ld-elf/pr21978.od: New file. | |
629 | * testsuite/ld-elf/pr21978a.c: Likewise. | |
630 | * testsuite/ld-elf/pr21978b.c: Likewise. | |
631 | * testsuite/ld-elf/shared.exp: Run PR binutils/21978 test. | |
632 | ||
231ca753 NC |
633 | 2017-09-28 Nick Clifton <nickc@redhat.com> |
634 | ||
635 | PR 14918 | |
636 | * testsuite/ld-plugin/lto.exp (link_elf_tests): Skip the pr14918 | |
637 | test for ARM targets as they always link with libgcc. | |
638 | ||
1a3b5c34 AM |
639 | 2017-09-28 Alan Modra <amodra@gmail.com> |
640 | ||
641 | * testsuite/ld-plugin/pr22220.h, | |
642 | * testsuite/ld-plugin/pr22220lib.cc, | |
643 | * testsuite/ld-plugin/pr22220lib.ver, | |
644 | * testsuite/ld-plugin/pr22220main.cc: New test. | |
645 | * testsuite/ld-plugin/lto.exp: Run it. | |
646 | ||
28d810f7 MR |
647 | 2017-09-26 Maciej W. Rozycki <macro@imgtec.com> |
648 | ||
649 | * testsuite/ld-undefined/undefined.exp: Correct the dyn reloc | |
650 | test for MIPS and S+core targets. | |
651 | ||
be2b629f L |
652 | 2017-09-22 H.J. Lu <hongjiu.lu@intel.com> |
653 | ||
654 | PR ld/22150 | |
655 | * testsuite/ld-elf/pr22150.vd: New file. | |
656 | * testsuite/ld-elf/pr22150.ver: Likewise. | |
657 | * testsuite/ld-elf/pr22150a.s: Likewise. | |
658 | * testsuite/ld-elf/pr22150b.s: Likewise. | |
659 | * testsuite/ld-elf/shared.exp: Run PR ld/22150 tests. | |
660 | ||
ba52cbb9 AM |
661 | 2017-09-21 Alan Modra <amodra@gmail.com> |
662 | ||
663 | * testsuite/ld-powerpc/tlsopt5.wf: Update for reduced alignment. | |
664 | ||
b7f54058 MR |
665 | 2017-09-19 Maciej W. Rozycki <macro@imgtec.com> |
666 | ||
667 | * configure.tgt <mips64el-*-openbsd*, mips64-*-openbsd*>: New | |
668 | targets. | |
669 | ||
8fd138c4 AM |
670 | 2017-09-15 Alan Modra <amodra@gmail.com> |
671 | ||
672 | PR 22118 | |
673 | * testsuite/ld-aarch64/erratum843419.d: Correct regexp. | |
674 | ||
79254a52 L |
675 | 2017-09-14 H.J. Lu <hongjiu.lu@intel.com> |
676 | ||
677 | PR ld/22139 | |
678 | * testsuite/ld-elf/globalaudit.rd: Allow additional bits in | |
679 | DT_FLAGS_1. | |
680 | ||
5e5e02ae L |
681 | 2017-09-14 H.J. Lu <hongjiu.lu@intel.com> |
682 | ||
683 | PR ld/22135 | |
684 | * testsuite/ld-i386/i386.exp: Run pr22135. | |
685 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
686 | * testsuite/ld-i386/pr22135.d: New file. | |
687 | * testsuite/ld-i386/pr22135.s: Likewise. | |
688 | * testsuite/ld-x86-64/pr22135.d: Likewise. | |
689 | * testsuite/ld-x86-64/pr22135.s: Likewise. | |
690 | ||
2420fff6 AM |
691 | 2017-09-09 Alan Modra <amodra@gmail.com> |
692 | ||
693 | * ld.texinfo (--plt-align): Describe new behaviour of option. | |
694 | * emultempl/ppc64elf.em (params): Default plt_stub_align to 5. | |
695 | * testsuite/ld-powerpc/powerpc.exp: Pass --no-plt-align for | |
696 | selected tests. | |
697 | * testsuite/ld-powerpc/relbrlt.d: Pass --no-plt-align. | |
698 | * testsuite/ld-powerpc/elfv2so.d: Adjust expected output. | |
699 | ||
0a27fed7 L |
700 | 2017-09-09 H.J. Lu <hongjiu.lu@intel.com> |
701 | ||
702 | PR ld/22115 | |
703 | * ld-i386/i386.exp: Run PR ld/22115 tests, | |
704 | * ld/testsuite/ld-x86-64/x86-64.exp: Likewise. | |
705 | * testsuite/ld-i386/pr22115-1.s: New file. | |
706 | * testsuite/ld-i386/pr22115-1a.d: Likewise. | |
707 | * testsuite/ld-i386/pr22115-1b.d: Likewise. | |
708 | * testsuite/ld-i386/pr22115-1c.d: Likewise. | |
709 | * testsuite/ld-i386/pr22115-1d.d: Likewise. | |
710 | * testsuite/ld-x86-64/pr22115-1.s: Likewise. | |
711 | * testsuite/ld-x86-64/pr22115-1a-x32.d: Likewise. | |
712 | * testsuite/ld-x86-64/pr22115-1a.d: Likewise. | |
713 | * testsuite/ld-x86-64/pr22115-1b-x32.d: Likewise. | |
714 | * testsuite/ld-x86-64/pr22115-1b.d: Likewise. | |
715 | * testsuite/ld-x86-64/pr22115-1c-x32.d: Likewise. | |
716 | * testsuite/ld-x86-64/pr22115-1c.d: Likewise. | |
717 | * testsuite/ld-x86-64/pr22115-1d-x32.d: Likewise. | |
718 | * testsuite/ld-x86-64/pr22115-1d.d: Likewise. | |
719 | ||
78984959 L |
720 | 2017-09-06 H.J. Lu <hongjiu.lu@intel.com> |
721 | ||
722 | * testsuite/ld-x86-64/pr19609-2a.d: Updated. | |
723 | * testsuite/ld-x86-64/pr19609-2b.d: Likewise. | |
724 | * testsuite/ld-x86-64/pr19609-4a.d: Likewise. | |
725 | * testsuite/ld-x86-64/pr19609-4c.d: Likewise. | |
726 | ||
dc089072 L |
727 | 2017-09-05 H.J. Lu <hongjiu.lu@intel.com> |
728 | ||
729 | * testsuite/ld-x86-64/pr19609-5d.d: Updated. | |
730 | * testsuite/ld-x86-64/pr19609-7a.d: Likewise. | |
731 | * testsuite/ld-x86-64/pr19609-7c.d: Likewise. | |
732 | ||
8b43e456 L |
733 | 2017-09-05 H.J. Lu <hongjiu.lu@intel.com> |
734 | ||
735 | * testsuite/ld-x86-64/pr19609-4e.d: Updated. | |
736 | * testsuite/ld-x86-64/pr19609-6a.d: Likewise. | |
737 | ||
0e30d991 L |
738 | 2017-09-03 H.J. Lu <hongjiu.lu@intel.com> |
739 | ||
740 | PR ld/22071 | |
741 | * testsuite/ld-x86-64/pr22071.d: New file. | |
742 | * testsuite/ld-x86-64/pr22071.s: Likewise. | |
743 | * testsuite/ld-x86-64/x86-64.exp: Run pr22071. | |
744 | ||
1fa4ec6a AM |
745 | 2017-09-02 Alan Modra <amodra@gmail.com> |
746 | ||
747 | * ldlang.h (lang_input_statement_type): Expand comments. | |
748 | (LANG_FOR_EACH_INPUT_STATEMENT): Rewrite without casts. | |
749 | * ldlang.c (lang_for_each_input_file): Likewise. | |
750 | (load_symbols): Set usrdata for archives. | |
751 | (find_rescan_insertion): New function. | |
752 | (lang_process): Trim off and reinsert entries added to file chain | |
753 | when rescanning archives for LTO. | |
754 | * ldmain.c (add_archive_element): Set my_archive input_statement | |
755 | next pointer to last element added. | |
756 | ||
ad71ce8d L |
757 | 2017-09-01 H.J. Lu <hongjiu.lu@intel.com> |
758 | ||
759 | PR ld/22064 | |
760 | * testsuite/ld-x86-64/pr22064a.S: New file. | |
761 | * testsuite/ld-x86-64/pr22064b.c: Likewise. | |
762 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/22064 test. | |
763 | ||
96d01d93 AM |
764 | 2017-09-02 Alan Modra <amodra@gmail.com> |
765 | ||
766 | * emultempl/msp430.em (eval_upper_either_sections): Make base_sec_name | |
767 | a const char*. | |
768 | (eval_lower_either_sections): Likewise. | |
769 | (msp430_elf_after_allocation): Likewise, and don't needlessly concat | |
770 | and free. Warning fix. | |
771 | ||
e10c9c62 L |
772 | 2017-09-01 H.J. Lu <hongjiu.lu@intel.com> |
773 | ||
774 | PR ld/22061 | |
775 | * testsuite/ld-i386/ibt-plt-1.d: Updated. | |
776 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. | |
777 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. | |
778 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. | |
779 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. | |
780 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. | |
781 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. | |
782 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. | |
783 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. | |
784 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. | |
785 | * testsuite/ld-i386/ibt-plt-2b.d: Pass --hash-style=sysv to ld | |
786 | and dump unwind information. | |
787 | * testsuite/ld-i386/ibt-plt-2d.d: Likewise. | |
788 | * testsuite/ld-i386/ibt-plt-3b.d: Likewise. | |
789 | * testsuite/ld-i386/ibt-plt-3d.d: Likewise. | |
790 | * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. | |
791 | * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. | |
792 | * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. | |
793 | * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. | |
794 | * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. | |
795 | * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. | |
796 | * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. | |
797 | * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. | |
798 | ||
d7de6408 L |
799 | 2017-08-31 H.J. Lu <hongjiu.lu@intel.com> |
800 | ||
801 | PR ld/22048 | |
802 | * testsuite/ld-x86-64/pr22048.d: New file. | |
803 | * testsuite/ld-x86-64/pr22048a.s: Likewise. | |
804 | * testsuite/ld-x86-64/pr22048b.s: Likewise. | |
805 | * testsuite/ld-x86-64/x86-64.exp: Run pr22048. | |
806 | ||
9866ffe2 AM |
807 | 2017-08-31 Alan Modra <amodra@gmail.com> |
808 | ||
809 | * testsuite/ld-elf/eh3.d: Update. | |
810 | * testsuite/ld-elf/eh4.d: Update. | |
811 | ||
5dda3209 MR |
812 | 2017-08-30 Maciej W. Rozycki <macro@imgtec.com> |
813 | ||
814 | * testsuite/ld-elf/orphan-11.ld: Also discard `.MIPS.options' | |
815 | sections. | |
816 | ||
70e65ca8 MR |
817 | 2017-08-30 Maciej W. Rozycki <macro@imgtec.com> |
818 | ||
819 | * testsuite/ld-mips-elf/bal-jalx-addend-micromips.d: New test. | |
820 | * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n32.d: New | |
821 | test. | |
822 | * testsuite/ld-mips-elf/bal-jalx-addend-micromips-n64.d: New | |
823 | test. | |
824 | * testsuite/ld-mips-elf/bal-jalx-local-micromips.d: New test. | |
825 | * testsuite/ld-mips-elf/bal-jalx-local-micromips-n32.d: New | |
826 | test. | |
827 | * testsuite/ld-mips-elf/bal-jalx-local-micromips-n64.d: New | |
828 | test. | |
829 | * testsuite/ld-mips-elf/bal-jalx-pic-micromips.d: New test. | |
830 | * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n32.d: New test. | |
831 | * testsuite/ld-mips-elf/bal-jalx-pic-micromips-n64.d: New test. | |
832 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips.d: New | |
833 | test. | |
834 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n32.d: New | |
835 | test. | |
836 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-micromips-n64.d: New | |
837 | test. | |
838 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
839 | ||
9a23f96e AM |
840 | 2017-08-30 Alan Modra <amodra@gmail.com> |
841 | ||
842 | * testsuite/ld-powerpc/tls.s: Add calls with tls markers. | |
843 | * testsuite/ld-powerpc/tls32.s: Likewise. | |
844 | * testsuite/ld-powerpc/powerpc.exp: Run tls marker tests. | |
845 | * testsuite/ld-powerpc/tls.d: Adjust for TPREL16_HA/LO optimization. | |
846 | * testsuite/ld-powerpc/tlsexe.d: Likewise. | |
847 | * testsuite/ld-powerpc/tlsexetoc.d: Likewise. | |
848 | * testsuite/ld-powerpc/tlsld.d: Likewise. | |
849 | * testsuite/ld-powerpc/tlsmark.d: Likewise. | |
850 | * testsuite/ld-powerpc/tlsopt4.d: Likewise. | |
851 | * testsuite/ld-powerpc/tlstoc.d: Likewise. | |
852 | ||
b9f04fe0 AM |
853 | 2017-08-30 Alan Modra <amodra@gmail.com> |
854 | ||
855 | * testsuite/ld-powerpc/tls.d: Update. | |
856 | * testsuite/ld-powerpc/tlsexe.d: Update. | |
857 | * testsuite/ld-powerpc/tlsexetoc.d: Update. | |
858 | * testsuite/ld-powerpc/tlsld.d: Update. | |
859 | * testsuite/ld-powerpc/tlsmark.d: Update. | |
860 | * testsuite/ld-powerpc/tlsopt4.d: Update. | |
861 | * testsuite/ld-powerpc/tlstoc.d: Update. | |
862 | ||
c7dffc39 HPN |
863 | 2017-08-30 Hans-Peter Nilsson <hp@axis.com> |
864 | ||
865 | * testsuite/ld-cris/dso-pltdis1.d: Run ld with --hash-style=sysv. | |
866 | * testsuite/ld-cris/dso-pltdis2.d, | |
867 | testsuite/ld-cris/dso12-pltdis.d, testsuite/ld-cris/expdyn1.d, | |
868 | testsuite/ld-cris/expdyn5.d, testsuite/ld-cris/expdyn6.d, | |
869 | testsuite/ld-cris/expdyn7.d, testsuite/ld-cris/gotplt1.d, | |
870 | testsuite/ld-cris/gotplt2.d, testsuite/ld-cris/gotplt3.d, | |
871 | testsuite/ld-cris/hiddef1.d, testsuite/ld-cris/libdso-11.d, | |
872 | testsuite/ld-cris/libdso-12.d, testsuite/ld-cris/libdso-12b.d, | |
873 | testsuite/ld-cris/libdso-12c.d, testsuite/ld-cris/libdso-13.d, | |
874 | testsuite/ld-cris/libdso-13b.d, testsuite/ld-cris/libdso-14.d, | |
875 | testsuite/ld-cris/libdso-15.d, testsuite/ld-cris/libdso-15b.d, | |
876 | testsuite/ld-cris/libdso-1b.d, testsuite/ld-cris/libdso-1c.d, | |
877 | testsuite/ld-cris/libdso-1d.d, testsuite/ld-cris/libdso-4.d, | |
878 | testsuite/ld-cris/pr16044.d, testsuite/ld-cris/pv32-1.d, | |
879 | testsuite/ld-cris/tls-dso-dtpoffd2.d, | |
880 | testsuite/ld-cris/tls-dso-dtpoffd4.d, | |
881 | testsuite/ld-cris/tls-dso-tpoffgotcomm1.d, | |
882 | testsuite/ld-cris/tls-dso-x1x2-1.d, testsuite/ld-cris/tls-gc-71.d, | |
883 | testsuite/ld-cris/tls-ie-78.d, testsuite/ld-cris/tls-js1.d, | |
884 | testsuite/ld-cris/tls-ldgdex-14.d, | |
885 | testsuite/ld-cris/tls-ldgdex-15.d, | |
886 | testsuite/ld-cris/tls-legdx-16.d, | |
887 | testsuite/ld-cris/tls-legdx-17.d, | |
888 | testsuite/ld-cris/tls-local-63.d, | |
889 | testsuite/ld-cris/tls-local-64.d, testsuite/ld-cris/tls-ok-30.d, | |
890 | testsuite/ld-cris/tls-ok-32.d, testsuite/ld-cris/tls-ok-34.d, | |
891 | testsuite/ld-cris/tls-und-38.d, testsuite/ld-cris/tls-und-42.d, | |
892 | testsuite/ld-cris/tls-und-46.d, testsuite/ld-cris/tls-und-50.d, | |
893 | testsuite/ld-cris/weakref2.d, testsuite/ld-cris/weakref3.d, | |
894 | testsuite/ld-cris/weakref4.d: Likewise. | |
895 | ||
7ef3addb JL |
896 | 2017-08-29 Jozef Lawrynowicz <jozef.l@somniumtech.com> |
897 | ||
898 | * emultempl/msp430.em (change_output_section): New function. | |
899 | (move_prefixed_section): New function. | |
900 | (add_region_prefix): New function. | |
901 | (msp430_elf_after_open): New function. | |
902 | (gld${EMULATION_NAME}_add_options): Implement. | |
903 | (gld${EMULATION_NAME}_list_options): Implement. | |
904 | (gld${EMULATION_NAME}_handle_option): Implement. | |
905 | * ld.texinfo: Document new options. | |
906 | * testsuite/ld-msp430-elf/main-bss-lower.d: New. | |
907 | * testsuite/ld-msp430-elf/main-bss-upper.d: New. | |
908 | * testsuite/ld-msp430-elf/main-const-lower.d: New. | |
909 | * testsuite/ld-msp430-elf/main-const-upper.d: New. | |
910 | * testsuite/ld-msp430-elf/main-text-lower.d: New. | |
911 | * testsuite/ld-msp430-elf/main-text-upper.d: New. | |
912 | * testsuite/ld-msp430-elf/main-var-lower.d: New. | |
913 | * testsuite/ld-msp430-elf/main-var-upper.d: New. | |
914 | * testsuite/ld-msp430-elf/main-with-data-bss-unique-sec.s: New. | |
915 | * testsuite/ld-msp430-elf/main-with-data-bss.s: New. | |
916 | * testsuite/ld-msp430-elf/main-with-text-rodata-unique-sec.s: New. | |
917 | * testsuite/ld-msp430-elf/main-with-text-rodata.s: New. | |
918 | * testsuite/ld-msp430-elf/msp430-elf.exp: New. | |
919 | * testsuite/ld-msp430-elf/msp430-no-lower.ld: New. | |
920 | * testsuite/ld-msp430-elf/msp430.ld: New. | |
921 | * emultempl/msp430.em (data_statement_size): New. | |
922 | (eval_upper_either_sections): New. | |
923 | (eval_lower_either_sections): New. | |
924 | (intermediate_relax_sections): New. | |
925 | (msp430_elf_after_allocation): New. | |
926 | * emultempl/msp430.em (gld${EMULATION_NAME}_place_orphan): Always | |
927 | place sections in the lower region. | |
928 | ||
a5b4ee94 L |
929 | 2017-08-26 H.J. Lu <hongjiu.lu@intel.com> |
930 | ||
931 | PR ld/21997 | |
932 | * testsuite/ld-i386/i386.exp: Run PR ld/21997 tests. | |
933 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
934 | * testsuite/ld-i386/pr21997-1a.S: New file. | |
935 | * testsuite/ld-i386/pr21997-1b.c: Likewise. | |
936 | * testsuite/ld-i386/pr21997-1c.S: Likewise. | |
937 | * testsuite/ld-x86-64/pr21997-1a.S: Likewise. | |
938 | * testsuite/ld-x86-64/pr21997-1a.err: Likewise. | |
939 | * testsuite/ld-x86-64/pr21997-1b.c: Likewise. | |
940 | * testsuite/ld-x86-64/pr21997-1b.err: Likewise. | |
941 | * testsuite/ld-x86-64/pr21997-1c.c: Likewise. | |
942 | ||
176047c9 L |
943 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
944 | ||
945 | * testsuite/ld-elf/pr21903c.d: Remove '\' before --. | |
946 | * testsuite/ld-elf/pr21903d.d: Likewise. | |
947 | * testsuite/ld-elf/pr21903e.d: Likewise. | |
948 | * testsuite/lib/ld-lib.exp (run_dump_test): Add "--" after | |
949 | regexp. | |
950 | ||
074f6066 L |
951 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
952 | ||
953 | * testsuite/ld-i386/i386.exp (undefined_weak): Replace regexp | |
954 | with string match. | |
955 | * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Likewise. | |
956 | ||
28e6a46b L |
957 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
958 | ||
959 | * testsuite/ld-x86-64/x86-64.exp: Run pr22001-1b on x32. | |
960 | ||
7073b5b9 L |
961 | 2017-08-24 H.J. Lu <hongjiu.lu@intel.com> |
962 | ||
963 | PR ld/22001 | |
964 | * testsuite/ld-i386/i386.exp: Run -z nocopyreloc tests. | |
965 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
28e6a46b L |
966 | * testsuite/ld-i386/pr22001-1a.c: New file. |
967 | * testsuite/ld-i386/pr22001-1b.c: Likewise. | |
968 | * testsuite/ld-i386/pr22001-1c.S: Likewise. | |
969 | * testsuite/ld-x86-64/pr22001-1a.c: Likewise. | |
970 | * testsuite/ld-x86-64/pr22001-1a.err: Likewise. | |
971 | * testsuite/ld-x86-64/pr22001-1b.c: Likewise. | |
972 | * testsuite/ld-x86-64/pr22001-1b.err: Likewise. | |
973 | * testsuite/ld-x86-64/pr22001-1c.c: Likewise. | |
7073b5b9 | 974 | |
5b5f4e6f AB |
975 | 2017-08-17 Andrew Burgess <andrew.burgess@embecosm.com> |
976 | ||
977 | PR 21961 | |
978 | * ldlang.c (lang_discard_section_p): New function. | |
979 | (lang_add_section): Checks moved out into new function, which is | |
980 | now called. | |
981 | (lang_place_orphans): Call lang_discard_section_p instead of | |
982 | duplicating some of the checks from lang_add_section. | |
983 | * testsuite/ld-elf/orphan-11.d: New file. | |
984 | * testsuite/ld-elf/orphan-11.ld: New file. | |
985 | * testsuite/ld-elf/orphan-11.s: New file. | |
986 | * testsuite/ld-elf/orphan-12.d: New file. | |
987 | * testsuite/ld-elf/orphan-12.s: New file. | |
988 | ||
647d4de9 AM |
989 | 2017-08-24 Alan Modra <amodra@gmail.com> |
990 | ||
991 | * testsuite/ld-undefined/fundef.s: New test. | |
992 | * testsuite/ld-undefined/undefined.exp: Test that undefined | |
993 | symbols in shared libraries are made dynamic. | |
994 | ||
49263c56 L |
995 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
996 | ||
997 | * testsuite/ld-elf/pr21903c.d: Add '\' before --. | |
998 | * testsuite/ld-elf/pr21903d.d: Likewise. | |
999 | * testsuite/ld-elf/pr21903e.d: Likewise. | |
1000 | ||
aab921ad L |
1001 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
1002 | ||
1003 | * testsuite/ld-x86-64/pie2.d: Updated. | |
1004 | * testsuite/ld-x86-64/pr19719.d: Likewise. | |
1005 | * testsuite/ld-x86-64/pr19807-2a.d: Likewise. | |
1006 | * testsuite/ld-x86-64/pr19969.d: Likewise. | |
1007 | ||
73784fa5 L |
1008 | 2017-08-23 H.J. Lu <hongjiu.lu@intel.com> |
1009 | ||
1010 | * testsuite/ld-i386/i386.exp: Run protected7. | |
1011 | * testsuite/ld-i386/protected7.d: New file. | |
1012 | * testsuite/ld-i386/protected7.s: Likewise. | |
1013 | * testsuite/ld-x86-64/protected8.d: Likewise. | |
1014 | * testsuite/ld-x86-64/protected8.s: Likewise. | |
1015 | * testsuite/ld-x86-64/x86-64.exp: Run protected8. | |
1016 | ||
9d3420f5 AM |
1017 | 2017-08-23 Alan Modra <amodra@gmail.com> |
1018 | ||
1019 | * testsuite/ld-gc/pr19161.d: Don't xfail hppa. | |
1020 | ||
8dfb7cbf L |
1021 | 2017-08-22 H.J. Lu <hongjiu.lu@intel.com> |
1022 | Alan Modra <amodra@gmail.com> | |
1023 | ||
1024 | * testsuite/ld-elf/pr21964-1a.c (foo): Renamed to ... | |
1025 | (foo1): This. | |
1026 | * testsuite/ld-elf/pr21964-1b.c: Rewrite. | |
1027 | * testsuite/ld-elf/pr21964-1c.c: New file. | |
1028 | * testsuite/ld-elf/pr21964-2c.c: Likewise. | |
1029 | * testsuite/ld-elf/pr21964-2a.c (foo): Renamed to ... | |
1030 | (foo1): This. | |
1031 | * testsuite/ld-elf/pr21964-2b.c: Rewrite. | |
1032 | * testsuite/ld-elf/shared.exp: Update PR ld/21964 tests. | |
1033 | ||
487b6440 AM |
1034 | 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> |
1035 | Alan Modra <amodra@gmail.com> | |
1036 | ||
1037 | PR ld/21964 | |
1038 | * testsuite/ld-elf/pr21562a.d: Update for changed start/stop symbols. | |
1039 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
1040 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
1041 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
1042 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
1043 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
1044 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
1045 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
1046 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
1047 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
1048 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
1049 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
1050 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
1051 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
1052 | * testsuite/ld-elf/sizeofa.d: Likewise. | |
1053 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
1054 | * testsuite/ld-elf/startofa.d: Likewise. | |
1055 | * testsuite/ld-elf/startofb.d: Likewise. | |
1056 | * testsuite/ld-gc/pr20022.d: Likewise. | |
1057 | * testsuite/ld-gc/start.d: Likewise. | |
1058 | * testsuite/ld-elf/pr21964-1a.c: New file. | |
1059 | * testsuite/ld-elf/pr21964-1b.c: New file. | |
1060 | * testsuite/ld-elf/pr21964-2a.c: New file. | |
1061 | * testsuite/ld-elf/pr21964-2b.c: New file. | |
1062 | * testsuite/ld-elf/shared.exp: Run PR ld/21964 tests. | |
1063 | ||
284d826d HPN |
1064 | 2017-08-21 Hans-Peter Nilsson <hp@bitrange.com> |
1065 | ||
1066 | PR ld/20125 | |
1067 | * testsuite/ld-mmix/pr20125.d, testsuite/ld-mmix/pr20125.s: New | |
1068 | test. | |
1069 | ||
7f3d21db L |
1070 | 2017-08-20 A. Wilcox <awilfox@adelielinux.org> |
1071 | ||
1072 | PR ld/21976 | |
1073 | * testsuite/ld-x86-64/plt-main-bnd.dd: Accept '_' in symbol | |
1074 | name. | |
1075 | ||
12601963 NC |
1076 | 2017-08-17 Nick Clifton <nickc@redhat.com> |
1077 | ||
1078 | * po/pt_BR.po: New Brazilian Portuguese translation. | |
1079 | * configure.ac (ALL_LINGUAS): Add pt_BR. | |
1080 | * configure: Regenerate. | |
1081 | ||
79a94a2a AM |
1082 | 2017-08-14 Alan Modra <amodra@gmail.com> |
1083 | ||
1084 | PR 21441 | |
1085 | * testsuite/ld-x86-64/pr21038a.d: Adjust. | |
1086 | * testsuite/ld-x86-64/pr21038a-now.d: Adjust. | |
1087 | ||
34c4758c L |
1088 | 2017-08-13 H.J. Lu <hongjiu.lu@intel.com> |
1089 | ||
1090 | * testsuite/ld-i386/i386.exp: Run pr21884-nacl. | |
1091 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1092 | * testsuite/ld-i386/pr21884.d: Don't run on nacl targets. | |
1093 | * testsuite/ld-x86-64/pr21884.d: Likewise. | |
1094 | * testsuite/ld-i386/pr21884.t: Revert the last change. | |
1095 | * testsuite/ld-x86-64/pr21884.t: Likewise. | |
1096 | * testsuite/ld-i386/pr21884-nacl.d: New file. | |
1097 | * testsuite/ld-i386/pr21884-nacl.t: Likewise. | |
1098 | * testsuite/ld-x86-64/pr21884-nacl.d: Likewise. | |
1099 | * testsuite/ld-x86-64/pr21884-nacl.t: Likewise. | |
1100 | ||
6d545e31 AM |
1101 | 2017-08-13 Alan Modra <amodra@gmail.com> |
1102 | ||
1103 | * testsuite/ld-i386/pr21884.t: Remove unneeded format, arch and entry. | |
1104 | * testsuite/ld-x86-64/pr21884.t: Likewise. | |
1105 | ||
93ab9c0d NC |
1106 | 2017-08-11 Nick Clifton <nickc@redhat.com> |
1107 | ||
1108 | * emultempl/elf32.em (handle_option): Accept the -z globalaudit | |
1109 | command line option. | |
1110 | * lexsup.c (elf_static_list_options): Add -z globalaudit. | |
1111 | * ld.texinfo: Document the support for the new command line | |
1112 | option. | |
1113 | * NEWS: Mention the new feature. | |
1114 | * testsuite/ld-elf/audit.exp: Add a test of the -z globalaudit | |
1115 | command line option. | |
1116 | * testsuite/ld-elf/globalaudit.rd: New file: Expected output from | |
1117 | readelf. | |
1118 | ||
9593aade L |
1119 | 2017-08-11 H.J. Lu <hongjiu.lu@intel.com> |
1120 | ||
1121 | PR ld/21884 | |
1122 | * testsuite/ld-i386/i386.exp: Run pr21884. | |
1123 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1124 | * testsuite/ld-i386/pr21884.d: New file. | |
1125 | * testsuite/ld-i386/pr21884.t: Likewise. | |
1126 | * testsuite/ld-x86-64/pr21884.d: Likewise. | |
1127 | * testsuite/ld-x86-64/pr21884.t: Likewise. | |
1128 | ||
ca6f2be7 NC |
1129 | 2017-08-10 Nick Clifton <nickc@redhat.com> |
1130 | ||
1131 | * scripttempl/pep.sc: Enclose __CTOR_LIST__, ___CTOR_LIST__, | |
1132 | __DTOR_LIST__ and ___DTOR_LIST__ in PROVIDE statements so that | |
1133 | they can be overrridden by crt input files. | |
1134 | * scripttempl/pe.sc: Likewise. | |
1135 | ||
7ed1dab9 L |
1136 | 2017-08-09 H.J. Lu <hongjiu.lu@intel.com> |
1137 | ||
1138 | * testsuite/config/default.exp (LD_CLASS): Check .libs/ld-new | |
1139 | for linker first. | |
1140 | ||
978c0540 L |
1141 | 2017-08-09 H.J. Lu <hongjiu.lu@intel.com> |
1142 | ||
1143 | * testsuite/config/default.exp (LD_CLASS): New. Set to "64bit" | |
1144 | for 64-bit ELF linker. | |
1145 | * testsuite/ld-x86-64/pr17618.d (#notarget): Removed. | |
1146 | * testsuite/ld-x86-64/x86-64.exp: Run pr17618 only for 64-bit | |
1147 | linker. | |
1148 | ||
25d28c91 L |
1149 | 2017-08-08 H.J. Lu <hongjiu.lu@intel.com> |
1150 | ||
1151 | PR ld/21924 | |
1152 | * testsuite/ld-i386/i386.exp: Require GCC 5 or above for | |
1153 | "weakundef1 with PIE" test. | |
1154 | * testsuite/ld-x86-64/tls.exp: Require GCC 5 or above for | |
1155 | "tlsdesc1" and "tlsdesc1 with PIE" tests. | |
1156 | ||
9165f454 L |
1157 | 2017-08-08 H.J. Lu <hongjiu.lu@intel.com> |
1158 | ||
1159 | * configure.ac (TESTBFDLIB): Add a ',' after -Wl,--rpath. | |
1160 | * configure: Regenerated. | |
1161 | ||
fe22cbc4 L |
1162 | 2017-08-08 H.J. Lu <hongjiu.lu@intel.com> |
1163 | ||
1164 | PR ld/21923 | |
1165 | * configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath | |
1166 | for --disable-static. | |
1167 | * configure: Regenerated. | |
1168 | ||
2760f24c RG |
1169 | 2017-08-08 Romain Geissler <romain.geissler@gmail.com> |
1170 | Alan Modra <amodra@gmail.com> | |
1171 | ||
1172 | * configure.ac: Add --enable-default-hash-style option. | |
1173 | * ldmain.c (main): Set link_info.emit_hash to DEFAULT_EMIT_SYSV_HASH. | |
1174 | Set link_info.emit_gnu_hash to DEFAULT_EMIT_GNU_HASH. | |
1175 | * configure: Regenerate. | |
1176 | * config.in: Regenerate. | |
1177 | ||
8f5e83fb AM |
1178 | 2017-08-08 Alan Modra <amodra@gmail.com> |
1179 | ||
1180 | * testsuite/ld-aarch64/ifunc-1-local.d: Run ld with --hash-style=sysv. | |
1181 | * testsuite/ld-aarch64/ifunc-2-local.d: Likewise. | |
1182 | * testsuite/ld-aarch64/ifunc-3a.d: Likewise. | |
1183 | * testsuite/ld-frv/fdpic-pie-1.d: Likewise. | |
1184 | * testsuite/ld-frv/fdpic-pie-2.d: Likewise. | |
1185 | * testsuite/ld-frv/fdpic-pie-7.d: Likewise. | |
1186 | * testsuite/ld-frv/fdpic-pie-8.d: Likewise. | |
1187 | * testsuite/ld-arm/arm-elf.exp: Add --hash-style=sysv to "Using | |
1188 | Thumb lib by another lib" test's ld options. | |
1189 | * testsuite/ld-elf/note-3.l: Match .gnu.hash. | |
1190 | * testsuite/ld-elf/note-3.t: Add .gnu.hash output section. | |
1191 | ||
2980ccad L |
1192 | 2017-08-07 H.J. Lu <hongjiu.lu@intel.com> |
1193 | ||
1194 | * testsuite/ld-elf/pr21903.s (start): Removed. | |
1195 | (_start): Likewise. | |
1196 | (__start): Likewise. | |
1197 | (main): Likewise. | |
1198 | (bar): New. | |
1199 | ||
bab55c05 AM |
1200 | 2017-08-07 Alan Modra <amodra@gmail.com> |
1201 | ||
1202 | * testsuite/ld-alpha/alpha.exp: Add --hash-style=sysv to various | |
1203 | test's ld options. | |
1204 | * testsuite/ld-arm/arm-elf.exp: Likewise. | |
1205 | * testsuite/ld-elf/elf.exp: Likewise. | |
1206 | * testsuite/ld-elf/readelf.exp: Likewise. | |
1207 | * testsuite/ld-elfvsb/elfvsb.exp: Likewise. | |
1208 | * testsuite/ld-i386/i386.exp: Likewise. | |
1209 | * testsuite/ld-ia64/ia64.exp: Likewise. | |
1210 | * testsuite/ld-m68k/m68k.exp: Likewise. | |
1211 | * testsuite/ld-metag/metag.exp: Likewise. | |
1212 | * testsuite/ld-powerpc/powerpc.exp: Likewise. | |
1213 | * testsuite/ld-s390/s390.exp: Likewise. | |
1214 | * testsuite/ld-sh/sh-vxworks.exp: Likewise. | |
1215 | * testsuite/ld-shared/shared.exp: Likewise. | |
1216 | * testsuite/ld-sparc/sparc.exp: Likewise. | |
1217 | * testsuite/ld-tic6x/tic6x.exp: Likewise. | |
1218 | * testsuite/ld-vax-elf/vax-elf.exp: Likewise. | |
1219 | * testsuite/ld-x86-64/mpx.exp: Likewise. | |
1220 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1221 | * testsuite/ld-xtensa/xtensa.exp: Likewise. | |
1222 | ||
1223 | * testsuite/ld-elf/comm-data2.ld: Add .gnu.hash output section. | |
1224 | * testsuite/ld-elf/pr20828-v.ld: Likewise. | |
1225 | * testsuite/ld-elf/pr20828.ld: Likewise. | |
1226 | * testsuite/ld-elf/pr21233.ld: Likewise. | |
1227 | * testsuite/ld-elf/pr21384.ld: Likewise. | |
1228 | * testsuite/ld-elf/provide-hidden-1.ld: Likewise. | |
1229 | * testsuite/ld-elf/provide-hidden-2.ld: Likewise. | |
1230 | * testsuite/ld-elf/provide-hidden-s.ld: Likewise. | |
1231 | * testsuite/ld-scripts/cross1.t: Likewise. | |
1232 | ||
1233 | * testsuite/ld-elf/stab.d: Adjust allowed section indices. | |
1234 | ||
1235 | * testsuite/ld-i386/pie1.d: Don't match addresses. | |
1236 | * testsuite/ld-i386/plt-pic2.dd: Likewise. | |
1237 | * testsuite/ld-i386/pr19636-1d.d: Likewise. | |
1238 | * testsuite/ld-i386/pr19636-2c.d: Likewise. | |
1239 | * testsuite/ld-powerpc/elfv2so.d: Likewise. | |
1240 | * testsuite/ld-powerpc/tlsopt5.d: Likewise. | |
1241 | * testsuite/ld-powerpc/tlsopt5.wf: Likewise. | |
1242 | * testsuite/ld-powerpc/tlsopt5_32.d: Likewise. | |
1243 | ||
1244 | * testsuite/ld-i386/pr19636-2b.d: Don't match _start. | |
1245 | ||
1246 | * testsuite/ld-powerpc/ambiguousv1.d: Relax symbol count, index | |
1247 | and address match. | |
1248 | * testsuite/ld-powerpc/ambiguousv1b.d: Likewise. | |
1249 | * testsuite/ld-powerpc/ambiguousv2.d: Likewise. | |
1250 | * testsuite/ld-powerpc/ambiguousv2b.d: Likewise. | |
1251 | ||
1252 | * testsuite/ld-aarch64/gc-plt-relocs.d: Run ld with --hash-style=sysv. | |
1253 | * testsuite/ld-aarch64/ifunc-1.d: Likewise. | |
1254 | * testsuite/ld-aarch64/ifunc-2.d: Likewise. | |
1255 | * testsuite/ld-aarch64/ifunc-21.d: Likewise. | |
1256 | * testsuite/ld-aarch64/relasz.d: Likewise. | |
1257 | * testsuite/ld-aarch64/tls-small-ld.d: Likewise. | |
1258 | * testsuite/ld-aarch64/tls-tiny-ld.d: Likewise. | |
1259 | * testsuite/ld-arc/tls_gd-01.d: Likewise. | |
1260 | * testsuite/ld-cris/libdso-10.d: Likewise. | |
1261 | * testsuite/ld-cris/libdso-2.d: Likewise. | |
1262 | * testsuite/ld-cris/pic-gc-72.d: Likewise. | |
1263 | * testsuite/ld-cris/pic-gc-73.d: Likewise. | |
1264 | * testsuite/ld-cris/tls-gd-1.d: Likewise. | |
1265 | * testsuite/ld-cris/tls-gd-1h.d: Likewise. | |
1266 | * testsuite/ld-cris/tls-gd-2.d: Likewise. | |
1267 | * testsuite/ld-cris/tls-gd-2h.d: Likewise. | |
1268 | * testsuite/ld-cris/tls-ie-10.d: Likewise. | |
1269 | * testsuite/ld-cris/tls-ie-11.d: Likewise. | |
1270 | * testsuite/ld-cris/tls-ie-8.d: Likewise. | |
1271 | * testsuite/ld-cris/tls-ie-9.d: Likewise. | |
1272 | * testsuite/ld-cris/tls-ld-4.d: Likewise. | |
1273 | * testsuite/ld-cris/tls-ld-5.d: Likewise. | |
1274 | * testsuite/ld-cris/tls-ld-6.d: Likewise. | |
1275 | * testsuite/ld-cris/tls-ld-7.d: Likewise. | |
1276 | * testsuite/ld-cris/tls-ldgd-14.d: Likewise. | |
1277 | * testsuite/ld-cris/tls-ldgd-15.d: Likewise. | |
1278 | * testsuite/ld-cris/tls-ldgdx-14.d: Likewise. | |
1279 | * testsuite/ld-cris/tls-ldgdx-15.d: Likewise. | |
1280 | * testsuite/ld-cris/tls-local-54.d: Likewise. | |
1281 | * testsuite/ld-cris/tls-local-60.d: Likewise. | |
1282 | * testsuite/ld-cris/tls-local-61.d: Likewise. | |
1283 | * testsuite/ld-cris/weakhiddso.d: Likewise. | |
1284 | * testsuite/ld-elf/linkinfo1a.d: Likewise. | |
1285 | * testsuite/ld-elf/linkinfo1b.d: Likewise. | |
1286 | * testsuite/ld-elf/pr19617a.d: Likewise. | |
1287 | * testsuite/ld-elfvsb/hidden2.d: Likewise. | |
1288 | * testsuite/ld-frv/fdpic-pie-6.d: Likewise. | |
1289 | * testsuite/ld-frv/fdpic-shared-2.d: Likewise. | |
1290 | * testsuite/ld-frv/fdpic-shared-5.d: Likewise. | |
1291 | * testsuite/ld-frv/fdpic-shared-6.d: Likewise. | |
1292 | * testsuite/ld-frv/fdpic-shared-8.d: Likewise. | |
1293 | * testsuite/ld-frv/fdpic-shared-local-2.d: Likewise. | |
1294 | * testsuite/ld-frv/fdpic-shared-local-8.d: Likewise. | |
1295 | * testsuite/ld-frv/tls-dynamic-2.d: Likewise. | |
1296 | * testsuite/ld-i386/ibt-plt-1.d: Likewise. | |
1297 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. | |
1298 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. | |
1299 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. | |
1300 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. | |
1301 | * testsuite/ld-i386/pr20830.d: Likewise. | |
1302 | * testsuite/ld-ia64/merge1.d: Likewise. | |
1303 | * testsuite/ld-ia64/merge2.d: Likewise. | |
1304 | * testsuite/ld-ia64/merge3.d: Likewise. | |
1305 | * testsuite/ld-ia64/merge4.d: Likewise. | |
1306 | * testsuite/ld-ia64/merge5.d: Likewise. | |
1307 | * testsuite/ld-ifunc/ifunc-1-local-x86.d: Likewise. | |
1308 | * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. | |
1309 | * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. | |
1310 | * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. | |
1311 | * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. | |
1312 | * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. | |
1313 | * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. | |
1314 | * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise. | |
1315 | * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. | |
1316 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. | |
1317 | * testsuite/ld-ifunc/pr17154-i386.d: Likewise. | |
1318 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. | |
1319 | * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. | |
1320 | * testsuite/ld-m68k/got-1.d: Likewise. | |
1321 | * testsuite/ld-m68k/got-multigot-12-13-14-34-35-ok.d: Likewise. | |
1322 | * testsuite/ld-m68k/got-multigot-14-ok.d: Likewise. | |
1323 | * testsuite/ld-m68k/got-multigot-15-er.d: Likewise. | |
1324 | * testsuite/ld-m68k/got-negative-12-13-14-34-ok.d: Likewise. | |
1325 | * testsuite/ld-m68k/got-negative-12-13-14-35-er.d: Likewise. | |
1326 | * testsuite/ld-m68k/got-negative-14-ok.d: Likewise. | |
1327 | * testsuite/ld-m68k/got-negative-15-er.d: Likewise. | |
1328 | * testsuite/ld-m68k/got-single-12-ok.d: Likewise. | |
1329 | * testsuite/ld-m68k/got-single-13-er.d: Likewise. | |
1330 | * testsuite/ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise. | |
1331 | * testsuite/ld-m68k/got-xgot-15-ok.d: Likewise. | |
1332 | * testsuite/ld-m68k/tls-gd-1.d: Likewise. | |
1333 | * testsuite/ld-m68k/tls-gd-2.d: Likewise. | |
1334 | * testsuite/ld-m68k/tls-gd-ie-1.d: Likewise. | |
1335 | * testsuite/ld-m68k/tls-ie-1.d: Likewise. | |
1336 | * testsuite/ld-m68k/tls-ld-1.d: Likewise. | |
1337 | * testsuite/ld-m68k/tls-ld-2.d: Likewise. | |
1338 | * testsuite/ld-sh/shared-2.d: Likewise. | |
1339 | * testsuite/ld-sh/tlsbin-2.d: Likewise. | |
1340 | * testsuite/ld-sh/tlspic-2.d: Likewise. | |
1341 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. | |
1342 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. | |
1343 | * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise. | |
1344 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
1345 | * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. | |
1346 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
1347 | * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. | |
1348 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. | |
1349 | * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. | |
1350 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. | |
1351 | * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. | |
1352 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. | |
1353 | * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. | |
1354 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. | |
1355 | * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. | |
1356 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. | |
1357 | * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. | |
1358 | * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise. | |
1359 | * testsuite/ld-x86-64/ilp32-4.d: Likewise. | |
1360 | * testsuite/ld-x86-64/load1c-nacl.d: Likewise. | |
1361 | * testsuite/ld-x86-64/load1c.d: Likewise. | |
1362 | * testsuite/ld-x86-64/load1d-nacl.d: Likewise. | |
1363 | * testsuite/ld-x86-64/load1d.d: Likewise. | |
1364 | * testsuite/ld-x86-64/pie3-nacl.d: Likewise. | |
1365 | * testsuite/ld-x86-64/pie3.d: Likewise. | |
1366 | * testsuite/ld-x86-64/pr14207.d: Likewise. | |
1367 | * testsuite/ld-x86-64/pr19162.d: Likewise. | |
1368 | * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise. | |
1369 | * testsuite/ld-x86-64/pr19636-2d.d: Likewise. | |
1370 | * testsuite/ld-x86-64/pr20253-1d.d: Likewise. | |
1371 | * testsuite/ld-x86-64/pr20253-1f.d: Likewise. | |
1372 | * testsuite/ld-x86-64/pr20253-1j.d: Likewise. | |
1373 | * testsuite/ld-x86-64/pr20253-1l.d: Likewise. | |
1374 | * testsuite/ld-x86-64/pr20830a-now.d: Likewise. | |
1375 | * testsuite/ld-x86-64/pr20830a.d: Likewise. | |
1376 | * testsuite/ld-x86-64/pr20830b-now.d: Likewise. | |
1377 | * testsuite/ld-x86-64/pr20830b.d: Likewise. | |
1378 | * testsuite/ld-x86-64/pr21038a-now.d: Likewise. | |
1379 | * testsuite/ld-x86-64/pr21038a.d: Likewise. | |
1380 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
1381 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
1382 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
1383 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
1384 | ||
a4819f54 L |
1385 | 2017-08-06 H.J. Lu <hongjiu.lu@intel.com> |
1386 | ||
1387 | PR ld/21903: | |
1388 | * ld.h (command_line): Remove inhibit_common_definition. | |
1389 | * ldgram.y: Replace command_line.inhibit_common_definition with | |
1390 | link_info.inhibit_common_definition. | |
1391 | * ldlang.c (lang_common): Likewise. | |
1392 | * lexsup.c (parse_args): Likewise. | |
1393 | * ldmain.c (main): Only allow --no-define-common with -shared. | |
1394 | * testsuite/ld-elf/pr21903.s: New file. | |
1395 | * testsuite/ld-elf/pr21903a.d: Likewise. | |
1396 | * testsuite/ld-elf/pr21903b.d: Likewise. | |
1397 | * testsuite/ld-elf/pr21903c.d: Likewise. | |
1398 | * testsuite/ld-elf/pr21903d.d: Likewise. | |
1399 | * testsuite/ld-elf/pr21903e.d: Likewise. | |
1400 | ||
55ef6584 AM |
1401 | 2017-08-05 Alan Modra <amodra@gmail.com> |
1402 | ||
1403 | * testsuite/ld-unique/pr21529.d: Don't xfail hppa. | |
1404 | ||
9f06dab1 L |
1405 | 2017-08-04 H.J. Lu <hongjiu.lu@intel.com> |
1406 | ||
1407 | PR ld/21904 | |
1408 | * testsuite/ld-elf/pr21904.d: New file. | |
1409 | * testsuite/ld-elf/pr21904.s: Likewise. | |
1410 | ||
fd9770d8 NC |
1411 | 2017-08-03 Nick Clifton <nickc@redhat.com> |
1412 | ||
1413 | PR ld/21884 | |
1414 | * testsuite/ld-elf/pr21884.d: Add AVR, HPPA, IA64, M68HC1x and | |
1415 | SCORE to list of targets not supporting file format changes during | |
1416 | linking. | |
1417 | * testsuite/ld-unique/pr21529.d: Likewise. | |
1418 | * emultempl/avrelf.em (_before_allocation): Skip for non-ELF | |
1419 | output formats. | |
1420 | (avr_elf_create_output_section_statements): Fail if the output | |
1421 | format is not ELF. | |
1422 | (avr_finish): Do not access the ELF header in non-ELF format | |
1423 | output bfds. | |
1424 | * emultempl/m68hc1xelf.em (_before_allocation): Skip for non-ELF | |
1425 | output formats. | |
1426 | (m68hc11elf_create_output_section_statements): Fail if the putput | |
1427 | format is not ELF. | |
1428 | (m68hc11elf_after_allocation): Skip for non-ELF output formats. | |
1429 | ||
2e9246e0 AM |
1430 | 2017-08-03 Alan Modra <amodra@gmail.com> |
1431 | ||
1432 | PR ld/21884 | |
1433 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Revert | |
1434 | last change. Rename iself to elfinput. Expand comments. Condition | |
1435 | ELF checks on having both input and output ELF files. Extract.. | |
1436 | (elf_orphan_compatible): ..this new function. | |
1437 | ||
db99ecc0 L |
1438 | 2017-08-02 H.J. Lu <hongjiu.lu@intel.com> |
1439 | ||
1440 | PR ld/21884 | |
1441 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check | |
1442 | ELF section header only for ELF output. | |
1443 | * testsuite/ld-elf/pr21884.d: New test. | |
1444 | * testsuite/ld-elf/pr21884.t: Likewise. | |
1445 | * testsuite/ld-elf/pr21884a.s: Likewise. | |
1446 | * testsuite/ld-elf/pr21884b.s: Likewise. | |
1447 | ||
b8f4abd3 L |
1448 | 2017-08-02 H.J. Lu <hongjiu.lu@intel.com> |
1449 | ||
1450 | * emultempl/elf32.em (_place_orphan): Revert the last change. | |
1451 | ||
73d5923e MF |
1452 | 2017-08-02 Max Filippov <jcmvbkbc@gmail.com> |
1453 | ||
1454 | * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback): | |
1455 | Only check for by_name sorting. | |
1456 | ||
ddff3d84 NC |
1457 | 2017-08-02 Nick Clifton <nickc@redhat.com> |
1458 | ||
1459 | PR 21884 | |
1460 | * emultempl/elf32.em (_place_orphan): Skip non-ELF binaries when | |
1461 | looking for sections to merge. | |
1462 | ||
d44c746a AM |
1463 | 2017-07-31 Alan Modra <amodra@gmail.com> |
1464 | ||
1465 | * ld.texinfo (plt-localentry): Revise. | |
1466 | ||
8b5f1ed8 AM |
1467 | 2017-07-29 Alan Modra <amodra@gmail.com> |
1468 | ||
1469 | * ld.texinfo (plt-localentry): Document. | |
1470 | ||
2b94abd4 AB |
1471 | 2017-07-28 Andrew Burgess <andrew.burgess@embecosm.com> |
1472 | ||
1473 | * ldgram.y (ldgram_had_keep): Make static. | |
1474 | (ldgram_vers_current_lang): Likewise. | |
1475 | (filename_spec): New rule. | |
1476 | (input_section_spec_no_keep): Use filename_spec. | |
1477 | (wildcard_maybe_exclude): New rule. | |
1478 | (wildcard_spec): Rename to... | |
1479 | (section_name_spec): ...this. | |
1480 | (section_NAME_list): Rename to... | |
1481 | (section_name_list): ...this. | |
1482 | (section_name_spec): Simplifiy and use wildcard_maybe_exclude. | |
1483 | * ldlang.c (placed_commons): Delete. | |
1484 | (lang_add_wild): No longer set placed_commons. | |
1485 | (print_wild_statement): Use full names for SORT specifiers. | |
1486 | * testsuite/ld-scripts/align.exp: Run new tests. | |
1487 | * testsuite/ld-scripts/align3.d: New file. | |
1488 | * testsuite/ld-scripts/align3.t: New file. | |
1489 | * testsuite/ld-scripts/align4.d: New file. | |
1490 | * testsuite/ld-scripts/align4.t: New file. | |
1491 | * testsuite/ld-scripts/align5.d: New file. | |
1492 | * testsuite/ld-scripts/align5.t: New file. | |
1493 | * testsuite/ld-scripts/exclude-file-5.d: New file. | |
1494 | * testsuite/ld-scripts/exclude-file-5.map: New file. | |
1495 | * testsuite/ld-scripts/exclude-file-5.t: New file. | |
1496 | * testsuite/ld-scripts/exclude-file-6.d: New file. | |
1497 | * testsuite/ld-scripts/exclude-file-6.map: New file. | |
1498 | * testsuite/ld-scripts/exclude-file-6.t: New file. | |
1499 | * NEWS: Mention the changes. | |
1500 | ||
f726cc1c GJL |
1501 | 2017-07-27 Georg-Johann Lay <gjl@gcc.gnu.org> |
1502 | ||
1503 | PR ld/21849 | |
1504 | * scripttempl/avr.sc: Split .progmemx.* from .progmem.* and locate | |
1505 | former at a higher address. | |
1506 | ||
d4aaa2a0 AM |
1507 | 2017-07-25 Alan Modra <amodra@gmail.com> |
1508 | ||
1509 | * testsuite/ld-powerpc/tlsopt5.s: Add cfi. | |
1510 | * testsuite/ld-powerpc/tlsopt5.d: Update. | |
1511 | * testsuite/ld-powerpc/tlsopt5.wf: New file. | |
1512 | * testsuite/ld-powerpc/powerpc.exp: Perform new tlsopt5 test. | |
1513 | ||
645b2800 | 1514 | 2017-07-24 Claudiu Zissulescu <claziss@synopsys.com> |
1515 | ||
1516 | * testsuite/ld-arc/jli-overflow.d: Force testing for little | |
1517 | endian. | |
1518 | * testsuite/ld-arc/tls_gd-01.d: Fix string to match bigendian | |
1519 | systems. | |
1520 | * testsuite/ld-arc/tls_ie-01.d: Fix test for bigendian systems. | |
1521 | ||
62a5222f MR |
1522 | 2017-07-19 Maciej W. Rozycki <macro@imgtec.com> |
1523 | ||
1524 | * testsuite/ld-scripts/fill.d: Adjust `xfail' entries. Add | |
1525 | `notarget' entries. Update comments. | |
1526 | * testsuite/ld-scripts/fill16.d: New test. | |
1527 | * testsuite/ld-scripts/fill16_0.s: New test source. | |
1528 | * testsuite/ld-scripts/fill16_1.s: New test source. | |
1529 | * testsuite/ld-scripts/fill16_2.s: New test source. | |
1530 | * testsuite/ld-scripts/data.exp: Run the new test. | |
1531 | ||
684d5a10 JEM |
1532 | 2017-07-19 Claudiu Zissulescu <claziss@synopsys.com> |
1533 | John Eric Martin <John.Martin@emmicro-us.com> | |
1534 | ||
1535 | * emulparams/arcelf.sh (JLI_START_TABLE): Define. | |
1536 | * scripttempl/elfarc.sc: Handle jlitab section. | |
1537 | * scripttempl/elfarcv2.sc: Likewise. | |
1538 | * testsuite/ld-arc/arc.exp: Add JLI test. | |
1539 | * testsuite/ld-arc/jli-script.ld: New file. | |
1540 | * testsuite/ld-arc/jli-simple.dd: Likewise. | |
1541 | * testsuite/ld-arc/jli-simple.rd: Likewise. | |
1542 | * testsuite/ld-arc/jli-simple.s: Likewise. | |
1543 | * testsuite/ld-arc/jli-overflow.s: Likewise. | |
1544 | * testsuite/ld-arc/jli-overflow.d: Likewise. | |
1545 | * testsuite/ld-arc/jli-overflow.err: Likewise. | |
1546 | ||
e4943f2c TG |
1547 | 2017-07-19 Tristan Gingold <gingold@adacore.com> |
1548 | ||
1549 | * ldmain.c (main): Remove display of data size. | |
1550 | ||
927960f0 MR |
1551 | 2017-07-18 Maciej W. Rozycki <macro@imgtec.com> |
1552 | ||
2018ef80 | 1553 | PR ld/16656 |
927960f0 MR |
1554 | * testsuite/ld-elf/binutils.exp (binutils_test): Make the |
1555 | expectation for `.got' in GNU_RELRO segment target-specific. | |
1556 | Handle `.got.plt' separately. | |
1557 | ||
9a0f1d50 MR |
1558 | 2017-07-18 Maciej W. Rozycki <macro@imgtec.com> |
1559 | ||
2018ef80 | 1560 | PR ld/16656 |
9a0f1d50 MR |
1561 | * testsuite/ld-elf/binutils.exp (binutils_test): Make the |
1562 | expectation for `.dynamic' in GNU_RELRO segment target-specific. | |
1563 | ||
de194d85 YC |
1564 | 2017-07-18 Nick Clifton <nickc@redhat.com> |
1565 | ||
1566 | PR 21775 | |
1567 | * ld.texinfo: Fix spelling typos. | |
1568 | * testsuite/ld-elfcomm/elfcomm.exp: Likewise. | |
1569 | ||
89d249d2 L |
1570 | 2017-07-17 H.J. Lu <hongjiu.lu@intel.com> |
1571 | ||
1572 | * testsuite/ld-i386/i386.exp: Run pie1 and pie1-nacl. | |
1573 | * testsuite/ld-i386/pie1-nacl.d: New file. | |
1574 | * testsuite/ld-i386/pie1.d: Likewise. | |
1575 | * testsuite/ld-i386/pie1.s: Likewise. | |
1576 | ||
8e85f840 L |
1577 | 2017-07-17 H.J. Lu <hongjiu.lu@intel.com> |
1578 | ||
1579 | PR ld/21782 | |
1580 | * testsuite/ld-x86-64/pie3-nacl.d: New file. | |
1581 | * testsuite/ld-x86-64/pie3.d: Likewise. | |
1582 | * testsuite/ld-x86-64/pie3.s: Likewise. | |
1583 | * testsuite/ld-x86-64/x86-64.exp: Run pie3 and pie3-nacl. | |
1584 | ||
86038de0 AM |
1585 | 2017-07-14 Alan Modra <amodra@gmail.com> |
1586 | ||
1587 | * testsuite/ld-powerpc/powerpc.exp: Add -shared to tlsop5 tests. | |
1588 | * testsuite/ld-powerpc/tlsopt5.d: Adjust. | |
1589 | * testsuite/ld-powerpc/tlsopt1_32.s: Use r30 as GOT pointer. | |
1590 | * testsuite/ld-powerpc/tlsopt2_32.s: Likewise. | |
1591 | * testsuite/ld-powerpc/tlsopt3_32.s: Likewise. | |
1592 | * testsuite/ld-powerpc/tlsopt4_32.s: Likewise. | |
1593 | * testsuite/ld-powerpc/tlsopt5_32.s: Rewrite. | |
1594 | * testsuite/ld-powerpc/tlsopt1_32.d: Adjust. | |
1595 | * testsuite/ld-powerpc/tlsopt2_32.d: Adjust. | |
1596 | * testsuite/ld-powerpc/tlsopt3_32.d: Adjust. | |
1597 | * testsuite/ld-powerpc/tlsopt5_32.d: Adjust. | |
1598 | ||
211b0bed MR |
1599 | 2016-07-14 Maciej W. Rozycki <macro@imgtec.com> |
1600 | ||
1601 | * testsuite/ld-unique/pr21529.ld: New test linker script. | |
1602 | * testsuite/ld-unique/pr21529.d: Use it. | |
1603 | ||
429d795d AM |
1604 | 2017-07-12 Alan Modra <amodra@gmail.com> |
1605 | ||
1606 | * po/bg.po: Update from translationproject.org/latest/ld/. | |
1607 | * po/da.po: Likewise. | |
1608 | * po/es.po: Likewise. | |
1609 | * po/fi.po: Likewise. | |
1610 | * po/fr.po: Likewise. | |
1611 | * po/id.po: Likewise. | |
1612 | * po/it.po: Likewise. | |
1613 | * po/ja.po: Likewise. | |
1614 | * po/tr.po: Likewise. | |
1615 | * po/uk.po: Likewise. | |
1616 | * po/vi.po: Likewise. | |
1617 | * po/zh_CN.po: Likewise. | |
1618 | * po/zh_TW.po: Likewise. | |
1619 | * po/de.po: New file from translationproject.org. | |
1620 | * po/ru.po: Likewise. | |
1621 | * configure.ac (ALL_LINGUAS): Add de, ru. Sort. | |
1622 | * configure: Regenerate. | |
1623 | ||
2fe40b67 AM |
1624 | 2017-07-12 Alan Modra <amodra@gmail.com> |
1625 | ||
1626 | * testsuite/ld-scripts/align.exp: Exclude powerpc*-*-aix*. | |
1627 | * testsuite/ld-scripts/assign-loc.d: Likewise. | |
1628 | * testsuite/ld-scripts/defined3.d: Likewise. | |
1629 | * testsuite/ld-scripts/defined4.d: Likewise. | |
1630 | * testsuite/ld-scripts/defined5.d: Likewise. | |
1631 | * testsuite/ld-scripts/expr2.d: Likewise. | |
1632 | * testsuite/ld-scripts/provide.exp: Likewise. | |
1633 | * testsuite/ld-scripts/sane1.d: Likewise. | |
1634 | * testsuite/ld-scripts/size.exp: Likewise. | |
1635 | * testsuite/ld-scripts/defined2.d: Don't xfail rs6000-*-aix*. | |
1636 | ||
d42c267e AM |
1637 | 2017-07-12 Alan Modra <amodra@gmail.com> |
1638 | ||
1639 | * testsuite/ld-arc/nps-1b.err: Update. | |
1640 | * testsuite/ld-x86-64/ilp32-11.d: Update. | |
1641 | ||
61a0857c L |
1642 | 2017-07-11 H.J. Lu <hongjiu.lu@intel.com> |
1643 | ||
1644 | * testsuite/ld-selective/selective.exp: Support single digit | |
1645 | GCC version. | |
1646 | ||
70391b29 JW |
1647 | 2017-07-11 Jiong Wang <jiong.wang@arm.com> |
1648 | ||
1649 | * testsuite/ld-aarch64/dt_textrel.d: Use "#pass" instead of ".*" to | |
1650 | filter out remaining lines. | |
1651 | ||
e54cb31a MR |
1652 | 2017-07-07 Maciej W. Rozycki <macro@imgtec.com> |
1653 | ||
1654 | * emultempl/mipself.em (mips_before_allocation): Avoid ELF | |
1655 | processing if not MIPS ELF. | |
1656 | * testsuite/ld-mips-elf/binary.d: New test. | |
1657 | * testsuite/ld-mips-elf/binary.ld: New test linker script. | |
1658 | * testsuite/ld-mips-elf/binary.s: New test source. | |
1659 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
1660 | ||
c620a2b5 AM |
1661 | 2017-07-07 Alan Modra <amodra@gmail.com> |
1662 | ||
1663 | * testsuite/ld-powerpc/ppc476-shared.lnk: Align .bss. | |
1664 | * testsuite/ld-powerpc/ppc476-shared.d: Adjust. | |
1665 | * testsuite/ld-powerpc/ppc476-shared2.d: Adjust. | |
1666 | ||
aff6079b AM |
1667 | 2017-07-07 Alan Modra <amodra@gmail.com> |
1668 | ||
1669 | * Makefile.am (eelf64_s390.c): Depend on emultempl/s390.em. | |
1670 | ||
0d702cfe TG |
1671 | 2017-07-04 Tristan Gingold <gingold@adacore.com> |
1672 | ||
1673 | * configure: Regenerate. | |
1674 | ||
55a09eb6 TG |
1675 | 2017-07-04 Tristan Gingold <gingold@adacore.com> |
1676 | ||
1677 | * NEWS: Add marker for 2.29. | |
1678 | ||
15e6ed8c TG |
1679 | 2017-07-03 Tristan Gingold <gingold@adacore.com> |
1680 | ||
1681 | * po/ld.pot: Regenerate. | |
1682 | ||
9f00292e MR |
1683 | 2017-06-30 Maciej W. Rozycki <macro@imgtec.com> |
1684 | ||
1685 | * testsuite/ld-mips-elf/relax-offset.dd: New test. | |
1686 | * testsuite/ld-mips-elf/relax-offset.gd: New test. | |
1687 | * testsuite/ld-mips-elf/relax-offset-umips.dd: New test. | |
1688 | * testsuite/ld-mips-elf/relax-offset-umips.gd: New test. | |
1689 | * testsuite/ld-mips-elf/relax-offset.ld: New test linker script. | |
1690 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
1691 | (prune_warnings): New temporary procedure. | |
1692 | ||
819e1f86 MR |
1693 | 2017-06-28 Maciej W. Rozycki <macro@imgtec.com> |
1694 | ||
1695 | * testsuite/ld-mips-elf/mips-elf-flags.exp: Add interAptiv MR2 | |
1696 | tests. | |
1697 | ||
68063779 SKS |
1698 | 2017-06-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
1699 | ||
1700 | PR ld/13402 | |
1701 | * testsuite/ld-avr/pr13402.d: New test. | |
1702 | * testsuite/ld-avr/pr13402.s: New test. | |
1703 | ||
7575e6a7 MR |
1704 | 2017-06-27 Maciej W. Rozycki <macro@imgtec.com> |
1705 | ||
1706 | * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): | |
1707 | Add an `args' final argument and examination code for `readelf | |
1708 | -A' output. Update procedure description accordingly. | |
1709 | ||
1284e99a MR |
1710 | 2017-06-27 Maciej W. Rozycki <macro@imgtec.com> |
1711 | ||
1712 | * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): | |
1713 | Use `remote_exec' to call `readelf'. Log the command issued. | |
1714 | ||
b1a2d7a0 MR |
1715 | 2017-06-27 Maciej W. Rozycki <macro@imgtec.com> |
1716 | ||
1717 | * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination): | |
1718 | Use `readelf -h' rather than `readelf --headers'. | |
1719 | ||
b417536f MR |
1720 | 2017-06-26 Maciej W. Rozycki <macro@imgtec.com> |
1721 | ||
1722 | * testsuite/ld-mips-elf/lsi-4010-isa.d: New test. | |
1723 | * ld/testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
1724 | ||
515a4464 MR |
1725 | 2017-06-26 Maciej W. Rozycki <macro@imgtec.com> |
1726 | ||
1727 | * testsuite/ld-elf/sizeofa.d: Also accept the OBJECT type for | |
1728 | the symbols examined. | |
1729 | * testsuite/ld-elf/sizeofc.d: Likewise. | |
1730 | * testsuite/ld-elf/startofa.d: Likewise. | |
1731 | * testsuite/ld-elf/startofc.d: Likewise. | |
1732 | ||
57963c05 AM |
1733 | 2017-06-26 Alan Modra <amodra@gmail.com> |
1734 | ||
1735 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Skip | |
1736 | --just-syms bfds when looking for a place to attach .note.gnu.build-id | |
1737 | and .eh_frame_hdr sections. Delete dead code. | |
1738 | ||
bff0500d TP |
1739 | 2017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com> |
1740 | ||
1741 | * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 11): New test. | |
1742 | (EABI attribute merging 12): Likewise. | |
1743 | * testsuite/ld-arm/attr-merge-11a.s: New file. | |
1744 | * testsuite/ld-arm/attr-merge-11b.s: New file. | |
1745 | * testsuite/ld-arm/attr-merge-11.attr: New file. | |
1746 | * testsuite/ld-arm/attr-merge-12a.s: New file. | |
1747 | * testsuite/ld-arm/attr-merge-12b.s: New file. | |
1748 | * testsuite/ld-arm/attr-merge-12.attr: New file. | |
1749 | ||
00564418 L |
1750 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1751 | ||
1752 | * testsuite/ld-i386/i386.exp: Run weakundef1 tests. | |
1753 | * testsuite/ld-i386/weakundef1.c: New file. | |
1754 | ||
922109c7 L |
1755 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1756 | ||
1757 | PR ld/21090 | |
1758 | * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Pass | |
1759 | $NOPIE_CFLAGS if non-PIE is required. | |
1760 | ||
9d1c54ed L |
1761 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1762 | ||
1763 | PR ld/21090 | |
329b5ba1 L |
1764 | * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and |
1765 | $NOPIE_LDFLAGS to "Run pr19031". | |
1766 | ||
1767 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> | |
1768 | ||
1769 | PR ld/21090 | |
1770 | * testsuite/ld-gc/gc.exp: Compile tmpdir/pr14265.o with | |
9d1c54ed L |
1771 | $NOPIE_CFLAGS. |
1772 | * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and | |
1773 | $NOPIE_LDFLAGS if non-PIE is required. | |
1774 | * testsuite/ld-i386/no-plt.exp (NOPIE_CFLAGS): New. | |
1775 | (NOPIE_LDFLAGS): Likewise. | |
1776 | Pass $NOPIE_LDFLAGS if non-PIE is required. | |
1777 | * testsuite/ld-shared/shared.exp: Compile tmpdir/sh1np.o with | |
1778 | $NOPIE_CFLAGS. | |
1779 | ||
48580982 L |
1780 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1781 | ||
1782 | * NEWS: Mention -z shstk and GNU_PROPERTY_X86_FEATURE_1_SHSTK. | |
1783 | * emulparams/cet.sh (PARSE_AND_LIST_OPTIONS_CET): Add "-z shstk". | |
1784 | (PARSE_AND_LIST_ARGS_CASE_Z_CET): Support "-z shstk". | |
1785 | * ld.texinfo: Document -z shstk. | |
1786 | * testsuite/ld-i386/i386.exp: Run SHSTK tests. | |
1787 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1788 | * testsuite/ld-i386/property-x86-shstk.s: New file. | |
1789 | * testsuite/ld-i386/property-x86-shstk1a.d: Likewise. | |
1790 | * testsuite/ld-i386/property-x86-shstk1b.d: Likewise. | |
1791 | * testsuite/ld-i386/property-x86-shstk2.d: Likewise. | |
1792 | * testsuite/ld-i386/property-x86-shstk3a.d: Likewise. | |
1793 | * testsuite/ld-i386/property-x86-shstk3b.d: Likewise. | |
1794 | * testsuite/ld-i386/property-x86-shstk4.d: Likewise. | |
1795 | * testsuite/ld-i386/property-x86-shstk5.d: Likewise. | |
1796 | * testsuite/ld-x86-64/property-x86-shstk.s: Likewise. | |
1797 | * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise. | |
1798 | * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise. | |
1799 | * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise. | |
1800 | * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise. | |
1801 | * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise. | |
1802 | * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise. | |
1803 | * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise. | |
1804 | * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise. | |
1805 | * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise. | |
1806 | * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise. | |
1807 | * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise. | |
1808 | * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise. | |
1809 | * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise. | |
1810 | * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise. | |
1811 | ||
ee2fdd6f L |
1812 | 2017-06-22 H.J. Lu <hongjiu.lu@intel.com> |
1813 | ||
1814 | * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emulparams/cet.sh. | |
1815 | * Makefile.in: Regenerated. | |
1816 | * NEWS: Mention GNU_PROPERTY_X86_FEATURE_1_IBT, -z ibtplt | |
1817 | and -z ibt. | |
1818 | * emulparams/cet.sh: New file. | |
1819 | * testsuite/ld-i386/ibt-plt-1.d: Likewise. | |
1820 | * testsuite/ld-i386/ibt-plt-1.s: Likewise. | |
1821 | * testsuite/ld-i386/ibt-plt-2.s: Likewise. | |
1822 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. | |
1823 | * testsuite/ld-i386/ibt-plt-2b.d: Likewise. | |
1824 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. | |
1825 | * testsuite/ld-i386/ibt-plt-2d.d: Likewise. | |
1826 | * testsuite/ld-i386/ibt-plt-3.s: Likewise. | |
1827 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. | |
1828 | * testsuite/ld-i386/ibt-plt-3b.d: Likewise. | |
1829 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. | |
1830 | * testsuite/ld-i386/ibt-plt-3d.d: Likewise. | |
1831 | * testsuite/ld-i386/plt-main-ibt.dd: Likewise. | |
1832 | * testsuite/ld-i386/plt-pie-ibt.dd: Likewise. | |
1833 | * testsuite/ld-i386/property-x86-empty.s: Likewise. | |
1834 | * testsuite/ld-i386/property-x86-ibt.s: Likewise. | |
1835 | * testsuite/ld-i386/property-x86-ibt1a.d: Likewise. | |
1836 | * testsuite/ld-i386/property-x86-ibt1b.d: Likewise. | |
1837 | * testsuite/ld-i386/property-x86-ibt2.d: Likewise. | |
1838 | * testsuite/ld-i386/property-x86-ibt3a.d: Likewise. | |
1839 | * testsuite/ld-i386/property-x86-ibt3b.d: Likewise. | |
1840 | * testsuite/ld-i386/property-x86-ibt4.d: Likewise. | |
1841 | * testsuite/ld-i386/property-x86-ibt5.d: Likewise. | |
1842 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. | |
1843 | * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. | |
1844 | * testsuite/ld-x86-64/ibt-plt-1.s: Likewise. | |
1845 | * testsuite/ld-x86-64/ibt-plt-2.s: Likewise. | |
1846 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. | |
1847 | * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. | |
1848 | * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise. | |
1849 | * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise. | |
1850 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. | |
1851 | * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. | |
1852 | * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise. | |
1853 | * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise. | |
1854 | * testsuite/ld-x86-64/ibt-plt-3.s: Likewise. | |
1855 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. | |
1856 | * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. | |
1857 | * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise. | |
1858 | * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise. | |
1859 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. | |
1860 | * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. | |
1861 | * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise. | |
1862 | * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise. | |
1863 | * testsuite/ld-x86-64/plt-main-ibt-now.rd: Likewise. | |
1864 | * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Likewise. | |
1865 | * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise. | |
1866 | * testsuite/ld-x86-64/property-x86-empty.s: Likewise. | |
1867 | * testsuite/ld-x86-64/property-x86-ibt.s: Likewise. | |
1868 | * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise. | |
1869 | * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise. | |
1870 | * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise. | |
1871 | * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise. | |
1872 | * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise. | |
1873 | * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise. | |
1874 | * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise. | |
1875 | * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise. | |
1876 | * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise. | |
1877 | * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise. | |
1878 | * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise. | |
1879 | * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise. | |
1880 | * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise. | |
1881 | * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise. | |
1882 | * emulparams/elf32_x86_64.sh: Source emulparams/cet.sh. | |
1883 | (TINY_READONLY_SECTION): Add .plt.sec. | |
1884 | * emulparams/elf_i386.sh: Likewise. | |
1885 | * emulparams/elf_x86_64.sh: Source emulparams/cet.sh. | |
1886 | * ld.texinfo: Document -z ibtplt and -z ibt. | |
1887 | * testsuite/ld-i386/i386.exp: Run IBT and IBT PLT tests. | |
1888 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1889 | * testsuite/ld-x86-64/pr21481b.S (check): Updated for x32. | |
1890 | ||
6b737370 L |
1891 | 2017-06-21 H.J. Lu <hongjiu.lu@intel.com> |
1892 | ||
1893 | PR ld/21090 | |
1894 | * testsuite/ld-elf/shared.exp: Pass $NOPIE_CFLAGS and | |
1895 | $NOPIE_LDFLAGS if non-PIE is required. | |
1896 | ||
e5c89b09 L |
1897 | 2017-06-21 H.J. Lu <hongjiu.lu@intel.com> |
1898 | ||
1899 | PR ld/21090 | |
1900 | * testsuite/ld-scripts/crossref.exp: Also pass $NOPIE_CFLAGS | |
1901 | to CC. | |
1902 | ||
68193357 L |
1903 | 2017-06-21 H.J. Lu <hongjiu.lu@intel.com> |
1904 | ||
1905 | PR ld/21090 | |
1906 | * testsuite/ld-size/size.exp: Pass $NOPIE_LDFLAGS to size-4a, | |
1907 | size-4b, size-5a, size-5b, size-6 and size-8 tests. | |
127d08c0 L |
1908 | * testsuite/ld-srec/srec.exp (NOPIE_CFLAGS): New. |
1909 | (NOPIE_LDFLAGS): Likewise. | |
1910 | (CC): Add $NOPIE_CFLAGS $NOPIE_LDFLAGS. | |
1911 | (CXX): Likewise. | |
1912 | * testsuite/ld-x86-64/no-plt.exp (NOPIE_CFLAGS): New. | |
1913 | (NOPIE_LDFLAGS): Likewise. | |
1914 | Pass $NOPIE_LDFLAGS to "No PLT (dynamic 1a)", | |
1915 | "No PLT (dynamic 1c)" and "Run pr20253-2f". | |
1916 | * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS to | |
1917 | "Build gotpcrel1" and "Run pr19031". | |
68193357 | 1918 | |
81209eff AM |
1919 | 2017-06-21 Alan Modra <amodra@gmail.com> |
1920 | ||
1921 | * testsuite/ld-powerpc/powerpc.exp: Run TOCSAVE tests. | |
1922 | * testsuite/ld-powerpc/tocsave1.s, | |
1923 | * testsuite/ld-powerpc/tocsave1a.d, | |
1924 | * testsuite/ld-powerpc/tocsave1s.d, | |
1925 | * testsuite/ld-powerpc/tocsave2.s, | |
1926 | * testsuite/ld-powerpc/tocsave2a.d, | |
1927 | * testsuite/ld-powerpc/tocsave2s.d, | |
1928 | * testsuite/ld-powerpc/tocsavelib.s: New files. | |
1929 | ||
fd52715c AK |
1930 | 2017-06-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com> |
1931 | ||
1932 | * Makefile.in: Add s390.em as build dependency. | |
1933 | * emulparams/elf64_s390.sh (EXTRA_EM_FILE): Add s390.em. | |
1934 | * emultempl/s390.em: New file. | |
1935 | * gen-doc.texi: Add documentation for --s390-pgste option. | |
1936 | * ld.texinfo: Likewise. | |
1937 | ||
abfa390d L |
1938 | 2017-06-19 H.J. Lu <hongjiu.lu@intel.com> |
1939 | ||
1940 | PR ld/21626 | |
1941 | * testsuite/ld-i386/i386.exp: Run ld/21626 tests. | |
1942 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1943 | ||
bdd32e03 AM |
1944 | 2017-06-18 Alan Modra <amodra@gmail.com> |
1945 | ||
1946 | * testsuite/lib/ld-lib.exp (is_underscore_target): New. | |
1947 | * testsuite/ld-elf/elf.exp (ASFLAGS): Define UNDERSCORE. | |
1948 | * testsuite/ld-elf/pr21562a.s: If UNDERSCORE defined, | |
1949 | reference sym with prefix. | |
1950 | * testsuite/ld-elf/pr21562b.s: Likewise. | |
1951 | * testsuite/ld-elf/sizeof.s: Likewise. | |
1952 | * testsuite/ld-elf/startof.s: Likewise. | |
1953 | * testsuite/ld-elf/pr14156a.d: Adjust for extra symbols. | |
1954 | * testsuite/ld-elf/pr21562a.d: Remove underscore target from | |
1955 | xfails, and match prefixed symbol. | |
1956 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
1957 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
1958 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
1959 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
1960 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
1961 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
1962 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
1963 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
1964 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
1965 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
1966 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
1967 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
1968 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
1969 | * testsuite/ld-elf/sizeofa.d: Likewise. | |
1970 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
1971 | * testsuite/ld-elf/sizeofc.d: Likewise. | |
1972 | * testsuite/ld-elf/startofa.d: Likewise. | |
1973 | * testsuite/ld-elf/startofb.d: Likewise. | |
1974 | * testsuite/ld-elf/startofc.d: Likewise. | |
1975 | ||
7dba9362 AM |
1976 | 2017-06-16 Alan Modra <amodra@gmail.com> |
1977 | ||
1978 | PR ld/20022 | |
1979 | PR ld/21557 | |
1980 | PR ld/21562 | |
1981 | PR ld/21571 | |
1982 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't set | |
1983 | __start/__stop syms here. | |
1984 | * ldlang.c (lang_set_startof): Delete. | |
1985 | (start_stop_syms, start_stop_count, start_stop_alloc): New vars. | |
1986 | (lang_define_start_stop, lang_init_start_stop, foreach_start_stop, | |
1987 | undef_start_stop, lang_undef_start_stop, lang_init_startof_sizeof, | |
1988 | set_start_stop, lang_finalize_start_stop): New functions. | |
1989 | (lang_process): Call _start_stop functions. | |
1990 | * testsuite/ld-elf/pr21562a.d: Use xfail rather than notarget. | |
1991 | Correct typos and list of xfail targets. | |
1992 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
1993 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
1994 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
1995 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
1996 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
1997 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
1998 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
1999 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
2000 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
2001 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
2002 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
2003 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
2004 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
2005 | * testsuite/ld-elf/sizeofa.d: Likewise. Adjust to pass for generic ELF. | |
2006 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
2007 | * testsuite/ld-elf/startofa.d: Likewise. | |
2008 | * testsuite/ld-elf/startofb.d: Likewise. | |
2009 | ||
d68f1976 JW |
2010 | 2017-06-16 Jiong Wang <jiong.wang@arm.com> |
2011 | ||
2012 | * testsuite/ld-aarch64/aarch64-elf.exp: Update test name | |
2013 | * testsuite/ld-aarch64/pcrel.s: Add new testcases. | |
2014 | * testsuite/ld-aarch64/pcrel_pic_undefined.d: Update the expected | |
2015 | warnings. | |
2016 | * testsuite/ld-aarch64/pcrel_pic_defined_local.d: Rename ... | |
2017 | * testsuite/ld-aarch64/pcrel_pic_defined.d: ... to this. | |
2018 | Update expected warnings. | |
2019 | ||
75e06f97 L |
2020 | 2017-06-15 H.J. Lu <hongjiu.lu@intel.com> |
2021 | ||
2022 | * exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE" | |
2023 | instead of "-z stacksize=SIZE". | |
2024 | ||
6353d82b JW |
2025 | 2017-06-15 Jiong Wang <jiong.wang@arm.com> |
2026 | ||
2027 | * testsuite/ld-aarch64/copy-reloc-exe-2.s: New test source file. | |
2028 | * testsuite/ld-aarch64/copy-reloc-2.d: New test. | |
2029 | * testsuite/ld-aarch64/copy-reloc-exe-eliminate.s: New test source file. | |
2030 | * testsuite/ld-aarch64/copy-reloc-eliminate.d: New test. | |
2031 | * testsuite/ld-aarch64/copy-reloc-so.s: Define new global objects. | |
2032 | * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests. | |
2033 | ||
ae87f7e7 NC |
2034 | 2017-06-14 Nick Clifton <nickc@redhat.com> |
2035 | ||
2036 | PR binutils/21580 | |
2037 | * testsuite/ld-nds32/diff.d: Adjust expected output. | |
2038 | ||
99031baf L |
2039 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
2040 | ||
2041 | PR ld/20022 | |
2042 | * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic | |
2043 | relocations in .text section. | |
2044 | ||
8eca1095 L |
2045 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
2046 | ||
2047 | * testsuite/ld-elf/pr21562a.d: Skip on targets with leading char | |
2048 | in in symbol name or without --gc-sections. | |
2049 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
2050 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
2051 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
2052 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
2053 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
2054 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
2055 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
2056 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
2057 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
2058 | * testsuite/ld-elf/pr21562e.d: Skip on targets with leading char | |
2059 | in symbol name. | |
2060 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
2061 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
2062 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
2063 | ||
f78d1b3a L |
2064 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
2065 | ||
2066 | * testsuite/ld-gc/pr20022a.s: Add size to bar. | |
2067 | ||
b6947a7f L |
2068 | 2017-06-14 H.J. Lu <hongjiu.lu@intel.com> |
2069 | ||
2070 | * testsuite/ld-elf/sizeofa.d: Skip on targets with leading char | |
2071 | in symbol name. | |
2072 | * testsuite/ld-elf/sizeofb.d: Likewise. | |
2073 | * testsuite/ld-elf/startofa.d: Likewise. | |
2074 | * testsuite/ld-elf/startofb.d: Likewise. | |
2075 | ||
4c0b797e GJL |
2076 | 2017-06-14 Georg-Johann Lay <gjl@gcc.gnu.org> |
2077 | ||
2078 | PR ld/21583 | |
2079 | * scripttempl/avr.sc (.jumptables): Move down in text section. | |
2080 | (.hightext): New in text. | |
2081 | ||
319c2dbe SH |
2082 | 2017-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de> |
2083 | ||
2084 | * configure.tgt (epiphany-*-elf): Accept epiphany-*-*. | |
2085 | ||
b27685f2 L |
2086 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
2087 | ||
2088 | * ldlang.c (lang_set_startof): Skip if config.build_constructors | |
2089 | is FALSE. | |
2090 | * testsuite/ld-elf/sizeofc.d: New file. | |
2091 | * testsuite/ld-elf/startofc.d: Likewise. | |
2092 | ||
da614360 L |
2093 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
2094 | ||
2095 | * testsuite/ld-elf/sizeof.d: Renamed to ... | |
2096 | * testsuite/ld-elf/sizeofa.d: This. Updated. | |
2097 | * testsuite/ld-elf/startof.d: Renamed to ... | |
2098 | * testsuite/ld-elf/startofa.d: This. Updated. | |
2099 | * testsuite/ld-elf/sizeofb.d: New file. | |
2100 | * testsuite/ld-elf/startofb.d: Likewise. | |
2101 | ||
cbd0eecf L |
2102 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
2103 | ||
2104 | PR ld/20022 | |
2105 | PR ld/21557 | |
2106 | PR ld/21562 | |
2107 | PR ld/21571 | |
2108 | * ld.texinfo: Update __start_SECNAME/__stop_SECNAME symbols. | |
2109 | * ldlang.c (lang_insert_orphan): Move handling of __start_SECNAME | |
2110 | and __stop_SECNAME symbols to ... | |
2111 | (lang_set_startof): Here. Also define __start_SECNAME and | |
2112 | __stop_SECNAME for -Ur. | |
2113 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Mark | |
2114 | referenced __start_SECNAME and __stop_SECNAME symbols as hidden | |
2115 | and set start_stop for garbage collection. | |
2116 | * testsuite/ld-elf/pr21562a.d: New file. | |
2117 | * testsuite/ld-elf/pr21562a.s: Likewise. | |
2118 | * testsuite/ld-elf/pr21562a.t: Likewise. | |
2119 | * testsuite/ld-elf/pr21562b.d: Likewise. | |
2120 | * testsuite/ld-elf/pr21562b.s: Likewise. | |
2121 | * testsuite/ld-elf/pr21562b.t: Likewise. | |
2122 | * testsuite/ld-elf/pr21562c.d: Likewise. | |
2123 | * testsuite/ld-elf/pr21562c.t: Likewise. | |
2124 | * testsuite/ld-elf/pr21562d.d: Likewise. | |
2125 | * testsuite/ld-elf/pr21562d.t: Likewise. | |
2126 | * testsuite/ld-elf/pr21562e.d: Likewise. | |
2127 | * testsuite/ld-elf/pr21562f.d: Likewise. | |
2128 | * testsuite/ld-elf/pr21562g.d: Likewise. | |
2129 | * testsuite/ld-elf/pr21562h.d: Likewise. | |
2130 | * testsuite/ld-elf/pr21562i.d: Likewise. | |
2131 | * testsuite/ld-elf/pr21562j.d: Likewise. | |
2132 | * testsuite/ld-elf/pr21562k.d: Likewise. | |
2133 | * testsuite/ld-elf/pr21562l.d: Likewise. | |
2134 | * testsuite/ld-elf/pr21562m.d: Likewise. | |
2135 | * testsuite/ld-elf/pr21562n.d: Likewise. | |
2136 | * testsuite/ld-gc/pr20022.d: Likewise. | |
2137 | * testsuite/ld-gc/pr20022a.s: Likewise. | |
2138 | * testsuite/ld-gc/pr20022b.s: Likewise. | |
2139 | * testsuite/ld-gc/gc.exp: Run PR ld/20022 tests. | |
2140 | * testsuite/ld-gc/pr19161.d: Also accept local __start_SECNAME | |
2141 | symbol. | |
2142 | * testsuite/ld-gc/start.d: Likewise. | |
2143 | * testsuite/ld-x86-64/lea1a.d: Updated. | |
2144 | * testsuite/ld-x86-64/lea1b.d: Updated. | |
2145 | * testsuite/ld-x86-64/lea1d.d: Updated. | |
2146 | * testsuite/ld-x86-64/lea1e.d: Likewise. | |
2147 | ||
dc74becf L |
2148 | 2017-06-13 H.J. Lu <hongjiu.lu@intel.com> |
2149 | ||
2150 | * testsuite/ld-elf/sizeof.d: New file. | |
2151 | * testsuite/ld-elf/sizeof.s: Likewise. | |
2152 | * testsuite/ld-elf/startof.d: Likewise. | |
2153 | * testsuite/ld-elf/startof.s: Likewise. | |
2154 | ||
8569cfa7 RL |
2155 | 2017-06-13 Renlin Li <renlin.li@arm.com> |
2156 | ||
2157 | * testsuite/ld-elf/shared.exp (build_tests): Add --no-dynamic-linker | |
2158 | option to rdynamic-1 and dynamic-1 tests. | |
2159 | ||
654f3b6a L |
2160 | 2017-06-09 H.J. Lu <hongjiu.lu@intel.com> |
2161 | ||
2162 | * testsuite/ld-x86-64/property-x86-3-x32.d: New file. | |
2163 | * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise. | |
2164 | * testsuite/ld-x86-64/property-x86-4b-x32.d: Likewise. | |
2165 | * testsuite/ld-x86-64/property-x86-3.d: Also pass | |
2166 | -defsym __64_bit__=1 to asssembler. | |
2167 | * testsuite/ld-x86-64/property-x86-4a.d: Likewise. | |
2168 | * testsuite/ld-x86-64/property-x86-4b.d: Likewise. | |
2169 | * testsuite/ld-x86-64/property-x86-3.s: Align to 4 bytes if | |
2170 | __64_bit__ isn't defined. | |
2171 | * testsuite/ld-x86-64/property-x86-4a.s: Likewise. | |
2172 | * testsuite/ld-x86-64/property-x86-4b.s: Likewise. | |
2173 | * testsuite/ld-x86-64/x86-64.exp: Run property-x86-3-x32, | |
2174 | property-x86-4a-x32 and property-x86-4b-x32. | |
2175 | ||
a0abe743 CM |
2176 | 2017-06-08 Cupertino Miranda <cmiranda@synopsys.com> |
2177 | ||
2178 | * testsuite/ld-arc/tls_ie-01.d: Changed expected result. | |
2179 | ||
51fa2693 L |
2180 | 2017-06-08 H.J. Lu <hongjiu.lu@intel.com> |
2181 | ||
2182 | * testsuite/ld-ifunc/ifunc-1-local-x86.d: Pass | |
2183 | "-Map tmpdir/ifunc-1-local-x86.map" to ld and check | |
2184 | ifunc-1-local-x86.map. | |
2185 | * testsuite/ld-ifunc/ifunc-1-x86.d: Pass | |
2186 | "-Map tmpdir/ifunc-1-x86.map" to ld and check ifunc-1-x86.map. | |
2187 | * testsuite/ld-ifunc/ifunc-1-local-x86.map: New file. | |
2188 | * testsuite/ld-ifunc/ifunc-1-x86.map: Likewise. | |
2189 | ||
4936f235 AM |
2190 | 2017-06-07 Alan Modra <amodra@gmail.com> |
2191 | ||
2192 | * testsuite/ld-unique/pr21529.d: xfail aarch64, arm, hppa, ia64, | |
2193 | nds32, and score. Match any output. | |
2194 | ||
670b1a13 AB |
2195 | 2017-06-06 Andrew Burgess <andrew.burgess@embecosm.com> |
2196 | ||
2197 | * ld.h (struct args_type): Fix typo in comment. | |
2198 | ||
7bdf4127 AB |
2199 | 2017-06-06 Andrew Burgess <andrew.burgess@embecosm.com> |
2200 | ||
2201 | * ld.h (struct args_type): Add force_group_allocation field. | |
2202 | * ldgram.y: Add support for FORCE_GROUP_ALLOCATION. | |
2203 | * ldlex.h: Likewise. | |
2204 | * ldlex.l: Likewise. | |
2205 | * lexsup.c: Likewise. | |
2206 | * ldlang.c (unique_section_p): Check resolve_section_groups flag | |
2207 | not the relaxable link flag. | |
2208 | (lang_add_section): Discard section groups when we're resolving | |
2209 | groups. Clear the SEC_LINK_ONCE flag if we're resolving section | |
2210 | groups. | |
2211 | * ldmain.c (main): Initialise resolve_section_groups flag in | |
2212 | link_info based on command line flags. | |
2213 | * testsuite/ld-elf/group11.d: New file. | |
2214 | * testsuite/ld-elf/group12.d: New file. | |
2215 | * testsuite/ld-elf/group12.ld: New file. | |
2216 | * NEWS: Mention new features. | |
2217 | * ld.texinfo (Options): Document --force-group-allocation. | |
2218 | (Miscellaneous Commands): Document FORCE_GROUP_ALLOCATION. | |
2219 | ||
d9409498 L |
2220 | 2017-06-05 H.J. Lu <hongjiu.lu@intel.com> |
2221 | ||
2222 | PR ld/21529 | |
2223 | * testsuite/ld-unique/pr21529.d: New file. | |
2224 | * testsuite/ld-unique/pr21529.s: Likewise. | |
2225 | * testsuite/ld-unique/unique.exp: Run *.d. | |
2226 | ||
91001320 AM |
2227 | 2017-06-05 Alan Modra <amodra@gmail.com> |
2228 | ||
2229 | * ldmain.c (main): Correct setting of link_indo.new_dtags. | |
2230 | * testsuite/ld-elf/now-3.d: Pass --disable-new-dtags to ld | |
2231 | * testsuite/ld-elf/now-4.d: Likewise. | |
2232 | * testsuite/ld-elf/rpath-1.d: Likewise. | |
2233 | * testsuite/ld-elf/rpath-2.d: Likewise. | |
2234 | ||
6734f10a SB |
2235 | 2017-06-05 Slava Barinov <v.barinov@samsung.com> |
2236 | ||
2237 | * configure.ac: Add --enable-new-dtags option. | |
91001320 AM |
2238 | * ldmain.c (main): Set link_info.new_dtags to 1 if when |
2239 | --enable-new-dtags is switched on. | |
6734f10a SB |
2240 | * configure: Regenerate. |
2241 | * config.in: Regenerate. | |
2242 | ||
4a4a4a27 L |
2243 | 2017-06-02 H.J. Lu <hongjiu.lu@intel.com> |
2244 | ||
2245 | * emulparams/call_nop.sh: Remove -z prefix-nop. | |
2246 | * ld.texinfo: Likewise. | |
2247 | * testsuite/ld-i386/call3c.d: Check for linker error. | |
2248 | * testsuite/ld-x86-64/call1c.d: Likewise. | |
2249 | ||
f378ab09 AM |
2250 | 2017-06-01 Alan Modra <amodra@gmail.com> |
2251 | ||
2252 | * emultempl/ppc64elf.em (params): Init plt_localentry0 field. | |
2253 | (enum ppc64_opt): New, replacing OPTION_* defines. Add | |
2254 | OPTION_PLT_LOCALENTRY, and OPTION_NO_PLT_LOCALENTRY. | |
2255 | (PARSE_AND_LIST_*): Support --plt-localentry and --no-plt-localentry. | |
2256 | * testsuite/ld-powerpc/elfv2so.d: Update. | |
2257 | * testsuite/ld-powerpc/powerpc.exp (TLS opt 5): Use --no-plt-localentry. | |
2258 | * testsuite/ld-powerpc/tlsopt5.d: Update. | |
2259 | ||
ab12fca3 AM |
2260 | 2017-05-31 Alan Modra <amodra@gmail.com> |
2261 | ||
2262 | * emultempl/ppc64elf.em (plt-static-chain help): Fix quoting. | |
2263 | ||
9a6465c2 JW |
2264 | 2017-05-22 Jiong Wang <jiong.wang@arm.com> |
2265 | ||
2266 | * configure.tgt: Set "targ_emul" to "aarch64linux32b" for | |
2267 | aarch64_be-*-linux-gnu_ilp32. Set "targ_emul" to "aarch64linux32" for | |
2268 | aarch64-*-linux-gnu_ilp32. | |
2269 | ||
92f7d783 L |
2270 | 2017-05-19 H.J. Lu <hongjiu.lu@intel.com> |
2271 | ||
2272 | * testsuite/ld-i386/i386.exp: Run property-x86-4a and | |
2273 | property-x86-4b. | |
2274 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
2275 | * testsuite/ld-i386/property-x86-4a.d: New file. | |
2276 | * testsuite/ld-i386/property-x86-4a.s: Likewise. | |
2277 | * testsuite/ld-i386/property-x86-4b.d: Likewise. | |
2278 | * testsuite/ld-i386/property-x86-4b.s: Likewise. | |
2279 | * testsuite/ld-x86-64/property-x86-4a.d: Likewise. | |
2280 | * testsuite/ld-x86-64/property-x86-4a.s: Likewise. | |
2281 | * testsuite/ld-x86-64/property-x86-4b.d: Likewise. | |
2282 | * testsuite/ld-x86-64/property-x86-4b.s: Likewise. | |
2283 | ||
f4203b2b JL |
2284 | 2017-05-19 Georg-Johann Lay <avr@gjlay.de> |
2285 | ||
2286 | PR ld/21472 | |
2287 | * emulparams/avrxmega3.sh (RODATA_PM_OFFSET): Set to 0x8000. | |
2288 | * scripttempl/avr.sc (__RODATA_PM_OFFSET__) [RODATA_PM_OFFSET]: | |
2289 | Use RODATA_PM_OFFSET as default if not already defined. | |
2290 | (.data) [!RODATA_PM_OFFSET]: Don't include .rodata and friends. | |
2291 | (.rodata) [RODATA_PM_OFFSET]: Put at an offset of | |
2292 | __RODATA_PM_OFFSET__. | |
2293 | ||
3aa2d05a NC |
2294 | 2017-05-18 Nick Clifton <nickc@redhat.com> |
2295 | ||
2296 | PR ld/21251 | |
2297 | * ldfile.c (ldfile_add_library_path): If the path starts with | |
2298 | $SYSROOT then use the sysroot as the real prefix. | |
2299 | * ldlang.c (lang_add_input_file): Treat $SYSROOT in the same | |
2300 | way as =. | |
2301 | * ldlex.l: Add $SYSROOT as allow prefix for a filename. | |
2302 | * ld.texinfo (-L): Document that $SYSROOT acts like = when | |
2303 | prefixing a library search path. | |
2304 | (INPUT): Likewise. | |
2305 | * testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix | |
2306 | tests. | |
2307 | ||
535b785f AM |
2308 | 2017-05-18 Alan Modra <amodra@gmail.com> |
2309 | ||
2310 | * emultempl/elf32.em: Don't compare boolean values against TRUE or FALSE. | |
2311 | * emultempl/pe.em: Likewise. | |
2312 | * emultempl/pep.em: Likewise. | |
9d43118e AM |
2313 | * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback): |
2314 | Don't compare enum against TRUE. | |
535b785f | 2315 | |
087ea222 AM |
2316 | 2017-05-18 Alan Modra <amodra@gmail.com> |
2317 | ||
2318 | PR ld/20882 | |
2319 | * testsuite/ld-gc/pr20882.d: Don't pass -gdwarf-sections to gas. | |
2320 | Allow for 16-bit address targets and match expected data fully. | |
2321 | * testsuite/ld-gc/pr20882a.s: Delete .debug_line section. | |
2322 | * testsuite/ld-gc/pr20882b.s: Likewise. | |
2323 | * testsuite/ld-gc/pr20882c.s: Likewise. | |
2324 | ||
b7c871ed L |
2325 | 2017-05-17 H.J. Lu <hongjiu.lu@intel.com> |
2326 | ||
2327 | PR ld/20882 | |
2328 | * testsuite/ld-gc/gc.exp: Run pr20882. | |
2329 | * testsuite/ld-gc/pr20882.d: New file. | |
2330 | * testsuite/ld-gc/pr20882a.s: Likewise. | |
2331 | * testsuite/ld-gc/pr20882b.s: Likewise. | |
2332 | * testsuite/ld-gc/pr20882c.s: Likewise. | |
2333 | ||
0a7d3889 L |
2334 | 2017-05-16 H.J. Lu <hongjiu.lu@intel.com> |
2335 | ||
2336 | PR ld/21481 | |
2337 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests only | |
2338 | if IFUNC is supported by run-time. | |
2339 | ||
bc4e12de AM |
2340 | 2017-05-16 Alan Modra <amodra@gmail.com> |
2341 | ||
2342 | * plugin.c: Rename occurrences of non_ir_ref. | |
2343 | ||
4070765b AM |
2344 | 2017-05-16 Alan Modra <amodra@gmail.com> |
2345 | ||
2346 | * plugin.c (is_visible_from_outside): Use non_ir_ref_dynamic. | |
2347 | (plugin_notice): Set non_ir_ref for references from regular | |
2348 | objects, non_ir_ref_dynamic for references from dynamic objects. | |
2349 | ||
b32465c9 MR |
2350 | 2017-05-15 Maciej W. Rozycki <macro@imgtec.com> |
2351 | ||
2352 | * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: New test. | |
2353 | * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: New test. | |
2354 | * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: New test. | |
2355 | * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: New test. | |
2356 | * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: New test. | |
2357 | * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: New test. | |
2358 | * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: New test. | |
2359 | * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: New test. | |
2360 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
2361 | ||
786e3eba NC |
2362 | 2017-05-15 Nick Clifton <nickc@redhat.com> |
2363 | ||
2364 | PR ld/21459 | |
2365 | * scripttempl/pe.sc: Add .debug_gdb_scripts section. | |
2366 | * scripttempl/pep.sc: Likewise. | |
2367 | ||
73caa85d L |
2368 | 2017-05-12 H.J. Lu <hongjiu.lu@intel.com> |
2369 | ||
2370 | * testsuite/ld-i386/i386.exp: Run property-x86-3. | |
2371 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
2372 | * testsuite/ld-i386/property-x86-3.d: New file. | |
2373 | * testsuite/ld-i386/property-x86-3.s: Likewise. | |
2374 | * testsuite/ld-x86-64/property-x86-3.d: Likewise. | |
2375 | * testsuite/ld-x86-64/property-x86-3.s: Likewise. | |
2376 | ||
f2c29a16 L |
2377 | 2017-05-11 H.J. Lu <hongjiu.lu@intel.com> |
2378 | ||
2379 | * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Replace | |
2380 | .plt.bnd with .plt.sec. | |
2381 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. | |
2382 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
2383 | * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. | |
2384 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
2385 | * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. | |
2386 | * testsuite/ld-x86-64/mpx3.dd: Likewise. | |
2387 | * testsuite/ld-x86-64/mpx3n.dd: Likewise. | |
2388 | * testsuite/ld-x86-64/mpx4.dd: Likewise. | |
2389 | * testsuite/ld-x86-64/mpx4n.dd: Likewise. | |
2390 | * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise. | |
2391 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
2392 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
2393 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
2394 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
2395 | ||
dc2be3d2 L |
2396 | 2017-05-11 H.J. Lu <hongjiu.lu@intel.com> |
2397 | ||
2398 | * testsuite/ld-i386/plt-pic2.dd: Updated. | |
2399 | * testsuite/ld-i386/plt2.dd: Likewise. | |
2400 | * testsuite/ld-i386/plt2.rd: Likewise. | |
2401 | * testsuite/ld-i386/pr17689now.rd: Likewise. | |
2402 | * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise. | |
2403 | * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise. | |
2404 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. | |
2405 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. | |
2406 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. | |
2407 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
2408 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
2409 | * testsuite/ld-x86-64/plt2.dd: Likewise. | |
2410 | * testsuite/ld-x86-64/plt2.rd: Likewise. | |
2411 | * testsuite/ld-x86-64/pr17689now.rd: Likewise. | |
2412 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
2413 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
2414 | ||
5d69120b L |
2415 | 2017-05-10 H.J. Lu <hongjiu.lu@intel.com> |
2416 | ||
2417 | * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Set | |
2418 | to yes. | |
2419 | * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): | |
2420 | Likewise. | |
2421 | * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Likewise. | |
2422 | ||
aab82f4c L |
2423 | 2017-05-10 H.J. Lu <hongjiu.lu@intel.com> |
2424 | ||
2425 | PR ld/21481 | |
2426 | * testsuite/ld-x86-64/pr21481a.c: New file. | |
2427 | * testsuite/ld-x86-64/pr21481b.S: Likewise. | |
2428 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests. | |
2429 | ||
53a346d8 CZ |
2430 | 2017-05-10 Claudiu Zissulescu <claziss@synopsys.com> |
2431 | ||
2432 | * testsuite/ld-arc/attr-merge-0.d: New file. | |
2433 | * testsuite/ld-arc/attr-merge-0.s: Likewise. | |
2434 | * testsuite/ld-arc/attr-merge-0e.s: Likewise. | |
2435 | * testsuite/ld-arc/attr-merge-1.d: Likewise. | |
2436 | * testsuite/ld-arc/attr-merge-1.s: Likewise. | |
2437 | * testsuite/ld-arc/attr-merge-1e.s: Likewise. | |
2438 | * testsuite/ld-arc/attr-merge-2.d: Likewise. | |
2439 | * testsuite/ld-arc/attr-merge-2.s: Likewise. | |
2440 | * testsuite/ld-arc/attr-merge-3.d: Likewise. | |
2441 | * testsuite/ld-arc/attr-merge-3.s: Likewise. | |
2442 | * testsuite/ld-arc/attr-merge-3e.s: Likewise. | |
2443 | * testsuite/ld-arc/attr-merge-4.s: Likewise. | |
2444 | * testsuite/ld-arc/attr-merge-5.d: Likewise. | |
2445 | * testsuite/ld-arc/attr-merge-5a.s: Likewise. | |
2446 | * testsuite/ld-arc/attr-merge-5b.s: Likewise. | |
2447 | * testsuite/ld-arc/attr-merge-conflict-isa.d: Likewise. | |
2448 | * testsuite/ld-arc/attr-merge-err-isa.d: Likewise. | |
2449 | * testsuite/ld-arc/attr-merge-incompatible-cpu.d: Likewise. | |
2450 | * testsuite/ld-arc/got-01.d: Update test. | |
2451 | * testsuite/ld-arc/attr-merge-err-quarkse.d: New file. | |
2452 | * testsuite/ld-arc/attr-quarkse.s: Likewise. | |
2453 | * testsuite/ld-arc/attr-quarkse2.s: Likewise. | |
2454 | ||
a6da4630 A |
2455 | 2017-05-09 Awson <kyrab@mail.ru> |
2456 | ||
2457 | PR ld/21471 | |
2458 | * pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64. | |
2459 | ||
d2732b69 AM |
2460 | 2017-05-09 Benjamin Peterson <bp@benjamin.pe> |
2461 | ||
2462 | * ld.texinfo (orphan sections): Grammar fix. | |
2463 | ||
38b12349 L |
2464 | 2017-05-08 H.J. Lu <hongjiu.lu@intel.com> |
2465 | ||
2466 | * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: New file. | |
2467 | * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. | |
2468 | * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. | |
2469 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. | |
2470 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. | |
2471 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. | |
2472 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
2473 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
2474 | * testsuite/ld-x86-64/mpx3n.dd: Likewise. | |
2475 | * testsuite/ld-x86-64/mpx4n.dd: Likewise. | |
2476 | * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise. | |
2477 | * testsuite/ld-x86-64/plt2.dd: Likewise. | |
2478 | * testsuite/ld-x86-64/plt2.rd: Likewise. | |
2479 | * testsuite/ld-x86-64/plt2.s: Likewise. | |
2480 | * testsuite/ld-x86-64/pr20830a-now.d: Likewise. | |
2481 | * testsuite/ld-x86-64/pr20830b-now.d: Likewise. | |
2482 | * testsuite/ld-x86-64/pr21038a-now.d: Likewise. | |
2483 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
2484 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
2485 | * testsuite/ld-x86-64/load1b-nacl.d: Updated. | |
2486 | * testsuite/ld-x86-64/load1b.d: Likewise. | |
2487 | * testsuite/ld-x86-64/plt-main-bnd.dd: Likewise. | |
2488 | * testsuite/ld-x86-64/pr20253-1h.d: Likewise. | |
2489 | * testsuite/ld-x86-64/pr20830a.d: Update the .plt.got section | |
2490 | with func@plt. | |
2491 | * testsuite/ld-x86-64/pr20830b.d: Likewise. | |
2492 | * testsuite/ld-x86-64/pr21038a.d: Likewise. | |
2493 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
2494 | * testsuite/ld-x86-64/mpx.exp: Add some -z now tests. | |
2495 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
2496 | ||
f604c2a2 L |
2497 | 2017-05-08 H.J. Lu <hongjiu.lu@intel.com> |
2498 | ||
2499 | * testsuite/ld-i386/i386.exp: Add some -z now tests. | |
2500 | * testsuite/ld-i386/plt-pic2.dd: New file. | |
2501 | * testsuite/ld-i386/plt2.dd: Likewise. | |
2502 | * testsuite/ld-i386/plt2.rd: Likewise. | |
2503 | * testsuite/ld-i386/plt2.s: Likewise. | |
2504 | * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise. | |
2505 | * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. | |
2506 | * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. | |
2507 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. | |
2508 | * testsuite/ld-i386/pr20830.d: Update the .plt.got section | |
2509 | with func@plt. | |
2510 | ||
046734ff TP |
2511 | 2017-05-08 Thomas Preud'homme <thomas.preudhomme@arm.com> |
2512 | ||
2513 | * testsuite/ld-arm/arm-elf.exp | |
2514 | (Secure gateway import library generation): Check e_type field | |
2515 | of import library and executable produced. | |
2516 | * testsuite/ld-arm/cmse-implib.type: Expectations for e_type field. | |
2517 | ||
b660e9eb SKS |
2518 | 2017-04-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> |
2519 | ||
2520 | PR ld/21404 | |
2521 | * testsuite/ld-avr/pr21404-1.d: New test. | |
2522 | * testsuite/ld-avr/pr21404-1.s: New test. | |
2523 | * testsuite/ld-avr/pr21404-2.d: New test. | |
2524 | * testsuite/ld-avr/pr21404-2.s: New test. | |
2525 | * testsuite/ld-avr/pr21404-3.d: New test. | |
2526 | * testsuite/ld-avr/pr21404-3.s: New test. | |
2527 | * testsuite/ld-avr/pr21404-4.d: New test. | |
2528 | * testsuite/ld-avr/pr21404-4.s: New test. | |
2529 | * testsuite/ld-avr/pr21404-5.d: New test. | |
2530 | * testsuite/ld-avr/pr21404-5.s: New test. | |
2531 | * testsuite/ld-avr/pr21404-6.d: New test. | |
2532 | * testsuite/ld-avr/pr21404-6.s: New test. | |
2533 | * testsuite/ld-avr/pr21404-7.d: New test. | |
2534 | * testsuite/ld-avr/pr21404-7.s: New test. | |
2535 | * testsuite/ld-avr/pr21404-8.d: New test. | |
2536 | * testsuite/ld-avr/pr21404-8.s: New test. | |
2537 | ||
8507b6e7 MR |
2538 | 2017-05-03 Maciej W. Rozycki <macro@imgtec.com> |
2539 | ||
2540 | * testsuite/ld-mips-elf/mips16-pcrel-0.d: New test. | |
2541 | * testsuite/ld-mips-elf/mips16-pcrel-1.d: New test. | |
2542 | * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: New test. | |
2543 | * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: New test. | |
2544 | * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: New test. | |
2545 | * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: New test. | |
2546 | * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: New test. | |
2547 | * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: New test. | |
2548 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
2549 | ||
b2290821 L |
2550 | 2017-05-03 H.J. Lu <hongjiu.lu@intel.com> |
2551 | ||
2552 | * testsuite/ld-elf/pr21384.d: Adjusted to accommodate | |
2553 | additional dynamic symbols on some targets. | |
2554 | ||
82d808ed MR |
2555 | 2017-05-02 Maciej W. Rozycki <macro@imgtec.com> |
2556 | ||
2557 | * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: New test. | |
2558 | * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: New test. | |
2559 | * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d: New | |
2560 | test. | |
2561 | * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d: New | |
2562 | test. | |
2563 | * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d: New | |
2564 | test. | |
2565 | * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d: | |
2566 | New test. | |
2567 | * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d: New | |
2568 | test. | |
2569 | * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d: New | |
2570 | test. | |
2571 | * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d: | |
2572 | New test. | |
2573 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
2574 | ||
3d850592 L |
2575 | 2017-05-02 H.J. Lu <hongjiu.lu@intel.com> |
2576 | ||
2577 | * testsuite/ld-i386/tls.exp: Add -Wl,--no-as-needed to | |
2578 | "TLS without PLT (1)" and "TLS without PLT (3)". | |
2579 | * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to | |
2580 | to "TLS without PLT (3)". | |
2581 | ||
640226f0 L |
2582 | 2017-05-02 H.J. Lu <hongjiu.lu@intel.com> |
2583 | ||
2584 | PR ld/21384 | |
2585 | * testsuite/ld-elf/pr21384.d: New file. | |
2586 | * testsuite/ld-elf/pr21384.dl: Likewise. | |
2587 | * testsuite/ld-elf/pr21384.ld: Likewise. | |
2588 | * testsuite/ld-elf/pr21384.s: Likewise. | |
2589 | ||
0aae7e72 L |
2590 | 2017-05-01 H.J. Lu <hongjiu.lu@intel.com> |
2591 | ||
2592 | * testsuite/ld-i386/tls.exp: Run GNU2 TLS tests only if there | |
2593 | is working GNU2 TLS support. | |
2594 | * testsuite/ld-x86-64/tls.exp: Likewise. | |
2595 | * testsuite/lib/ld-lib.exp (check_gnu2_tls_available): New proc. | |
2596 | ||
1670f9c1 L |
2597 | 2017-04-28 H.J. Lu <hongjiu.lu@intel.com> |
2598 | ||
2599 | * testsuite/config/default.exp (GNU2_CFLAGS): New. Set | |
2600 | to -mtls-dialect=gnu2 if target compiler supports it. | |
2601 | * testsuite/ld-i386/tls.exp: Run -mtls-dialect=gnu2 tests. | |
2602 | * testsuite/ld-x86-64/tls.exp: Likewise. | |
2603 | * testsuite/ld-i386/tlsdesc1a.c: New file. | |
2604 | * testsuite/ld-i386/tlsdesc1b.c: Likewise. | |
2605 | * testsuite/ld-x86-64/tlsdesc1a.c: Likewise. | |
2606 | * testsuite/ld-x86-64/tlsdesc1b.c: Likewise. | |
2607 | ||
d6f48aed L |
2608 | 2017-04-28 H.J. Lu <hongjiu.lu@intel.com> |
2609 | ||
2610 | * testsuite/ld-elf/shared.exp: Add run-time tests for -z now. | |
2611 | * testsuite/ld-i386/tls.exp: Likewise. | |
2612 | * testsuite/ld-ifunc/ifunc.exp: Likewise. | |
2613 | * testsuite/ld-x86-64/tls.exp: Likewise. | |
2614 | ||
de9a3c42 L |
2615 | 2017-04-27 H.J. Lu <hongjiu.lu@intel.com> |
2616 | ||
2617 | * testsuite/ld-x86-64/pr21038a.d: Update DW_CFA_nop paddings | |
2618 | in .eh_frame section. | |
2619 | * testsuite/ld-x86-64/pr21038c.d: Update .eh_frame order. | |
2620 | ||
97d343d4 L |
2621 | 2017-04-26 H.J. Lu <hongjiu.lu@intel.com> |
2622 | ||
2623 | * testsuite/ld-i386/tlsdesc2.d: New test. | |
2624 | * testsuite/ld-x86-64/tlsdesc2.d: Likewise. | |
2625 | ||
23ec1e32 MR |
2626 | 2017-04-26 Maciej W. Rozycki <macro@imgtec.com> |
2627 | ||
2628 | PR ld/21334 | |
2629 | * testsuite/ld-mips-elf/pr21334.dd: New test. | |
2630 | * testsuite/ld-mips-elf/pr21334.gd: New test. | |
2631 | * testsuite/ld-mips-elf/pr21334.ld: New test linker script. | |
2632 | * testsuite/ld-mips-elf/pr21334.s: New test source. | |
2633 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
2634 | ||
9e9821dd L |
2635 | 2017-04-24 H.J. Lu <hongjiu.lu@intel.com> |
2636 | ||
2637 | * testsuite/ld-x86-64/no-plt.exp: Also check no-plt-1e.nd. | |
2638 | * testsuite/ld-x86-64/no-plt-1e.nd: New file. | |
2639 | ||
e662f84f L |
2640 | 2017-04-24 H.J. Lu <hongjiu.lu@intel.com> |
2641 | ||
2642 | * testsuite/ld-i386/pr12570a.d: Skip for nacl targets. | |
2643 | * testsuite/ld-i386/pr12570b.d: Likewise. | |
2644 | ||
1587442d L |
2645 | 2017-04-24 H.J. Lu <hongjiu.lu@intel.com> |
2646 | ||
2647 | PR ld/20815 | |
2648 | * testsuite/ld-i386/vxworks2.sd: Add space for program headers. | |
2649 | ||
8b353c47 JM |
2650 | 2017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com> |
2651 | ||
2652 | * testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions | |
2653 | instead of `rett' in V9. | |
2654 | * testsuite/ld-sparc/tlssunnopic64.dd: Likewise. | |
2655 | * testsuite/ld-sparc/tlssunpic64.dd: Likewise. | |
2656 | ||
e133d005 L |
2657 | 2017-04-21 H.J. Lu <hongjiu.lu@intel.com> |
2658 | ||
2659 | PR ld/21402 | |
2660 | * testsuite/ld-elf/indirect.exp: Don't skip PIE indirect5 and | |
2661 | indirect6 tests on i386. | |
2662 | ||
3c5fce9b L |
2663 | 2017-04-21 H.J. Lu <hongjiu.lu@intel.com> |
2664 | ||
2665 | PR ld/19617 | |
2666 | PR ld/21086 | |
2667 | * testsuite/ld-elf/pr19617a.d: Pass --no-dynamic-linker to ld. | |
2668 | * testsuite/ld-elf/pr19617b.d: Likewise. | |
2669 | * testsuite/ld-elf/pr19617c.d: Likewise. | |
2670 | *testsuite/ld-i386/pr19636-4d.d: Likewise. | |
2671 | * testsuite/ld-elf/readelf.exp: Pass --no-dynamic-linker to ld | |
2672 | with --export-dynamic. | |
2673 | * testsuite/ld-elf/shared.exp: Pass --no-dynamic-linker to ld | |
2674 | with -E. | |
2675 | ||
afe9edbf L |
2676 | 2017-04-20 H.J. Lu <hongjiu.lu@intel.com> |
2677 | ||
2678 | PR ld/21402 | |
2679 | * testsuite/ld-elf/indirect.exp: Pass $NOPIE_LDFLAGS and | |
2680 | $NOPIE_CFLAGS to non-PIE indirect5 and indirect6 tests. Skip | |
2681 | PIE indirect5 and indirect6 tests on i386. | |
2682 | ||
31321c80 MR |
2683 | 2017-04-20 Maciej W. Rozycki <macro@imgtec.com> |
2684 | ||
2685 | * testsuite/ld-mips-elf/mips-elf.exp: Join `__ehdr_start' tests. | |
2686 | ||
59fa66c5 L |
2687 | 2017-04-20 H.J. Lu <hongjiu.lu@intel.com> |
2688 | ||
2689 | PR ld/21382 | |
2690 | * plugin.c (is_visible_from_outside): Symbol may be visible | |
2691 | from outside if dynamic_ref_after_ir_def is set. | |
2692 | (plugin_notice): Set dynamic_ref_after_ir_def if the symbol is | |
2693 | defined in an IR object and referenced in a dynamic object. | |
2694 | * testsuite/ld-plugin/lto.exp: Run PR ld/21382 tests. | |
2695 | * testsuite/ld-plugin/pr21382a.c: New file. | |
2696 | * testsuite/ld-plugin/pr21382b.c: Likewise. | |
2697 | ||
e492d2f8 L |
2698 | 2017-04-19 H.J. Lu <hongjiu.lu@intel.com> |
2699 | ||
2700 | PR ld/21401 | |
2701 | * testsuite/ld-ifunc/ifunc.exp: Add a libtest-2-now.so test with | |
2702 | -z now. | |
2703 | ||
954b63d4 AM |
2704 | 2017-04-19 Alan Modra <amodra@gmail.com> |
2705 | ||
2706 | * ld.texinfo (dynamic-undefined-weak): Document. | |
2707 | (nodynamic-undefined-weak): Document that this option now can | |
2708 | be used with shared libs. | |
2709 | * emulparams/dynamic_undefined_weak.sh: Support -z | |
2710 | dynamic-undefined-weak. | |
2711 | * emulparams/elf32ppccommon.sh: Include dynamic_undefined_weak.sh. | |
2712 | * testsuite/ld-undefined/weak-undef.exp (undef_weak_so), | |
2713 | (undef_weak_exe): New. Use them. Add -z dynamic-undefined-weak | |
2714 | and -z nodynamic-undefined-weak tests. | |
2715 | * Makefile.am: Update powerpc dependencies. | |
2716 | * Makefile.in: Regenerate. | |
2717 | ||
e6699019 L |
2718 | 2017-04-17 H.J. Lu <hongjiu.lu@intel.com> |
2719 | ||
2720 | PR ld/21389 | |
2721 | * testsuite/ld-elf/pr21389.map: New file. | |
2722 | * testsuite/ld-elf/pr21389.s: Likewise. | |
2723 | * testsuite/ld-elf/pr21389a.d: Likewise. | |
2724 | * testsuite/ld-elf/pr21389b.d: Likewise. | |
2725 | * testsuite/ld-elf/pr21389c.d: Likewise. | |
2726 | ||
c5d37467 AM |
2727 | 2017-04-17 Alan Modra <amodra@gmail.com> |
2728 | ||
2729 | * testsuite/ld-elf/indirect5a.c, | |
2730 | * testsuite/ld-elf/indirect5b.c, | |
2731 | * testsuite/ld-elf/indirect5.map, | |
2732 | * testsuite/ld-elf/indirect5.out: New test. | |
2733 | * testsuite/ld-elf/indirect6a.c: Likewise. | |
2734 | * testsuite/ld-elf/indirect.exp (check_dynamic_syms): New proc. | |
2735 | Run new tests and check dynsyms. | |
2736 | ||
fbea1508 AM |
2737 | 2017-04-11 Alan Modra <amodra@gmail.com> |
2738 | ||
2739 | PR 21274 | |
2740 | PR 18466 | |
2741 | * emultempl/pe.em (pe_find_data_imports): Don't use fixed size | |
2742 | symbol buffer. Instead, xmalloc max size needed with space for | |
2743 | prefix. Wrap overlong lines. Formatting. Pass symbol buffer | |
2744 | copy of name to pe_walk_relocs_of_symbol. | |
2745 | (make_inport_fixup): Add "name" param, pass to pe_create_import_fixup. | |
2746 | * emultempl/pe.em (pep_find_data_imports): As for pe_find_data_imports. | |
2747 | (make_import_fixup): Add "name" param, pass to pep_create_import_fixup. | |
2748 | Use bfd_get_signed_* and remove unnecessary casts. Formatting. | |
2749 | * pe-dll.c (pe_walk_relocs_of_symbol): Add "name" param. Pass to | |
2750 | callback. | |
2751 | (make_import_fixup_mark): Add "name" param. Make use of prefix | |
2752 | space rather than xmalloc here. | |
2753 | (pe_create_import_fixup): Likewise. | |
2754 | * pe-dll.h (pe_walk_relocs_of_symbol): Update prototype. | |
2755 | (pe_create_import_fixup): Likewise. | |
2756 | * pep-dll.h (pep_walk_relocs_of_symbol): Likewise. | |
2757 | (pep_create_import_fixup): Likewise. | |
2758 | ||
a70f34c0 NC |
2759 | 2017-04-10 Nick Clifton <nickc@redhat.com> |
2760 | ||
2761 | * ld.texinfo (--strip-discarded): Document. | |
2762 | (--embedded-relocs): Document. | |
2763 | (--spare-dynamic-tags): Document. | |
2764 | (--task-link): Document. | |
2765 | ||
6f9dbcd4 AM |
2766 | 2017-04-10 Alan Modra <amodra@gmail.com> |
2767 | ||
2768 | PR 21287 | |
2769 | * testsuite/ld-elf/init-fini-arrays.d: Match INIT_ARRAY and FINI_ARRAY. | |
2770 | * testsuite/ld-elf/init-fini-arrays.s: Use %init_array and %fini_array | |
2771 | section types. | |
2772 | * testsuite/lib/ld-lib.exp (default_ld_compile): Trim assembler | |
2773 | warnings about "ignoring incorrect section type". | |
2774 | (run_ld_link_exec_tests, run_cc_link_tests): Delete old comment. | |
2775 | ||
37095d07 AM |
2776 | 2017-04-10 Alan Modra <amodra@gmail.com> |
2777 | ||
2778 | * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete | |
2779 | sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling. Use | |
2780 | remote_file host exists rather than file exists. | |
2781 | ||
a7eaf017 L |
2782 | 2017-04-07 H.J. Lu <hongjiu.lu@intel.com> |
2783 | ||
2784 | PR ld/21090 | |
2785 | * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use | |
2786 | NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie | |
2787 | version of the test. | |
2788 | ||
8170f769 L |
2789 | 2017-04-07 H.J. Lu <hongjiu.lu@intel.com> |
2790 | ||
2791 | PR ld/19579 | |
2792 | PR ld/21306 | |
2793 | * testsuite/ld-elf/pr19579a.c (main): Updated. | |
2794 | ||
ae3f8c28 NC |
2795 | 2017-04-07 Nick Clifton <nickc@redhat.com> |
2796 | ||
2797 | PR 21090 | |
2798 | * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly | |
2799 | disable PIE for the non-pie version of the test. | |
2800 | ||
5c1f54ce AM |
2801 | 2017-04-07 Alan Modra <amodra@gmail.com> |
2802 | ||
2803 | * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char. | |
2804 | ||
1fd6d111 TG |
2805 | 2017-04-07 gingold <gingold@gingold-Precision-7510> |
2806 | ||
2807 | * testsuite/ld-pe/pe.exp: New test. | |
2808 | * testsuite/ld-pe/weakdef-1.s: New test source. | |
2809 | * testsuite/ld-pe/weakdef-1.d: New test. | |
2810 | ||
3944e22b AM |
2811 | 2017-04-07 Alan Modra <amodra@gmail.com> |
2812 | ||
2813 | * testsuite/ld-elf/mbind1a.d: Remove matches for PT_LOAD segments. | |
2814 | * testsuite/ld-elf/mbind1b.d: Likewise. | |
2815 | * testsuite/ld-elf/mbind1c.d: Likewise. | |
2816 | ||
6ca30fa5 HPN |
2817 | 2017-04-05 Hans-Peter Nilsson <hp@axis.com> |
2818 | ||
2819 | PR ld/21233 | |
2820 | * testsuite/ld-elf/shared.exp: Change xfails to kfails and fix | |
2821 | indentation issue introduced with last commit. | |
2822 | ||
4d5efb85 HPN |
2823 | 2017-04-05 Hans-Peter Nilsson <hp@axis.com> |
2824 | ||
2825 | PR ld/21233 | |
2826 | * testsuite/ld-elf/shared.exp: Xfail all PR21233 tests but the | |
2827 | first test for cris*-*-*. | |
2828 | ||
80070c0d MR |
2829 | 2017-04-04 Maciej W. Rozycki <macro@imgtec.com> |
2830 | ||
2831 | PR ld/21233 | |
2832 | * ldlang.c (insert_undefined): Set `mark' for ELF symbols. | |
2833 | * testsuite/ld-elf/pr21233.sd: New test. | |
2834 | * testsuite/ld-elf/pr21233-l.sd: New test. | |
2835 | * testsuite/ld-elf/pr21233.ld: New test linker script. | |
2836 | * testsuite/ld-elf/pr21233-e.ld: New test linker script. | |
2837 | * testsuite/ld-elf/pr21233.s: New test source. | |
2838 | * testsuite/ld-elf/pr21233-l.s: New test source. | |
2839 | * testsuite/ld-elf/shared.exp: Run the new tests. | |
2840 | ||
a91e1603 L |
2841 | 2017-04-04 H.J. Lu <hongjiu.lu@intel.com> |
2842 | ||
2843 | * NEWS: Mention support for ELF SHF_GNU_MBIND and | |
2844 | PT_GNU_MBIND_XXX. | |
2845 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place | |
2846 | input GNU_MBIND sections with the same type, attributes and | |
2847 | sh_info field into a single output GNU_MBIND section. | |
2848 | * testsuite/ld-elf/elf.exp: Run mbind2a and mbind2b. | |
2849 | * testsuite/ld-elf/mbind1.s: New file. | |
2850 | * testsuite/ld-elf/mbind1a.d: Likewise. | |
2851 | * testsuite/ld-elf/mbind1b.d: Likewise. | |
2852 | * testsuite/ld-elf/mbind1c.d: Likewise. | |
2853 | * testsuite/ld-elf/mbind2a.s: Likewise. | |
2854 | * testsuite/ld-elf/mbind2b.c: Likewise. | |
2855 | ||
46bed679 L |
2856 | 2017-04-03 H.J. Lu <hongjiu.lu@intel.com> |
2857 | ||
2514e33e | 2858 | * NEWS: Mention support for ELF GNU program properties. |
46bed679 L |
2859 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call |
2860 | ELF setup_gnu_properties. | |
2861 | * testsuite/ld-i386/i386.exp: Run property tests for Linux/i386. | |
2862 | * testsuite/ld-i386/pass.c: New file. | |
2863 | * testsuite/ld-i386/property-1.r: Likewise. | |
2864 | * testsuite/ld-i386/property-2.r: Likewise. | |
2865 | * testsuite/ld-i386/property-3.r: Likewise. | |
2866 | * testsuite/ld-i386/property-4.r: Likewise. | |
2867 | * testsuite/ld-i386/property-5.r: Likewise. | |
2868 | * testsuite/ld-i386/property-6.r: Likewise. | |
2869 | * testsuite/ld-i386/property-6a.c: Likewise. | |
2870 | * testsuite/ld-i386/property-6b.c: Likewise. | |
2871 | * testsuite/ld-i386/property-6c.S: Likewise. | |
2872 | * testsuite/ld-i386/property-7.r: Likewise. | |
2873 | * testsuite/ld-i386/property-no-copy.S: Likewise. | |
2874 | * testsuite/ld-i386/property-stack.S: Likewise. | |
2875 | * testsuite/ld-i386/property-unsorted-1.S: Likewise. | |
2876 | * testsuite/ld-i386/property-unsorted-2.S: Likewise. | |
2877 | * testsuite/ld-i386/property-x86-1.S: Likewise. | |
2878 | * testsuite/ld-i386/property-x86-2.S: Likewise. | |
2879 | * testsuite/ld-x86-64/pass.c: Likewise. | |
2880 | * testsuite/ld-x86-64/property-1.r: Likewise. | |
2881 | * testsuite/ld-x86-64/property-2.r: Likewise. | |
2882 | * testsuite/ld-x86-64/property-3.r: Likewise. | |
2883 | * testsuite/ld-x86-64/property-4.r: Likewise. | |
2884 | * testsuite/ld-x86-64/property-5.r: Likewise. | |
2885 | * testsuite/ld-x86-64/property-6.r: Likewise. | |
2886 | * testsuite/ld-x86-64/property-6a.c: Likewise. | |
2887 | * testsuite/ld-x86-64/property-6b.c: Likewise. | |
2888 | * testsuite/ld-x86-64/property-6c.S: Likewise. | |
2889 | * testsuite/ld-x86-64/property-7.r: Likewise. | |
2890 | * testsuite/ld-x86-64/property-no-copy.S: Likewise. | |
2891 | * testsuite/ld-x86-64/property-stack.S: Likewise. | |
2892 | * testsuite/ld-x86-64/property-unsorted-1.S: Likewise. | |
2893 | * testsuite/ld-x86-64/property-unsorted-2.S: Likewise. | |
2894 | * testsuite/ld-x86-64/property-x86-1.S: Likewise. | |
2895 | * testsuite/ld-x86-64/property-x86-2.S: Likewise. | |
2896 | * testsuite/ld-x86-64/x86-64.exp: Run property tests for | |
2897 | Linux/x86-64. | |
2898 | ||
086554e8 HPN |
2899 | 2017-03-28 Hans-Peter Nilsson <hp@axis.com> |
2900 | ||
2901 | PR ld/16044 | |
2902 | * testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s, | |
2903 | testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test. | |
2904 | ||
4c8798c9 SL |
2905 | 2017-03-21 Sandra Loosemore <sandra@codesourcery.com> |
2906 | ||
2907 | * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return | |
2908 | false for nios2-*-elf. | |
2909 | ||
21701718 TG |
2910 | 2017-03-21 gingold <gingold@gingold-Precision-7510> |
2911 | ||
2912 | * ldlang.c (lang_check_section_addresses): Check only for | |
2913 | allocated sections. | |
2914 | ||
1d3fa25f AM |
2915 | 2017-03-17 Alan Modra <amodra@gmail.com> |
2916 | ||
2917 | * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k. | |
2918 | ||
9494d963 TG |
2919 | 2017-03-15 Tristan Gingold <gingold@adacore.com> |
2920 | ||
2921 | * testsuite/ld-checks/checks.exp (overflow_check): Disable for | |
2922 | non-elf targets. | |
2923 | ||
9216a6f3 L |
2924 | 2017-03-14 H.J. Lu <hongjiu.lu@intel.com> |
2925 | ||
2926 | * ldlang.c (lang_check_section_addresses): Use addr_mask to | |
2927 | check VMA and LMA. | |
2928 | ||
f955cccf NC |
2929 | 2017-03-13 Nick Clifton <nickc@redhat.com> |
2930 | ||
2931 | PR binutils/21202 | |
2932 | * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp. | |
2933 | ||
d40e34db TG |
2934 | 2017-03-13 Tristan Gingold <gingold@adacore.com> |
2935 | ||
2936 | * ldlang.c (lang_check_section_addresses): Check for address space | |
2937 | overflow. | |
2938 | * testsuite/ld-checks/checks.exp (overflow_check): New procedure | |
2939 | * testsuite/ld-checks/over.s: New test source. | |
2940 | * testsuite/ld-checks/over.d: New test. | |
2941 | * testsuite/ld-checks/over2.s: New test source. | |
2942 | * testsuite/ld-checks/over2.d: New test. | |
2943 | ||
4b5900d8 AN |
2944 | 2017-03-13 Alexey Neyman <stilor@att.net> |
2945 | ||
2946 | * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target | |
2947 | cpu, not host. | |
2948 | ||
118aa6cf AM |
2949 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2950 | ||
2951 | * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add | |
2952 | sysroot for -rpath search. | |
2953 | ||
316a1245 AM |
2954 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2955 | ||
2956 | * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite. | |
2957 | Only prefix absolute paths with sysroot. Handle DOS paths. | |
2958 | (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable. | |
2959 | (gld${EMULATION_NAME}_check_ld_so_conf): Likewise. | |
2960 | (gld${EMULATION_NAME}_after_open): Short-circuit NULL path | |
2961 | searches. Rename variable. Simplify get_runpath search. | |
2962 | ||
bb4287c5 AM |
2963 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2964 | ||
2965 | * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather | |
2966 | than -rdynamic. | |
2967 | ||
e299b355 AM |
2968 | 2017-03-11 Alan Modra <amodra@gmail.com> |
2969 | ||
2970 | * ld.texinfo (Orphan Sections): Mention that not all targets | |
2971 | handle orphans well. | |
2972 | * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960. | |
2973 | * testsuite/ld-elf/orphan-10.d: Likewise. | |
2974 | ||
14ea2c1b AB |
2975 | 2017-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2976 | ||
2977 | * ldlang.c (lang_size_sections_1): Shortcut loop only after | |
2978 | tracking changes to the default regions LMA. | |
2979 | * testsuite/ld-elf/orphan-9.ld: Extend header comment. | |
2980 | * testsuite/ld-elf/orphan-10.d: New file. | |
2981 | * testsuite/ld-elf/orphan-10.s: New file. | |
2982 | * NEWS: Mention change in behaviour. | |
2983 | ||
77f5e65e AB |
2984 | 2017-03-09 Andrew Burgess <andrew.burgess@embecosm.com> |
2985 | ||
2986 | * ldlang.c (lang_leave_output_section_statement): Move lma_region | |
2987 | logic to... | |
2988 | (lang_propagate_lma_regions): ...this new function. | |
2989 | (lang_process): Call new function. | |
2990 | * testsuite/ld-elf/orphan-9.d: New file. | |
2991 | * testsuite/ld-elf/orphan-9.ld: New file. | |
2992 | * testsuite/ld-elf/orphan-9.s: New file. | |
2993 | * NEWS: Mention change in behaviour. | |
2994 | ||
d933941d AM |
2995 | 2017-03-07 Alan Modra <amodra@gmail.com> |
2996 | ||
2997 | * ldlang.c (open_input_bfds): Check that lang_assignment_statement | |
2998 | is not an assert before referencing defsym. | |
2999 | ||
2e0ce1c8 AM |
3000 | 2017-03-05 Alan Modra <amodra@gmail.com> |
3001 | ||
3002 | * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change. | |
3003 | * testsuite/ld-elf/eh6.d: Likewise. | |
3004 | * testsuite/ld-alpha/tlsbin.dd: Likewise. | |
3005 | * testsuite/ld-alpha/tlsbin.td: Likewise. | |
3006 | * testsuite/ld-alpha/tlsbinr.dd: Likewise. | |
3007 | * testsuite/ld-alpha/tlspic.dd: Likewise. | |
3008 | * testsuite/ld-alpha/tlspic.rd: Likewise. | |
3009 | * testsuite/ld-alpha/tlspic.sd: Likewise. | |
3010 | * testsuite/ld-alpha/tlspic.td: Likewise. | |
3011 | * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise. | |
3012 | * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise. | |
3013 | * testsuite/ld-mips-elf/eh-frame3.d: Likewise. | |
3014 | * testsuite/ld-x86-64/pr20830a.d: Likewise. | |
3015 | * testsuite/ld-x86-64/pr21038a.d: Likewise. | |
3016 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
3017 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
3018 | ||
611a3ca9 NC |
3019 | 2017-03-03 Max Bolingbroke <batterseapower@hotmail.com> |
3020 | ||
3021 | PR 12969 | |
3022 | * pe-dll.c (generate_edata): Fail if the input file(s) require too | |
3023 | many ordinals. | |
3024 | ||
199add01 AM |
3025 | 2017-03-02 Alan Modra <amodra@gmail.com> |
3026 | ||
3027 | * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc | |
3028 | and dl3.cc. | |
3029 | ||
4ef97a1b AM |
3030 | 2017-02-28 Alan Modra <amodra@gmail.com> |
3031 | ||
3032 | * testsuite/ld-elf/merge.d: xfail for nios. | |
3033 | ||
7ba71655 AM |
3034 | 2017-02-28 Alan Modra <amodra@gmail.com> |
3035 | ||
3036 | * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at | |
3037 | limits of addpcis range. | |
3038 | ||
0e392101 MR |
3039 | 2017-02-28 Maciej W. Rozycki <macro@imgtec.com> |
3040 | ||
3041 | * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25' | |
3042 | instructions. | |
3043 | * testsuite/ld-mips-elf/jalr4-r6.dd: New test. | |
3044 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
3045 | ||
fbf25dfd GJL |
3046 | 2017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org> |
3047 | ||
3048 | PR target/20849 | |
6734f10a SB |
3049 | * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define. |
3050 | (.rodata): New section. | |
3051 | (.data): Remove .rodata*. | |
fbf25dfd | 3052 | |
dd803a24 AM |
3053 | 2017-02-25 Alan Modra <amodra@gmail.com> |
3054 | ||
3055 | * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux. | |
3056 | Set up HPUX defsym. Run pr14170 tests and build symbol3 objects, | |
3057 | defining HPUX where necessary. Define HPUX for implib tests. | |
3058 | * testsuite/ld-elf/comm-data4.d: Run for hpux. | |
3059 | * testsuite/ld-elf/endsym.d: Likewise. | |
3060 | * testsuite/ld-elf/linkoncerdiff.d: Likewise. | |
3061 | * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX. | |
3062 | * testsuite/ld-elf/comm-data5.s: Likewise. | |
3063 | * testsuite/ld-elf/endsym.s: Likewise. | |
3064 | * testsuite/ld-elf/pr14170c.s: Likewise. | |
3065 | * testsuite/ld-elf/symbol3.s: Likewise. | |
3066 | * testsuite/ld-elf/implib.s: Likewise. Don't start directives | |
3067 | in first column. | |
3068 | * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels. | |
3069 | * testsuite/ld-elf/warn3.d: Run for hpux. | |
3070 | * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux. | |
3071 | * testsuite/ld-scripts/rgn-at11.d: Likewise. | |
3072 | * testsuite/ld-scripts/size-2.d: Remove xfail for hpux. | |
3073 | ||
c9f02c3e MR |
3074 | 2017-02-24 Maciej W. Rozycki <macro@imgtec.com> |
3075 | ||
c72cea5a MR |
3076 | * testsuite/ld-elf/ver_def.vd: New test. |
3077 | * testsuite/ld-elf/ver_def-tic6x.vd: New test. | |
c9f02c3e MR |
3078 | * testsuite/ld-elf/ver_def.ld: New test linker script. |
3079 | * testsuite/ld-elf/ver_def.ver: New test version script. | |
3080 | * testsuite/ld-elf/ver_def.s: New test source. | |
3081 | * testsuite/ld-elf/readelf.exp: New test script. | |
3082 | ||
5d58c733 MR |
3083 | 2017-02-23 Maciej W. Rozycki <macro@imgtec.com> |
3084 | ||
3085 | * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax' | |
3086 | option. | |
3087 | * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise. | |
3088 | * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise. | |
3089 | * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise. | |
3090 | ||
c1556ecd MR |
3091 | 2017-02-23 Maciej W. Rozycki <macro@imgtec.com> |
3092 | ||
3093 | * testsuite/ld-mips-elf/jalr4.dd: New test. | |
3094 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. | |
3095 | ||
5499c7c7 AM |
3096 | 2017-02-23 Alan Modra <amodra@gmail.com> |
3097 | ||
3098 | PR 20744 | |
3099 | * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of | |
3100 | each group. | |
3101 | * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change | |
3102 | and sdarel reloc fix. | |
3103 | ||
902e9fc7 MR |
3104 | 2017-02-22 Maciej W. Rozycki <macro@imgtec.com> |
3105 | ||
3106 | PR ld/20828 | |
3107 | * testsuite/ld-elf/pr20828-d.sd: New test. | |
3108 | * testsuite/ld-elf/pr20828-e.sd: New test. | |
3109 | * testsuite/ld-elf/pr20828-v.od: New test. | |
3110 | * testsuite/ld-elf/pr20828-v.ver: New test version script. | |
3111 | * testsuite/ld-elf/pr20828-v.ld: New test linker script. | |
3112 | * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and | |
3113 | `.gnu.version_d'. | |
3114 | * testsuite/ld-elf/shared.exp: Run the new tests. | |
3115 | ||
46519784 NC |
3116 | 2017-02-21 Nick Clifton <nickc@redhat.com> |
3117 | ||
3118 | * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning | |
3119 | about non-void function returning without a result. | |
3120 | ||
c48cfedd AM |
3121 | 2017-02-17 Alan Modra <amodra@gmail.com> |
3122 | ||
3123 | PR 15041 | |
3124 | * scripttempl/pe.sc: Don't combine sections for ld -r. | |
3125 | * scripttempl/pep.sc: Likewise. | |
3126 | ||
74dc9032 AM |
3127 | 2017-02-17 Alan Modra <amodra@gmail.com> |
3128 | ||
246b9122 | 3129 | PR 21099 |
74dc9032 AM |
3130 | * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL |
3131 | rather than using OTHER_SECTIONS. | |
3132 | * emulparams/elf32mt.sh: Likewise. | |
3133 | * emulparams/elf32rx.sh: Likewise. | |
3134 | * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to | |
3135 | define __rl78_abs__. | |
3136 | * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL | |
3137 | rather than using OTHER_SECTIONS. | |
3138 | * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges. | |
3139 | * emulparams/shelf64.sh: Unset OTHER_SECTIONS. | |
3140 | * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS. | |
3141 | * emulparams/shelf_uclinux.sh: Likewise. | |
3142 | * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS | |
3143 | to define _stack, not OTHER_SECTIONS. | |
3144 | * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and | |
3145 | TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL. | |
3146 | * scripttempl/arclinux.sc: Likewise. | |
3147 | * scripttempl/elf64hppa.sc: Likewise. | |
3148 | * scripttempl/elfxtensa.sc: Likewise. | |
3149 | * scripttempl/nds32elf.sc: Likewise. | |
3150 | * scripttempl/armbpabi.sc: Move STACK before debug sections. | |
3151 | * scripttempl/elf_chaos.sc: Likewise. | |
3152 | * scripttempl/elfarc.sc: Delete STACK. | |
3153 | * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION, | |
3154 | TINY_BSS_SECTION, and .stack before debug sections. | |
3155 | ||
67cecaba NC |
3156 | 2017-02-17 Nick Clifton <nickc@redhat.com> |
3157 | ||
3158 | PR ld/20825 | |
3159 | * ld.texinfo (Options): Add missing @item entry for --pop-state. | |
3160 | ||
262a40a5 AM |
3161 | 2017-02-17 Alan Modra <amodra@gmail.com> |
3162 | ||
3163 | * testsuite/ld-elf/dwarf2.err: Accept other errors between the | |
3164 | multiple definition errors. | |
3165 | ||
002a5d4e AM |
3166 | 2017-02-17 Alan Modra <amodra@gmail.com> |
3167 | ||
3168 | * testsuite/ld-elf/dwarf2.err: Add missing newline at end. | |
3169 | * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename. | |
3170 | ||
3239a423 AB |
3171 | 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com> |
3172 | ||
3173 | * testsuite/ld-elf/shared.exp: Update expected results. | |
3174 | * testsuite/ld-elf/dwarf2.err: Likewise | |
3175 | ||
90ed9b8b AB |
3176 | 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com> |
3177 | ||
3178 | * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests. | |
3179 | * testsuite/ld-elf/dwarf2.err: New file. | |
3180 | * testsuite/ld-elf/dwarf2a.c: New file. | |
3181 | * testsuite/ld-elf/dwarf2b.c: New file. | |
3182 | * testsuite/ld-elf/dwarf3.c: New file. | |
3183 | * testsuite/ld-elf/dwarf3.err: New file. | |
3184 | ||
2bd7f877 AB |
3185 | 2017-02-16 Andrew Burgess <andrew.burgess@embecosm.com> |
3186 | ||
3187 | * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning, | |
3188 | error, warning_output, and error_output actions. Remove separate | |
3189 | warnings parameter. | |
3190 | * testsuite/ld-elf/shared.exp (build_tests): Updated to use | |
3191 | 'warning' action. | |
3192 | * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise. | |
3193 | ||
37d7d56c AM |
3194 | 2017-02-16 Alan Modra <amodra@gmail.com> |
3195 | ||
3196 | * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params | |
3197 | from void pointers to function pointers. | |
3198 | * testsuite/ld-elf/pr18718.c: Update to suit. | |
3199 | * testsuite/ld-elf/pr18720a.c: Update to suit. | |
3200 | ||
a8c75b76 AM |
3201 | 2017-02-16 Alan Modra <amodra@gmail.com> |
3202 | ||
3203 | PR 21000 | |
3204 | * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets. | |
3205 | * testsuite/ld-elf/loadaddr2.d: Likewise. | |
3206 | * testsuite/ld-elf/loadaddr3a.d: Likewise. | |
3207 | * testsuite/ld-scripts/rgn-at5.d: Likewise. | |
3208 | ||
a48cda7f AM |
3209 | 2017-02-16 Alan Modra <amodra@gmail.com> |
3210 | ||
3211 | * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic. | |
3212 | * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit. | |
3213 | ||
2a568401 L |
3214 | 2017-02-15 H.J. Lu <hongjiu.lu@intel.com> |
3215 | ||
3216 | PR ld/21168 | |
3217 | * testsuite/ld-i386/i386.exp: Run pr21168. | |
3218 | * testsuite/ld-i386/pr21168a.c: New file. | |
3219 | * testsuite/ld-i386/pr21168b.S: Likewise. | |
3220 | ||
a5def14f L |
3221 | 2017-02-15 H.J. Lu <hongjiu.lu@intel.com> |
3222 | ||
3223 | PR ld/20244 | |
3224 | * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and | |
3225 | pr20244-4c. | |
3226 | * testsuite/ld-i386/pr20244-4.s: New file. | |
3227 | * testsuite/ld-i386/pr20244-4a.d: Likewise. | |
3228 | * testsuite/ld-i386/pr20244-4b.d: Likewise. | |
3229 | * testsuite/ld-i386/pr20244-4c.d: Likewise. | |
3230 | ||
ebf0b03c MR |
3231 | 2017-02-15 Maciej W. Rozycki <macro@imgtec.com> |
3232 | ||
3233 | * ldmisc.c (vfinfo): Don't print the function name again either | |
3234 | if no source file name has been found both now and previously. | |
3235 | * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly. | |
3236 | * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise. | |
3237 | * testsuite/ld-mips-elf/unaligned-branch.d: Likewise. | |
3238 | * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise. | |
3239 | * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise. | |
3240 | * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise. | |
3241 | * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise. | |
3242 | * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise. | |
3243 | * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise. | |
3244 | * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d: | |
3245 | Likewise. | |
3246 | * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d: | |
3247 | Likewise. | |
3248 | * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d: | |
3249 | Likewise. | |
3250 | * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise. | |
3251 | * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: | |
3252 | Likewise. | |
3253 | * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: | |
3254 | Likewise. | |
3255 | * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise. | |
3256 | * testsuite/ld-mips-elf/unaligned-jump.d: Likewise. | |
3257 | * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise. | |
3258 | * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise. | |
3259 | * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise. | |
3260 | * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise. | |
3261 | * testsuite/ld-powerpc/tocopt.out: Likewise. | |
3262 | * testsuite/ld-powerpc/tocopt7.out: Likewise. | |
3263 | ||
befe814d MR |
3264 | 2017-02-15 Maciej W. Rozycki <macro@imgtec.com> |
3265 | ||
3266 | * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers. | |
3267 | ||
defe6f56 IK |
3268 | 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com> |
3269 | ||
3270 | * testsuite/ld-scripts/sysroot-prefix.exp | |
3271 | (get_base_dir_for_scripts): New function. | |
3272 | (run_sysroot_prefix_test): Use get_base_dir_for_scripts. | |
3273 | ||
10ddfe62 PD |
3274 | 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com> |
3275 | ||
3276 | * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change | |
3277 | _gp to __global_pointer$ | |
3278 | ||
d7488716 AB |
3279 | 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com> |
3280 | ||
3281 | * configure.tgt (arc*-*-linux*): Change the default linker | |
3282 | emulation based on --with-cpu selection. | |
3283 | * NEWS: Mention new configuration option. | |
3284 | ||
65f90e82 JW |
3285 | 2017-02-06 Jiong Wang <jiong.wang@arm.com> |
3286 | ||
3287 | * testsuite/ld-elf/compress.exp: Don't print to stdout for all | |
3288 | "readelf -w". | |
3289 | ||
fa93e3d3 MR |
3290 | 2017-02-02 Maciej W. Rozycki <macro@imgtec.com> |
3291 | ||
3292 | * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/. | |
3293 | ||
2e9af2d0 MR |
3294 | 2017-02-02 Maciej W. Rozycki <macro@imgtec.com> |
3295 | ||
3296 | * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo, | |
3297 | s/regexp/regex/. | |
3298 | ||
fd121c5c JW |
3299 | 2017-02-02 Jiong Wang <jiong.wang@arm.com> |
3300 | ||
3301 | * testsuite/lib/ld-lib.exp (check_libdl_available): New function. | |
3302 | * testsuite/ld-elf/shared.exp (run_tests): Split tests which require | |
3303 | dlopen support into "dlopen_run_tests". These tests include dl1*main | |
3304 | and dl6*main. | |
3305 | (dlopen_run_tests): New and only run it when check_libdl_available | |
3306 | returns true. XFAIL on *-*-netbsdelf*. | |
3307 | ||
c0c237fc MR |
3308 | 2017-02-01 Maciej W. Rozycki <macro@imgtec.com> |
3309 | ||
3310 | * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the | |
3311 | presentation of relocation addends. | |
3312 | * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise. | |
3313 | * testsuite/ld-mips-elf/vxworks1.dd: Likewise. | |
3314 | * testsuite/ld-mips-elf/vxworks1.rd: Likewise. | |
3315 | ||
5139cfdb MR |
3316 | 2017-02-01 Maciej W. Rozycki <macro@imgtec.com> |
3317 | ||
3318 | * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld' | |
3319 | in `.tdata' section. | |
3320 | * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly. | |
3321 | * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise. | |
3322 | ||
ce790370 JW |
3323 | 2017-02-01 Jiong Wang <jiong.wang@arm.com> |
3324 | ||
3325 | * testsuite/ld-unique/unique.exp (Could not link a dynamic executable): | |
3326 | Append $board_cflags to link commands. | |
3327 | ||
067869b6 SKS |
3328 | 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com> |
3329 | ||
3330 | * testsuite/ld-scripts/print-memory-usage-1.l: Relax | |
3331 | check for digit in second decimal place. | |
3332 | ||
15a00b13 MR |
3333 | 2017-02-01 Maciej W. Rozycki <macro@imgtec.com> |
3334 | ||
3335 | PR ld/20828 | |
3336 | * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test | |
3337 | indentation. | |
3338 | ||
1273da04 NC |
3339 | 2017-01-31 Nick Clifton <nickc@redhat.com> |
3340 | ||
3341 | * ldmain.c (add_archive_element): Eliminate string buffer. | |
3342 | * ldlang.c (lang_print_asneeded): Likewise. | |
3343 | ||
8b10b0b3 MR |
3344 | 2017-01-30 Maciej W. Rozycki <macro@imgtec.com> |
3345 | ||
3346 | * emultempl/mipself.em (ignore_branch_isa): New variable. | |
3347 | (mips_create_output_section_statements): Rename | |
3348 | `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags', | |
3349 | add `ignore_branch_isa' argument. | |
3350 | (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and | |
3351 | OPTION_NO_IGNORE_BRANCH_ISA enum values. | |
3352 | (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and | |
3353 | "no-ignore-branch-isa" options. | |
3354 | (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and | |
3355 | `--no-ignore-branch-isa'. | |
3356 | (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and | |
3357 | OPTION_NO_IGNORE_BRANCH_ISA. | |
3358 | ||
3359 | * ld.texinfo (Options specific to MIPS targets): Add | |
3360 | `--ignore-branch-isa' and `--no-ignore-branch-isa' options. | |
3361 | (ld and the MIPS family): Likewise. | |
3362 | ||
3363 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test. | |
3364 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test. | |
3365 | * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test. | |
3366 | * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test. | |
3367 | * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test. | |
3368 | * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New | |
3369 | test. | |
3370 | * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New | |
3371 | test. | |
3372 | * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. | |
3373 | ||
bf382b30 HPN |
3374 | 2017-01-29 Hans-Peter Nilsson <hp@axis.com> |
3375 | ||
c1d45238 | 3376 | PR binutils/19935 |
bf382b30 HPN |
3377 | Fix long-standing buglet and fallout from now-default initfini-array. |
3378 | * emulparams/criself.sh (USER_LABEL_PREFIX): Define. | |
ce6366f9 | 3379 | (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines. |
bf382b30 | 3380 | |
4471a46f JW |
3381 | 2017-01-27 Jiong Wang <jiong.wang@arm.com> |
3382 | ||
3383 | * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on | |
3384 | arm*-*-eabi*. | |
3385 | ||
387dd777 DP |
3386 | 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org> |
3387 | Nick Clifton <nickc@redhat.com> | |
3388 | ||
3389 | PR 20343 | |
3390 | * ld.texinfo (Options): Extend documentation of the --plugin | |
3391 | option. Include a description of where the plugins should be | |
3392 | located. | |
3393 | ||
0348d4be NC |
3394 | 2017-01-27 Nick Clifton <nickc@redhat.com> |
3395 | ||
3396 | * po/sr.po: New Serbian translation. | |
3397 | * configure.ac (ALL_LINGUAS): Add sr. | |
3398 | * configure: Regenerate. | |
3399 | ||
c75b4ebd SH |
3400 | 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de> |
3401 | ||
3402 | * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*). | |
3403 | (bfin-*-rtems*): Move to (bfin*-*-elf*). | |
3404 | (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*). | |
3405 | (m68*-*-rtems*): Move to (m68*-*-elf*). | |
3406 | (mips*-*-rtems*): Move to (mips*-*-elf*). | |
3407 | (or1k*-*-rtems*): Move to (or1k*-*-elf*). | |
3408 | (powerpc*-*-rtems*): Move to (powerpc*-*-elf*). | |
3409 | (sparc*-*-rtems*): Move to (sparc*-*-elf*). | |
3410 | (sparc64*-*-rtems*): Move to (sparc64*-*-elf*). | |
3411 | ||
850d84f6 SH |
3412 | 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de> |
3413 | ||
3414 | * configure.tgt (h8300-*-rtemscoff*): Remove. | |
3415 | (i960-*-rtems*): Likewise. | |
3416 | (m68*-*-rtemscoff*): Likewise. | |
3417 | (sh-*-rtemscoff*): Likewise. | |
3418 | ||
1a792e1c MR |
3419 | 2017-01-24 Maciej W. Rozycki <macro@imgtec.com> |
3420 | ||
3421 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not | |
3422 | add implicit version nodes if an anonymous version tag is being | |
3423 | used. | |
3424 | ||
077c11e8 JW |
3425 | 2017-01-24 Jiong Wang <jiong.wang@arm.com> |
3426 | ||
3427 | * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7", | |
3428 | "Compile 8a", "Compile 8b"... | |
3429 | (lto_compile_elf_tests): ...to here. Always run these tests. | |
3430 | (lto_run_elf_tests): Move "LTO 7"... | |
3431 | (lto_run_elf_shared_tests): ...to here. Restrict these tests on | |
3432 | environment where share library is supported. | |
3433 | ||
f0158f44 AM |
3434 | 2017-01-24 Alan Modra <amodra@gmail.com> |
3435 | ||
3436 | * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs | |
3437 | and symbols. | |
3438 | * testsuite/ld-powerpc/tlsexe.d: Likewise. | |
3439 | * testsuite/ld-powerpc/tlsexe.g: Likewise. | |
3440 | ||
2d0ca824 YN |
3441 | 2017-01-23 Yury Norov <ynorov@caviumnetworks.com> |
3442 | ||
3443 | * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests. | |
3444 | * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test. | |
3445 | * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test. | |
3446 | * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test. | |
3447 | * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test. | |
3448 | * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test. | |
3449 | * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test. | |
3450 | * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test. | |
3451 | * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test. | |
3452 | * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test. | |
3453 | * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test. | |
3454 | * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test. | |
3455 | * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test. | |
3456 | ||
8069955e NC |
3457 | 2017-01-23 Nick Clifton <nickc@redhat.com> |
3458 | ||
3459 | * po/ga.po: Updated Irish translation. | |
3460 | ||
1e5f45bb MR |
3461 | 2017-01-23 Maciej W. Rozycki <macro@imgtec.com> |
3462 | ||
3463 | PR ld/20828 | |
3464 | * testsuite/ld-elf/pr20828.ld: Add `.plt'. | |
3465 | ||
fda46c41 MR |
3466 | 2017-01-23 Maciej W. Rozycki <macro@imgtec.com> |
3467 | ||
3468 | PR ld/20828 | |
3469 | * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to | |
3470 | `fdata' and `edata' respectively. | |
3471 | * testsuite/ld-elf/pr20828.ver: Adjust accordingly. | |
3472 | * testsuite/ld-elf/pr20828-a.sd: Likewise. | |
3473 | * testsuite/ld-elf/pr20828-b.sd: Likewise. | |
3474 | * testsuite/ld-elf/pr20828-c.sd: Likewise. | |
3475 | ||
adcbdc63 MR |
3476 | 2017-01-23 Maciej W. Rozycki <macro@imgtec.com> |
3477 | ||
3478 | PR ld/20828 | |
3479 | * testsuite/ld-elf/pr20828-1.sd: Remove test. | |
3480 | * testsuite/ld-elf/pr20828-a.sd: New test. | |
3481 | * testsuite/ld-elf/pr20828-2a.sd: Rename test to... | |
3482 | * testsuite/ld-elf/pr20828-b.sd: ... this. | |
3483 | * testsuite/ld-elf/pr20828-2b.sd: Rename test to... | |
3484 | * testsuite/ld-elf/pr20828-c.sd: ... this. | |
3485 | * testsuite/ld-elf/shared.exp: Adjust accordingly. | |
3486 | ||
9966f7ee JW |
3487 | 2017-01-23 Jiong Wang <jiong.wang@arm.com> |
3488 | ||
3489 | * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append | |
3490 | board_cflags as gcc is used as linker driver. | |
3491 | * testsuite/ld-unique/unique.exp: Likewise | |
3492 | ||
7f784814 JW |
3493 | 2017-01-20 Jiong Wang <jiong.wang@arm.com> |
3494 | ||
3495 | * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests. | |
3496 | * testsuite/ld-aarch64/func-in-so.s: New test source file. | |
3497 | * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise. | |
3498 | * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result. | |
3499 | ||
1737c640 AB |
3500 | 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com> |
3501 | ||
3502 | * testsuite/ld-elf/eh-frame-hdr.d: Update expected results. | |
3503 | ||
6984613a MR |
3504 | 2017-01-18 Maciej W. Rozycki <macro@imgtec.com> |
3505 | ||
3506 | PR ld/20995 | |
3507 | * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the | |
3508 | `mips*-*-*' target and `pr20995' and `pr20995-2' tests. | |
3509 | ||
81ff47b3 MR |
3510 | 2017-01-18 Maciej W. Rozycki <macro@imgtec.com> |
3511 | ||
3512 | PR ld/20828 | |
3513 | * testsuite/ld-elf/pr20828-1.sd: New test. | |
3514 | * testsuite/ld-elf/pr20828-2a.sd: New test. | |
3515 | * testsuite/ld-elf/pr20828-2b.sd: New test. | |
3516 | * testsuite/ld-elf/pr20828.ld: New test linker script. | |
3517 | * testsuite/ld-elf/pr20828.ver: New test version script. | |
3518 | * testsuite/ld-elf/pr20828.s: New test source. | |
3519 | * testsuite/ld-elf/shared.exp: Run the new test. | |
3520 | ||
9e009953 MR |
3521 | 2017-01-18 Maciej W. Rozycki <macro@imgtec.com> |
3522 | ||
3523 | PR gas/20649 | |
3524 | * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16 | |
3525 | relocation pairing link test. | |
3526 | ||
319b82e4 DD |
3527 | 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu> |
3528 | ||
3529 | * testsuite/ld-unique/unique.exp: Filter shared lib cases in | |
3530 | uniqeue.exp, as not all targets have such support. | |
3531 | ||
6aa1df2d NC |
3532 | 2017-01-16 Nick Clifton <nickc@redhat.com> |
3533 | ||
3534 | * po/sv.po: Updated Swedish translation. | |
3535 | ||
8361ed4d L |
3536 | 2017-01-12 H.J. Lu <hongjiu.lu@intel.com> |
3537 | ||
3538 | PR ld/21038 | |
3539 | * testsuite/ld-x86-64/pr21038b.d: Updated. | |
3540 | * testsuite/ld-x86-64/pr21038c.d: New file. | |
3541 | * testsuite/ld-x86-64/pr21038c.s: Likewise. | |
3542 | * testsuite/ld-x86-64/x86-64.exp: Run pr21038c. | |
3543 | ||
9e659176 L |
3544 | 2017-01-11 H.J. Lu <hongjiu.lu@intel.com> |
3545 | ||
3546 | PR ld/21038 | |
3547 | * testsuite/ld-x86-64/pr21038a.d: New file. | |
3548 | * testsuite/ld-x86-64/pr21038a.s: Likewise. | |
3549 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
3550 | * testsuite/ld-x86-64/pr21038b.s: Likewise. | |
3551 | * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b. | |
3552 | ||
f2e2d2f5 JS |
3553 | 2017-01-11 Jeremy Soller <jackpot51@gmail.com> |
3554 | ||
3555 | * configure.tgt: Add entries for x86-redox and x86_64-redox. | |
3556 | ||
52b232b3 L |
3557 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
3558 | ||
3559 | * testsuite/ld-x86-64/pr20830b.d: Updated. | |
3560 | ||
59a1e29d L |
3561 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
3562 | ||
3563 | * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New. | |
3564 | * testsuite/ld-x86-64/pr20830.d: Renamed to ... | |
3565 | * testsuite/ld-x86-64/pr20830a.d: This. Updated. | |
3566 | * testsuite/ld-x86-64/pr20830b.d: New file. | |
3567 | * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a. | |
3568 | Run pr20830b. | |
3569 | ||
fff53dae L |
3570 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
3571 | ||
3572 | PR ld/20830 | |
3573 | * testsuite/ld-i386/i386.exp: Run pr20830. | |
3574 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
3575 | * testsuite/ld-i386/pr20830.d: New file. | |
3576 | * testsuite/ld-i386/pr20830.s: Likewise. | |
3577 | * testsuite/ld-x86-64/pr20830.d: Likewise. | |
3578 | * testsuite/ld-x86-64/pr20830.s: Likewise. | |
3579 | ||
e9237227 L |
3580 | 2017-01-10 H.J. Lu <hongjiu.lu@intel.com> |
3581 | ||
3582 | * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and | |
3583 | -Wl,--as-needed to $CC. | |
3584 | * testsuite/ld-i386/tls.exp: Likewise. | |
3585 | ||
07e8e623 NC |
3586 | 2017-01-10 Nick Clifton <nickc@redhat.com> |
3587 | ||
3588 | * po/sv.po: Updated Swedish translation. | |
3589 | ||
07ccf83c GM |
3590 | 2016-12-09 Graham Markall <graham.markall@embecosm.com> |
3591 | Andrew Burgess <andrew.burgess@embecosm.com> | |
3592 | ||
3593 | * Makefile.am: Add earclinux_nps.c target and add to | |
3594 | ALL_EMULATION_SOURCES. | |
3595 | * Makefile.in: Likewise, regenerated. | |
3596 | * configure.tgt: Add arclinux_nps as an extra emulation for | |
3597 | arc*-*-elf* and arc*-*-linux*. | |
3598 | * emulparams/arc-nps.sh: New file. | |
3599 | * emulparams/arclinux_nps.sh: New file. | |
3600 | * testsuite/ld-arc/arclinux-nps.d, | |
3601 | * testsuite/ld-arc/arclinux-nps.s: New test. | |
3602 | ||
b0556316 DP |
3603 | 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org> |
3604 | ||
3605 | PR 20958 | |
3606 | * ldlex.l (option): Add noyywrap | |
3607 | (yywrap): Delete. | |
3608 | * ldlex.h (yywrap): Delete prototype. | |
3609 | ||
47523653 AM |
3610 | 2017-01-04 Alan Modra <amodra@gmail.com> |
3611 | ||
3612 | * testsuite/ld-elf/audit.exp: Check for shared lib support. | |
3613 | * testsuite/ld-elf/compress.exp: Likewise. | |
3614 | * testsuite/ld-elf/dwarf.exp: Likewise. | |
3615 | * testsuite/ld-elf/shared.exp: Likewise. | |
3616 | * testsuite/ld-elf/wrap.exp: Likewise. | |
3617 | * testsuite/ld-ifunc/ifunc.exp: Likewise. | |
3618 | * testsuite/ld-plugin/lto.exp: Check $CXX exists. | |
3619 | ||
a44d0bd7 AM |
3620 | 2017-01-03 Alan Modra <amodra@gmail.com> |
3621 | ||
3622 | * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not | |
3623 | allow test to continue after compilation errors. | |
3624 | (run_cc_link_tests): Likewise. | |
3625 | ||
27c3ce29 DD |
3626 | 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu> |
3627 | ||
3628 | * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c. | |
3629 | (epruelf.c): Remove unneeded dependencies. | |
3630 | * Makefile.in: Regenerate | |
3631 | ||
8cfc7cf8 AM |
3632 | 2017-01-03 Alan Modra <amodra@gmail.com> |
3633 | ||
3634 | * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed | |
3635 | to various tests. | |
3636 | * testsuite/ld-elfweak/elfweak.exp: Likewise. | |
3637 | * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option. | |
3638 | ||
4ce6ca2c AM |
3639 | 2017-01-03 Alan Modra <amodra@gmail.com> |
3640 | ||
3641 | * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests. | |
3642 | * testsuite/ld-pie/pie.exp: Likewise. | |
3643 | * testsuite/ld-plugin/lto.exp: Likewise. | |
3644 | ||
d9816402 AM |
3645 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3646 | ||
3647 | * Makefile.am (bootstrap): Delete rule. | |
3648 | (ld-partial, ld1, ld1-full, ld2, ld3): Likewise. | |
3649 | (HOSTING_CRT0, HOSTING_SCRT0): Don't define. | |
3650 | (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise. | |
3651 | * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define. | |
3652 | (HOSTING_LIBS, HOSTING_SLIBS): Likewise. | |
3653 | * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define. | |
3654 | * Makefile.in: Regenerate. | |
3655 | * configure: Regenerate. | |
3656 | * testsuite/config/default.exp (get_link_files): Delete. | |
3657 | (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't | |
3658 | define. | |
3659 | (ld_simple_link): Delete. | |
3660 | * testsuite/lib/ld-lib.exp (default_ld_link): Delete | |
3661 | (default_ld_simple_link): Rename to default_ld_link. | |
3662 | (ld_simple_link_defsyms): Rename to ld_link_defsyms. | |
3663 | (run_ld_link_tests): Use ld_link, not ld_simple_link. | |
3664 | (run_cc_link_tests): Likewise. | |
3665 | (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld. | |
3666 | Don't run exe when not native, and return unsupported. | |
3667 | * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs. | |
3668 | Link ld1 etc. using $CC. | |
3669 | * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC. | |
3670 | * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link. | |
3671 | * testsuite/ld-cygwin/exe-export.exp: Likewise. | |
3672 | * testsuite/ld-elf/binutils.exp: Likewise. | |
3673 | * testsuite/ld-elf/eh-group.exp: Likewise. | |
3674 | * testsuite/ld-elf/exclude.exp: Likewise. | |
3675 | * testsuite/ld-elf/frame.exp: Likewise. | |
3676 | * testsuite/ld-elf/sec-to-seg.exp: Likewise. | |
3677 | * testsuite/ld-elf/tls_common.exp: Likewise. | |
3678 | * testsuite/ld-elfcomm/elfcomm.exp: Likewise. | |
3679 | * testsuite/ld-fastcall/fastcall.exp: Likewise. | |
3680 | * testsuite/ld-gc/gc.exp: Likewise. | |
3681 | * testsuite/ld-ifunc/binutils.exp: Likewise. | |
3682 | * testsuite/ld-mep/mep.exp: Likewise. | |
3683 | * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise. | |
3684 | * testsuite/ld-mn10300/mn10300.exp: Likewise. | |
3685 | * testsuite/ld-nios2/nios2.exp: Likewise. | |
3686 | * testsuite/ld-pe/pe-compile.exp: Likewise. | |
3687 | * testsuite/ld-pe/pe-run.exp: Likewise. | |
3688 | * testsuite/ld-pe/pe-run2.exp: Likewise. | |
3689 | * testsuite/ld-plugin/plugin.exp: Likewise. | |
3690 | * testsuite/ld-scripts/align.exp: Likewise. | |
3691 | * testsuite/ld-scripts/alignof.exp: Likewise. | |
3692 | * testsuite/ld-scripts/assert.exp: Likewise. | |
3693 | * testsuite/ld-scripts/defined.exp: Likewise. | |
3694 | * testsuite/ld-scripts/extern.exp: Likewise. | |
3695 | * testsuite/ld-scripts/log2.exp: Likewise. | |
3696 | * testsuite/ld-scripts/map-address.exp: Likewise. | |
3697 | * testsuite/ld-scripts/phdrs.exp: Likewise. | |
3698 | * testsuite/ld-scripts/phdrs2.exp: Likewise. | |
3699 | * testsuite/ld-scripts/script.exp: Likewise. | |
3700 | * testsuite/ld-scripts/section-flags.exp: Likewise. | |
3701 | * testsuite/ld-scripts/sizeof.exp: Likewise. | |
3702 | * testsuite/ld-scripts/sysroot-prefix.exp: Likewise. | |
3703 | * testsuite/ld-scripts/weak.exp: Likewise. | |
3704 | * testsuite/ld-selective/selective.exp: Likewise. | |
3705 | * testsuite/ld-sh/sh.exp: Likewise. | |
3706 | * testsuite/ld-sh/sh64/relax.exp: Likewise. | |
3707 | * testsuite/ld-sh/sh64/relfail.exp: Likewise. | |
3708 | * testsuite/ld-srec/srec.exp: Likewise. | |
3709 | * testsuite/ld-tic6x/tic6x.exp: Likewise. | |
3710 | * testsuite/ld-undefined/weak-undef.exp: Likewise. | |
3711 | * testsuite/ld-versados/versados.exp: Likewise. | |
3712 | * testsuite/ld-x86-64/dwarfreloc.exp: Likewise. | |
3713 | * testsuite/ld-xtensa/coalesce.exp: Likewise. | |
3714 | * testsuite/ld-xtensa/diff_overflow.exp: Likewise. | |
3715 | * testsuite/ld-xtensa/lcall.exp: Likewise. | |
3716 | * testsuite/ld-elf/audit.exp: Run non-native too. | |
3717 | * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with | |
3718 | gcc -Wl, options. | |
3719 | * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link, | |
3720 | not ld_simple_link. Add -Wl,--no-as-needed to some tests. | |
3721 | * testsuite/ld-elf/elf.exp: Run non-native too. Formatting. | |
3722 | * testsuite/ld-elf/indirect.exp: Run non-native too. Add | |
3723 | -Wl,--no-as-needed to most tests. | |
3724 | * testsuite/ld-elf/shared.exp: Run non-native too. Use braces | |
3725 | to simplify quoting. Set run_tests using [list] rather than | |
3726 | brace assignment to expand $extralibs. Add -Wl,--no-as-needed | |
3727 | to many test. Prefix ld options with -Wl,. | |
3728 | (mix_pic_and_non_pic): Don't run exe if not native. | |
3729 | * testsuite/ld-elf/wrap.exp: Run non-native too. Add | |
3730 | -Wl,--no-as-needed and prefix ld options with -Wl,. | |
3731 | * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link, | |
3732 | not ld_simple_link. | |
3733 | * testsuite/ld-elfvsb/elfvsb.exp: Likewise. | |
3734 | (visibility_test): Don't run exe if not native. | |
3735 | * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link, | |
3736 | not ld_simple_link. | |
3737 | (build_exec): Don't run exe if not native. | |
3738 | * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link, | |
3739 | not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed | |
3740 | to some tests and prefix ld options with -Wl,. Expect GNU | |
3741 | for hppa-linux even when no ifuncs. Delete cleanup. | |
3742 | * testsuite/ld-pie/pie.exp: Run non-native too. | |
3743 | * testsuite/ld-plugin/lto.exp: Likewise. | |
3744 | * testsuite/ld-shared/shared.exp: Likewise. Use ld_link, | |
3745 | not ld_simple_link. | |
3746 | (shared_test): Don't run exe if not native. | |
3747 | * testsuite/ld-size/size.exp: Run non-native too. Add | |
3748 | -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,. | |
3749 | * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link, | |
3750 | not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed | |
3751 | to some tests and prefix ld options with -Wl,. Expect GNU | |
3752 | for hppa-linux even when no unique syms. Delete cleanup. | |
3753 | * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some | |
3754 | tests and prefix ld options with -Wl,. | |
3755 | * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link. | |
3756 | Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,. | |
3757 | ||
64859e14 AM |
3758 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3759 | ||
3760 | * emulparams/elf32metag.sh (COMMONPAGESIZE): Define. | |
3761 | ||
f5657270 AM |
3762 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3763 | ||
3764 | PR ld/21000 | |
3765 | * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define. | |
3766 | (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define. | |
3767 | * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN | |
3768 | is already defined. | |
3769 | ||
2571583a AM |
3770 | 2017-01-02 Alan Modra <amodra@gmail.com> |
3771 | ||
3772 | Update year range in copyright notice of all files. | |
3773 | ||
5c1ad6b5 | 3774 | For older changes see ChangeLog-2016 |
3499769a | 3775 | \f |
5c1ad6b5 | 3776 | Copyright (C) 2017 Free Software Foundation, Inc. |
3499769a AM |
3777 | |
3778 | Copying and distribution of this file, with or without modification, | |
3779 | are permitted in any medium without royalty provided the copyright | |
3780 | notice and this notice are preserved. | |
3781 | ||
3782 | Local Variables: | |
3783 | mode: change-log | |
3784 | left-margin: 8 | |
3785 | fill-column: 74 | |
3786 | version-control: never | |
3787 | End: |