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