Fix new testcase for hppa64
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
56a30421
AM
12016-06-28 Alan Modra <amodra@gmail.com>
2
3 PR ld/20302
4 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
5
c9775dde
MR
62016-06-28 Maciej W. Rozycki <macro@imgtec.com>
7
8 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
9 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
10 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
11 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
12 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
13 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
14
42b7a39b
NC
152016-06-27 Nick Clifton <nickc@redhat.com>
16
17 PR ld/20302
18 * lexsup.c (set_segment_start): If resetting the start address of
19 a section, remember to generate a new script element as well.
20 * testsuite/ld-scripts/pr20302.d: New test.
21 * testsuite/ld-scripts/scripts.exp: Run the new test.
22
78da3bc1
AM
232016-06-24 Alan Modra <amodra@gmail.com>
24
25 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
26 Don't error out, always return an emulation.
27
da4463c7
L
282016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
29 H.J. Lu <hongjiu.lu@intel.com>
30
31 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
32 for -z relro help message.
33
4041bc9b
MR
342016-06-22 Maciej W. Rozycki <macro@imgtec.com>
35
36 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
37 address matching.
38
4861b804
MR
392016-06-22 Maciej W. Rozycki <macro@imgtec.com>
40
41 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
42 `undefweak-overflow' tests.
43
647e4d46
L
442016-06-22 H.J. Lu <hongjiu.lu@intel.com>
45
46 PR ld/20283
47 * NEWS: Mention --enable-relro.
48 * configure.ac: Add --enable-relro.
49 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
50 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
51 some Linux targets.
52 * config.in: Regenerated.
53 * configure: Likewise.
54 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
55 link_info.relro to DEFAULT_LD_Z_RELRO.
56 * testsuite/config/default.exp (ld_elf_shared_opt): New.
57 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
58 $ld_elf_shared_opt to ld for ELF targets with shared object
59 support.
60 (run_ld_link_tests): Likewise.
61
5f68df25
MR
622016-06-21 Maciej W. Rozycki <macro@imgtec.com>
63
64 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
65 twice rather than once.
66 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
67 accordingly. Remove the full stop from the end of the message.
68
bdd582db
GM
692016-06-21 Graham Markall <graham.markall@embecosm.com>
70
71 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
72 * testsuite/ld-arc/nps-1b.d: Likewise.
73
7dc3990e
L
742016-06-20 H.J. Lu <hongjiu.lu@intel.com>
75
76 PR ld/20267
77 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
78 PR ld/20267.
79 (lto_run_tests): Likewise.
80 * testsuite/ld-plugin/pr20267a.c: New file.
81 * testsuite/ld-plugin/pr20267b.c: Likewise.
82
0616a280
AM
832016-06-20 H.J. Lu <hongjiu.lu@intel.com>
84 Alan Modra <amodra@gmail.com>
85
86 PR ld/20276
87 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
88 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
89 PR ld/20276.
90 (lto_run_tests): Likewise.
91 * testsuite/ld-plugin/pass.out: New file.
92 * testsuite/ld-plugin/pr20276a.c: Likewise.
93 * testsuite/ld-plugin/pr20276b.c: Likewise.
94
49f30d83
L
952016-06-18 H.J. Lu <hongjiu.lu@intel.com>
96
97 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
98 with bfd_plugin_unknown.
99
233cc9c1
L
1002016-06-18 H.J. Lu <hongjiu.lu@intel.com>
101
102 PR ld/20253
103 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
104 * testsuite/ld-i386/no-plt.exp: Likewise.
105 * testsuite/ld-x86-64/no-plt.exp: Likewise.
106 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
107 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
108 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
109 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
110 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
111 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
112 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
113 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
114 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
115 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
116 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
117 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
118 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
119 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
120 * testsuite/ld-i386/pr20244-2b.d: Updated.
121 * testsuite/ld-i386/pr20244-2c.d: Likewise.
122 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
123 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
124 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
125 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
126 * testsuite/ld-i386/pr20253-1a.c: New file.
127 * testsuite/ld-i386/pr20253-1b.S: Likewise.
128 * testsuite/ld-i386/pr20253-1c.S: Likewise.
129 * testsuite/ld-i386/pr20253-1d.S: Likewise.
130 * testsuite/ld-i386/pr20253-2a.c: Likewise.
131 * testsuite/ld-i386/pr20253-2b.S: Likewise.
132 * testsuite/ld-i386/pr20253-2c.S: Likewise.
133 * testsuite/ld-i386/pr20253-2d.S: Likewise.
134 * testsuite/ld-i386/pr20253-3.d: Likewise.
135 * testsuite/ld-i386/pr20253-3.s: Likewise.
136 * testsuite/ld-i386/pr20253-4.s: Likewise.
137 * testsuite/ld-i386/pr20253-4a.d: Likewise.
138 * testsuite/ld-i386/pr20253-4b.d: Likewise.
139 * testsuite/ld-i386/pr20253-4c.d: Likewise.
140 * testsuite/ld-i386/pr20253-5.d: Likewise.
141 * testsuite/ld-i386/pr20253-5.s: Likewise.
142 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
143 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
144 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
145 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
146 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
147 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
148 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
149 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
150 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
151 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
152 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
153 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
154 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
155 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
156 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
157 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
158 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
159 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
160 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
161 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
162 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
163 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
164 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
165 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
166 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
167 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
168 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
169 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
170 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
171 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
172 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
173 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
174 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
175 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
176 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
177 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
178 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
179 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
180 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
181 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
182 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
183 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
184 relocation.
185 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
186 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
187 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
188 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
189 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
190
80c135e5
TP
1912016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
192 Tony Wang <tony.wang@arm.com>
193
194 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
195 Assemble for ARMv6-M.
196 (Thumb2-Thumb2 farcall M profile): New testcase.
197 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
198 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
199 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
200 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
201
ca45f6e9
L
2022016-06-16 H.J. Lu <hongjiu.lu@intel.com>
203
204 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
205 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
206 Remove .rel.plt section.
207 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
208
3a4b0e0f
L
2092016-06-15 H.J. Lu <hongjiu.lu@intel.com>
210
211 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
212 function pointer.
213 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
214 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
215 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
216 function pointer.
217 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
218 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
219 * testsuite/ld-i386/no-plt-1a.dd: Updated.
220 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
221 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
222 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
223 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
224 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
225 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
226 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
227 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
228 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
229 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
230 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
231 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
232 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
233 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
234 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
235 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
236
31eef93e
SKS
2372016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
238
239 PR ld/20254
240 * testsuite/ld-avr/avr-prop-6.d: New test.
241 * testsuite/ld-avr/avr-prop-6.s: New test.
242
0aa7f586
AM
2432016-06-14 Alan Modra <amodra@gmail.com>
244
245 * ldbuildid.c: Formatting.
246 * ldcref.c: Formatting.
247 * ldctor.c: Formatting.
248 * ldemul.c: Formatting.
249 * ldexp.c: Formatting.
250 * ldfile.c: Formatting.
251 * ldlang.c: Formatting.
252 * ldmain.c: Formatting.
253 * ldwrite.c: Formatting.
254
3860d2b4
AM
2552016-06-14 Alan Modra <amodra@gmail.com>
256
257 * ldlang.c: Expand uses of bfd_my_archive.
258 * ldmain.c: Likewise.
259 * ldmisc.c: Likewise.
260 * plugin.c: Likewise.
261
b0cffb47
AM
2622016-06-14 Alan Modra <amodra@gmail.com>
263
264 PR ld/20241
265 * ldmain.c (add_archive_element): Just print file name of file within
266 thin archives.
267 * ldmisc.c (vfinfo): Likewise.
268 * plugin.c (plugin_object_p): Open file within thin archives.
269 (plugin_maybe_claim): Expand comment.
270
712ec279
L
2712016-06-13 H.J. Lu <hongjiu.lu@intel.com>
272
273 PR ld/20244
274 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
275 pr20244-2c and pr20244-2d.
276 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
277 * testsuite/ld-i386/pr20244-2.s: New file.
278 * testsuite/ld-i386/pr20244-2a.d: Likewise.
279 * testsuite/ld-i386/pr20244-2b.d: Likewise.
280 * testsuite/ld-i386/pr20244-2c.d: Likewise.
281 * testsuite/ld-i386/pr20244-2d.d: Likewise.
282 * testsuite/ld-i386/pr20244-3a.c: Likewise.
283 * testsuite/ld-i386/pr20244-3b.S: Likewise.
284 * testsuite/ld-i386/pr20244-3c.S: Likewise.
285 * testsuite/ld-i386/pr20244-3d.S: Likewise.
286
ca8c86ef
L
2872016-06-13 H.J. Lu <hongjiu.lu@intel.com>
288
289 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
290 * testsuite/ld-i386/ifunc-1a.c: New file.
291 * testsuite/ld-i386/ifunc-1b.S: Likewise.
292 * testsuite/ld-i386/ifunc-1c.S: Likewise.
293 * testsuite/ld-i386/ifunc-1d.S: Likewise.
294
82f46e2c
CM
2952016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
296
297 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
298 big endian ARC targets.
299
6d84fed1
L
3002016-06-12 H.J. Lu <hongjiu.lu@intel.com>
301
302 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
303 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
304 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
305 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
306 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
307 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
308 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
309 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
310 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
311 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
312 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
313 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
314 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
315 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
316 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
317
74d7f0aa
L
3182016-06-11 H.J. Lu <hongjiu.lu@intel.com>
319
320 PR ld/20244
321 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
322 * testsuite/ld-i386/pr20244-1.s: New file.
323 * testsuite/ld-i386/pr20244-1a.d: Likewise.
324 * testsuite/ld-i386/pr20244-1b.d: Likewise.
325 * testsuite/ld-i386/pr20244-1c.d: Likewise.
326
5c41dbc3
DC
3272016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
328
329 PR ld/20221
330 * testsuite/ld-avr/avr-prop-5.d: New.
331 * testsuite/ld-avr/avr-prop-5.s: New.
332
1857fe72 3332016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
5c41dbc3 334
1857fe72
DC
335 * testsuite/ld-avr/lds-mega.d: New test.
336 * testsuite/ld-avr/lds-mega.s: New test source.
337 * testsuite/ld-avr/lds-tiny.d: New test.
338 * testsuite/ld-avr/lds-tiny.s: New test source.
339
cd41072b
L
3402016-06-08 H.J. Lu <hongjiu.lu@intel.com>
341
342 * testsuite/ld-i386/libno-plt-1b.dd: New file.
343 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
344 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
345 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
346 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
347 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
348 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
349 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
350 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
351 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
352 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
353 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
354 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
355 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
356 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
357 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
358 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
359 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
360 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
361 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
362 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
363 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
364 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
365 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
366 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
367 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
368 * testsuite/ld-i386/no-plt-func1.c: Likewise.
369 * testsuite/ld-i386/no-plt-main1.c: Likewise.
370 * testsuite/ld-i386/no-plt.exp: Likewise.
371
dcc03cb3
L
3722016-06-08 H.J. Lu <hongjiu.lu@intel.com>
373
374 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
375 name.
376
6eaa7fb5
L
3772016-06-08 H.J. Lu <hongjiu.lu@intel.com>
378
379 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
380 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
381 * testsuite/ld-i386/pass.out: New file.
382 * testsuite/ld-i386/tls-def1.c: Likewise.
383 * testsuite/ld-i386/tls-gd1.S: Likewise.
384 * testsuite/ld-i386/tls-ld1.S: Likewise.
385 * testsuite/ld-i386/tls-main1.c: Likewise.
386 * testsuite/ld-i386/tls.exp: Likewise.
387 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
388 * testsuite/ld-i386/tlsbin2.dd: Likewise.
389 * testsuite/ld-i386/tlsbin2.rd: Likewise.
390 * testsuite/ld-i386/tlsbin2.sd: Likewise.
391 * testsuite/ld-i386/tlsbin2.td: Likewise.
392 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
393 * testsuite/ld-i386/tlsgd3.dd: Likewise.
394 * testsuite/ld-i386/tlsgd3.s: Likewise.
395 * testsuite/ld-i386/tlsgd4.d: Likewise.
396 * testsuite/ld-i386/tlsgd4.s: Likewise.
397 * testsuite/ld-i386/tlsld2.s: Likewise.
398 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
399 * testsuite/ld-i386/tlspic2.dd: Likewise.
400 * testsuite/ld-i386/tlspic2.rd: Likewise.
401 * testsuite/ld-i386/tlspic2.sd: Likewise.
402 * testsuite/ld-i386/tlspic2.td: Likewise.
403 * testsuite/ld-i386/tlspic3.s: Likewise.
404 * testsuite/ld-i386/tlspie3.s: Likewise.
405 * testsuite/ld-i386/tlspie3a.d: Likewise.
406 * testsuite/ld-i386/tlspie3b.d: Likewise.
407 * testsuite/ld-i386/tlspie3c.d: Likewise.
408
010bc3ce
L
4092016-06-08 H.J. Lu <hongjiu.lu@intel.com>
410
411 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
412 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
413 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
414 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
415 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
416 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
417 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
418 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
419
1f26b7ae
L
4202016-06-08 H.J. Lu <hongjiu.lu@intel.com>
421
422 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
423 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
424 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
425 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
426 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
427 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
428 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
429 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
430 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
431 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
432 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
433 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
434 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
435 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
436 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
437 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
438 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
439 * testsuite/ld-x86-64/no-plt.exp: Likewise.
440 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
441 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
442 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
443
1133012c
MR
4442016-06-07 Maciej W. Rozycki <macro@imgtec.com>
445
446 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
447
161db279
AK
4482016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
449
450 * testsuite/ld-s390/pltoffset-1.dd: New test.
451 * testsuite/ld-s390/pltoffset-1.ld: New test.
452 * testsuite/ld-s390/pltoffset-1.s: New test.
453 * testsuite/ld-s390/s390.exp: Run new test.
454
14b57c7c
AM
4552016-06-07 Alan Modra <amodra@gmail.com>
456
457 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
458 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
459 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
460
e2cbcd91
L
4612016-06-06 H.J. Lu <hongjiu.lu@intel.com>
462
463 * testsuite/ld-x86-64/pass.out: New file.
464 * testsuite/ld-x86-64/tls-def1.c: Likewise.
465 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
466 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
467 * testsuite/ld-x86-64/tls-main1.c: Likewise.
468 * testsuite/ld-x86-64/tls.exp: Likewise.
469 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
470 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
471 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
472 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
473 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
474 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
475 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
476 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
477 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
478 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
479 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
480 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
481 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
482 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
483 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
484 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
485 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
486 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
487 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
488 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
489 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
490 * testsuite/ld-x86-64/tlsld4.s: Likewise.
491 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
492 * testsuite/ld-x86-64/tlsld5.s: Likewise.
493 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
494 * testsuite/ld-x86-64/tlsld6.s: Likewise.
495 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
496 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
497 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
498 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
499 * testsuite/ld-x86-64/tlspic2.td: Likewise.
500 * testsuite/ld-x86-64/tlspic3.s: Likewise.
501 * testsuite/ld-x86-64/tlspie2.s: Likewise.
502 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
503 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
504 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
505 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
506 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
507 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
508 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
509 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
510 tlspie2c.
511
2ac27cd3
CG
5122016-06-04 Christian Groessler <chris@groessler.org>
513
67cb102b
CG
514 * testsuite/ld-z8k/0filler.s: New file.
515 * testsuite/ld-z8k/branch-target.s: New file.
516 * testsuite/ld-z8k/branch-target2.s: New file.
517 * testsuite/ld-z8k/calr-back-8001.d: New file.
518 * testsuite/ld-z8k/calr-back-8002.d: New file.
519 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
520 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
521 * testsuite/ld-z8k/calr-forw-8001.d: New file.
522 * testsuite/ld-z8k/calr-forw-8002.d: New file.
523 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
524 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
525 * testsuite/ld-z8k/calr-opcode.s: New file.
526 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
527 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
528 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
529 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
530 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
531 * testsuite/ld-z8k/djnz-back-8001.d: New file.
532 * testsuite/ld-z8k/djnz-back-8002.d: New file.
533 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
534 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
535 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
536 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
537 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
538 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
539 * testsuite/ld-z8k/djnz-opcode.s: New file.
540 * testsuite/ld-z8k/filler.s: New file.
541 * testsuite/ld-z8k/jr-back-8001.d: New file.
542 * testsuite/ld-z8k/jr-back-8002.d: New file.
543 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
544 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
545 * testsuite/ld-z8k/jr-forw-8001.d: New file.
546 * testsuite/ld-z8k/jr-forw-8002.d: New file.
547 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
548 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
549 * testsuite/ld-z8k/jr-opcode.s: New file.
550 * testsuite/ld-z8k/ldr-back-8001.d: New file.
551 * testsuite/ld-z8k/ldr-back-8002.d: New file.
552 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
553 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
554 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
555 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
556 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
557 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
558 * testsuite/ld-z8k/ldr-opcode.s: New file.
559 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
560 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
561 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
562 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
563 * testsuite/ld-z8k/ldrb-opcode.s: New file.
564 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
565 * testsuite/ld-z8k/other-file.s: New file.
566 * testsuite/ld-z8k/reloc.dd: New file.
567 * testsuite/ld-z8k/reloc.ld: New file.
568 * testsuite/ld-z8k/relocseg.dd: New file.
569 * testsuite/ld-z8k/relocseg.ld: New file.
570 * testsuite/ld-z8k/relocseg1.dd: New file.
571 * testsuite/ld-z8k/this-file.s: New file.
572 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 573
b1058ce9
L
5742016-06-03 H.J. Lu <hongjiu.lu@intel.com>
575
576 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
577 with -mrelax-relocations=yes.
578 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
579 * testsuite/ld-i386/lea1b.d (as): Likewise.
580 * testsuite/ld-i386/lea1d.d (as): Likewise.
581 * testsuite/ld-i386/lea1e.d (as): Likewise.
582 * testsuite/ld-i386/lea1f.d (as): Likewise.
583 * testsuite/ld-i386/load7.d (as): Likewise.
584 * testsuite/ld-i386/mov1b.d (as): Likewise.
585 * testsuite/ld-i386/pr19175.d (as): Likewise.
586 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
587 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
588 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
589 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
590 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
591
4ad0bb5f
VG
5922016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
593
594 * configure.tgt: Replace -uclibc with *.
595
99aefae6
MR
5962016-05-28 Maciej W. Rozycki <macro@imgtec.com>
597
598 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
599 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
600 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
601 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
602
3b4412a0
MR
6032016-05-28 Maciej W. Rozycki <macro@imgtec.com>
604
605 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
606 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
607 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
608 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
609 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
610 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
611
77434823
MR
6122016-05-28 Maciej W. Rozycki <macro@imgtec.com>
613
614 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
615 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
616 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
617 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
618 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
619 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
620 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
621
1a72702b
AM
6222016-05-28 Alan Modra <amodra@gmail.com>
623
624 * ldmain.c (multiple_definition, multiple_common, add_to_set,
625 constructor_callback, warning_callback, undefined_symbol,
626 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
627 * emultempl/elf32.em: Adjust callback calls.
628
bc27bb05
MR
6292016-05-27 Maciej W. Rozycki <macro@imgtec.com>
630
631 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
632 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
633 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
634 test.
635 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
636 test.
637 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
638 test.
639 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
640 test.
641 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
642 source.
643 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
644 source.
645 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
646
ceab86af
MR
6472016-05-27 Maciej W. Rozycki <macro@imgtec.com>
648
649 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
650 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
651 new test.
652 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
653
ed53407e
MR
6542016-05-26 Maciej W. Rozycki <macro@imgtec.com>
655
656 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
657 `unaligned-jalx-2' here.
658 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
659 `unaligned-jalx-mips16-2' here.
660 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
661 `unaligned-jalx-micromips-2' here.
662 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
663 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
664 message.
665 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
666 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
667 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
668 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
669 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
670 test.
671 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
672 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
673 `unaligned-lwpc-3' here.
674 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
675 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
676 `unaligned-lwpc-2' here.
677 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
678 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
679 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
680 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
681 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
682 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
683 `unaligned-ldpc-4' here.
684 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
685 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
686 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
687 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
688 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
689 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
690 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
691 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
692 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
693 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
694 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
695
0d832c8e
NC
6962016-05-26 Nick Clifton <nickc@redhat.com>
697
698 PR target/20134
699 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
700 __bsssize.
701 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
702
de341542 7032016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 704
de341542
MR
705 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
706 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
707 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
708 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
709 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
710 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
711 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
712 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
713 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
714 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
715 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
716 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
717 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
718 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
719 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
720 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
721 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
722 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
723 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
724 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
725 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
726 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
727 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
728 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
729 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
730 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
731 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
732 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
733 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
734 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
735 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
736 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
737 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
738
b95a0a31
L
7392016-05-25 H.J. Lu <hongjiu.lu@intel.com>
740
741 PR ld/20103
742 * ldmain.c (add_archive_element): Don't claim new IR symbols
743 after all IR symbols have been claimed.
744 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
745 check.
746 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
747 Run PR ld/20103 tests.
748 * testsuite/ld-plugin/pr20103a.c: New file.
749 * testsuite/ld-plugin/pr20103b.c: Likewise.
750 * testsuite/ld-plugin/pr20103c.c: Likewise.
751
44d3da23
MR
7522016-05-24 Maciej W. Rozycki <macro@imgtec.com>
753
754 * testsuite/ld-mips-elf/jalx-local.d: New test.
755 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
756 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
757 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
758
a2bea324
KS
7592016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
760
761 * Makefile.am: Add earmelf_phoenix.c.
762 * Makefile.in: Regenerate.
763 * configure.tgt: Add entry for arm-phoenix.
764 * emulparams/armelf_phoenix.sh: New file.
765
daa4adae
TP
7662016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
767
768 * emultempl/armelf.em (arm_elf_before_allocation): Call
769 bfd_elf32_arm_keep_private_stub_output_sections before generic
770 before_allocation function.
771
17c6c9d9
MR
7722016-05-20 Maciej W. Rozycki <macro@imgtec.com>
773
774 * testsuite/ld-mips-elf/jalx-addend.d: New test.
775 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
776 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
777 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
778
7d4d9709
L
7792016-05-19 H.J. Lu <hongjiu.lu@intel.com>
780
781 PR ld/20117
782 * testsuite/ld-i386/i386.exp: Run pr20117.
783 * testsuite/ld-i386/pr19609-1i.d: Updated.
784 * testsuite/ld-i386/pr20117.d: New file.
785 * testsuite/ld-i386/pr20117.s: Likewise.
786
fc3eec7e
CZ
7872016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
788
789 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
790 * testsuite/ld-elf/group8a.d: Likewise.
791 * testsuite/ld-elf/group8b.d: Likewise.
792 * testsuite/ld-elf/group9a.d: Likewise.
793 * testsuite/ld-elf/group9b.d: Likewise.
794 * testsuite/ld-elf/pr12851.d: Likewise.
795 * testsuite/ld-elf/pr12975.d: Likewise.
796 * testsuite/ld-elf/pr13177.d: Likewise.
797 * testsuite/ld-elf/pr13195.d: Likewise.
798 * testsuite/ld-elf/pr17615.d: Likewise.
799 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
800 * testsuite/ld-elf/group3b.d: Likewise.
801 * testsuite/ld-srec/srec.exp: Likewise.
802 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
803 as supporting gc.
804 (check_shared_lib_support): Mark ARC as supporting.
805
c0913ebf
CZ
8062016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
807
808 * emulparams/arcelf.sh: Changed.
809 * emulparams/arclinux.sh: Likewise.
810 * scripttempl/arclinux.sc: Moved to a more standard implementation
811 similar to elf.sc.
812
c4107a7d
MR
8132016-05-19 Maciej W. Rozycki <macro@imgtec.com>
814
815 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
816 `ft32-*-*' behind `frv-*-*'.
817
6b200de0
MR
8182016-05-19 Maciej W. Rozycki <macro@imgtec.com>
819
820 * configure.tgt: Remove `am34-*-linux*' support.
821
82bc9362
AM
8222016-05-19 Alan Modra <amodra@gmail.com>
823
824 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
825 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
826 * testsuite/ld-scripts/cross3.t: Likewise.
827 * testsuite/ld-scripts/cross4.t: Likewise.
828 * testsuite/ld-scripts/cross5.t: Likewise.
829 * testsuite/ld-scripts/cross6.t: Likewise.
830 * testsuite/ld-scripts/cross7.t: Likewise.
831
f1b2ca70
AM
8322016-05-19 Alan Modra <amodra@gmail.com>
833
834 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
835 exe name rather than constructing testname. Fix typo in
836 sub-test name. Log copying. Use -rpath rather than -R.
837
d1f70bdc
NC
8382016-05-18 Nick Clifton <nickc@redhat.com>
839
840 * scripttempl/ft32.sc: Use fixed constants for memory region
841 lengths. Include DWARF debug sections.
842 (.data .bss): Do not assign locations during relocatable links.
843 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
844 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
845 * testsuite/ld-elf/sec64k.exp: Likewise.
846 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
847 * testsuite/ld-elf/merge.d: Likewise.
848 * testsuite/ld-elf/orphan-region.d: Likewise.
849 * testsuite/ld-elf/orphan.s: Likewise.
850 * testsuite/ld-elf/orphan3.d: Likewise.
851 * testsuite/ld-elf/pr349.d: Likewise.
852 * testsuite/ld-elf/warn2.d: Likewise.
853 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
854 that the FT32 does not support shared libraries.
855
68bce020
L
8562016-05-17 H.J. Lu <hongjiu.lu@intel.com>
857
858 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
859 global CC.
860
23b5dc39 8612016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
862
863 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
864 above .progmem*.
865 * scripttempl/avrtiny.sc (text): Likewise.
866
a43942db
MR
8672016-05-17 Maciej W. Rozycki <macro@imgtec.com>
868
869 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
870 `supports_gnu_unique' to qualify testing.
871
69a1c856
MR
8722016-05-16 Maciej W. Rozycki <macro@imgtec.com>
873
874 * testsuite/ld-elf/flags1.d: Update the xfail list.
875
180c87d9
MR
8762016-05-15 Maciej W. Rozycki <macro@imgtec.com>
877
878 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
879 removal.
880
bf6f87e7
L
8812016-05-14 H.J. Lu <hongjiu.lu@intel.com>
882
883 PR ld/20097
884 * testplug2.c (onall_symbols_read): Remove redundant sizeof
885 on EXPECTED_VIEW_LENGTH.
886 * testplug4.c (onall_symbols_read): Likewise.
887
2168b268
L
8882016-05-13 H.J. Lu <hongjiu.lu@intel.com>
889
890 PR ld/20093
891 * testsuite/ld-x86-64/pr20093-1.d: New file.
892 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
893 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
894 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
895 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
896
4ade44b7
AM
8972016-05-13 Alan Modra <amodra@gmail.com>
898
899 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
900 Use different output file name for static app without .rel.plt.
901 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
902 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
903 * testsuite/ld-arm/arm-no-rel-plt.r: New.
904 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
905 * testsuite/ld-arm/arm-static-app.r: Likewise.
906
3355cb3b
L
9072016-05-12 H.J. Lu <hongjiu.lu@intel.com>
908
909 PR ld/20070
910 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
911 (libldtestplug4_la_SOURCES): New.
912 (libldtestplug4_la_CFLAGS): Likewise.
913 (libldtestplug4_la_LDFLAGS): Likewise.
914 * Makefile.in: Regenerated.
915 * plugin.c (get_symbols): Return resolution based on IR symbol
916 kinds for symbols defined/referenced only within IR.
917 * testplug4.c: New file.
918 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
919 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
920 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
921 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
922 (plugin4_path): Likewise.
923 Add a test for ld/20070.
924
a464198b
AM
9252016-05-11 Alan Modra <amodra@gmail.com>
926
927 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
928 Call elf32_hppa_init_stub_bfd.
929
3bd43ebc
AM
9302016-05-11 Alan Modra <amodra@gmail.com>
931
932 PR 20060
933 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
934 * testsuite/ld-powerpc/tlsdll.s: New.
935 * testsuite/ld-powerpc/tlsdll.ver: New.
936 * testsuite/ld-powerpc/tlsdll_32.s: New.
937 * testsuite/ld-powerpc/tlsopt5.d: New.
938 * testsuite/ld-powerpc/tlsopt5.s: New.
939 * testsuite/ld-powerpc/tlsopt5_32.d: New.
940 * testsuite/ld-powerpc/tlsopt5_32.s: New.
941
39d911fc
TP
9422016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
943
944 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
945 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
946
6bde4c52
TP
9472016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
948
949 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
950 parameter and rename input_section parameter to after_input_section.
951 Append input stub section to the output section if after_input_section
952 is NULL.
953
15afaa63
TP
9542016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
955
956 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
957 test.
958 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
959 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
960
d63a50b7
CL
9612016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
962
963 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
964
9239bbd3
CM
9652016-05-09 Christophe Monat <christophe.monat@st.com>
966
967 PR ld/20030
968 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
969 tests. Fix misnamed stm32l4xx-fix-all.
970 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
971 loads with DP registers.
972 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
973 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
974 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
975 loads with DP registers.
976 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
977
924bc11b
PS
9782016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
979
980 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
981 program headers.
982 (xfail): Remove avr-*-*.
983 Update regex to check the section flags.
984 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
985
a64f5ba1
AM
9862016-05-09 Alan Modra <amodra@gmail.com>
987
988 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
989 * Makefile.in: Regenerate.
990
cc969da9
AM
9912016-05-09 Alan Modra <amodra@gmail.com>
992
993 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
994 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
995 * testsuite/ld-scripts/section-match-1.t: Likewise.
996
97196564
L
9972016-05-06 H.J. Lu <hongjiu.lu@intel.com>
998
999 PR ld/17550
1000 * testsuite/ld-elf/pr17550-1.s: New file.
1001 * testsuite/ld-elf/pr17550-2.s: Likewise.
1002 * testsuite/ld-elf/pr17550-3.s: Likewise.
1003 * testsuite/ld-elf/pr17550-4.s: Likewise.
1004 * testsuite/ld-elf/pr17550a.d: Likewise.
1005 * testsuite/ld-elf/pr17550b.d: Likewise.
1006 * testsuite/ld-elf/pr17550c.d: Likewise.
1007 * testsuite/ld-elf/pr17550d.d: Likewise.
1008
887cf791
SKS
10092016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1010
1011 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
1012
2856a627
L
10132016-05-06 H.J. Lu <hongjiu.lu@intel.com>
1014
1015 * testsuite/ld-i386/i386.exp: Run load7.
1016 * testsuite/ld-i386/load7.d: New file.
1017 * testsuite/ld-i386/load7.map: Likewise.
1018 * testsuite/ld-i386/load7.s: Likewise.
1019 * testsuite/ld-x86-64/load2.d: Likewise.
1020 * testsuite/ld-x86-64/load2.map: Likewise.
1021 * testsuite/ld-x86-64/load2.s: Likewise.
1022 * testsuite/ld-x86-64/x86-64.exp: Run load2.
1023
004b1309
L
10242016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
1027 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1028 Likewise.
1029 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1030 Likewise.
1031
d7adef8b
L
10322016-05-05 H.J. Lu <hongjiu.lu@intel.com>
1033
1034 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
1035
d4758f96
L
10362016-05-04 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
1039
c3fbf828
MR
10402016-05-04 Maciej W. Rozycki <macro@imgtec.com>
1041
1042 * testsuite/ld-unique/unique.d: New test.
1043 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
1044 messages for compiled tests.
1045
4a85cc09
SKS
10462016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1047
1048 * testsuite/ld-elf/pr18735.d: Allow other symbols.
1049 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
1050 * testsuite/ld-gc/pr14265.d: Allow other symbols.
1051 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
1052 plugin_tests only if check_shared_lib_support is true.
1053 * testsuite/ld-selective/selective.exp: Add --section-start
1054 flag for avr.
1055
6d6a648c
MR
10562016-05-03 Maciej W. Rozycki <macro@imgtec.com>
1057
1058 PR 10549
1059 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
1060
1f56df9d
JW
10612016-05-03 Jiong Wang <jiong.wang@arm.com>
1062
1063 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
1064 * NEWS: Mention --no-apply-dynamic-relocs.
1065 * ld.texinfo (ld and the ARM family): Document
1066 --no-apply-dynamic-relocs.
1067 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
1068 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
1069 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
1070 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
1071 option.
1072
a2076b34
SKS
10732016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1074
1075 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
1076 before running STT_COMMON tests.
1077
010f98a5
L
10782016-04-29 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 * config/default.exp (NOPIE_CFLAGS): Download source only on
1081 remote host.
1082 (NOPIE_LDFLAGS): Likewise.
1083 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
1084 (check_lto_fat_available): Likewise.
1085 (check_lto_shared_available): Likewise.
1086 (check_ifunc_available): Likewise.
1087 (check_ifunc_attribute_available): Likewise.
1088
83a471c3
L
10892016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1090
1091 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
1092
52728a42
L
10932016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1094
91f8bf69
L
1095 PR ld/20006
1096 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
1097 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
1098 ELF targets.
1099
11002016-04-27 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 * testsuite/ld-elf/compressed1b.d: Pass
1103 --compress-debug-sections=none to ld.
1104 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 1105
13b8c335
AM
11062016-04-27 Alan Modra <amodra@gmail.com>
1107
1108 PR target/19985
1109 * configure.tgt: Don't use var+=.
1110
731bb67a
NC
11112016-04-25 Nick Clifton <nickc@redhat.com>
1112
1113 PR target/19985
1114 * configure.tgt: Include big endian PPC64 emulations with little
1115 endian PPC64 targets.
1116
0e03d18a
SKS
11172016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1118
1119 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
1120
4f3b23b3
NC
11212016-04-21 Nick Clifton <nickc@redhat.com>
1122
1123 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
1124 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
1125 targets. Do not stop the checks when problems are encountered.
1126
96bf8cb0
AM
11272016-04-21 Alan Modra <amodra@gmail.com>
1128
1129 * testsuite/ld-scripts/cross3.t: Add commonly used data
1130 and text section names to output section statements.
1131 * testsuite/ld-scripts/cross4.t: Likewise.
1132 * testsuite/ld-scripts/cross5.t: Likewise.
1133 * testsuite/ld-scripts/cross6.t: Likewise.
1134 * testsuite/ld-scripts/cross7.t: Likewise.
1135
fbf05aa7
L
11362016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1137
1138 * ldlang.c (lang_check_relocs): New function.
1139 (lang_process): Call lang_check_relocs after lang_gc_sections.
1140 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1141 call _bfd_elf_link_check_relocs here.
1142
c7ce9410
L
11432016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 PR ld/19972
1146 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
1147 R_386_NONE or R_X86_64_NONE.
1148
03f2309a
L
11492016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * testsuite/ld-x86-64/pic1.d: New file.
1152 * testsuite/ld-x86-64/pic1.s: Likewise.
1153 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
1154
126697d1
L
11552016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1156
1157 * testsuite/ld-x86-64/pie2.d: New file.
1158 * testsuite/ld-x86-64/pie2.s: Likewise.
1159 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
1160
338c190a
L
11612016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 PR ld/19969
1164 * testsuite/ld-x86-64/pr19969.d: New file.
1165 * testsuite/ld-x86-64/pr19969a.S: Likewise.
1166 * testsuite/ld-x86-64/pr19969b.S: Likewise.
1167 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
1168
d9689752
L
11692016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1170
1171 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1172 New.
1173 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1174 Likewise.
1175 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1176 Likewise.
1177 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1178 Likewise.
1179 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1180 Likewise.
1181 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1182 Likewise.
1183 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1184 Likewise.
1185 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
1186 Likewise.
1187 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
1188 Set check_relocs_after_open_input to TRUE if
1189 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
1190 (gld${EMULATION_NAME}_after_open): Call
1191 _bfd_elf_link_check_relocs on all inputs if
1192 check_relocs_after_open_input is TRUE.
1193
7cc9c114
L
11942016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1195
1196 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
1197 my_personality_v0.
1198
e6c7cdec
TS
11992016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
1200
1201 * emultempl/scoreelf.em: Likewise.
1202
87d455c0
L
12032016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1204
1205 PR ld/19719
1206 * testsuite/ld-x86-64/pr19719.d: New file.
1207 * testsuite/ld-x86-64/pr19719.s: Likewise.
1208 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
1209
cdf96953
MF
12102016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
1211
1212 * ld.texinfo: Document NOCROSSREFS_TO script command.
1213 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
1214 (lang_add_nocrossref_to): New prototype.
1215 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
1216 symbols defined in the first section.
1217 (check_nocrossref): Likewise.
1218 * ldgram.y (NOCROSSREFS_TO): New script command.
1219 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
1220 (lang_add_nocrossref_to): New function.
1221 * ldlex.l (NOCROSSREFS_TO): New token.
1222 * NEWS: Mention NOCROSSREFS_TO.
1223 * testsuite/ld-scripts/cross4.t: New file.
1224 * testsuite/ld-scripts/cross5.t: Likewise.
1225 * testsuite/ld-scripts/cross6.t: Likewise.
1226 * testsuite/ld-scripts/cross7.t: Likewise.
1227 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
1228 tests.
1229
6fd8e7c2
L
12302016-04-15 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 * Makefile.in: Regenerated with automake 1.11.6.
1233 * aclocal.m4: Likewise.
1234
4b0c052e
AB
12352016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
1236
1237 * testsuite/ld-arc/arc.exp: New file.
1238 * testsuite/ld-arc/nps-1.s: New file.
1239 * testsuite/ld-arc/nps-1a.d: New file.
1240 * testsuite/ld-arc/nps-1b.d: New file.
1241 * testsuite/ld-arc/nps-1b.err: New file.
1242
8dc483a0
NC
12432016-04-14 Nick Clifton <nickc@redhat.com>
1244
1245 PR 19457
1246 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
1247 exceptions for Mingw and Cygwin.
1248
758c5495
AB
12492016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
1250
1251 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
1252 check_ld(terminal).
1253
37ce0cc4
L
12542016-04-13 H.J. Lu <hongjiu.lu@intel.com>
1255
1256 PR ld/19774
1257 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
1258 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
1259 tests.
1260
2df3368d
L
12612016-04-11 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 PR ld/19939
1264 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
1265 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1266 * testsuite/ld-i386/pr19939.s: New file.
1267 * testsuite/ld-i386/pr19939a.d: Likewise.
1268 * testsuite/ld-i386/pr19939b.d: Likewise.
1269 * testsuite/ld-x86-64/pr19939.s: Likewise.
1270 * testsuite/ld-x86-64/pr19939a.d: Likewise.
1271 * testsuite/ld-x86-64/pr19939b.d: Likewise.
1272
417a667c
OE
12732016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
1274
1275 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
1276
136a43b7
AM
12772016-04-08 Alan Modra <amodra@gmail.com>
1278
1279 PR 18452
1280 * ldlang.c (maybe_overlays): Delete.
1281 (lang_size_sections_1): Remove code setting maybe_overlays.
1282 (lang_check_section_addresses): Instead detect overlays by
1283 exact match of section VMAs here. Fix memory leak.
1284
953dd97e
DG
12852016-04-08 Dan Gisselquist <dgisselq@ieee.org>
1286
1287 * ldlang.c (print_output_section_statement): Show minfo size
1288 in target machine address units.
1289 (print_reloc_statement): Likewise.
1290 (print_padding_statement): Likewise.
1291 (print_data_statement): Likewise. Ensure minimum print_dot
1292 increment of one address unit.
1293
1a295c62
AB
12942016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
1295
1296 * emulparams/arc-endianness.sh: Make little endian default choice.
1297
df154dc1
NC
12982016-04-07 Nick Clifton <nickc@redhat.com>
1299
1300 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
1301 section name.
1302 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
1303
9a5f28ae
AB
13042016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
1305
1306 * emulparams/arc-endianness.sh: New file.
1307 * emulparams/arcebelf.sh: Deleted.
1308 * emulparams/arcebelf_prof.sh: Deleted.
1309 * emulparams/arceblinux.sh: Deleted.
1310 * emulparams/arceblinux_prof.sh: Deleted.
1311 * emulparams/arcelf.sh: Include arc-endinness.sh.
1312 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
1313 * emulparams/arclinux.sh: Include arc-endinness.sh.
1314 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
1315 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
1316 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
1317 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
1318 little endian arc targets.
1319 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
1320 * testsuite/ld-elf/group1.d: Likewise.
1321 * testsuite/ld-elf/group3b.d: Likewise.
1322 * testsuite/ld-elf/group8a.d: Likewise.
1323 * testsuite/ld-elf/group8b.d: Likewise.
1324 * testsuite/ld-elf/group9a.d: Likewise.
1325 * testsuite/ld-elf/group9b.d: Likewise.
1326 * testsuite/ld-elf/linkonce2.d: Likewise.
1327 * testsuite/ld-elf/pr12851.d: Likewise.
1328 * testsuite/ld-elf/pr12975.d: Likewise.
1329 * testsuite/ld-elf/pr13177.d: Likewise.
1330 * testsuite/ld-elf/pr13195.d: Likewise.
1331 * testsuite/ld-elf/pr17615.d: Likewise.
1332 * testsuite/ld-elf/pr19162.d: Likewise.
1333 * testsuite/ld-elf/sec64k.exp: Likewise.
1334 * testsuite/lib/ld-lib.exp: Likewise.
1335
1f599d0e
MR
13362016-04-05 Maciej W. Rozycki <macro@imgtec.com>
1337
1338 PR ld/19908
1339 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
1340 handling fix.
1341 * testsuite/ld-cris/tls-e-20a.d: Likewise.
1342 * testsuite/ld-cris/tls-e-21.d: Likewise.
1343 * testsuite/ld-cris/tls-e-23.d: Likewise.
1344 * testsuite/ld-cris/tls-e-80.d: Likewise.
1345 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
1346 * testsuite/ld-cris/tls-leie-19.d: Likewise.
1347 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
1348 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
1349 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
1350 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
1351 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
1352 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
1353 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
1354 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1355
a9fa4610
CZ
13562016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
1357
1358 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
1359 * testsuite/ld-discard/start.d: Likewise.
1360 * testsuite/ld-discard/static.d: Likewise.
1361 * testsuite/ld-elf/group1.d: Likewise.
1362 * testsuite/ld-elf/group3b.d: Likewise.
1363 * testsuite/ld-elf/orphan-region.d: Likewise.
1364 * testsuite/ld-elf/orphan.d: Likewise.
1365 * testsuite/ld-elf/orphan3.d: Likewise.
1366 * testsuite/ld-elf/pr349.d: Likewise.
1367 * testsuite/ld-elf/warn1.d: Likewise.
1368 * testsuite/ld-elf/warn2.d: Likewise.
1369 * testsuite/ld-elf/warn3.d: Likewise.
1370 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
1371 through linker flags.
1372 * testsuite/ld-srec/srec.exp: Set as xfail.
1373
5fdf3872
L
13742016-04-04 H.J. Lu <hongjiu.lu@intel.com>
1375
1376 PR ld/19827
1377 * testsuite/ld-i386/pr19827-nacl.rd: New file.
1378 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
1379
a061de07
NC
13802016-04-04 Nick Clifton <nickc@redhat.com>
1381
1382 PR 19803
1383 * emultempl/pe.em (change_undef): New function. Encapsulates
1384 duplicated code in pe_fixup_stdcalls and adds the newly defined
1385 sym to the gc root list.
1386 (pe_fixup_stdcall): Use the new function.
1387 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
1388 symbol to gc root list.
1389
fc90c280
AM
13902016-03-31 Alan Modra <amodra@gmail.com>
1391
1392 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
1393 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
1394 (print_input_section): Don't use TO_ADDR when printing section
1395 size.
1396 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
1397 (lang_size_sections): Use TO_ADDR in relro end calculation.
1398
62bdf2d6
AB
13992016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
1400
1401 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
1402 value from regexp_diff.
1403 * testsuite/ld-elf/orphan-5.l: Fix expected output.
1404 * testsuite/ld-elf/orphan-6.l: Likewise.
1405
a87dd97a
AM
14062016-03-30 Alan Modra <amodra@gmail.com>
1407
1408 PR 18452
1409 * ldlang.c (maybe_overlays): New static var.
1410 (lang_size_sections_1): Set it here.
1411 (struct check_sec): New.
1412 (sort_sections_by_lma): Adjust for array of structs.
1413 (sort_sections_by_vma): New function.
1414 (lang_check_section_addresses): Check both LMA and VMA for overlap.
1415 * testsuite/ld-scripts/rgn-over7.d: Adjust.
1416
ca62bc4a
AM
14172016-03-30 Alan Modra <amodra@gmail.com>
1418
1419 * ldlang.c (lang_size_sections_1): Correct code detecting a
1420 backward non-overlapping move.
1421
2e4a7aea
AM
14222016-03-30 Alan Modra <amodra@gmail.com>
1423
1424 * ldlang.c (IS_TBSS): New macro, extracted from..
1425 (IGNORE_SECTION): ..here.
1426 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
1427 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
1428
4153b6db
NC
14292016-03-22 Nick Clifton <nickc@redhat.com>
1430
1431 PR ld/19803
1432 * ldlang.c (lang_add_gc_name): New function. Adds the provided
1433 symbol name to the list of gc symbols.
1434 (lang_process): Call lang_add_gc_name with entry_symbol_default if
1435 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
1436 and fini function names.
1437 * pe-dll.c (process_def_file_and_drectve): Add exported names to
1438 the gc symbol list.
1439 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
1440 * testsuite/ld-pe/pr19803.d: Tweak expected output.
1441
9780e045
NC
14422016-03-22 Nick Clifton <nickc@redhat.com>
1443
1444 * configure: Regenerate.
1445
e1fa0163
NC
14462016-03-21 Nick Clifton <nickc@redhat.com>
1447
1448 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1449 * plugin.c: Likewise.
1450 * pe-dll.c: Likewise.
1451
45821bef
A
14522016-03-18 Awson <kyrab@mail.ru>
1453
1454 PR 19531
1455 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1456 this section.
1457 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1458
41f46ed9
SKS
14592016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1460
1461 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1462
4e0c91e4
L
14632016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 PR ld/19827
1466 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1467 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1468 * testsuite/ld-i386/pr19827.rd: New file.
1469 * testsuite/ld-i386/pr19827a.S: Likewise.
1470 * testsuite/ld-i386/pr19827b.S: Likewise.
1471 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1472 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1473 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1474
4c10bbaa
L
14752016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1476
1477 PR ld/19807
1478 * Makefile.am (ELF_X86_DEPS): Add
1479 $(srcdir)/emulparams/reloc_overflow.sh.
1480 * Makefile.in: Regenerated.
1481 * NEWS: Mention -z noreloc-overflow.
1482 * ld.texinfo: Document -z noreloc-overflow.
1483 * emulparams/elf32_x86_64.sh: Source
1484 ${srcdir}/emulparams/reloc_overflow.sh.
1485 * emulparams/elf_x86_64.sh: Likewise.
1486 * emulparams/reloc_overflow.sh: New file.
1487 * testsuite/ld-x86-64/pr19807-1.s: New file.
1488 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1489 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1490 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1491 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1492 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1493 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1494 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1495 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1496 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1497
3ab94f96
L
14982016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1499
1500 PR ld/19539
1501 * testsuite/ld-i386/i386.exp: Run pr19539.
1502 * testsuite/ld-i386/pr19539.d: New file.
1503 * testsuite/ld-i386/pr19539.s: Likewise.
1504 * testsuite/ld-i386/pr19539.t: Likewise.
1505 * testsuite/ld-x86-64/pr19539.s: Likewise.
1506 * testsuite/ld-x86-64/pr19539.t: Likewise.
1507 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1508 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1509 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1510
a9f02af8
MG
15112016-03-10 Mickael Guene <mickael.guene@st.com>
1512
1513 PR gas/19744
1514 * testsuite/ld-arm/arm-elf.exp: New tests.
1515 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1516 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1517
878a6877
NC
15182016-03-10 Nick Clifton <nickc@redhat.com>
1519
1520 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1521
4b05e0a7
PA
15222016-03-09 Pedro Alves <palves@redhat.com>
1523
1524 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1525 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1526
9c1d7a08
L
15272016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1528
1529 PR ld/19789
1530 * testsuite/ld-elf/pr19789.d: New file.
1531 * testsuite/ld-elf/pr19789.s: Likewise.
1532
d1ed1c7d
L
15332016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1534
1535 PR ld/19784
1536 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1537 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1538 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1539 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1540 * testsuite/ld-ifunc/pass.out: New file.
1541 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1542 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1543 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1544
205ac185
L
15452016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 PR ld/19774
1548 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1549 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1550 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1551 --as-needed for pr18841c.
1552
23a4bd22
L
15532016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1554
1555 PR ld/19774
1556 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1557 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1558 before tmpdir/got1d.so and test --as-needed.
1559 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1560 tmpdir/pr18900.so and test --as-needed.
1561
18f822a0
JW
15622016-03-07 Jiong Wang <jiong.wang@arm.com>
1563
1564 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1565 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1566 result.
1567 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1568
46175b4e
L
15692016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1572 before tmpdir/copyreloc-lib.so and test --as-needed.
1573 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1574
07492f66
L
15752016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 PR ld/19579
1578 * testsuite/ld-elf/pr19579a.c: New file.
1579 * testsuite/ld-elf/pr19579b.c: Likewise.
1580 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1581
7bcc503f
L
15822016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1583
1584 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1585
7494161b
L
15862016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1587
1588 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1589 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1590
523f4c92
L
15912016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 PR ld/19739
1594 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1595 input sections for relocatable link.
1596 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1597 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1598
15992016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1600
1601 PR ld/19739
e18b24a4 1602 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
1603 merge flags of other input sections for relocatable link.
1604
ef621b15
L
16052016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1606
1607 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1608
2955a517
L
16092016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1610
1611 * testsuite/ld-elf/pr19162.d: Skip arc target.
1612
7f50ebc1
L
16132016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 PR ld/19162
1616 * testsuite/ld-elf/pr19162.d: New file.
1617 * testsuite/ld-elf/pr19162a.s: Likwise.
1618 * testsuite/ld-elf/pr19162b.s: Likwise.
1619
841fdfcd
CZ
16202016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1621
1622 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1623 * testsuite/ld-elf/merge2.d: Likewise.
1624 * testsuite/ld-elf/merge3.d: Likewise.
1625
7e458899
CZ
16262016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1627
1628 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1629 generated.
1630
c5e3a364
RL
16312016-02-26 Renlin Li <renlin.li@arm.com>
1632
1633 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1634 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1635 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1636 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1637 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1638 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1639 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1640 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1641 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1642 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1643
bae420ef
L
16442016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 PR ld/19609
1647 * testsuite/ld-i386/got1.dd: Updated.
1648 * testsuite/ld-i386/lea1c.d: Likewise.
1649 * testsuite/ld-i386/load1-nacl.d: Likewise.
1650 * testsuite/ld-i386/load1.d: Likewise.
1651 * testsuite/ld-i386/load4b.d: Likewise.
1652 * testsuite/ld-i386/load5b.d: Likewise.
1653 * testsuite/ld-i386/mov1b.d: Likewise.
1654 * testsuite/ld-x86-64/mov1b.d: Likewise.
1655 * testsuite/ld-x86-64/mov1d.d: Likewise.
1656 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1657 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1658 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1659 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1660 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1661 * testsuite/ld-x86-64/lea1a.d: Likewise.
1662 * testsuite/ld-x86-64/lea1b.d: Likewise.
1663 * testsuite/ld-x86-64/lea1c.d: Likewise.
1664 * testsuite/ld-x86-64/lea1d.d: Likewise.
1665 * testsuite/ld-x86-64/lea1e.d: Likewise.
1666 * testsuite/ld-x86-64/lea1f.d: Likewise.
1667 * testsuite/ld-x86-64/mov1b.d: Likewise.
1668 * testsuite/ld-x86-64/mov1d.d: Likewise.
1669 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1670 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1671 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1672 * testsuite/ld-i386/pr19609-1.s: New file.
1673 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1674 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1675 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1676 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1677 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1678 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1679 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1680 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1681 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1682 * testsuite/ld-i386/pr19609-2.s: Likewise.
1683 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1684 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1685 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1686 * testsuite/ld-i386/undefweak.s: Likewise.
1687 * testsuite/ld-i386/undefweaka.d: Likewise.
1688 * testsuite/ld-i386/undefweakb.d: Likewise.
1689 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1690 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1691 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1692 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1693 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1694 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1695 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1696 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1697 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1698 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1699 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1700 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1701 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1702 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1703 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1704 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1705 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1706 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1707 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1708 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1709 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1710 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1711 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1712 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1713 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1714 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1715 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1716 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1717 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1718 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1719 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1720 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1721 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1722 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1723 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1724 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1725 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1726 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1727 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1728 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1729 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1730 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1731 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1732 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1733 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1734 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1735 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1736 PR ld/19609.
1737 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1738 and tests for PR ld/19609.
1739
11e5f1ec
L
17402016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1741
1742 PR ld/19645
1743 * NEWS: Mention -z common/-z nocommon for ELF targets.
1744 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1745 -z common and -z nocommon.
1746 * ld.texinfo: Document -z common/-z nocommon.
1747 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1748 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1749 --elf-stt-common=yes with assembler.
1750 * testsuite/ld-elfcomm/common-1.s: New file.
1751 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1752 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1753 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1754 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1755 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1756 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1757 * testsuite/ld-elfcomm/common-2.s: Likewise.
1758 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1759 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1760 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1761 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1762 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1763 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1764 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1765 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1766 * testsuite/ld-i386/pr19645.d: Likewise.
1767 * testsuite/ld-i386/pr19645.s: Likewise.
1768 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1769 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1770 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1771 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1772 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1773 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1774 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1775 * testsuite/ld-x86-64/pr19645.d: Likewise.
1776 * testsuite/ld-x86-64/pr19645.s: Likewise.
1777 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1778 with assembler.
1779 (assembler_generates_commons): Removed.
1780 Run -z common/-z nocommon tests. Run *.d tests.
1781 * testsuite/ld-i386/i386.exp: Run pr19645.
1782 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1783 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1784 assembler. Test STT_COMMON with readelf.
1785
aec6b87e
L
17862016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1787
1788 PR ld/19636
1789 PR ld/19704
1790 PR ld/19719
1791 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1792 * Makefile.in: Regenerated.
1793 * NEWS: Mention -z nodynamic-undefined-weak.
1794 * ld.texinfo: Document -z nodynamic-undefined-weak.
1795 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1796 * emulparams/dynamic_undefined_weak.sh: New file.
1797 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1798 * emulparams/elf_i386.sh: Likewise.
1799 * emulparams/elf_i386_be.sh: Likewise.
1800 * emulparams/elf_i386_chaos.sh: Likewise.
1801 * emulparams/elf_i386_ldso.sh: Likewise.
1802 * emulparams/elf_i386_vxworks.sh: Likewise.
1803 * emulparams/elf_iamcu.sh: Likewise.
1804 * emulparams/elf_k1om.sh: Likewise.
1805 * emulparams/elf_l1om.sh: Likewise.
1806 * emulparams/elf_x86_64.sh: Likewise.
1807 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1808 Append.
1809 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1810 * testsuite/ld-elf/pr19719a.c: New file.
1811 * testsuite/ld-elf/pr19719b.c: Likewise.
1812 * testsuite/ld-elf/pr19719c.c: Likewise.
1813 * testsuite/ld-elf/pr19719d.c: Likewise.
1814 * testsuite/ld-i386/pr19636-1.s: Likewise.
1815 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1816 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1817 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1818 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1819 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1820 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1821 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1822 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1823 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1824 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1825 * testsuite/ld-i386/pr19636-2.s: Likewise.
1826 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1827 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1828 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1829 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1830 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1831 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1832 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1833 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1834 * testsuite/ld-i386/pr19636-3.s: Likewise.
1835 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1836 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1837 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1838 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1839 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1840 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1841 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1842 * testsuite/ld-i386/pr19636-4.s: Likewise.
1843 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1844 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1845 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1846 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1847 * testsuite/ld-i386/pr19704.out: Likewise.
1848 * testsuite/ld-i386/pr19704a.c: Likewise.
1849 * testsuite/ld-i386/pr19704b.c: Likewise.
1850 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1851 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1852 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1853 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1854 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1855 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1856 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1857 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1858 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1859 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1860 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1861 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1862 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1863 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1864 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1865 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1866 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1867 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1868 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1869 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1870 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1871 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1872 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1873 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1874 * testsuite/ld-x86-64/pr19704.out: Likewise.
1875 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1876 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1877 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1878 Run mix_pic_and_non_pic.
1879 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1880 Run undefined_weak and PR ld/19636 tests.
1881 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1882 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1883 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1884
920e4862
NC
18852016-02-25 Nick Clifton <nickc@redhat.com>
1886
1887 * ld.h (struct ld_config_type): Remove specified_data_size field.
1888
0f550b3d
L
18892016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1890
1891 PR ld/19698
1892 * testsuite/ld-elf/pr19698.d: New file.
1893 * testsuite/ld-elf/pr19698.s: Likewise.
1894 * testsuite/ld-elf/pr19698.t: Likewise.
1895
31866b2c
L
18962016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1897
1898 * Makefile.am (ELF_X86_DEPS): New.
1899 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1900 (eelf_i386_chaos.c): Likewise.
1901 (eelf_i386_fbsd.c): Likewise.
1902 (eelf_i386_ldso.c): Likewise.
1903 (eelf_i386_nacl.c): Likewise.
1904 (eelf_i386_sol2.c): Likewise.
1905 (eelf_iamcu.c): Likewise.
1906 (eelf32_x86_64.c): Likewise.
1907 (eelf32_x86_64_nacl.c): Likewise.
1908 (eelf_l1om.c): Likewise.
1909 (eelf_l1om_fbsd.c): Likewise.
1910 (eelf_k1om.c): Likewise.
1911 (eelf_k1om_fbsd.c): Likewise.
1912 (eelf_x86_64.c): Likewise.
1913 (eelf_x86_64_cloudabi.c): Likewise.
1914 (eelf_x86_64_fbsd.c): Likewise.
1915 (eelf_x86_64_sol2.c): Likewise.
1916 * Makefile.in: Regenerated.
1917
6b3b0ab8
L
19182016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1919
1920 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1921 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1922 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1923 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1924
de818c22
L
19252016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1926
1927 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1928
c304e18e
L
19292016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1932 *-*-gnu* and *-*-solaris*.
1933 * testsuite/ld-elf/pr19617b.d: Likewise.
1934 * testsuite/ld-elf/pr19617c.d: Likewise.
1935
bf89386a
L
19362016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1937
1938 PR ld/19617
1939 * testsuite/ld-elf/pr19617.s: New file.
1940 * testsuite/ld-elf/pr19617a.d: Likewise.
1941 * testsuite/ld-elf/pr19617b.d: Likewise.
1942 * testsuite/ld-elf/pr19617c.d: Likewise.
1943
06ea285d
NC
19442016-02-18 Nick Clifton <nickc@redhat.com>
1945
1946 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1947 in-tree xg++ executable after checking for the presence of an
1948 in-tree g++ executable.
1949 * Makefile.in: Regenerate.
1950
b27ab9ad
L
19512016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1952
1953 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1954 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1955 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1956
8f79b794
L
19572016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1960 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1961 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1962 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1963 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1964 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1965 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1966 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1967 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1968 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1969 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1970 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1971 * testsuite/ld-x86-64/load1c.d: Likewise.
1972 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1973 * testsuite/ld-x86-64/load1d.d: Likewise.
1974 * testsuite/ld-x86-64/pr14207.d: Likewise.
1975 * testsuite/ld-x86-64/pr19162.d: Likewise.
1976 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1977 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1978 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1979 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1980 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1981 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1982
b3e3e0b7
NC
19832016-02-17 Nick Clifton <nickc@redhat.com>
1984
1985 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1986
9fb71ee4
NC
19872016-02-15 Nick Clifton <nickc@redhat.com>
1988
1989 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1990 description of the flags produced by readelf.
1991 * testsuite/ld-i386/pr12921.d: Likewise.
1992 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1993 * testsuite/ld-i386/tlsbin.rd: Likewise.
1994 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1995 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1996 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1997 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1998 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1999 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
2000 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
2001 * testsuite/ld-i386/tlsnopic.rd: Likewise.
2002 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
2003 * testsuite/ld-i386/tlspic.rd: Likewise.
2004 * testsuite/ld-s390/tlsbin.rd: Likewise.
2005 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
2006 * testsuite/ld-s390/tlspic.rd: Likewise.
2007 * testsuite/ld-s390/tlspic_64.rd: Likewise.
2008 * testsuite/ld-sh/tlsbin-2.d: Likewise.
2009 * testsuite/ld-sh/tlspic-2.d: Likewise.
2010 * testsuite/ld-tic6x/common.d: Likewise.
2011 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
2012 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
2013 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
2014 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
2015 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
2016 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
2017 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
2018 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
2019 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
2020 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
2021 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
2022 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
2023 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
2024 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
2025 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
2026 * testsuite/ld-x86-64/pr12718.d: Likewise.
2027 * testsuite/ld-x86-64/pr12921.d: Likewise.
2028 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
2029 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
2030 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
2031 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
2032 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
2033 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
2034 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
2035 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
2036 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
2037 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
2038 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
2039 * testsuite/ld-x86-64/tlspic.rd: Likewise.
2040 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
2041 * testsuite/ld-xtensa/tlspic.rd: Likewise.
2042
21a90cf1
L
20432016-02-11 H.J. Lu <hongjiu.lu@intel.com>
2044
2045 PR ld/19615
2046 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
2047 PIE.
2048 * lexsup.c (parse_args): Enable -Bsymbolic and
2049 -Bsymbolic-functions for PIE.
ee5db48b 2050 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
2051 * testsuite/ld-i386/pr19615.d: New file.
2052 * testsuite/ld-i386/pr19615.s: Likewise.
2053 * testsuite/ld-x86-64/pr19615.d: Likewise.
2054 * testsuite/ld-x86-64/pr19615.s: Likewise.
2055
027e9c75
NC
20562016-02-09 Nick Clifton <nickc@redhat.com>
2057
2058 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
2059 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
2060 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
2061 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
2062
39306124
NC
20632016-02-04 Nick Clifton <nickc@redhat.com>
2064
2065 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
2066 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
2067 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
2068 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
2069 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
2070 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
2071 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
2072 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
2073 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
2074
0cb4071e
L
20752016-02-03 H.J. Lu <hongjiu.lu@intel.com>
2076
2077 PR gas/19520
2078 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
2079 * testsuite/ld-i386/call1.d: Likewise.
2080 * testsuite/ld-i386/call2.d: Likewise.
2081 * testsuite/ld-i386/call3a.d: Likewise.
2082 * testsuite/ld-i386/call3b.d: Likewise.
2083 * testsuite/ld-i386/call3c.d: Likewise.
2084 * testsuite/ld-i386/call3d.d: Likewise.
2085 * testsuite/ld-i386/call3e.d: Likewise.
2086 * testsuite/ld-i386/call3f.d: Likewise.
2087 * testsuite/ld-i386/call3g.d: Likewise.
2088 * testsuite/ld-i386/call3h.d: Likewise.
2089 * testsuite/ld-i386/jmp1.d: Likewise.
2090 * testsuite/ld-i386/jmp2.d: Likewise.
2091 * testsuite/ld-i386/lea1c.d: Likewise.
2092 * testsuite/ld-i386/load1.d: Likewise.
2093 * testsuite/ld-i386/load2.d: Likewise.
2094 * testsuite/ld-i386/load3.d: Likewise.
2095 * testsuite/ld-i386/load4a.d: Likewise.
2096 * testsuite/ld-i386/load5a.d: Likewise.
2097 * testsuite/ld-i386/mov2b.d: Likewise.
2098 * testsuite/ld-i386/mov3.d: Likewise.
2099 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2100 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2101 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
2102 * testsuite/ld-x86-64/call1a.d: Likewise.
2103 * testsuite/ld-x86-64/call1b.d: Likewise.
2104 * testsuite/ld-x86-64/call1c.d: Likewise.
2105 * testsuite/ld-x86-64/call1d.d: Likewise.
2106 * testsuite/ld-x86-64/call1e.d: Likewise.
2107 * testsuite/ld-x86-64/call1f.d: Likewise.
2108 * testsuite/ld-x86-64/call1h.d: Likewise.
2109 * testsuite/ld-x86-64/call1i.d: Likewise.
2110 * testsuite/ld-x86-64/load1a.d: Likewise.
2111 * testsuite/ld-x86-64/load1b.d: Likewise.
2112 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
2113 * testsuite/ld-i386/got1.dd: Updated.
2114 * testsuite/ld-i386/got1d.S (1): Removed.
2115 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
2116 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2117
6ba2af25
L
21182016-02-02 H.J. Lu <hongjiu.lu@intel.com>
2119
2120 PR ld/18591
2121 * testsuite/ld-x86-64/pr18591.d: New file.
2122 * testsuite/ld-x86-64/pr18591.s: Likewise.
2123 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
2124
aef28989
L
21252016-02-01 H.J. Lu <hongjiu.lu@intel.com>
2126
2127 PR ld/19553
2128 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
2129 * testsuite/ld-elf/pr19553.map: New file.
2130 * testsuite/ld-elf/pr19553.map: Likewise.
2131 * testsuite/ld-elf/pr19553a.c: Likewise.
2132 * testsuite/ld-elf/pr19553b.c: Likewise.
2133 * testsuite/ld-elf/pr19553b.out: Likewise.
2134 * testsuite/ld-elf/pr19553c.c: Likewise.
2135 * testsuite/ld-elf/pr19553c.out: Likewise.
2136 * testsuite/ld-elf/pr19553d.c: Likewise.
2137 * testsuite/ld-elf/pr19553d.out: Likewise.
2138
d9e3b590
L
21392016-01-30 H.J. Lu <hongjiu.lu@intel.com>
2140
2141 PR ld/19539
2142 * testsuite/ld-elf/pr19539.d: New file.
2143 * testsuite/ld-elf/pr19539.s: Likewise.
2144 * testsuite/ld-elf/pr19539.t: Likewise.
2145
621ff761
L
21462016-01-29 H.J. Lu <hongjiu.lu@intel.com>
2147
2148 PR ld/19533
2149 * configure.ac (compressed_debug_sections): Replace == with =.
2150 * configure: Regenerated.
2151
7585b2b8
DC
21522016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2153
2154 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
2155 * scripttempl/avrtiny.sc (.noinit): Likewise.
2156
aebf9be7
NC
21572016-01-21 Nick Clifton <nickc@redhat.com>
2158
dfc43940
NC
2159 PR ld/19453
2160 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
2161 the arm-netbsdelf target.
2162
aebf9be7
NC
2163 PR ld/19455
2164 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
2165 disassmebler output.
2166 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
2167 * testsuite/ld-arm/vxworks1.dd: Likewise.
2168 * testsuite/ld-arm/vxworks1.rd: Likewise.
2169 * testsuite/ld-arm/vxworks1.ld: Set the output format.
2170
2f340668
JW
21712016-01-20 Jiong Wang <jiong.wang@arm.com>
2172
2173 * testsuite/ld-aarch64/farcall-section.d: Delete.
2174 * testsuite/ld-aarch64/farcall-section.s: Delete.
2175 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
2176 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
2177 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
2178 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
2179 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
2180
fdbd3e95
NC
21812016-01-20 Nick Clifton <nickc@redhat.com>
2182
2183 PR 19457
2184 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
2185 early for PE based targets.
2186 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
2187 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
2188
91f68a68
MG
21892016-01-20 Mickael Guene <mickael.guene@st.com>
2190
2191 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
2192 Add 'y' attribute usage.
2193 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
2194 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
2195 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
2196
a4af960a
NC
21972016-01-19 Nick Clifton <nickc@redhat.com>
2198
2199 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
2200 foo@FOO and bar@@FOO.
2201
3d961d0d
AM
22022016-01-18 Alan Modra <amodra@gmail.com>
2203
2204 * configure: Regenerate.
2205
760f6ee8
NC
22062016-01-18 Nick Clifton <nickc@redhat.com>
2207
2208 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
2209 is not configured to support plugins.
2210
24f03d4e
NC
2211 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
2212 but with 16 byte section alignment.
2213 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
2214 test for MIPS targets.
2215
5c14705f
AM
22162016-01-17 Alan Modra <amodra@gmail.com>
2217
2218 * configure: Regenerate.
2219
b3066ae8
AM
22202016-01-17 Alan Modra <amodra@gmail.com>
2221
2222 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
2223 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
2224 * testsuite/ld-elf/pr14156a.d: Likewise.
2225 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
2226 * testsuite/ld-elf/sec64k.exp: Likewise.
2227
4c4ac964
TP
22282016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2229
2230 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
2231 Set address of .foo section when linking.
2232 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
2233 in .foo section.
2234 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
2235 output to the above changes.
2236
1bce3adf
NC
22372016-01-13 Nick Clifton <nickc@redhat.com>
2238
84054199
NC
2239 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
2240 for MIPS targets.
2241
13ce3603
NC
2242 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
2243 fail for MIPS targets.
2244
1bce3adf
NC
2245 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
2246 MIPS targets.
2247
ac06903d
YU
22482016-01-12 Yury Usishchev <y.usishchev@samsung.com>
2249
2250 * testsuite/ld-arm/arm-elf.exp: New test.
2251 * testsuite/ld-arm/unwind-mix.d: New file.
2252 * testsuite/ld-arm/unwind-mix1.s: New file.
2253 * testsuite/ld-arm/unwind-mix2.s: New file.
2254
109575d7
JW
22552016-01-08 Jiong Wang <jiong.wang@arm.com>
2256
2257 PR ld/19368
2258 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
2259 * testsuite/ld-arm/ifunc-4.rd: Likewise.
2260 * testsuite/ld-arm/ifunc-9.rd: Likewise.
2261 * testsuite/ld-arm/ifunc-10.rd: Likewise.
2262 * testsuite/ld-arm/ifunc-12.rd: Likewise.
2263 * testsuite/ld-arm/ifunc-13.rd: Likewise.
2264
296ebfbb
NC
22652016-01-05 Nick Clifton <nickc@redhat.com>
2266
2267 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
2268 MSP430 hardware multiply address range.
2269 * scripttempl/elf32msp430.sc (__romdatastart): Define.
2270 (__romdatacopysize): Define.
2271 * scripttempl/elf32msp430_3.sc: Likewise.
2272
2f2da8fd
MR
22732016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2274
2275 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
2276 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
2277
d537eeb5
MR
22782016-01-04 Maciej W. Rozycki <macro@imgtec.com>
2279
2280 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
2281 messages expected according to MIPS BFD private data merge
2282 changes.
2283 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
2284 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
2285 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
2286 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
2287 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
2288 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
2289 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
2290 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
2291 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
2292 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
2293 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
2294 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
2295 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
2296
6f2750fe
AM
22972016-01-01 Alan Modra <amodra@gmail.com>
2298
2299 Update year range in copyright notice of all files.
2300
3499769a
AM
2301For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
2302\f
2303Copyright (C) 2016 Free Software Foundation, Inc.
2304
2305Copying and distribution of this file, with or without modification,
2306are permitted in any medium without royalty provided the copyright
2307notice and this notice are preserved.
2308
2309Local Variables:
2310mode: change-log
2311left-margin: 8
2312fill-column: 74
2313version-control: never
2314End:
This page took 0.159717 seconds and 4 git commands to generate.