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