a8cceb86eec5af4c2612a37b485a4b6d93d4ad60
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
2
3 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
4 * testsuite/ld-i386/ifunc-1a.c: New file.
5 * testsuite/ld-i386/ifunc-1b.S: Likewise.
6 * testsuite/ld-i386/ifunc-1c.S: Likewise.
7 * testsuite/ld-i386/ifunc-1d.S: Likewise.
8
9 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
10
11 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
12 big endian ARC targets.
13
14 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
15
16 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
17 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
18 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
19 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
20 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
21 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
22 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
23 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
24 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
25 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
26 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
27 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
28 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
29 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
30 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
31
32 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
33
34 PR ld/20244
35 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
36 * testsuite/ld-i386/pr20244-1.s: New file.
37 * testsuite/ld-i386/pr20244-1a.d: Likewise.
38 * testsuite/ld-i386/pr20244-1b.d: Likewise.
39 * testsuite/ld-i386/pr20244-1c.d: Likewise.
40
41 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
42
43 PR ld/20221
44 * testsuite/ld-avr/avr-prop-5.d: New.
45 * testsuite/ld-avr/avr-prop-5.s: New.
46
47 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
48
49 * testsuite/ld-avr/lds-mega.d: New test.
50 * testsuite/ld-avr/lds-mega.s: New test source.
51 * testsuite/ld-avr/lds-tiny.d: New test.
52 * testsuite/ld-avr/lds-tiny.s: New test source.
53
54 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
55
56 * testsuite/ld-i386/libno-plt-1b.dd: New file.
57 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
58 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
59 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
60 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
61 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
62 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
63 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
64 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
65 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
66 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
67 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
68 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
69 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
70 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
71 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
72 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
73 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
74 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
75 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
76 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
77 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
78 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
79 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
80 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
81 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
82 * testsuite/ld-i386/no-plt-func1.c: Likewise.
83 * testsuite/ld-i386/no-plt-main1.c: Likewise.
84 * testsuite/ld-i386/no-plt.exp: Likewise.
85
86 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
87
88 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
89 name.
90
91 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
92
93 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
94 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
95 * testsuite/ld-i386/pass.out: New file.
96 * testsuite/ld-i386/tls-def1.c: Likewise.
97 * testsuite/ld-i386/tls-gd1.S: Likewise.
98 * testsuite/ld-i386/tls-ld1.S: Likewise.
99 * testsuite/ld-i386/tls-main1.c: Likewise.
100 * testsuite/ld-i386/tls.exp: Likewise.
101 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
102 * testsuite/ld-i386/tlsbin2.dd: Likewise.
103 * testsuite/ld-i386/tlsbin2.rd: Likewise.
104 * testsuite/ld-i386/tlsbin2.sd: Likewise.
105 * testsuite/ld-i386/tlsbin2.td: Likewise.
106 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
107 * testsuite/ld-i386/tlsgd3.dd: Likewise.
108 * testsuite/ld-i386/tlsgd3.s: Likewise.
109 * testsuite/ld-i386/tlsgd4.d: Likewise.
110 * testsuite/ld-i386/tlsgd4.s: Likewise.
111 * testsuite/ld-i386/tlsld2.s: Likewise.
112 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
113 * testsuite/ld-i386/tlspic2.dd: Likewise.
114 * testsuite/ld-i386/tlspic2.rd: Likewise.
115 * testsuite/ld-i386/tlspic2.sd: Likewise.
116 * testsuite/ld-i386/tlspic2.td: Likewise.
117 * testsuite/ld-i386/tlspic3.s: Likewise.
118 * testsuite/ld-i386/tlspie3.s: Likewise.
119 * testsuite/ld-i386/tlspie3a.d: Likewise.
120 * testsuite/ld-i386/tlspie3b.d: Likewise.
121 * testsuite/ld-i386/tlspie3c.d: Likewise.
122
123 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
124
125 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
126 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
127 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
128 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
129 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
130 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
131 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
132 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
133
134 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
135
136 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
137 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
138 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
139 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
140 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
141 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
142 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
143 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
144 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
145 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
146 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
147 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
148 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
149 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
150 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
151 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
152 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
153 * testsuite/ld-x86-64/no-plt.exp: Likewise.
154 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
155 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
156 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
157
158 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
159
160 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
161
162 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
163
164 * testsuite/ld-s390/pltoffset-1.dd: New test.
165 * testsuite/ld-s390/pltoffset-1.ld: New test.
166 * testsuite/ld-s390/pltoffset-1.s: New test.
167 * testsuite/ld-s390/s390.exp: Run new test.
168
169 2016-06-07 Alan Modra <amodra@gmail.com>
170
171 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
172 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
173 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
174
175 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
176
177 * testsuite/ld-x86-64/pass.out: New file.
178 * testsuite/ld-x86-64/tls-def1.c: Likewise.
179 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
180 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
181 * testsuite/ld-x86-64/tls-main1.c: Likewise.
182 * testsuite/ld-x86-64/tls.exp: Likewise.
183 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
184 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
185 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
186 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
187 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
188 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
189 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
190 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
191 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
192 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
193 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
194 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
195 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
196 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
197 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
198 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
199 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
200 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
201 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
202 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
203 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
204 * testsuite/ld-x86-64/tlsld4.s: Likewise.
205 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
206 * testsuite/ld-x86-64/tlsld5.s: Likewise.
207 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
208 * testsuite/ld-x86-64/tlsld6.s: Likewise.
209 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
210 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
211 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
212 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
213 * testsuite/ld-x86-64/tlspic2.td: Likewise.
214 * testsuite/ld-x86-64/tlspic3.s: Likewise.
215 * testsuite/ld-x86-64/tlspie2.s: Likewise.
216 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
217 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
218 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
219 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
220 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
221 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
222 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
223 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
224 tlspie2c.
225
226 2016-06-04 Christian Groessler <chris@groessler.org>
227
228 * testsuite/ld-z8k/0filler.s: New file.
229 * testsuite/ld-z8k/branch-target.s: New file.
230 * testsuite/ld-z8k/branch-target2.s: New file.
231 * testsuite/ld-z8k/calr-back-8001.d: New file.
232 * testsuite/ld-z8k/calr-back-8002.d: New file.
233 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
234 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
235 * testsuite/ld-z8k/calr-forw-8001.d: New file.
236 * testsuite/ld-z8k/calr-forw-8002.d: New file.
237 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
238 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
239 * testsuite/ld-z8k/calr-opcode.s: New file.
240 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
241 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
242 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
243 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
244 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
245 * testsuite/ld-z8k/djnz-back-8001.d: New file.
246 * testsuite/ld-z8k/djnz-back-8002.d: New file.
247 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
248 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
249 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
250 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
251 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
252 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
253 * testsuite/ld-z8k/djnz-opcode.s: New file.
254 * testsuite/ld-z8k/filler.s: New file.
255 * testsuite/ld-z8k/jr-back-8001.d: New file.
256 * testsuite/ld-z8k/jr-back-8002.d: New file.
257 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
258 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
259 * testsuite/ld-z8k/jr-forw-8001.d: New file.
260 * testsuite/ld-z8k/jr-forw-8002.d: New file.
261 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
262 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
263 * testsuite/ld-z8k/jr-opcode.s: New file.
264 * testsuite/ld-z8k/ldr-back-8001.d: New file.
265 * testsuite/ld-z8k/ldr-back-8002.d: New file.
266 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
267 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
268 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
269 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
270 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
271 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
272 * testsuite/ld-z8k/ldr-opcode.s: New file.
273 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
274 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
275 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
276 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
277 * testsuite/ld-z8k/ldrb-opcode.s: New file.
278 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
279 * testsuite/ld-z8k/other-file.s: New file.
280 * testsuite/ld-z8k/reloc.dd: New file.
281 * testsuite/ld-z8k/reloc.ld: New file.
282 * testsuite/ld-z8k/relocseg.dd: New file.
283 * testsuite/ld-z8k/relocseg.ld: New file.
284 * testsuite/ld-z8k/relocseg1.dd: New file.
285 * testsuite/ld-z8k/this-file.s: New file.
286 * testsuite/ld-z8k/z8k.exp: New file.
287
288 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
289
290 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
291 with -mrelax-relocations=yes.
292 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
293 * testsuite/ld-i386/lea1b.d (as): Likewise.
294 * testsuite/ld-i386/lea1d.d (as): Likewise.
295 * testsuite/ld-i386/lea1e.d (as): Likewise.
296 * testsuite/ld-i386/lea1f.d (as): Likewise.
297 * testsuite/ld-i386/load7.d (as): Likewise.
298 * testsuite/ld-i386/mov1b.d (as): Likewise.
299 * testsuite/ld-i386/pr19175.d (as): Likewise.
300 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
301 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
302 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
303 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
304 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
305
306 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
307
308 * configure.tgt: Replace -uclibc with *.
309
310 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
311
312 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
313 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
314 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
315 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
316
317 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
318
319 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
320 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
321 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
322 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
323 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
324 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
325
326 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
327
328 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
329 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
330 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
331 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
332 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
333 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
334 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
335
336 2016-05-28 Alan Modra <amodra@gmail.com>
337
338 * ldmain.c (multiple_definition, multiple_common, add_to_set,
339 constructor_callback, warning_callback, undefined_symbol,
340 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
341 * emultempl/elf32.em: Adjust callback calls.
342
343 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
344
345 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
346 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
347 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
348 test.
349 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
350 test.
351 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
352 test.
353 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
354 test.
355 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
356 source.
357 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
358 source.
359 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
360
361 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
362
363 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
364 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
365 new test.
366 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
367
368 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
369
370 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
371 `unaligned-jalx-2' here.
372 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
373 `unaligned-jalx-mips16-2' here.
374 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
375 `unaligned-jalx-micromips-2' here.
376 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
377 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
378 message.
379 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
380 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
381 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
382 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
383 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
384 test.
385 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
386 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
387 `unaligned-lwpc-3' here.
388 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
389 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
390 `unaligned-lwpc-2' here.
391 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
392 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
393 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
394 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
395 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
396 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
397 `unaligned-ldpc-4' here.
398 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
399 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
400 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
401 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
402 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
403 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
404 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
405 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
406 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
407 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
408 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
409
410 2016-05-26 Nick Clifton <nickc@redhat.com>
411
412 PR target/20134
413 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
414 __bsssize.
415 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
416
417 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
418
419 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
420 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
421 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
422 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
423 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
424 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
425 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
426 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
427 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
428 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
429 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
430 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
431 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
432 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
433 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
434 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
435 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
436 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
437 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
438 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
439 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
440 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
441 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
442 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
443 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
444 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
445 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
446 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
447 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
448 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
449 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
450 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
451 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
452
453 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
454
455 PR ld/20103
456 * ldmain.c (add_archive_element): Don't claim new IR symbols
457 after all IR symbols have been claimed.
458 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
459 check.
460 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
461 Run PR ld/20103 tests.
462 * testsuite/ld-plugin/pr20103a.c: New file.
463 * testsuite/ld-plugin/pr20103b.c: Likewise.
464 * testsuite/ld-plugin/pr20103c.c: Likewise.
465
466 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
467
468 * testsuite/ld-mips-elf/jalx-local.d: New test.
469 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
470 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
471 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
472
473 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
474
475 * Makefile.am: Add earmelf_phoenix.c.
476 * Makefile.in: Regenerate.
477 * configure.tgt: Add entry for arm-phoenix.
478 * emulparams/armelf_phoenix.sh: New file.
479
480 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
481
482 * emultempl/armelf.em (arm_elf_before_allocation): Call
483 bfd_elf32_arm_keep_private_stub_output_sections before generic
484 before_allocation function.
485
486 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
487
488 * testsuite/ld-mips-elf/jalx-addend.d: New test.
489 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
490 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
491 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
492
493 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
494
495 PR ld/20117
496 * testsuite/ld-i386/i386.exp: Run pr20117.
497 * testsuite/ld-i386/pr19609-1i.d: Updated.
498 * testsuite/ld-i386/pr20117.d: New file.
499 * testsuite/ld-i386/pr20117.s: Likewise.
500
501 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
502
503 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
504 * testsuite/ld-elf/group8a.d: Likewise.
505 * testsuite/ld-elf/group8b.d: Likewise.
506 * testsuite/ld-elf/group9a.d: Likewise.
507 * testsuite/ld-elf/group9b.d: Likewise.
508 * testsuite/ld-elf/pr12851.d: Likewise.
509 * testsuite/ld-elf/pr12975.d: Likewise.
510 * testsuite/ld-elf/pr13177.d: Likewise.
511 * testsuite/ld-elf/pr13195.d: Likewise.
512 * testsuite/ld-elf/pr17615.d: Likewise.
513 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
514 * testsuite/ld-elf/group3b.d: Likewise.
515 * testsuite/ld-srec/srec.exp: Likewise.
516 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
517 as supporting gc.
518 (check_shared_lib_support): Mark ARC as supporting.
519
520 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
521
522 * emulparams/arcelf.sh: Changed.
523 * emulparams/arclinux.sh: Likewise.
524 * scripttempl/arclinux.sc: Moved to a more standard implementation
525 similar to elf.sc.
526
527 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
528
529 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
530 `ft32-*-*' behind `frv-*-*'.
531
532 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
533
534 * configure.tgt: Remove `am34-*-linux*' support.
535
536 2016-05-19 Alan Modra <amodra@gmail.com>
537
538 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
539 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
540 * testsuite/ld-scripts/cross3.t: Likewise.
541 * testsuite/ld-scripts/cross4.t: Likewise.
542 * testsuite/ld-scripts/cross5.t: Likewise.
543 * testsuite/ld-scripts/cross6.t: Likewise.
544 * testsuite/ld-scripts/cross7.t: Likewise.
545
546 2016-05-19 Alan Modra <amodra@gmail.com>
547
548 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
549 exe name rather than constructing testname. Fix typo in
550 sub-test name. Log copying. Use -rpath rather than -R.
551
552 2016-05-18 Nick Clifton <nickc@redhat.com>
553
554 * scripttempl/ft32.sc: Use fixed constants for memory region
555 lengths. Include DWARF debug sections.
556 (.data .bss): Do not assign locations during relocatable links.
557 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
558 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
559 * testsuite/ld-elf/sec64k.exp: Likewise.
560 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
561 * testsuite/ld-elf/merge.d: Likewise.
562 * testsuite/ld-elf/orphan-region.d: Likewise.
563 * testsuite/ld-elf/orphan.s: Likewise.
564 * testsuite/ld-elf/orphan3.d: Likewise.
565 * testsuite/ld-elf/pr349.d: Likewise.
566 * testsuite/ld-elf/warn2.d: Likewise.
567 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
568 that the FT32 does not support shared libraries.
569
570 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
571
572 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
573 global CC.
574
575 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
576
577 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
578 above .progmem*.
579 * scripttempl/avrtiny.sc (text): Likewise.
580
581 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
582
583 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
584 `supports_gnu_unique' to qualify testing.
585
586 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
587
588 * testsuite/ld-elf/flags1.d: Update the xfail list.
589
590 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
591
592 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
593 removal.
594
595 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
596
597 PR ld/20097
598 * testplug2.c (onall_symbols_read): Remove redundant sizeof
599 on EXPECTED_VIEW_LENGTH.
600 * testplug4.c (onall_symbols_read): Likewise.
601
602 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
603
604 PR ld/20093
605 * testsuite/ld-x86-64/pr20093-1.d: New file.
606 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
607 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
608 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
609 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
610
611 2016-05-13 Alan Modra <amodra@gmail.com>
612
613 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
614 Use different output file name for static app without .rel.plt.
615 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
616 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
617 * testsuite/ld-arm/arm-no-rel-plt.r: New.
618 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
619 * testsuite/ld-arm/arm-static-app.r: Likewise.
620
621 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
622
623 PR ld/20070
624 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
625 (libldtestplug4_la_SOURCES): New.
626 (libldtestplug4_la_CFLAGS): Likewise.
627 (libldtestplug4_la_LDFLAGS): Likewise.
628 * Makefile.in: Regenerated.
629 * plugin.c (get_symbols): Return resolution based on IR symbol
630 kinds for symbols defined/referenced only within IR.
631 * testplug4.c: New file.
632 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
633 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
634 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
635 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
636 (plugin4_path): Likewise.
637 Add a test for ld/20070.
638
639 2016-05-11 Alan Modra <amodra@gmail.com>
640
641 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
642 Call elf32_hppa_init_stub_bfd.
643
644 2016-05-11 Alan Modra <amodra@gmail.com>
645
646 PR 20060
647 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
648 * testsuite/ld-powerpc/tlsdll.s: New.
649 * testsuite/ld-powerpc/tlsdll.ver: New.
650 * testsuite/ld-powerpc/tlsdll_32.s: New.
651 * testsuite/ld-powerpc/tlsopt5.d: New.
652 * testsuite/ld-powerpc/tlsopt5.s: New.
653 * testsuite/ld-powerpc/tlsopt5_32.d: New.
654 * testsuite/ld-powerpc/tlsopt5_32.s: New.
655
656 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
657
658 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
659 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
660
661 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
662
663 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
664 parameter and rename input_section parameter to after_input_section.
665 Append input stub section to the output section if after_input_section
666 is NULL.
667
668 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
669
670 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
671 test.
672 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
673 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
674
675 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
676
677 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
678
679 2016-05-09 Christophe Monat <christophe.monat@st.com>
680
681 PR ld/20030
682 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
683 tests. Fix misnamed stm32l4xx-fix-all.
684 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
685 loads with DP registers.
686 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
687 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
688 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
689 loads with DP registers.
690 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
691
692 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
693
694 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
695 program headers.
696 (xfail): Remove avr-*-*.
697 Update regex to check the section flags.
698 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
699
700 2016-05-09 Alan Modra <amodra@gmail.com>
701
702 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
703 * Makefile.in: Regenerate.
704
705 2016-05-09 Alan Modra <amodra@gmail.com>
706
707 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
708 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
709 * testsuite/ld-scripts/section-match-1.t: Likewise.
710
711 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
712
713 PR ld/17550
714 * testsuite/ld-elf/pr17550-1.s: New file.
715 * testsuite/ld-elf/pr17550-2.s: Likewise.
716 * testsuite/ld-elf/pr17550-3.s: Likewise.
717 * testsuite/ld-elf/pr17550-4.s: Likewise.
718 * testsuite/ld-elf/pr17550a.d: Likewise.
719 * testsuite/ld-elf/pr17550b.d: Likewise.
720 * testsuite/ld-elf/pr17550c.d: Likewise.
721 * testsuite/ld-elf/pr17550d.d: Likewise.
722
723 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
724
725 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
726
727 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
728
729 * testsuite/ld-i386/i386.exp: Run load7.
730 * testsuite/ld-i386/load7.d: New file.
731 * testsuite/ld-i386/load7.map: Likewise.
732 * testsuite/ld-i386/load7.s: Likewise.
733 * testsuite/ld-x86-64/load2.d: Likewise.
734 * testsuite/ld-x86-64/load2.map: Likewise.
735 * testsuite/ld-x86-64/load2.s: Likewise.
736 * testsuite/ld-x86-64/x86-64.exp: Run load2.
737
738 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
739
740 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
741 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
742 Likewise.
743 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
744 Likewise.
745
746 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
747
748 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
749
750 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
751
752 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
753
754 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
755
756 * testsuite/ld-unique/unique.d: New test.
757 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
758 messages for compiled tests.
759
760 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
761
762 * testsuite/ld-elf/pr18735.d: Allow other symbols.
763 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
764 * testsuite/ld-gc/pr14265.d: Allow other symbols.
765 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
766 plugin_tests only if check_shared_lib_support is true.
767 * testsuite/ld-selective/selective.exp: Add --section-start
768 flag for avr.
769
770 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
771
772 PR 10549
773 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
774
775 2016-05-03 Jiong Wang <jiong.wang@arm.com>
776
777 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
778 * NEWS: Mention --no-apply-dynamic-relocs.
779 * ld.texinfo (ld and the ARM family): Document
780 --no-apply-dynamic-relocs.
781 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
782 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
783 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
784 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
785 option.
786
787 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
788
789 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
790 before running STT_COMMON tests.
791
792 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
793
794 * config/default.exp (NOPIE_CFLAGS): Download source only on
795 remote host.
796 (NOPIE_LDFLAGS): Likewise.
797 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
798 (check_lto_fat_available): Likewise.
799 (check_lto_shared_available): Likewise.
800 (check_ifunc_available): Likewise.
801 (check_ifunc_attribute_available): Likewise.
802
803 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
804
805 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
806
807 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
808
809 PR ld/20006
810 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
811 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
812 ELF targets.
813
814 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
815
816 * testsuite/ld-elf/compressed1b.d: Pass
817 --compress-debug-sections=none to ld.
818 * testsuite/ld-elf/compressed1c.d: Likewise.
819
820 2016-04-27 Alan Modra <amodra@gmail.com>
821
822 PR target/19985
823 * configure.tgt: Don't use var+=.
824
825 2016-04-25 Nick Clifton <nickc@redhat.com>
826
827 PR target/19985
828 * configure.tgt: Include big endian PPC64 emulations with little
829 endian PPC64 targets.
830
831 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
832
833 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
834
835 2016-04-21 Nick Clifton <nickc@redhat.com>
836
837 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
838 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
839 targets. Do not stop the checks when problems are encountered.
840
841 2016-04-21 Alan Modra <amodra@gmail.com>
842
843 * testsuite/ld-scripts/cross3.t: Add commonly used data
844 and text section names to output section statements.
845 * testsuite/ld-scripts/cross4.t: Likewise.
846 * testsuite/ld-scripts/cross5.t: Likewise.
847 * testsuite/ld-scripts/cross6.t: Likewise.
848 * testsuite/ld-scripts/cross7.t: Likewise.
849
850 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
851
852 * ldlang.c (lang_check_relocs): New function.
853 (lang_process): Call lang_check_relocs after lang_gc_sections.
854 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
855 call _bfd_elf_link_check_relocs here.
856
857 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
858
859 PR ld/19972
860 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
861 R_386_NONE or R_X86_64_NONE.
862
863 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
864
865 * testsuite/ld-x86-64/pic1.d: New file.
866 * testsuite/ld-x86-64/pic1.s: Likewise.
867 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
868
869 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
870
871 * testsuite/ld-x86-64/pie2.d: New file.
872 * testsuite/ld-x86-64/pie2.s: Likewise.
873 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
874
875 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
876
877 PR ld/19969
878 * testsuite/ld-x86-64/pr19969.d: New file.
879 * testsuite/ld-x86-64/pr19969a.S: Likewise.
880 * testsuite/ld-x86-64/pr19969b.S: Likewise.
881 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
882
883 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
884
885 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
886 New.
887 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
888 Likewise.
889 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
890 Likewise.
891 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
892 Likewise.
893 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
894 Likewise.
895 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
896 Likewise.
897 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
898 Likewise.
899 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
900 Likewise.
901 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
902 Set check_relocs_after_open_input to TRUE if
903 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
904 (gld${EMULATION_NAME}_after_open): Call
905 _bfd_elf_link_check_relocs on all inputs if
906 check_relocs_after_open_input is TRUE.
907
908 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
909
910 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
911 my_personality_v0.
912
913 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
914
915 * emultempl/scoreelf.em: Likewise.
916
917 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
918
919 PR ld/19719
920 * testsuite/ld-x86-64/pr19719.d: New file.
921 * testsuite/ld-x86-64/pr19719.s: Likewise.
922 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
923
924 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
925
926 * ld.texinfo: Document NOCROSSREFS_TO script command.
927 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
928 (lang_add_nocrossref_to): New prototype.
929 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
930 symbols defined in the first section.
931 (check_nocrossref): Likewise.
932 * ldgram.y (NOCROSSREFS_TO): New script command.
933 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
934 (lang_add_nocrossref_to): New function.
935 * ldlex.l (NOCROSSREFS_TO): New token.
936 * NEWS: Mention NOCROSSREFS_TO.
937 * testsuite/ld-scripts/cross4.t: New file.
938 * testsuite/ld-scripts/cross5.t: Likewise.
939 * testsuite/ld-scripts/cross6.t: Likewise.
940 * testsuite/ld-scripts/cross7.t: Likewise.
941 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
942 tests.
943
944 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
945
946 * Makefile.in: Regenerated with automake 1.11.6.
947 * aclocal.m4: Likewise.
948
949 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
950
951 * testsuite/ld-arc/arc.exp: New file.
952 * testsuite/ld-arc/nps-1.s: New file.
953 * testsuite/ld-arc/nps-1a.d: New file.
954 * testsuite/ld-arc/nps-1b.d: New file.
955 * testsuite/ld-arc/nps-1b.err: New file.
956
957 2016-04-14 Nick Clifton <nickc@redhat.com>
958
959 PR 19457
960 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
961 exceptions for Mingw and Cygwin.
962
963 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
964
965 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
966 check_ld(terminal).
967
968 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
969
970 PR ld/19774
971 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
972 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
973 tests.
974
975 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
976
977 PR ld/19939
978 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
979 * testsuite/ld-x86-64/x86-64.exp: Likewise.
980 * testsuite/ld-i386/pr19939.s: New file.
981 * testsuite/ld-i386/pr19939a.d: Likewise.
982 * testsuite/ld-i386/pr19939b.d: Likewise.
983 * testsuite/ld-x86-64/pr19939.s: Likewise.
984 * testsuite/ld-x86-64/pr19939a.d: Likewise.
985 * testsuite/ld-x86-64/pr19939b.d: Likewise.
986
987 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
988
989 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
990
991 2016-04-08 Alan Modra <amodra@gmail.com>
992
993 PR 18452
994 * ldlang.c (maybe_overlays): Delete.
995 (lang_size_sections_1): Remove code setting maybe_overlays.
996 (lang_check_section_addresses): Instead detect overlays by
997 exact match of section VMAs here. Fix memory leak.
998
999 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1000
1001 * ldlang.c (print_output_section_statement): Show minfo size
1002 in target machine address units.
1003 (print_reloc_statement): Likewise.
1004 (print_padding_statement): Likewise.
1005 (print_data_statement): Likewise. Ensure minimum print_dot
1006 increment of one address unit.
1007
1008 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1009
1010 * emulparams/arc-endianness.sh: Make little endian default choice.
1011
1012 2016-04-07 Nick Clifton <nickc@redhat.com>
1013
1014 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1015 section name.
1016 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1017
1018 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1019
1020 * emulparams/arc-endianness.sh: New file.
1021 * emulparams/arcebelf.sh: Deleted.
1022 * emulparams/arcebelf_prof.sh: Deleted.
1023 * emulparams/arceblinux.sh: Deleted.
1024 * emulparams/arceblinux_prof.sh: Deleted.
1025 * emulparams/arcelf.sh: Include arc-endinness.sh.
1026 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1027 * emulparams/arclinux.sh: Include arc-endinness.sh.
1028 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1029 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1030 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1031 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1032 little endian arc targets.
1033 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1034 * testsuite/ld-elf/group1.d: Likewise.
1035 * testsuite/ld-elf/group3b.d: Likewise.
1036 * testsuite/ld-elf/group8a.d: Likewise.
1037 * testsuite/ld-elf/group8b.d: Likewise.
1038 * testsuite/ld-elf/group9a.d: Likewise.
1039 * testsuite/ld-elf/group9b.d: Likewise.
1040 * testsuite/ld-elf/linkonce2.d: Likewise.
1041 * testsuite/ld-elf/pr12851.d: Likewise.
1042 * testsuite/ld-elf/pr12975.d: Likewise.
1043 * testsuite/ld-elf/pr13177.d: Likewise.
1044 * testsuite/ld-elf/pr13195.d: Likewise.
1045 * testsuite/ld-elf/pr17615.d: Likewise.
1046 * testsuite/ld-elf/pr19162.d: Likewise.
1047 * testsuite/ld-elf/sec64k.exp: Likewise.
1048 * testsuite/lib/ld-lib.exp: Likewise.
1049
1050 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1051
1052 PR ld/19908
1053 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1054 handling fix.
1055 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1056 * testsuite/ld-cris/tls-e-21.d: Likewise.
1057 * testsuite/ld-cris/tls-e-23.d: Likewise.
1058 * testsuite/ld-cris/tls-e-80.d: Likewise.
1059 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1060 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1061 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1062 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1063 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1064 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1065 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1066 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1067 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1068 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1069
1070 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1071
1072 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1073 * testsuite/ld-discard/start.d: Likewise.
1074 * testsuite/ld-discard/static.d: Likewise.
1075 * testsuite/ld-elf/group1.d: Likewise.
1076 * testsuite/ld-elf/group3b.d: Likewise.
1077 * testsuite/ld-elf/orphan-region.d: Likewise.
1078 * testsuite/ld-elf/orphan.d: Likewise.
1079 * testsuite/ld-elf/orphan3.d: Likewise.
1080 * testsuite/ld-elf/pr349.d: Likewise.
1081 * testsuite/ld-elf/warn1.d: Likewise.
1082 * testsuite/ld-elf/warn2.d: Likewise.
1083 * testsuite/ld-elf/warn3.d: Likewise.
1084 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1085 through linker flags.
1086 * testsuite/ld-srec/srec.exp: Set as xfail.
1087
1088 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1089
1090 PR ld/19827
1091 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1092 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1093
1094 2016-04-04 Nick Clifton <nickc@redhat.com>
1095
1096 PR 19803
1097 * emultempl/pe.em (change_undef): New function. Encapsulates
1098 duplicated code in pe_fixup_stdcalls and adds the newly defined
1099 sym to the gc root list.
1100 (pe_fixup_stdcall): Use the new function.
1101 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1102 symbol to gc root list.
1103
1104 2016-03-31 Alan Modra <amodra@gmail.com>
1105
1106 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1107 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1108 (print_input_section): Don't use TO_ADDR when printing section
1109 size.
1110 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1111 (lang_size_sections): Use TO_ADDR in relro end calculation.
1112
1113 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1114
1115 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1116 value from regexp_diff.
1117 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1118 * testsuite/ld-elf/orphan-6.l: Likewise.
1119
1120 2016-03-30 Alan Modra <amodra@gmail.com>
1121
1122 PR 18452
1123 * ldlang.c (maybe_overlays): New static var.
1124 (lang_size_sections_1): Set it here.
1125 (struct check_sec): New.
1126 (sort_sections_by_lma): Adjust for array of structs.
1127 (sort_sections_by_vma): New function.
1128 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1129 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1130
1131 2016-03-30 Alan Modra <amodra@gmail.com>
1132
1133 * ldlang.c (lang_size_sections_1): Correct code detecting a
1134 backward non-overlapping move.
1135
1136 2016-03-30 Alan Modra <amodra@gmail.com>
1137
1138 * ldlang.c (IS_TBSS): New macro, extracted from..
1139 (IGNORE_SECTION): ..here.
1140 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1141 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1142
1143 2016-03-22 Nick Clifton <nickc@redhat.com>
1144
1145 PR ld/19803
1146 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1147 symbol name to the list of gc symbols.
1148 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1149 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1150 and fini function names.
1151 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1152 the gc symbol list.
1153 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1154 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1155
1156 2016-03-22 Nick Clifton <nickc@redhat.com>
1157
1158 * configure: Regenerate.
1159
1160 2016-03-21 Nick Clifton <nickc@redhat.com>
1161
1162 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1163 * plugin.c: Likewise.
1164 * pe-dll.c: Likewise.
1165
1166 2016-03-18 Awson <kyrab@mail.ru>
1167
1168 PR 19531
1169 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1170 this section.
1171 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1172
1173 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1174
1175 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1176
1177 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1178
1179 PR ld/19827
1180 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1181 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1182 * testsuite/ld-i386/pr19827.rd: New file.
1183 * testsuite/ld-i386/pr19827a.S: Likewise.
1184 * testsuite/ld-i386/pr19827b.S: Likewise.
1185 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1186 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1187 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1188
1189 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1190
1191 PR ld/19807
1192 * Makefile.am (ELF_X86_DEPS): Add
1193 $(srcdir)/emulparams/reloc_overflow.sh.
1194 * Makefile.in: Regenerated.
1195 * NEWS: Mention -z noreloc-overflow.
1196 * ld.texinfo: Document -z noreloc-overflow.
1197 * emulparams/elf32_x86_64.sh: Source
1198 ${srcdir}/emulparams/reloc_overflow.sh.
1199 * emulparams/elf_x86_64.sh: Likewise.
1200 * emulparams/reloc_overflow.sh: New file.
1201 * testsuite/ld-x86-64/pr19807-1.s: New file.
1202 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1203 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1204 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1205 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1206 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1207 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1208 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1209 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1210 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1211
1212 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 PR ld/19539
1215 * testsuite/ld-i386/i386.exp: Run pr19539.
1216 * testsuite/ld-i386/pr19539.d: New file.
1217 * testsuite/ld-i386/pr19539.s: Likewise.
1218 * testsuite/ld-i386/pr19539.t: Likewise.
1219 * testsuite/ld-x86-64/pr19539.s: Likewise.
1220 * testsuite/ld-x86-64/pr19539.t: Likewise.
1221 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1222 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1223 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1224
1225 2016-03-10 Mickael Guene <mickael.guene@st.com>
1226
1227 PR gas/19744
1228 * testsuite/ld-arm/arm-elf.exp: New tests.
1229 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1230 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1231
1232 2016-03-10 Nick Clifton <nickc@redhat.com>
1233
1234 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1235
1236 2016-03-09 Pedro Alves <palves@redhat.com>
1237
1238 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1239 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1240
1241 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 PR ld/19789
1244 * testsuite/ld-elf/pr19789.d: New file.
1245 * testsuite/ld-elf/pr19789.s: Likewise.
1246
1247 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1248
1249 PR ld/19784
1250 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1251 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1252 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1253 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1254 * testsuite/ld-ifunc/pass.out: New file.
1255 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1256 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1257 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1258
1259 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1260
1261 PR ld/19774
1262 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1263 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1264 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1265 --as-needed for pr18841c.
1266
1267 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1268
1269 PR ld/19774
1270 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1271 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1272 before tmpdir/got1d.so and test --as-needed.
1273 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1274 tmpdir/pr18900.so and test --as-needed.
1275
1276 2016-03-07 Jiong Wang <jiong.wang@arm.com>
1277
1278 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1279 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1280 result.
1281 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1282
1283 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1284
1285 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1286 before tmpdir/copyreloc-lib.so and test --as-needed.
1287 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1288
1289 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1290
1291 PR ld/19579
1292 * testsuite/ld-elf/pr19579a.c: New file.
1293 * testsuite/ld-elf/pr19579b.c: Likewise.
1294 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1295
1296 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1297
1298 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1299
1300 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1303 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1304
1305 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 PR ld/19739
1308 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1309 input sections for relocatable link.
1310 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1311 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1312
1313 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1314
1315 PR ld/19739
1316 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
1317 merge flags of other input sections for relocatable link.
1318
1319 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1322
1323 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 * testsuite/ld-elf/pr19162.d: Skip arc target.
1326
1327 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1328
1329 PR ld/19162
1330 * testsuite/ld-elf/pr19162.d: New file.
1331 * testsuite/ld-elf/pr19162a.s: Likwise.
1332 * testsuite/ld-elf/pr19162b.s: Likwise.
1333
1334 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1335
1336 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1337 * testsuite/ld-elf/merge2.d: Likewise.
1338 * testsuite/ld-elf/merge3.d: Likewise.
1339
1340 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1341
1342 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1343 generated.
1344
1345 2016-02-26 Renlin Li <renlin.li@arm.com>
1346
1347 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1348 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1349 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1350 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1351 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1352 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1353 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1354 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1355 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1356 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1357
1358 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 PR ld/19609
1361 * testsuite/ld-i386/got1.dd: Updated.
1362 * testsuite/ld-i386/lea1c.d: Likewise.
1363 * testsuite/ld-i386/load1-nacl.d: Likewise.
1364 * testsuite/ld-i386/load1.d: Likewise.
1365 * testsuite/ld-i386/load4b.d: Likewise.
1366 * testsuite/ld-i386/load5b.d: Likewise.
1367 * testsuite/ld-i386/mov1b.d: Likewise.
1368 * testsuite/ld-x86-64/mov1b.d: Likewise.
1369 * testsuite/ld-x86-64/mov1d.d: Likewise.
1370 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1371 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1372 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1373 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1374 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1375 * testsuite/ld-x86-64/lea1a.d: Likewise.
1376 * testsuite/ld-x86-64/lea1b.d: Likewise.
1377 * testsuite/ld-x86-64/lea1c.d: Likewise.
1378 * testsuite/ld-x86-64/lea1d.d: Likewise.
1379 * testsuite/ld-x86-64/lea1e.d: Likewise.
1380 * testsuite/ld-x86-64/lea1f.d: Likewise.
1381 * testsuite/ld-x86-64/mov1b.d: Likewise.
1382 * testsuite/ld-x86-64/mov1d.d: Likewise.
1383 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1384 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1385 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1386 * testsuite/ld-i386/pr19609-1.s: New file.
1387 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1388 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1389 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1390 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1391 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1392 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1393 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1394 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1395 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1396 * testsuite/ld-i386/pr19609-2.s: Likewise.
1397 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1398 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1399 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1400 * testsuite/ld-i386/undefweak.s: Likewise.
1401 * testsuite/ld-i386/undefweaka.d: Likewise.
1402 * testsuite/ld-i386/undefweakb.d: Likewise.
1403 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1404 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1405 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1406 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1407 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1408 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1409 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1410 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1411 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1412 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1413 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1414 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1415 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1416 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1417 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1418 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1419 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1420 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1421 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1422 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1423 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1424 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1425 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1426 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1427 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1428 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1429 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1430 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1431 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1432 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1433 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1434 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1435 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1436 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1437 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1438 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1439 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1440 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1441 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1442 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1443 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1444 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1445 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1446 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1447 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1448 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1449 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1450 PR ld/19609.
1451 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1452 and tests for PR ld/19609.
1453
1454 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1455
1456 PR ld/19645
1457 * NEWS: Mention -z common/-z nocommon for ELF targets.
1458 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1459 -z common and -z nocommon.
1460 * ld.texinfo: Document -z common/-z nocommon.
1461 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1462 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1463 --elf-stt-common=yes with assembler.
1464 * testsuite/ld-elfcomm/common-1.s: New file.
1465 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1466 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1467 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1468 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1469 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1470 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1471 * testsuite/ld-elfcomm/common-2.s: Likewise.
1472 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1473 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1474 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1475 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1476 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1477 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1478 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1479 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1480 * testsuite/ld-i386/pr19645.d: Likewise.
1481 * testsuite/ld-i386/pr19645.s: Likewise.
1482 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1483 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1484 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1485 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1486 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1487 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1488 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1489 * testsuite/ld-x86-64/pr19645.d: Likewise.
1490 * testsuite/ld-x86-64/pr19645.s: Likewise.
1491 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1492 with assembler.
1493 (assembler_generates_commons): Removed.
1494 Run -z common/-z nocommon tests. Run *.d tests.
1495 * testsuite/ld-i386/i386.exp: Run pr19645.
1496 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1497 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1498 assembler. Test STT_COMMON with readelf.
1499
1500 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1501
1502 PR ld/19636
1503 PR ld/19704
1504 PR ld/19719
1505 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1506 * Makefile.in: Regenerated.
1507 * NEWS: Mention -z nodynamic-undefined-weak.
1508 * ld.texinfo: Document -z nodynamic-undefined-weak.
1509 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1510 * emulparams/dynamic_undefined_weak.sh: New file.
1511 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1512 * emulparams/elf_i386.sh: Likewise.
1513 * emulparams/elf_i386_be.sh: Likewise.
1514 * emulparams/elf_i386_chaos.sh: Likewise.
1515 * emulparams/elf_i386_ldso.sh: Likewise.
1516 * emulparams/elf_i386_vxworks.sh: Likewise.
1517 * emulparams/elf_iamcu.sh: Likewise.
1518 * emulparams/elf_k1om.sh: Likewise.
1519 * emulparams/elf_l1om.sh: Likewise.
1520 * emulparams/elf_x86_64.sh: Likewise.
1521 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1522 Append.
1523 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1524 * testsuite/ld-elf/pr19719a.c: New file.
1525 * testsuite/ld-elf/pr19719b.c: Likewise.
1526 * testsuite/ld-elf/pr19719c.c: Likewise.
1527 * testsuite/ld-elf/pr19719d.c: Likewise.
1528 * testsuite/ld-i386/pr19636-1.s: Likewise.
1529 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1530 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1531 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1532 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1533 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1534 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1535 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1536 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1537 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1538 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1539 * testsuite/ld-i386/pr19636-2.s: Likewise.
1540 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1541 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1542 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1543 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1544 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1545 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1546 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1547 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1548 * testsuite/ld-i386/pr19636-3.s: Likewise.
1549 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1550 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1551 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1552 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1553 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1554 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1555 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1556 * testsuite/ld-i386/pr19636-4.s: Likewise.
1557 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1558 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1559 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1560 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1561 * testsuite/ld-i386/pr19704.out: Likewise.
1562 * testsuite/ld-i386/pr19704a.c: Likewise.
1563 * testsuite/ld-i386/pr19704b.c: Likewise.
1564 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1565 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1566 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1567 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1568 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1569 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1570 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1571 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1572 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1573 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1574 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1575 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1576 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1577 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1578 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1579 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1580 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1581 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1582 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1583 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1584 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1585 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1586 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1587 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1588 * testsuite/ld-x86-64/pr19704.out: Likewise.
1589 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1590 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1591 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1592 Run mix_pic_and_non_pic.
1593 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1594 Run undefined_weak and PR ld/19636 tests.
1595 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1596 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1597 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1598
1599 2016-02-25 Nick Clifton <nickc@redhat.com>
1600
1601 * ld.h (struct ld_config_type): Remove specified_data_size field.
1602
1603 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1604
1605 PR ld/19698
1606 * testsuite/ld-elf/pr19698.d: New file.
1607 * testsuite/ld-elf/pr19698.s: Likewise.
1608 * testsuite/ld-elf/pr19698.t: Likewise.
1609
1610 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1611
1612 * Makefile.am (ELF_X86_DEPS): New.
1613 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1614 (eelf_i386_chaos.c): Likewise.
1615 (eelf_i386_fbsd.c): Likewise.
1616 (eelf_i386_ldso.c): Likewise.
1617 (eelf_i386_nacl.c): Likewise.
1618 (eelf_i386_sol2.c): Likewise.
1619 (eelf_iamcu.c): Likewise.
1620 (eelf32_x86_64.c): Likewise.
1621 (eelf32_x86_64_nacl.c): Likewise.
1622 (eelf_l1om.c): Likewise.
1623 (eelf_l1om_fbsd.c): Likewise.
1624 (eelf_k1om.c): Likewise.
1625 (eelf_k1om_fbsd.c): Likewise.
1626 (eelf_x86_64.c): Likewise.
1627 (eelf_x86_64_cloudabi.c): Likewise.
1628 (eelf_x86_64_fbsd.c): Likewise.
1629 (eelf_x86_64_sol2.c): Likewise.
1630 * Makefile.in: Regenerated.
1631
1632 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1633
1634 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1635 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1636 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1637 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1638
1639 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1640
1641 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1642
1643 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1644
1645 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1646 *-*-gnu* and *-*-solaris*.
1647 * testsuite/ld-elf/pr19617b.d: Likewise.
1648 * testsuite/ld-elf/pr19617c.d: Likewise.
1649
1650 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1651
1652 PR ld/19617
1653 * testsuite/ld-elf/pr19617.s: New file.
1654 * testsuite/ld-elf/pr19617a.d: Likewise.
1655 * testsuite/ld-elf/pr19617b.d: Likewise.
1656 * testsuite/ld-elf/pr19617c.d: Likewise.
1657
1658 2016-02-18 Nick Clifton <nickc@redhat.com>
1659
1660 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1661 in-tree xg++ executable after checking for the presence of an
1662 in-tree g++ executable.
1663 * Makefile.in: Regenerate.
1664
1665 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1668 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1669 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1670
1671 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1674 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1675 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1676 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1677 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1678 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1679 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1680 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1681 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1682 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1683 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1684 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1685 * testsuite/ld-x86-64/load1c.d: Likewise.
1686 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1687 * testsuite/ld-x86-64/load1d.d: Likewise.
1688 * testsuite/ld-x86-64/pr14207.d: Likewise.
1689 * testsuite/ld-x86-64/pr19162.d: Likewise.
1690 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1691 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1692 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1693 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1694 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1695 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1696
1697 2016-02-17 Nick Clifton <nickc@redhat.com>
1698
1699 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1700
1701 2016-02-15 Nick Clifton <nickc@redhat.com>
1702
1703 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1704 description of the flags produced by readelf.
1705 * testsuite/ld-i386/pr12921.d: Likewise.
1706 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1707 * testsuite/ld-i386/tlsbin.rd: Likewise.
1708 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1709 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1710 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1711 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1712 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1713 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1714 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1715 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1716 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1717 * testsuite/ld-i386/tlspic.rd: Likewise.
1718 * testsuite/ld-s390/tlsbin.rd: Likewise.
1719 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1720 * testsuite/ld-s390/tlspic.rd: Likewise.
1721 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1722 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1723 * testsuite/ld-sh/tlspic-2.d: Likewise.
1724 * testsuite/ld-tic6x/common.d: Likewise.
1725 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1726 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1727 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1728 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1729 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1730 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1731 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1732 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1733 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1734 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1735 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1736 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1737 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1738 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1739 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1740 * testsuite/ld-x86-64/pr12718.d: Likewise.
1741 * testsuite/ld-x86-64/pr12921.d: Likewise.
1742 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1743 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1744 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1745 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1746 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1747 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1748 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1749 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1750 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1751 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1752 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1753 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1754 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1755 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1756
1757 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 PR ld/19615
1760 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1761 PIE.
1762 * lexsup.c (parse_args): Enable -Bsymbolic and
1763 -Bsymbolic-functions for PIE.
1764 * testsuite/ld-i386/i386.exp: Run pr19615.
1765 * testsuite/ld-i386/pr19615.d: New file.
1766 * testsuite/ld-i386/pr19615.s: Likewise.
1767 * testsuite/ld-x86-64/pr19615.d: Likewise.
1768 * testsuite/ld-x86-64/pr19615.s: Likewise.
1769
1770 2016-02-09 Nick Clifton <nickc@redhat.com>
1771
1772 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1773 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1774 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1775 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1776
1777 2016-02-04 Nick Clifton <nickc@redhat.com>
1778
1779 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1780 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1781 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1782 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1783 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1784 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1785 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1786 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1787 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1788
1789 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 PR gas/19520
1792 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1793 * testsuite/ld-i386/call1.d: Likewise.
1794 * testsuite/ld-i386/call2.d: Likewise.
1795 * testsuite/ld-i386/call3a.d: Likewise.
1796 * testsuite/ld-i386/call3b.d: Likewise.
1797 * testsuite/ld-i386/call3c.d: Likewise.
1798 * testsuite/ld-i386/call3d.d: Likewise.
1799 * testsuite/ld-i386/call3e.d: Likewise.
1800 * testsuite/ld-i386/call3f.d: Likewise.
1801 * testsuite/ld-i386/call3g.d: Likewise.
1802 * testsuite/ld-i386/call3h.d: Likewise.
1803 * testsuite/ld-i386/jmp1.d: Likewise.
1804 * testsuite/ld-i386/jmp2.d: Likewise.
1805 * testsuite/ld-i386/lea1c.d: Likewise.
1806 * testsuite/ld-i386/load1.d: Likewise.
1807 * testsuite/ld-i386/load2.d: Likewise.
1808 * testsuite/ld-i386/load3.d: Likewise.
1809 * testsuite/ld-i386/load4a.d: Likewise.
1810 * testsuite/ld-i386/load5a.d: Likewise.
1811 * testsuite/ld-i386/mov2b.d: Likewise.
1812 * testsuite/ld-i386/mov3.d: Likewise.
1813 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1814 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1815 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1816 * testsuite/ld-x86-64/call1a.d: Likewise.
1817 * testsuite/ld-x86-64/call1b.d: Likewise.
1818 * testsuite/ld-x86-64/call1c.d: Likewise.
1819 * testsuite/ld-x86-64/call1d.d: Likewise.
1820 * testsuite/ld-x86-64/call1e.d: Likewise.
1821 * testsuite/ld-x86-64/call1f.d: Likewise.
1822 * testsuite/ld-x86-64/call1h.d: Likewise.
1823 * testsuite/ld-x86-64/call1i.d: Likewise.
1824 * testsuite/ld-x86-64/load1a.d: Likewise.
1825 * testsuite/ld-x86-64/load1b.d: Likewise.
1826 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1827 * testsuite/ld-i386/got1.dd: Updated.
1828 * testsuite/ld-i386/got1d.S (1): Removed.
1829 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1830 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1831
1832 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 PR ld/18591
1835 * testsuite/ld-x86-64/pr18591.d: New file.
1836 * testsuite/ld-x86-64/pr18591.s: Likewise.
1837 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1838
1839 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1840
1841 PR ld/19553
1842 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1843 * testsuite/ld-elf/pr19553.map: New file.
1844 * testsuite/ld-elf/pr19553.map: Likewise.
1845 * testsuite/ld-elf/pr19553a.c: Likewise.
1846 * testsuite/ld-elf/pr19553b.c: Likewise.
1847 * testsuite/ld-elf/pr19553b.out: Likewise.
1848 * testsuite/ld-elf/pr19553c.c: Likewise.
1849 * testsuite/ld-elf/pr19553c.out: Likewise.
1850 * testsuite/ld-elf/pr19553d.c: Likewise.
1851 * testsuite/ld-elf/pr19553d.out: Likewise.
1852
1853 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 PR ld/19539
1856 * testsuite/ld-elf/pr19539.d: New file.
1857 * testsuite/ld-elf/pr19539.s: Likewise.
1858 * testsuite/ld-elf/pr19539.t: Likewise.
1859
1860 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 PR ld/19533
1863 * configure.ac (compressed_debug_sections): Replace == with =.
1864 * configure: Regenerated.
1865
1866 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1867
1868 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1869 * scripttempl/avrtiny.sc (.noinit): Likewise.
1870
1871 2016-01-21 Nick Clifton <nickc@redhat.com>
1872
1873 PR ld/19453
1874 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1875 the arm-netbsdelf target.
1876
1877 PR ld/19455
1878 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1879 disassmebler output.
1880 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1881 * testsuite/ld-arm/vxworks1.dd: Likewise.
1882 * testsuite/ld-arm/vxworks1.rd: Likewise.
1883 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1884
1885 2016-01-20 Jiong Wang <jiong.wang@arm.com>
1886
1887 * testsuite/ld-aarch64/farcall-section.d: Delete.
1888 * testsuite/ld-aarch64/farcall-section.s: Delete.
1889 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1890 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1891 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1892 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1893 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1894
1895 2016-01-20 Nick Clifton <nickc@redhat.com>
1896
1897 PR 19457
1898 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1899 early for PE based targets.
1900 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1901 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1902
1903 2016-01-20 Mickael Guene <mickael.guene@st.com>
1904
1905 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1906 Add 'y' attribute usage.
1907 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1908 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1909 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1910
1911 2016-01-19 Nick Clifton <nickc@redhat.com>
1912
1913 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1914 foo@FOO and bar@@FOO.
1915
1916 2016-01-18 Alan Modra <amodra@gmail.com>
1917
1918 * configure: Regenerate.
1919
1920 2016-01-18 Nick Clifton <nickc@redhat.com>
1921
1922 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1923 is not configured to support plugins.
1924
1925 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1926 but with 16 byte section alignment.
1927 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1928 test for MIPS targets.
1929
1930 2016-01-17 Alan Modra <amodra@gmail.com>
1931
1932 * configure: Regenerate.
1933
1934 2016-01-17 Alan Modra <amodra@gmail.com>
1935
1936 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1937 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1938 * testsuite/ld-elf/pr14156a.d: Likewise.
1939 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1940 * testsuite/ld-elf/sec64k.exp: Likewise.
1941
1942 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1943
1944 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1945 Set address of .foo section when linking.
1946 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1947 in .foo section.
1948 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1949 output to the above changes.
1950
1951 2016-01-13 Nick Clifton <nickc@redhat.com>
1952
1953 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1954 for MIPS targets.
1955
1956 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1957 fail for MIPS targets.
1958
1959 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1960 MIPS targets.
1961
1962 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1963
1964 * testsuite/ld-arm/arm-elf.exp: New test.
1965 * testsuite/ld-arm/unwind-mix.d: New file.
1966 * testsuite/ld-arm/unwind-mix1.s: New file.
1967 * testsuite/ld-arm/unwind-mix2.s: New file.
1968
1969 2016-01-08 Jiong Wang <jiong.wang@arm.com>
1970
1971 PR ld/19368
1972 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1973 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1974 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1975 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1976 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1977 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1978
1979 2016-01-05 Nick Clifton <nickc@redhat.com>
1980
1981 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1982 MSP430 hardware multiply address range.
1983 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1984 (__romdatacopysize): Define.
1985 * scripttempl/elf32msp430_3.sc: Likewise.
1986
1987 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1988
1989 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1990 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1991
1992 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1993
1994 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1995 messages expected according to MIPS BFD private data merge
1996 changes.
1997 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1998 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1999 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2000 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2001 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2002 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2003 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2004 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2005 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2006 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2007 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2008 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2009 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2010
2011 2016-01-01 Alan Modra <amodra@gmail.com>
2012
2013 Update year range in copyright notice of all files.
2014
2015 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2016 \f
2017 Copyright (C) 2016 Free Software Foundation, Inc.
2018
2019 Copying and distribution of this file, with or without modification,
2020 are permitted in any medium without royalty provided the copyright
2021 notice and this notice are preserved.
2022
2023 Local Variables:
2024 mode: change-log
2025 left-margin: 8
2026 fill-column: 74
2027 version-control: never
2028 End:
This page took 0.096093 seconds and 3 git commands to generate.