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