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