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