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