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