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