Link tmpdir/copyreloc-main.o before tmpdir/copyreloc-lib.so
[external/binutils.git] / ld / ChangeLog
1 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
4         before tmpdir/copyreloc-lib.so and test --as-needed.
5         * testsuite/ld-x86-64/x86-64.exp: Likewise.
6
7 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8
9         PR ld/19579
10         * testsuite/ld-elf/pr19579a.c: New file.
11         * testsuite/ld-elf/pr19579b.c: Likewise.
12         * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
13
14 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
15
16         * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
17
18 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
19
20         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
21         Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
22
23 2016-03-02  H.J. Lu  <hongjiu.lu@intel.com>
24
25         PR ld/19739
26         * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
27         input sections for relocatable link.
28         * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
29         * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
30
31 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
32
33         PR ld/19739
34         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
35         merge flags of other input sections for relocatable link.
36
37 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
38
39         * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
40
41 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
42
43         * testsuite/ld-elf/pr19162.d: Skip arc target.
44
45 2016-02-29  H.J. Lu  <hongjiu.lu@intel.com>
46
47         PR ld/19162
48         * testsuite/ld-elf/pr19162.d: New file.
49         * testsuite/ld-elf/pr19162a.s: Likwise.
50         * testsuite/ld-elf/pr19162b.s: Likwise.
51
52 2016-02-29 Cupertino Miranda  <cmiranda@synopsys.com>
53
54         * testsuite/ld-elf/merge.d: Removed xfail for ARC.
55         * testsuite/ld-elf/merge2.d: Likewise.
56         * testsuite/ld-elf/merge3.d: Likewise.
57
58 2016-02-29  Cupertino Miranda  <Cupertino.Miranda@synopsys.com>
59
60         * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
61         generated.
62
63 2016-02-26  Renlin Li  <renlin.li@arm.com>
64
65         * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
66         * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
67         * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
68         * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
69         * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
70         * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
71         * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
72         * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
73         * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
74         * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
75
76 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
77
78         PR ld/19609
79         * testsuite/ld-i386/got1.dd: Updated.
80         * testsuite/ld-i386/lea1c.d: Likewise.
81         * testsuite/ld-i386/load1-nacl.d: Likewise.
82         * testsuite/ld-i386/load1.d: Likewise.
83         * testsuite/ld-i386/load4b.d: Likewise.
84         * testsuite/ld-i386/load5b.d: Likewise.
85         * testsuite/ld-i386/mov1b.d: Likewise.
86         * testsuite/ld-x86-64/mov1b.d: Likewise.
87         * testsuite/ld-x86-64/mov1d.d: Likewise.
88         * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
89         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
90         * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
91         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
92         * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
93         * testsuite/ld-x86-64/lea1a.d: Likewise.
94         * testsuite/ld-x86-64/lea1b.d: Likewise.
95         * testsuite/ld-x86-64/lea1c.d: Likewise.
96         * testsuite/ld-x86-64/lea1d.d: Likewise.
97         * testsuite/ld-x86-64/lea1e.d: Likewise.
98         * testsuite/ld-x86-64/lea1f.d: Likewise.
99         * testsuite/ld-x86-64/mov1b.d: Likewise.
100         * testsuite/ld-x86-64/mov1d.d: Likewise.
101         * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
102         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
103         * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
104         * testsuite/ld-i386/pr19609-1.s: New file.
105         * testsuite/ld-i386/pr19609-1a.d: Likewise.
106         * testsuite/ld-i386/pr19609-1b.d: Likewise.
107         * testsuite/ld-i386/pr19609-1c.d: Likewise.
108         * testsuite/ld-i386/pr19609-1d.d: Likewise.
109         * testsuite/ld-i386/pr19609-1e.d: Likewise.
110         * testsuite/ld-i386/pr19609-1f.d: Likewise.
111         * testsuite/ld-i386/pr19609-1g.d: Likewise.
112         * testsuite/ld-i386/pr19609-1h.d: Likewise.
113         * testsuite/ld-i386/pr19609-1i.d: Likewise.
114         * testsuite/ld-i386/pr19609-2.s: Likewise.
115         * testsuite/ld-i386/pr19609-2a.d: Likewise.
116         * testsuite/ld-i386/pr19609-2b.d: Likewise.
117         * testsuite/ld-i386/pr19609-2c.d: Likewise.
118         * testsuite/ld-i386/undefweak.s: Likewise.
119         * testsuite/ld-i386/undefweaka.d: Likewise.
120         * testsuite/ld-i386/undefweakb.d: Likewise.
121         * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
122         * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
123         * testsuite/ld-x86-64/pr19609-1.s: Likewise.
124         * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
125         * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
126         * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
127         * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
128         * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
129         * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
130         * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
131         * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
132         * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
133         * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
134         * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
135         * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
136         * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
137         * testsuite/ld-x86-64/pr19609-2.s: Likewise.
138         * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
139         * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
140         * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
141         * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
142         * testsuite/ld-x86-64/pr19609-3.s: Likewise.
143         * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
144         * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
145         * testsuite/ld-x86-64/pr19609-4.s: Likewise.
146         * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
147         * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
148         * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
149         * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
150         * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
151         * testsuite/ld-x86-64/pr19609-5.s: Likewise.
152         * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
153         * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
154         * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
155         * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
156         * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
157         * testsuite/ld-x86-64/pr19609-6.s: Likewise.
158         * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
159         * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
160         * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
161         * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
162         * testsuite/ld-x86-64/pr19609-7.s: Likewise.
163         * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
164         * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
165         * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
166         * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
167         * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
168         PR ld/19609.
169         * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
170         and tests for PR ld/19609.
171
172 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
173
174         PR ld/19645
175         * NEWS: Mention -z common/-z nocommon for ELF targets.
176         * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
177         -z common and -z nocommon.
178         * ld.texinfo: Document -z common/-z nocommon.
179         * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
180         * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
181         --elf-stt-common=yes with assembler.
182         * testsuite/ld-elfcomm/common-1.s: New file.
183         * testsuite/ld-elfcomm/common-1a.d: Likewise.
184         * testsuite/ld-elfcomm/common-1b.d: Likewise.
185         * testsuite/ld-elfcomm/common-1c.d: Likewise.
186         * testsuite/ld-elfcomm/common-1d.d: Likewise.
187         * testsuite/ld-elfcomm/common-1e.d: Likewise.
188         * testsuite/ld-elfcomm/common-1f.d: Likewise.
189         * testsuite/ld-elfcomm/common-2.s: Likewise.
190         * testsuite/ld-elfcomm/common-2a.d: Likewise.
191         * testsuite/ld-elfcomm/common-2b.d: Likewise.
192         * testsuite/ld-elfcomm/common-2c.d: Likewise.
193         * testsuite/ld-elfcomm/common-2d.d: Likewise.
194         * testsuite/ld-elfcomm/common-2e.d: Likewise.
195         * testsuite/ld-elfcomm/common-2f.d: Likewise.
196         * testsuite/ld-elfcomm/common-3a.rd: Likewise.
197         * testsuite/ld-elfcomm/common-3b.rd: Likewise.
198         * testsuite/ld-i386/pr19645.d: Likewise.
199         * testsuite/ld-i386/pr19645.s: Likewise.
200         * testsuite/ld-x86-64/largecomm-1.s: Likewise.
201         * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
202         * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
203         * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
204         * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
205         * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
206         * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
207         * testsuite/ld-x86-64/pr19645.d: Likewise.
208         * testsuite/ld-x86-64/pr19645.s: Likewise.
209         * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
210         with assembler.
211         (assembler_generates_commons): Removed.
212         Run -z common/-z nocommon tests.  Run *.d tests.
213         * testsuite/ld-i386/i386.exp: Run pr19645.
214         * testsuite/ld-x86-64/x86-64.exp: Likewise.
215         * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
216         assembler.  Test STT_COMMON with readelf.
217
218 2016-02-26  H.J. Lu  <hongjiu.lu@intel.com>
219
220         PR ld/19636
221         PR ld/19704
222         PR ld/19719
223         * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
224         * Makefile.in: Regenerated.
225         * NEWS: Mention -z nodynamic-undefined-weak.
226         * ld.texinfo: Document -z nodynamic-undefined-weak.
227         * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
228         * emulparams/dynamic_undefined_weak.sh: New file.
229         * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
230         * emulparams/elf_i386.sh: Likewise.
231         * emulparams/elf_i386_be.sh: Likewise.
232         * emulparams/elf_i386_chaos.sh: Likewise.
233         * emulparams/elf_i386_ldso.sh: Likewise.
234         * emulparams/elf_i386_vxworks.sh: Likewise.
235         * emulparams/elf_iamcu.sh: Likewise.
236         * emulparams/elf_k1om.sh: Likewise.
237         * emulparams/elf_l1om.sh: Likewise.
238         * emulparams/elf_x86_64.sh: Likewise.
239         * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
240         Append.
241         (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
242         * testsuite/ld-elf/pr19719a.c: New file.
243         * testsuite/ld-elf/pr19719b.c: Likewise.
244         * testsuite/ld-elf/pr19719c.c: Likewise.
245         * testsuite/ld-elf/pr19719d.c: Likewise.
246         * testsuite/ld-i386/pr19636-1.s: Likewise.
247         * testsuite/ld-i386/pr19636-1a.d: Likewise.
248         * testsuite/ld-i386/pr19636-1b.d: Likewise.
249         * testsuite/ld-i386/pr19636-1c.d: Likewise.
250         * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
251         * testsuite/ld-i386/pr19636-1d.d: Likewise.
252         * testsuite/ld-i386/pr19636-1e.d: Likewise.
253         * testsuite/ld-i386/pr19636-1f.d: Likewise.
254         * testsuite/ld-i386/pr19636-1g.d: Likewise.
255         * testsuite/ld-i386/pr19636-1h.d: Likewise.
256         * testsuite/ld-i386/pr19636-1i.d: Likewise.
257         * testsuite/ld-i386/pr19636-2.s: Likewise.
258         * testsuite/ld-i386/pr19636-2a.d: Likewise.
259         * testsuite/ld-i386/pr19636-2b.d: Likewise.
260         * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
261         * testsuite/ld-i386/pr19636-2c.d: Likewise.
262         * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
263         * testsuite/ld-i386/pr19636-2d.d: Likewise.
264         * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
265         * testsuite/ld-i386/pr19636-2e.d: Likewise.
266         * testsuite/ld-i386/pr19636-3.s: Likewise.
267         * testsuite/ld-i386/pr19636-3a.d: Likewise.
268         * testsuite/ld-i386/pr19636-3b.d: Likewise.
269         * testsuite/ld-i386/pr19636-3c.d: Likewise.
270         * testsuite/ld-i386/pr19636-3d.d: Likewise.
271         * testsuite/ld-i386/pr19636-3e.d: Likewise.
272         * testsuite/ld-i386/pr19636-3f.d: Likewise.
273         * testsuite/ld-i386/pr19636-3g.d: Likewise.
274         * testsuite/ld-i386/pr19636-4.s: Likewise.
275         * testsuite/ld-i386/pr19636-4a.d: Likewise.
276         * testsuite/ld-i386/pr19636-4b.d: Likewise.
277         * testsuite/ld-i386/pr19636-4c.d: Likewise.
278         * testsuite/ld-i386/pr19636-4d.d: Likewise.
279         * testsuite/ld-i386/pr19704.out: Likewise.
280         * testsuite/ld-i386/pr19704a.c: Likewise.
281         * testsuite/ld-i386/pr19704b.c: Likewise.
282         * testsuite/ld-x86-64/pr19636-1.s: Likewise.
283         * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
284         * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
285         * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
286         * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
287         * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
288         * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
289         * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
290         * testsuite/ld-x86-64/pr19636-2.s: Likewise.
291         * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
292         * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
293         * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
294         * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
295         * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
296         * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
297         * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
298         * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
299         * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
300         * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
301         * testsuite/ld-x86-64/pr19636-3.s: Likewise.
302         * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
303         * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
304         * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
305         * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
306         * testsuite/ld-x86-64/pr19704.out: Likewise.
307         * testsuite/ld-x86-64/pr19704a.c: Likewise.
308         * testsuite/ld-x86-64/pr19704b.c: Likewise.
309         * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
310         Run mix_pic_and_non_pic.
311         * testsuite/ld-i386/i386.exp (undefined_weak): New.
312         Run undefined_weak and PR ld/19636 tests.
313         * testsuite/ld-x86-64/x86-64.exp: Likewise.
314         * testsuite/ld-x86-64/pr13082-3b.d: Updated.
315         * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
316
317 2016-02-25  Nick Clifton  <nickc@redhat.com>
318
319         * ld.h (struct ld_config_type): Remove specified_data_size field.
320
321 2016-02-24  H.J. Lu  <hongjiu.lu@intel.com>
322
323         PR ld/19698
324         * testsuite/ld-elf/pr19698.d: New file.
325         * testsuite/ld-elf/pr19698.s: Likewise.
326         * testsuite/ld-elf/pr19698.t: Likewise.
327
328 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
329
330         * Makefile.am (ELF_X86_DEPS): New.
331         (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
332         (eelf_i386_chaos.c): Likewise.
333         (eelf_i386_fbsd.c): Likewise.
334         (eelf_i386_ldso.c): Likewise.
335         (eelf_i386_nacl.c): Likewise.
336         (eelf_i386_sol2.c): Likewise.
337         (eelf_iamcu.c): Likewise.
338         (eelf32_x86_64.c): Likewise.
339         (eelf32_x86_64_nacl.c): Likewise.
340         (eelf_l1om.c): Likewise.
341         (eelf_l1om_fbsd.c): Likewise.
342         (eelf_k1om.c): Likewise.
343         (eelf_k1om_fbsd.c): Likewise.
344         (eelf_x86_64.c): Likewise.
345         (eelf_x86_64_cloudabi.c): Likewise.
346         (eelf_x86_64_fbsd.c): Likewise.
347         (eelf_x86_64_sol2.c): Likewise.
348         * Makefile.in: Regenerated.
349
350 2016-02-23  H.J. Lu  <hongjiu.lu@intel.com>
351
352         * testsuite/ld-frv/fdpic-pie-6.d: Updated.
353         * testsuite/ld-mips-elf/pie-n32.d: Likewise.
354         * testsuite/ld-mips-elf/pie-n64.d: Likewise.
355         * testsuite/ld-mips-elf/pie-o32.d: Likewise.
356
357 2016-02-20  H.J. Lu  <hongjiu.lu@intel.com>
358
359         * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
360
361 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
362
363         * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
364         *-*-gnu* and *-*-solaris*.
365         * testsuite/ld-elf/pr19617b.d: Likewise.
366         * testsuite/ld-elf/pr19617c.d: Likewise.
367
368 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
369
370         PR ld/19617
371         * testsuite/ld-elf/pr19617.s: New file.
372         * testsuite/ld-elf/pr19617a.d: Likewise.
373         * testsuite/ld-elf/pr19617b.d: Likewise.
374         * testsuite/ld-elf/pr19617c.d: Likewise.
375
376 2016-02-18  Nick Clifton  <nickc@redhat.com>
377
378         * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
379         in-tree xg++ executable after checking for the presence of an
380         in-tree g++ executable.
381         * Makefile.in: Regenerate.
382
383 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
384
385         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
386         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
387         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
388
389 2016-02-17  H.J. Lu  <hongjiu.lu@intel.com>
390
391         * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
392         * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
393         * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
394         * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
395         * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
396         * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
397         * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
398         * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
399         * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
400         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
401         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
402         * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
403         * testsuite/ld-x86-64/load1c.d: Likewise.
404         * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
405         * testsuite/ld-x86-64/load1d.d: Likewise.
406         * testsuite/ld-x86-64/pr14207.d: Likewise.
407         * testsuite/ld-x86-64/pr19162.d: Likewise.
408         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
409         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
410         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
411         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
412         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
413         * testsuite/ld-x86-64/tlspic.rd: Likewise.
414
415 2016-02-17  Nick Clifton  <nickc@redhat.com>
416
417         * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
418
419 2016-02-15  Nick Clifton  <nickc@redhat.com>
420
421         * testsuite/ld-i386/pr12718.d: Remove dependency upon the
422         description of the flags produced by readelf.
423         * testsuite/ld-i386/pr12921.d: Likewise.
424         * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
425         * testsuite/ld-i386/tlsbin.rd: Likewise.
426         * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
427         * testsuite/ld-i386/tlsbindesc.rd: Likewise.
428         * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
429         * testsuite/ld-i386/tlsdesc.rd: Likewise.
430         * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
431         * testsuite/ld-i386/tlsgdesc.rd: Likewise.
432         * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
433         * testsuite/ld-i386/tlsnopic.rd: Likewise.
434         * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
435         * testsuite/ld-i386/tlspic.rd: Likewise.
436         * testsuite/ld-s390/tlsbin.rd: Likewise.
437         * testsuite/ld-s390/tlsbin_64.rd: Likewise.
438         * testsuite/ld-s390/tlspic.rd: Likewise.
439         * testsuite/ld-s390/tlspic_64.rd: Likewise.
440         * testsuite/ld-sh/tlsbin-2.d: Likewise.
441         * testsuite/ld-sh/tlspic-2.d: Likewise.
442         * testsuite/ld-tic6x/common.d: Likewise.
443         * testsuite/ld-tic6x/shlib-1.rd: Likewise.
444         * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
445         * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
446         * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
447         * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
448         * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
449         * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
450         * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
451         * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
452         * testsuite/ld-tic6x/static-app-1.rd: Likewise.
453         * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
454         * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
455         * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
456         * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
457         * testsuite/ld-x86-64/ilp32-4.d: Likewise.
458         * testsuite/ld-x86-64/pr12718.d: Likewise.
459         * testsuite/ld-x86-64/pr12921.d: Likewise.
460         * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
461         * testsuite/ld-x86-64/split-by-file.rd: Likewise.
462         * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
463         * testsuite/ld-x86-64/tlsbin.rd: Likewise.
464         * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
465         * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
466         * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
467         * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
468         * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
469         * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
470         * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
471         * testsuite/ld-x86-64/tlspic.rd: Likewise.
472         * testsuite/ld-xtensa/tlsbin.rd: Likewise.
473         * testsuite/ld-xtensa/tlspic.rd: Likewise.
474
475 2016-02-11  H.J. Lu  <hongjiu.lu@intel.com>
476
477         PR ld/19615
478         * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
479         PIE.
480         * lexsup.c (parse_args): Enable -Bsymbolic and
481         -Bsymbolic-functions for PIE.
482         * testsuite/ld-i386/i386.exp: Run pr19615.
483         * testsuite/ld-i386/pr19615.d: New file.
484         * testsuite/ld-i386/pr19615.s: Likewise.
485         * testsuite/ld-x86-64/pr19615.d: Likewise.
486         * testsuite/ld-x86-64/pr19615.s: Likewise.
487
488 2016-02-09  Nick Clifton  <nickc@redhat.com>
489
490         * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
491         * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
492         * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
493         * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
494
495 2016-02-04  Nick Clifton  <nickc@redhat.com>
496
497         * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
498         * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
499         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
500         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
501         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
502         * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
503         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
504         * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
505         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
506
507 2016-02-03  H.J. Lu  <hongjiu.lu@intel.com>
508
509         PR gas/19520
510         * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
511         * testsuite/ld-i386/call1.d: Likewise.
512         * testsuite/ld-i386/call2.d: Likewise.
513         * testsuite/ld-i386/call3a.d: Likewise.
514         * testsuite/ld-i386/call3b.d: Likewise.
515         * testsuite/ld-i386/call3c.d: Likewise.
516         * testsuite/ld-i386/call3d.d: Likewise.
517         * testsuite/ld-i386/call3e.d: Likewise.
518         * testsuite/ld-i386/call3f.d: Likewise.
519         * testsuite/ld-i386/call3g.d: Likewise.
520         * testsuite/ld-i386/call3h.d: Likewise.
521         * testsuite/ld-i386/jmp1.d: Likewise.
522         * testsuite/ld-i386/jmp2.d: Likewise.
523         * testsuite/ld-i386/lea1c.d: Likewise.
524         * testsuite/ld-i386/load1.d: Likewise.
525         * testsuite/ld-i386/load2.d: Likewise.
526         * testsuite/ld-i386/load3.d: Likewise.
527         * testsuite/ld-i386/load4a.d: Likewise.
528         * testsuite/ld-i386/load5a.d: Likewise.
529         * testsuite/ld-i386/mov2b.d: Likewise.
530         * testsuite/ld-i386/mov3.d: Likewise.
531         * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
532         * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
533         * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
534         * testsuite/ld-x86-64/call1a.d: Likewise.
535         * testsuite/ld-x86-64/call1b.d: Likewise.
536         * testsuite/ld-x86-64/call1c.d: Likewise.
537         * testsuite/ld-x86-64/call1d.d: Likewise.
538         * testsuite/ld-x86-64/call1e.d: Likewise.
539         * testsuite/ld-x86-64/call1f.d: Likewise.
540         * testsuite/ld-x86-64/call1h.d: Likewise.
541         * testsuite/ld-x86-64/call1i.d: Likewise.
542         * testsuite/ld-x86-64/load1a.d: Likewise.
543         * testsuite/ld-x86-64/load1b.d: Likewise.
544         * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
545         * testsuite/ld-i386/got1.dd: Updated.
546         * testsuite/ld-i386/got1d.S (1): Removed.
547         * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
548         * testsuite/ld-x86-64/x86-64.exp: Likewise.
549
550 2016-02-02  H.J. Lu  <hongjiu.lu@intel.com>
551
552         PR ld/18591
553         * testsuite/ld-x86-64/pr18591.d: New file.
554         * testsuite/ld-x86-64/pr18591.s: Likewise.
555         * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
556
557 2016-02-01  H.J. Lu  <hongjiu.lu@intel.com>
558
559         PR ld/19553
560         * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
561         * testsuite/ld-elf/pr19553.map: New file.
562         * testsuite/ld-elf/pr19553.map: Likewise.
563         * testsuite/ld-elf/pr19553a.c: Likewise.
564         * testsuite/ld-elf/pr19553b.c: Likewise.
565         * testsuite/ld-elf/pr19553b.out: Likewise.
566         * testsuite/ld-elf/pr19553c.c: Likewise.
567         * testsuite/ld-elf/pr19553c.out: Likewise.
568         * testsuite/ld-elf/pr19553d.c: Likewise.
569         * testsuite/ld-elf/pr19553d.out: Likewise.
570
571 2016-01-30  H.J. Lu  <hongjiu.lu@intel.com>
572
573         PR ld/19539
574         * testsuite/ld-elf/pr19539.d: New file.
575         * testsuite/ld-elf/pr19539.s: Likewise.
576         * testsuite/ld-elf/pr19539.t: Likewise.
577
578 2016-01-29  H.J. Lu  <hongjiu.lu@intel.com>
579
580         PR ld/19533
581         * configure.ac (compressed_debug_sections): Replace == with =.
582         * configure: Regenerated.
583
584 2016-01-22  Pitchumani Sivanupandi  <pitchumani.s@atmel.com>
585
586         * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
587         * scripttempl/avrtiny.sc (.noinit): Likewise.
588
589 2016-01-21  Nick Clifton  <nickc@redhat.com>
590
591         PR ld/19453
592         * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
593         the arm-netbsdelf target.
594
595         PR ld/19455
596         * testsuite/ld-arm/vxworks1-lib.dd: Update for current
597         disassmebler output.
598         * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
599         * testsuite/ld-arm/vxworks1.dd: Likewise.
600         * testsuite/ld-arm/vxworks1.rd: Likewise.
601         * testsuite/ld-arm/vxworks1.ld: Set the output format.
602
603 2016-01-20  Jiong Wang  <jiong.wang@arm.com>
604
605         * testsuite/ld-aarch64/farcall-section.d: Delete.
606         * testsuite/ld-aarch64/farcall-section.s: Delete.
607         * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
608         * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
609         * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
610         * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
611         * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
612
613 2016-01-20  Nick Clifton  <nickc@redhat.com>
614
615         PR 19457
616         * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
617         early for PE based targets.
618         * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
619         * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
620
621 2016-01-20  Mickael Guene  <mickael.guene@st.com>
622
623         * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
624         Add 'y' attribute usage.
625         * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
626         * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
627         * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
628
629 2016-01-19  Nick Clifton  <nickc@redhat.com>
630
631         * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
632         foo@FOO and bar@@FOO.
633
634 2016-01-18  Alan Modra  <amodra@gmail.com>
635
636         * configure: Regenerate.
637
638 2016-01-18  Nick Clifton  <nickc@redhat.com>
639
640         * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
641         is not configured to support plugins.
642
643         * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
644         but with 16 byte section alignment.
645         * testsuite/ld-scripts/rgn-at11.d: Use new source file.  Reenable
646         test for MIPS targets.
647
648 2016-01-17  Alan Modra  <amodra@gmail.com>
649
650         * configure: Regenerate.
651
652 2016-01-17  Alan Modra  <amodra@gmail.com>
653
654         * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
655         * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
656         * testsuite/ld-elf/pr14156a.d: Likewise.
657         * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
658         * testsuite/ld-elf/sec64k.exp: Likewise.
659
660 2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
661
662         * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
663         Set address of .foo section when linking.
664         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
665         in .foo section.
666         * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
667         output to the above changes.
668
669 2016-01-13  Nick Clifton  <nickc@redhat.com>
670
671         * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
672         for MIPS targets.
673
674         * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
675         fail for MIPS targets.
676
677         * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
678         MIPS targets.
679
680 2016-01-12  Yury Usishchev  <y.usishchev@samsung.com>
681
682         * testsuite/ld-arm/arm-elf.exp: New test.
683         * testsuite/ld-arm/unwind-mix.d: New file.
684         * testsuite/ld-arm/unwind-mix1.s: New file.
685         * testsuite/ld-arm/unwind-mix2.s: New file.
686
687 2016-01-08  Jiong Wang  <jiong.wang@arm.com>
688
689         PR ld/19368
690         * testsuite/ld-arm/ifunc-3.rd: Update expected result.
691         * testsuite/ld-arm/ifunc-4.rd: Likewise.
692         * testsuite/ld-arm/ifunc-9.rd: Likewise.
693         * testsuite/ld-arm/ifunc-10.rd: Likewise.
694         * testsuite/ld-arm/ifunc-12.rd: Likewise.
695         * testsuite/ld-arm/ifunc-13.rd: Likewise.
696
697 2016-01-05  Nick Clifton  <nickc@redhat.com>
698
699         * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
700         MSP430 hardware multiply address range.
701         * scripttempl/elf32msp430.sc (__romdatastart): Define.
702         (__romdatacopysize): Define.
703         * scripttempl/elf32msp430_3.sc: Likewise.
704
705 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
706
707         * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
708         OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
709
710 2016-01-04  Maciej W. Rozycki  <macro@imgtec.com>
711
712         * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
713         messages expected according to MIPS BFD private data merge
714         changes.
715         * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
716         * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
717         * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
718         * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
719         * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
720         * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
721         * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
722         * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
723         * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
724         * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
725         * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
726         * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
727         * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
728
729 2016-01-01  Alan Modra  <amodra@gmail.com>
730
731         Update year range in copyright notice of all files.
732
733 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
734 \f
735 Copyright (C) 2016 Free Software Foundation, Inc.
736
737 Copying and distribution of this file, with or without modification,
738 are permitted in any medium without royalty provided the copyright
739 notice and this notice are preserved.
740
741 Local Variables:
742 mode: change-log
743 left-margin: 8
744 fill-column: 74
745 version-control: never
746 End: