Remove the remaining SSE5 support
[binutils-gdb.git] / ld / ChangeLog
1 2016-10-15 Alan Modra <amodra@gmail.com>
2
3 * emultempl/spu_ovl.o_c: Regenerate.
4
5 2016-10-14 Alan Modra <amodra@gmail.com>
6
7 * scripttempl/DWARF.sc: Add .debug_addr.
8
9 2016-10-12 Alan Modra <amodra@gmail.com>
10
11 * testsuite/ld-i386/pr19636-1d-nacl.d: Adjust for objdump change.
12 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
13 * testsuite/ld-tic6x/shlib-1r.dd: Likewise.
14 * testsuite/ld-x86-64/plt-nacl.pd: Likewise.
15 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
16
17 2016-10-11 Nick Clifton <nickc@redhat.com>
18
19 * ld-aarch64/emit-relocs-515-be.d: Adjust output to match change
20 in objdump.
21 * ld-aarch64/emit-relocs-515.d: Likewise.
22 * ld-aarch64/emit-relocs-516-be.d: Likewise.
23 * ld-aarch64/emit-relocs-516.d: Likewise.
24 * ld-aarch64/farcall-b-plt.d: Likewise.
25 * ld-aarch64/farcall-bl-plt.d: Likewise.
26 * ld-aarch64/gc-plt-relocs.d: Likewise.
27 * ld-aarch64/tls-desc-ie.d: Likewise.
28 * ld-aarch64/tls-tiny-desc.d: Likewise.
29 * ld-aarch64/tls-tiny-gd.d: Likewise.
30 * ld-aarch64/tls-tiny-ie.d: Likewise.
31 * ld-arm/arm-app-abs32.d: Likewise.
32 * ld-arm/arm-app.d: Likewise.
33 * ld-arm/arm-lib-plt32.d: Likewise.
34 * ld-arm/arm-lib.d: Likewise.
35 * ld-arm/armthumb-lib.d: Likewise.
36 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
37 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
38 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
39 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
40 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
41 * ld-arm/farcall-mixed-app-v5.d: Likewise.
42 * ld-arm/farcall-mixed-app.d: Likewise.
43 * ld-arm/farcall-mixed-app2.d: Likewise.
44 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
45 * ld-arm/farcall-mixed-lib.d: Likewise.
46 * ld-arm/ifunc-10.dd: Likewise.
47 * ld-arm/ifunc-14.dd: Likewise.
48 * ld-arm/ifunc-15.dd: Likewise.
49 * ld-arm/ifunc-3.dd: Likewise.
50 * ld-arm/ifunc-4.dd: Likewise.
51 * ld-arm/ifunc-9.dd: Likewise.
52 * ld-arm/long-plt-format.d: Likewise.
53 * ld-arm/mixed-app-v5.d: Likewise.
54 * ld-arm/mixed-app.d: Likewise.
55 * ld-arm/mixed-lib.d: Likewise.
56 * ld-arm/tls-lib-loc.d: Likewise.
57 * ld-cris/dso-pltdis1.d: Likewise.
58 * ld-cris/dso-pltdis2.d: Likewise.
59 * ld-cris/dso12-pltdis.d: Likewise.
60 * ld-elf/symbolic-func.r: Likewise.
61 * ld-frv/fdpic-pie-1.d: Likewise.
62 * ld-frv/fdpic-pie-2.d: Likewise.
63 * ld-frv/fdpic-pie-6.d: Likewise.
64 * ld-frv/fdpic-pie-7.d: Likewise.
65 * ld-frv/fdpic-pie-8.d: Likewise.
66 * ld-frv/fdpic-shared-1.d: Likewise.
67 * ld-frv/fdpic-shared-2.d: Likewise.
68 * ld-frv/fdpic-shared-3.d: Likewise.
69 * ld-frv/fdpic-shared-4.d: Likewise.
70 * ld-frv/fdpic-shared-5.d: Likewise.
71 * ld-frv/fdpic-shared-6.d: Likewise.
72 * ld-frv/fdpic-shared-7.d: Likewise.
73 * ld-frv/fdpic-shared-8.d: Likewise.
74 * ld-frv/fdpic-shared-local-2.d: Likewise.
75 * ld-frv/fdpic-shared-local-8.d: Likewise.
76 * ld-frv/fdpic-static-1.d: Likewise.
77 * ld-frv/fdpic-static-2.d: Likewise.
78 * ld-frv/fdpic-static-6.d: Likewise.
79 * ld-frv/fdpic-static-7.d: Likewise.
80 * ld-frv/fdpic-static-8.d: Likewise.
81 * ld-frv/tls-dynamic-2.d: Likewise.
82 * ld-frv/tls-initial-shared-2.d: Likewise.
83 * ld-frv/tls-relax-shared-2.d: Likewise.
84 * ld-frv/tls-shared-2.d: Likewise.
85 * ld-i386/plt-nacl.pd: Likewise.
86 * ld-i386/plt-pic-nacl.pd: Likewise.
87 * ld-i386/plt-pic.pd: Likewise.
88 * ld-i386/plt.pd: Likewise.
89 * ld-i386/pr19636-1d-nacl.d: Likewise.
90 * ld-i386/pr19636-1d.d: Likewise.
91 * ld-i386/pr19636-2c-nacl.d: Likewise.
92 * ld-i386/pr19636-2c.d: Likewise.
93 * ld-ifunc/ifunc-21-x86-64.d: Likewise.
94 * ld-ifunc/ifunc-22-x86-64.d: Likewise.
95 * ld-ifunc/pr17154-i386.d: Likewise.
96 * ld-ifunc/pr17154-x86-64.d: Likewise.
97 * ld-m68k/plt1-68020.d: Likewise.
98 * ld-m68k/plt1-cpu32.d: Likewise.
99 * ld-m68k/plt1-isab.d: Likewise.
100 * ld-m68k/plt1-isac.d: Likewise.
101 * ld-metag/shared.d: Likewise.
102 * ld-metag/stub_pic_app.d: Likewise.
103 * ld-metag/stub_pic_shared.d: Likewise.
104 * ld-metag/stub_shared.d: Likewise.
105 * ld-s390/tlsbin_64.dd: Likewise.
106 * ld-s390/tlspic_64.dd: Likewise.
107 * ld-tic6x/shlib-1.dd: Likewise.
108 * ld-tic6x/shlib-1b.dd: Likewise.
109 * ld-tic6x/shlib-1rb.dd: Likewise.
110 * ld-tic6x/shlib-app-1.dd: Likewise.
111 * ld-tic6x/shlib-app-1b.dd: Likewise.
112 * ld-tic6x/shlib-app-1r.dd: Likewise.
113 * ld-tic6x/shlib-app-1rb.dd: Likewise.
114 * ld-tic6x/shlib-noindex.dd: Likewise.
115 * ld-vax-elf/export-class-data.dd: Likewise.
116 * ld-vax-elf/plt-local-lib.dd: Likewise.
117 * ld-vax-elf/plt-local.dd: Likewise.
118 * ld-x86-64/bnd-ifunc-2.d: Likewise.
119 * ld-x86-64/bnd-plt-1.d: Likewise.
120 * ld-x86-64/gotpcrel1.dd: Likewise.
121 * ld-x86-64/libno-plt-1b.dd: Likewise.
122 * ld-x86-64/load1c-nacl.d: Likewise.
123 * ld-x86-64/load1c.d: Likewise.
124 * ld-x86-64/load1d-nacl.d: Likewise.
125 * ld-x86-64/load1d.d: Likewise.
126 * ld-x86-64/mov1a.d: Likewise.
127 * ld-x86-64/mov1b.d: Likewise.
128 * ld-x86-64/mov1c.d: Likewise.
129 * ld-x86-64/mov1d.d: Likewise.
130 * ld-x86-64/mov2a.d: Likewise.
131 * ld-x86-64/mov2b.d: Likewise.
132 * ld-x86-64/mov2c.d: Likewise.
133 * ld-x86-64/mov2d.d: Likewise.
134 * ld-x86-64/mpx3.dd: Likewise.
135 * ld-x86-64/mpx4.dd: Likewise.
136 * ld-x86-64/no-plt-1a.dd: Likewise.
137 * ld-x86-64/no-plt-1b.dd: Likewise.
138 * ld-x86-64/no-plt-1c.dd: Likewise.
139 * ld-x86-64/no-plt-1e.dd: Likewise.
140 * ld-x86-64/no-plt-1f.dd: Likewise.
141 * ld-x86-64/no-plt-1g.dd: Likewise.
142 * ld-x86-64/plt-main-bnd.dd: Likewise.
143 * ld-x86-64/plt-nacl.pd: Likewise.
144 * ld-x86-64/plt.pd: Likewise.
145 * ld-x86-64/pr18591.d: Likewise.
146 * ld-x86-64/pr19609-1c.d: Likewise.
147 * ld-x86-64/pr19609-1e.d: Likewise.
148 * ld-x86-64/pr19609-1j.d: Likewise.
149 * ld-x86-64/pr19609-1l.d: Likewise.
150 * ld-x86-64/pr19609-1m.d: Likewise.
151 * ld-x86-64/pr19609-5b.d: Likewise.
152 * ld-x86-64/pr19609-5c.d: Likewise.
153 * ld-x86-64/pr19609-5e.d: Likewise.
154 * ld-x86-64/pr19609-6b.d: Likewise.
155 * ld-x86-64/pr19609-7b.d: Likewise.
156 * ld-x86-64/pr19609-7d.d: Likewise.
157 * ld-x86-64/pr19636-2d.d: Likewise.
158 * ld-x86-64/pr20093-1.d: Likewise.
159 * ld-x86-64/pr20093-2.d: Likewise.
160 * ld-x86-64/pr20253-1b.d: Likewise.
161 * ld-x86-64/pr20253-1d.d: Likewise.
162 * ld-x86-64/pr20253-1f.d: Likewise.
163 * ld-x86-64/pr20253-1h.d: Likewise.
164 * ld-x86-64/pr20253-1j.d: Likewise.
165 * ld-x86-64/pr20253-1l.d: Likewise.
166 * ld-x86-64/protected3.d: Likewise.
167 * ld-x86-64/tlsbin.dd: Likewise.
168 * ld-x86-64/tlsbin2.dd: Likewise.
169 * ld-x86-64/tlsbindesc.dd: Likewise.
170 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
171 * ld-x86-64/tlsdesc.dd: Likewise.
172 * ld-x86-64/tlsdesc.pd: Likewise.
173 * ld-x86-64/tlsgd10.dd: Likewise.
174 * ld-x86-64/tlsgd5.dd: Likewise.
175 * ld-x86-64/tlsgd6.dd: Likewise.
176 * ld-x86-64/tlsgd8.dd: Likewise.
177 * ld-x86-64/tlsgdesc.dd: Likewise.
178 * ld-x86-64/tlspic.dd: Likewise.
179 * ld-x86-64/tlspic2.dd: Likewise.
180
181 2016-10-11 Nick Clifton <nickc@redhat.com>
182
183 PR ld/20535
184 * emultempl/elf32.em (_search_needed): Add support for pseudo
185 environment variables supported by ld.so. Namely $ORIGIN, $LIB
186 and $PLATFORM.
187 * configure.ac: Add getauxval to list AC_CHECK_FUNCS list.
188 * config.in: Regenerate.
189 * configure: Regenerate.
190
191 2016-10-11 Alan Modra <amodra@gmail.com>
192
193 * ldlang.c (lang_do_assignments_1): Descend into output section
194 statements that do not yet have bfd sections. Set symbol section
195 temporarily for symbols defined in such statements to the undefined
196 section. Don't error on data or reloc statements until final phase.
197 * ldexp.c (exp_fold_tree_1 <etree_assign>): Handle bfd_und_section
198 in expld.section.
199 * testsuite/ld-mmix/bpo-10.d: Adjust.
200 * testsuite/ld-mmix/bpo-11.d: Adjust.
201
202 2016-10-10 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
203
204 * emulparams/elf64_s390.sh: Move binary start to 16M.
205 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcases accordingly.
206 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
207
208 2016-10-07 Alan Modra <amodra@gmail.com>
209
210 * ldexp.c (MAX): Define.
211 (exp_unop, exp_binop, exp_trinop): Alloc at least enough for
212 etree_type.value.
213
214 2016-10-07 Alan Modra <amodra@gmail.com>
215
216 * testsuite/lib/ld-lib.exp (is_generic_elf): New, extracted from..
217 * testsuite/ld-elf/elf.exp: ..here.
218
219 2016-10-06 Ludovic Courtès <ludo@gnu.org>
220
221 * emulparams/elf32bmipn32-defs.sh: Shift quote of
222 "x$EMULATION_NAME" to the left to work around
223 <http://ftp.gnu.org/gnu/bash/bash-4.2-patches/bash42-007>.
224
225 2016-10-06 Alan Modra <amodra@gmail.com>
226
227 * lexsup.c: Spell fall through comments consistently and add
228 missing fall through comments.
229
230 2016-10-06 Alan Modra <amodra@gmail.com>
231
232 * plugin.c (asymbol_from_plugin_symbol): Avoid compiler warning
233 by adding return.
234
235 2016-10-04 Alan Modra <amodra@gmail.com>
236
237 * ld.texinfo (Expression Section): Update result of arithmetic
238 expressions.
239 * ldexp.c (arith_result_section): New function.
240 (fold_binary): Use it.
241
242 2016-10-04 Alan Modra <amodra@gmail.com>
243
244 * ldexp.c (exp_value_fold): New function.
245 (exp_unop, exp_binop, exp_trinop): Use it.
246
247 2016-09-30 Alan Modra <amodra@gmail.com>
248
249 * scripttempl/v850.sc: Don't reference __ctbp, __ep, __gp when
250 not relocating.
251 * scripttempl/v850_rh850.sc: Likewise.
252
253 2016-09-30 Alan Modra <amodra@gmail.com>
254
255 PR ld/20528
256 * testsuite/ld-elf/pr20528a.d: xfail generic elf targets. Allow
257 multiple .text sections for hppa-linux.
258 * testsuite/ld-elf/pr20528b.d: Likewise.
259
260 2016-09-30 Alan Modra <amodra@gmail.com>
261
262 * ldmain.c (default_bfd_error_handler): New function pointer.
263 (ld_bfd_error_handler): New function.
264 (main): Arrange to call it on bfd errors/warnings.
265 (ld_bfd_assert_handler): Enable tail call.
266
267 2016-09-30 Alan Modra <amodra@gmail.com>
268
269 * ldlang.c (ignore_bfd_errors): Update params.
270
271 2016-09-29 H.J. Lu <hongjiu.lu@intel.com>
272
273 PR ld/20528
274 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
275 merge 2 sections with different SHF_EXCLUDE.
276 * testsuite/ld-elf/pr20528a.d: New file.
277 * testsuite/ld-elf/pr20528a.s: Likewise.
278 * testsuite/ld-elf/pr20528b.d: Likewise.
279 * testsuite/ld-elf/pr20528b.s: Likewise.
280
281 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org>
282
283 PR ld/20608
284 * testsuite/ld-arm/arm-elf.exp: Handle new testcase.
285 * testsuite/ld-arm/farcall-mixed-app2.d: New file.
286 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise.
287 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise.
288 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
289
290 2016-09-26 Vlad Zakharov <vzakhar@synopsys.com>
291
292 * Makefile.in: Regenerate.
293 * configure: Likewise.
294
295 2016-09-26 Alan Modra <amodra@gmail.com>
296
297 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete.
298 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete.
299 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete.
300 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete.
301 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete.
302 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning.
303 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise.
304 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output.
305 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise.
306 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise.
307 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise.
308 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise.
309 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise.
310 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise.
311 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise.
312 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise.
313 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests.
314
315 2016-09-23 Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
316
317 PR ld/20595
318 * testsuite/ld-arm/unwind-4.d: Add -q option to linker command
319 line and -r option to objdump command line. Match emitted relocs
320 to make sure that superflous relocs are not generated.
321
322 2016-09-23 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
323
324 * emulparams/elf64_s390.sh: Change TEXT_START_ADDR to 256MB.
325 * testsuite/ld-s390/tlsbin_64.dd: Adjust testcase accordingly.
326 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
327
328 2016-09-22 Nick Clifton <nickc@redhat.com>
329
330 * emultempl/elf32.em (_try_needed): In verbose mode, report failed
331 attempts to find a needed library.
332
333 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
334
335 * testsuite/ld-aarch64/emit-relocs-28.d: Expect spaces after ","
336 in addresses.
337 * testsuite/ld-aarch64/emit-relocs-301-be.d: Likewise.
338 * testsuite/ld-aarch64/emit-relocs-301.d: Likewise.
339 * testsuite/ld-aarch64/emit-relocs-302-be.d: Likewise.
340 * testsuite/ld-aarch64/emit-relocs-302.d: Likewise.
341 * testsuite/ld-aarch64/emit-relocs-310-be.d: Likewise.
342 * testsuite/ld-aarch64/emit-relocs-310.d: Likewise.
343 * testsuite/ld-aarch64/emit-relocs-313.d: Likewise.
344 * testsuite/ld-aarch64/emit-relocs-515-be.d: Likewise.
345 * testsuite/ld-aarch64/emit-relocs-515.d: Likewise.
346 * testsuite/ld-aarch64/emit-relocs-516-be.d: Likewise.
347 * testsuite/ld-aarch64/emit-relocs-516.d: Likewise.
348 * testsuite/ld-aarch64/emit-relocs-531.d: Likewise.
349 * testsuite/ld-aarch64/emit-relocs-532.d: Likewise.
350 * testsuite/ld-aarch64/emit-relocs-533.d: Likewise.
351 * testsuite/ld-aarch64/emit-relocs-534.d: Likewise.
352 * testsuite/ld-aarch64/emit-relocs-535.d: Likewise.
353 * testsuite/ld-aarch64/emit-relocs-536.d: Likewise.
354 * testsuite/ld-aarch64/emit-relocs-537.d: Likewise.
355 * testsuite/ld-aarch64/emit-relocs-538.d: Likewise.
356 * testsuite/ld-aarch64/erratum835769.d: Likewise.
357 * testsuite/ld-aarch64/erratum843419.d: Likewise.
358 * testsuite/ld-aarch64/farcall-b-plt.d: Likewise.
359 * testsuite/ld-aarch64/farcall-bl-plt.d: Likewise.
360 * testsuite/ld-aarch64/gc-plt-relocs.d: Likewise.
361 * testsuite/ld-aarch64/ifunc-21.d: Likewise.
362 * testsuite/ld-aarch64/ifunc-7c.d: Likewise.
363 * testsuite/ld-aarch64/tls-desc-ie.d: Likewise.
364 * testsuite/ld-aarch64/tls-large-desc-be.d: Likewise.
365 * testsuite/ld-aarch64/tls-large-desc.d: Likewise.
366 * testsuite/ld-aarch64/tls-large-ie-be.d: Likewise.
367 * testsuite/ld-aarch64/tls-large-ie.d: Likewise.
368 * testsuite/ld-aarch64/tls-relax-all.d: Likewise.
369 * testsuite/ld-aarch64/tls-relax-gd-ie.d: Likewise.
370 * testsuite/ld-aarch64/tls-relax-gdesc-ie-2.d: Likewise.
371 * testsuite/ld-aarch64/tls-relax-gdesc-ie.d: Likewise.
372 * testsuite/ld-aarch64/tls-relax-large-desc-ie-be.d: Likewise.
373 * testsuite/ld-aarch64/tls-relax-large-desc-ie.d: Likewise.
374 * testsuite/ld-aarch64/tls-tiny-desc.d: Likewise.
375 * testsuite/ld-aarch64/tls-tiny-gd.d: Likewise.
376
377 2016-09-21 Richard Sandiford <richard.sandiford@arm.com>
378
379 * testsuite/ld-aarch64/emit-relocs-280.d: Match branch comments.
380 * testsuite/ld-aarch64/weak-undefined.d: Likewise.
381
382 2016-09-20 Andrew Burgess <andrew.burgess@embecosm.com>
383
384 * ld.texinfo (Input Section Basics): Expand the description of
385 EXCLUDE_FILE.
386
387 2016-09-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
388
389 * testsuite/ld-arm/cmse-veneers.s: Add a test for ARMv8-M Security
390 Extensions entry functions in absolute section.
391 * testsuite/ld-arm/cmse-veneers.rd: Adapt expected output accordingly.
392
393 2016-09-14 Claudiu Zissulescu <claziss@synopsys.com>
394
395 * testsuite/ld-arc/tls-dtpoff.dd: New file.
396 * testsuite/ld-arc/tls-dtpoff.rd: Likewise.
397 * testsuite/ld-arc/tls-dtpoff.s: Likewise.
398 * testsuite/ld-arc/tls-relocs.ld: Likewise.
399 * testsuite/ld-arc/arc.exp: Add new tdpoff test.
400
401 2016-09-14 Nick Clifton <nickc@redhat.com>
402
403 PR ld/20537
404 * emultempl/elf32.em: More OPTION_xxx values into an enum. Add
405 OPTION_NO_EH_FRAME_HDR.
406 (_add_options): Add support for --no-eh-frame-hdr.
407 * ld.texinfo: Document new option.
408 * lexsup.c (elf_shlib_list_options): List new option.
409 * NEWS: Mention the new option.
410
411 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
412
413 PR ld/20550
414 * testsuite/ld-x86-64/pr20550a.s: New file.
415 * testsuite/ld-x86-64/pr20550b.s: Likewise.
416 * testsuite/ld-x86-64/x86-64.exp (x86_64tests): Add tests for
417 PR ld/20550.
418
419 2016-09-06 Nick Clifton <nickc@redhat.com>
420
421 * Makefile.am (CFLAGS_FOR_TARGET): Define as a copy of CFLAGS but
422 without any sanitization options.
423 (CXXFLAGS_FOR_TARGET): Define as a copy of CXXFLAGS but without
424 any sanitization options.
425 (check-DEJAGNU): Pass CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET
426 as CFLAGS and CXXFLAGS respectively.
427
428 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
429
430 PR ld/20545
431 * testsuite/ld-avr/avr-prop-7.d: New test.
432 * testsuite/ld-avr/avr-prop-7.s: New test.
433 * testsuite/ld-avr/avr-prop-8.d: New test.
434 * testsuite/ld-avr/avr-prop-8.s: New test.
435
436 2016-09-02 H.J. Lu <hongjiu.lu@intel.com>
437
438 * testsuite/ld-elf/pr20513c.d: Limit to *-*-linux* and *-*-gnu*
439 targets.
440 * testsuite/ld-elf/pr20513d.d: Likewise.
441
442 2016-09-01 H.J. Lu <hongjiu.lu@intel.com>
443
444 PR ld/20513
445 * testsuite/ld-elf/pr20513a.d: New file.
446 * testsuite/ld-elf/pr20513a.s: Likewise.
447 * testsuite/ld-elf/pr20513b.d: Likewise.
448 * testsuite/ld-elf/pr20513b.s: Likewise.
449 * testsuite/ld-elf/pr20513c.d: Likewise.
450 * testsuite/ld-elf/pr20513d.d: Likewise.
451 * testsuite/ld-elf/pr20513e.d: Likewise.
452 * testsuite/ld-elf/pr20513f.d: Likewise.
453
454 2016-08-31 Alan Modra <amodra@gmail.com>
455
456 PR 20513
457 * ldlang.c (section_already_linked): Deal with SHF_EXCLUDE sections.
458
459 2016-08-31 Alan Modra <amodra@gmail.com>
460
461 * testsuite/ld-powerpc/vle-multiseg-1.d: Adjust to suit segment change.
462 * testsuite/ld-powerpc/vle-multiseg-2.d: Likewise.
463 * testsuite/ld-powerpc/vle-multiseg-3.d: Likewise.
464 * testsuite/ld-powerpc/vle-multiseg-6.d: Likewise.
465 * testsuite/ld-powerpc/vle-reloc-2.d: Likewise.
466
467 2016-08-30 Cupertino Miranda <cmiranda@synopsys.com>
468
469 * testsuite/ld-arc/tls_gs-01.d: Set to XFAIL on arc*-*-elf*.
470 * testsuite/ld-arc/tls_ie-01.d: Likewise.
471
472 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
473
474 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19784 tests only
475 if ifunc attribute works.
476
477 2016-08-29 H.J. Lu <hongjiu.lu@intel.com>
478
479 PR ld/14961
480 PR ld/20515
481 * testsuite/ld-i386/i386.exp: Run pr20515.
482 * testsuite/ld-i386/pr20515.d: New file.
483 * testsuite/ld-i386/pr20515.s: Likewise.
484 * testsuite/ld-ifunc/ifunc-14a.s: Use R_386_PLT32 to call IFUNC
485 function.
486 * testsuite/ld-ifunc/ifunc-14c.s: Likewise.
487 * testsuite/ld-ifunc/ifunc-2-i386.s: Likewise.
488 * testsuite/ld-ifunc/ifunc-2-local-i386.s: Likewise.
489 * testsuite/ld-ifunc/ifunc.exp: Move PR ld/19784 tests to ...
490 * testsuite/ld-x86-64/x86-64.exp: Here.
491 * testsuite/ld-ifunc/pr19784a.c: Moved to ...
492 * testsuite/ld-x86-64/pr19784a.c: Here.
493 * testsuite/ld-ifunc/pr19784b.c: Moved to ...
494 * testsuite/ld-x86-64/pr19784b.c: Here.
495 * testsuite/ld-ifunc/pr19784c.c: Moved to ...
496 * testsuite/ld-x86-64/pr19784c.c: Here.
497
498 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
499
500 * emultempl/armelf.em (params): New static variable.
501 (thumb_entry_symbol, byteswap_code, target1_is_rel, target2_type,
502 fix_v4bx, use_blx, vfp11_denorm_fix, stm32l4xx_fix, fix_cortex_a8,
503 no_enum_size_warning, no_wchar_size_warning, pic_veneer,
504 merge_exidx_entries, fix_arm1176, cmse_implib): move as part of the
505 above new structure.
506 (arm_elf_before_allocation): Access static variable from the params
507 structure.
508 (gld${EMULATION_NAME}_finish): Likewise.
509 (arm_elf_create_output_section_statements): Likewise and pass the
510 address of that structure to bfd_elf32_arm_set_target_relocs instead
511 of the static variables.
512 (PARSE_AND_LIST_ARGS_CASES): Access static variable from the params
513 structure.
514
515 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
516
517 * ld/testsuite/ld-arc/tls_gd-01.s: Added a testcase for this patch.
518 * ld/testsuite/ld-arc/tls_gd-01.d: Likewise.
519
520 2016-08-26 Cupertino Miranda <cmiranda@synopsys.com>
521
522 * testsuite/ld-arc/tls_ie-01.s: Added to verify associated fix.
523 * testsuite/ld-arc/tls_ie-01.d: Likewise
524
525 2016-08-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
526
527 * emultempl/armelf.em (in_implib_filename): Declare and initialize new
528 variable.
529 (arm_elf_create_output_section_statements): Open import input library
530 file for writing and pass resulting in_implib_bfd to
531 bfd_elf32_arm_set_target_relocs.
532 (PARSE_AND_LIST_PROLOGUE): Define OPTION_IN_IMPLIB option.
533 (PARSE_AND_LIST_LONGOPTS): Define --in-implib option.
534 (PARSE_AND_LIST_OPTIONS): Add help message for --in-implib option.
535 (PARSE_AND_LIST_ARGS_CASES): Handle new OPTION_IN_IMPLIB case.
536 * ld.texinfo (--cmse-implib): Update to mention --in-implib.
537 (--in-implib): Document new option.
538 * NEWS: Likewise.
539 * testsuite/ld-arm/arm-elf.exp
540 (Secure gateway import library generation): add --defsym VER=1 to gas
541 CLI.
542 (Secure gateway import library generation: errors): Likewise.
543 (Input secure gateway import library): New test.
544 (Input secure gateway import library: no output import library):
545 Likewise.
546 (Input secure gateway import library: not an SG input import library):
547 Likewise.
548 (Input secure gateway import library: earlier stub section base):
549 Likewise.
550 (Input secure gateway import library: later stub section base):
551 Likewise.
552 (Input secure gateway import library: veneer comeback): Likewise.
553 (Input secure gateway import library: entry function change):
554 Likewise.
555 * testsuite/ld-arm/cmse-implib.s: Add input import library testing.
556 * testsuite/ld-arm/cmse-implib.rd: Update accordingly.
557 * testsuite/ld-arm/cmse-new-implib.out: New file.
558 * testsuite/ld-arm/cmse-new-implib.rd: Likewise.
559 * testsuite/ld-arm/cmse-new-implib-no-output.out: Likewise.
560 * testsuite/ld-arm/cmse-new-implib-not-sg-in-implib.out: Likewise.
561 * testsuite/ld-arm/cmse-new-earlier-later-implib.out: Likewise.
562 * testsuite/ld-arm/cmse-new-comeback-implib.rd: Likewise.
563 * testsuite/ld-arm/cmse-new-wrong-implib.out: Likewise.
564
565 2016-08-25 Alan Modra <amodra@gmail.com>
566
567 * configure.tgt (powerpc*-*-linux* et al): Rewrite, adding LE
568 support for BE. First output all target endian configury
569 values, then opposite endian. Handle more tooldirs. Fix
570 bogus matches with strings in MANUF-OS part of target triple.
571
572 2016-08-23 Alan Modra <amodra@gmail.com>
573
574 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Don't fail tests
575 twice.
576
577 2016-08-19 Nick Clifton <nickc@redhat.com>
578
579 * emultempl/aarch64elf.em (before_parse): Initialise the relro
580 field in the link_info structure.
581 * emultempl/armelf.em (before_parse): Likewise.
582 * emultempl/linux.em (before_parse): Likewise.
583 * emultempl/scoreelf.em (before_parse): Likewise.
584
585 * testsuite/ld-alpha/tlsbin.rd: Adjust expected ordering of sections.
586 * testsuite/ld-alpha/tlsbinr.rd: Likewise.
587 * testsuite/ld-alpha/tlspic.rd: Likewise.
588 * testsuite/ld-cris/libdso-2.d: Likewise.
589 * testsuite/ld-i386/nogot1.d: Likewise.
590 * testsuite/ld-i386/pr12718.d: Likewise.
591 * testsuite/ld-i386/pr12921.d: Likewise.
592 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
593 * testsuite/ld-i386/tlsbin.rd: Likewise.
594 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
595 * testsuite/ld-i386/tlsbin2.rd: Likewise.
596 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
597 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
598 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
599 * testsuite/ld-i386/tlsdesc.rd: Likewise.
600 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
601 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
602 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
603 * testsuite/ld-i386/tlsnopic.rd: Likewise.
604 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
605 * testsuite/ld-i386/tlspic.rd: Likewise.
606 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
607 * testsuite/ld-i386/tlspic2.rd: Likewise.
608 * testsuite/ld-ia64/tlsbin.rd: Likewise.
609 * testsuite/ld-ia64/tlspic.rd: Likewise.
610 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Likewise.
611 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
612 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
613 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
614 * testsuite/ld-mmix/bspec1.d: Likewise.
615 * testsuite/ld-mmix/bspec2.d: Likewise.
616 * testsuite/ld-mmix/local1.d: Likewise.
617 * testsuite/ld-mmix/local3.d: Likewise.
618 * testsuite/ld-mmix/local5.d: Likewise.
619 * testsuite/ld-mmix/local7.d: Likewise.
620 * testsuite/ld-mmix/undef-3.d: Likewise.
621 * testsuite/ld-powerpc/tlsexe.r: Likewise.
622 * testsuite/ld-powerpc/tlsexe32.r: Likewise.
623 * testsuite/ld-powerpc/tlsexetoc.r: Likewise.
624 * testsuite/ld-powerpc/tlsso.r: Likewise.
625 * testsuite/ld-powerpc/tlsso32.r: Likewise.
626 * testsuite/ld-powerpc/tlstocso.r: Likewise.
627 * testsuite/ld-s390/tlsbin.rd: Likewise.
628 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
629 * testsuite/ld-s390/tlspic.rd: Likewise.
630 * testsuite/ld-s390/tlspic_64.rd: Likewise.
631 * testsuite/ld-sh/sh64/crange1.rd: Likewise.
632 * testsuite/ld-sh/sh64/crange2.rd: Likewise.
633 * testsuite/ld-sh/sh64/crange3-cmpct.rd: Likewise.
634 * testsuite/ld-sh/sh64/crange3-media.rd: Likewise.
635 * testsuite/ld-sh/sh64/crange3.rd: Likewise.
636 * testsuite/ld-sh/sh64/crangerel1.rd: Likewise.
637 * testsuite/ld-sh/sh64/crangerel2.rd: Likewise.
638 * testsuite/ld-sh/tlsbin-2.d: Likewise.
639 * testsuite/ld-sh/tlspic-2.d: Likewise.
640 * testsuite/ld-sparc/gotop32.rd: Likewise.
641 * testsuite/ld-sparc/gotop64.rd: Likewise.
642 * testsuite/ld-sparc/tlssunbin32.rd: Likewise.
643 * testsuite/ld-sparc/tlssunbin64.rd: Likewise.
644 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise.
645 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise.
646 * testsuite/ld-sparc/tlssunpic32.rd: Likewise.
647 * testsuite/ld-sparc/tlssunpic64.rd: Likewise.
648 * testsuite/ld-tic6x/common.d: Likewise.
649 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
650 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
651 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
652 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
653 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
654 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
655 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
656 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
657 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
658 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
659 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
660 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
661 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
662 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
663 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
664 * testsuite/ld-x86-64/nogot1.d: Likewise.
665 * testsuite/ld-x86-64/pr12718.d: Likewise.
666 * testsuite/ld-x86-64/pr12921.d: Likewise.
667 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
668 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
669 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
670 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
671 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
672 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
673 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
674 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
675 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
676 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
677 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
678 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
679 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
680 * testsuite/ld-x86-64/tlspic.rd: Likewise.
681 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
682 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
683 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
684 * testsuite/ld-xtensa/tlspic.rd: Likewise.
685
686 2016-08-18 Alan Modra <amodra@gmail.com>
687
688 * testsuite/ld-undefined/weak-undef.exp: Use unsupported not
689 unresolved.
690
691 2016-08-12 Alan Modra <amodra@gmail.com>
692
693 * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.
694 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
695 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
696 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
697 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
698 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
699 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
700 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
701 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
702 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
703 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
704 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
705 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
706
707 2016-08-12 Alan Modra <amodra@gmail.com>
708
709 * testsuite/ld-undefined/weak-fundef.s: New.
710 * testsuite/ld-undefined/weak-undef.t: Don't specify filename.
711 * testsuite/ld-undefined/weak-undef.exp: Run new tests. Rearrange
712 much of old code. Use is_elf_format to select targets.
713
714 2016-08-11 Alan Modra <amodra@gmail.com>
715
716 PR ld/20436
717 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Don't ignore
718 remote_exec status.
719 (check_gcc_plugin_enabled): Likewise. Revert previous patch.
720
721 2016-08-11 Nick Clifton <nickc@redhat.com>
722
723 PR ld/20436
724 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): When not
725 testing remotely, check to see if target compiler is installed
726 before trying to run it.
727
728 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
729
730 PR ld/15428
731 * testsuite/ld-mips-elf/mips-elf.exp: Un-KFAIL `__ehdr_start'
732 test 2.
733
734 2016-08-10 Maciej W. Rozycki <macro@imgtec.com>
735
736 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.dd: New
737 test.
738 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips-rel.nd: New
739 test.
740 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.dd: New test.
741 * testsuite/ld-mips-elf/pic-and-nonpic-1-micromips.nd: New test.
742 * testsuite/ld-mips-elf/pic-and-nonpic-1a-micromips.s: New test
743 source.
744 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s: New test
745 source.
746 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
747
748 2016-08-09 H.J. Lu <hongjiu.lu@intel.com>
749
750 PR ld/20436
751 * testsuite/lib/ld-lib.exp (check_gcc_plugin_enabled): New
752 proc.
753 (check_lto_available): Return 0 if check_gcc_plugin_enabled
754 returns 0.
755 (check_lto_fat_available): Likewise.
756 (check_lto_shared_available): Likewise.
757
758 2016-08-09 Roland McGrath <roland@hack.frob.com>
759
760 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes.
761
762 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
763
764 * emultempl/armelf.em (cmse_implib): Declare and define this new
765 static variable.
766 (arm_elf_create_output_section_statements): Add new cmse_implib
767 parameter.
768 (OPTION_CMSE_IMPLIB): Define macro.
769 (PARSE_AND_LIST_LONGOPTS): Add entry for new --cmse-implib switch.
770 (PARSE_AND_LIST_OPTIONS): Likewise.
771 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_CMSE_IMPLIB case.
772 * ld.texinfo (--cmse-implib): Document new option.
773 * testsuite/ld-arm/arm-elf.exp
774 (Secure gateway import library generation): New test.
775 (Secure gateway import library generation: errors): Likewise.
776 * testsuite/ld-arm/cmse-implib.s: New file.
777 * testsuite/ld-arm/cmse-implib-errors.out: Likewise.
778 * testsuite/ld-arm/cmse-implib.rd: Likewise.
779
780 2016-08-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
781
782 * ld.texinfo (Placement of SG veneers): New concept entry.
783 * testsuite/ld-arm/arm-elf.exp
784 (Secure gateway veneers: no .gnu.sgstubs section): New test.
785 (Secure gateway veneers: wrong entry functions): Likewise.
786 (Secure gateway veneers (ARMv8-M Baseline)): Likewise.
787 (Secure gateway veneers (ARMv8-M Mainline)): Likewise.
788 * testsuite/ld-arm/cmse-veneers.s: New file.
789 * testsuite/ld-arm/cmse-veneers.d: Likewise.
790 * testsuite/ld-arm/cmse-veneers.rd: Likewise.
791 * testsuite/ld-arm/cmse-veneers.sd: Likewise.
792 * testsuite/ld-arm/cmse-veneers-no-gnu_sgstubs.out: Likewise.
793 * testsuite/ld-arm/cmse-veneers-wrong-entryfct.out: Likewise.
794
795 2016-08-02 Nick Clifton <nickc@redhat.com>
796
797 PR ld/17739
798 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with
799 valye 'yes'.
800 * emulparams/shelf32.sh: Likewise.
801 * emulparams/shelf32.sh: Likewise.
802 * emulparams/shelf_nto.sh: Likewise.
803 * emulparams/shelf_nto.sh: Likewise.
804 * emulparams/shelf_vxworks.sh: Likewise.
805 * emulparams/shelf_vxworks.sh: Likewise.
806 * emulparams/shlelf32_linux.sh: Likewise.
807 * emulparams/shlelf32_linux.sh: Likewise.
808 * emulparams/shlelf_linux.sh: Likewise.
809 * emulparams/shlelf_linux.sh: Likewise.
810 * emulparams/shlelf_nto.sh: Likewise.
811 * emulparams/shlelf_nto.sh: Likewise.
812
813 2016-07-27 Maciej W. Rozycki <macro@imgtec.com>
814
815 * testsuite/ld-mips-elf/micromips-branch-absolute.d: Update
816 patterns for branch compaction.
817 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d:
818 Likewise.
819
820 2016-07-27 Nick Clifton <nickc@redhat.com>
821
822 * testsuite/ld-gc/personality.d: Use "target cfi" to restrict the
823 test to targets which support cfi.
824
825 2016-07-27 Igor Kudrin <ikudrin@accesssoftek.com>
826
827 * ldbuildid.c (generate_build_id): Warning fix.
828
829 2016-07-26 Maciej W. Rozycki <macro@imgtec.com>
830
831 * testsuite/ld-mips-elf/compressed-plt-1.s: Add branch support.
832 * testsuite/ld-mips-elf/compressed-plt-1a.s: Likewise.
833 * testsuite/ld-mips-elf/compressed-plt-1b.s: Likewise.
834 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.od: New
835 test.
836 * testsuite/ld-mips-elf/compressed-plt-1-o32-branch.rd: New
837 test.
838 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.od:
839 New test.
840 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-bronly.rd:
841 New test.
842 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.od:
843 New test.
844 * testsuite/ld-mips-elf/compressed-plt-1-o32-mips16-branch.rd:
845 New test.
846 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.od:
847 New test.
848 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-bronly.rd:
849 New test.
850 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.od:
851 New test.
852 * testsuite/ld-mips-elf/compressed-plt-1-o32-umips-branch.rd:
853 New test.
854 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
855
856 2016-07-26 Igor Kudrin <ikudrin@accesssoftek.com>
857
858 * ldbuildid.c: Changes for MinGW32:
859 Include windows.h and rpcdce.h.
860 (validate_build_id_style): Allow "uuid" style.
861 (generate_build_id): Fill in id_bits using UuidCreate().
862
863 2016-07-25 Alan Modra <amodra@gmail.com>
864
865 * testsuite/ld-elf/sec64k.exp: Run test for arc, msp430, or1k
866 and m32r. Correct comment. Relax ld -r match to account for
867 msp increased number of default sections.
868
869 2016-07-22 Cupertino Miranda <cmiranda@synopsys.com>
870
871 * testsuite/ld-arc/got-01.d: New file.
872 * testsuite/ld-arc/got-01.s: New file.
873
874 2016-07-21 H.J. Lu <hongjiu.lu@intel.com>
875
876 * configure: Regenerated.
877
878 2016-07-21 Alan Modra <amodra@gmail.com>
879
880 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Replace
881 "targets_to_xfail" parameter with "args".
882 * testsuite/ld-elf/compress.exp: Remove empty list of xfails on
883 all calls to run_ld_link_exec_tests.
884 * testsuite/ld-elf/dwarf.exp: Likewise.
885 * testsuite/ld-elf/indirect.exp: Likewise.
886 * testsuite/ld-elf/wrap.exp: Likewise.
887 * testsuite/ld-i386/i386.exp: Likewise.
888 * testsuite/ld-i386/no-plt.exp: Likewise.
889 * testsuite/ld-i386/tls.exp: Likewise.
890 * testsuite/ld-ifunc/ifunc.exp: Likewise.
891 * testsuite/ld-pie/pie.exp: Likewise.
892 * testsuite/ld-plugin/lto.exp: Likewise.
893 * testsuite/ld-size/size.exp: Likewise.
894 * testsuite/ld-x86-64/mpx.exp: Likewise.
895 * testsuite/ld-x86-64/no-plt.exp: Likewise.
896 * testsuite/ld-x86-64/tls.exp: Likewise.
897 * testsuite/ld-x86-64/x86-64.exp: Likewise.
898 * testsuite/ld-elf/elf.exp: Likewise. Reorder args when providing
899 xfails and simplify lists.
900 * testsuite/ld-elf/shared.exp: Likewise.
901
902 2016-07-21 Alan Modra <amodra@gmail.com>
903
904 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Add optional
905 parameter to pass list of xfails.
906 * testsuite/ld-elf/elf.exp: Add xfails for implib tests. Tidy
907 implib test formatting. Don't set .data start address.
908 * testsuite/ld-elf/implib.s: Remove first .bss directive and
909 replace second one with equivalent .section directive.
910 * testsuite/ld-elf/empty-implib.out: Add expected final error.
911 * testsuite/ld-elf/implib.rd: Update.
912
913 2016-07-20 Alan Modra <amodra@gmail.com>
914
915 * ldexp.c (exp_unop, exp_binop, exp_trinop, exp_nameop): Don't
916 fold expression.
917 * testsuite/ld-elf/maxpage3b.d: Expect correct maxpagesize.
918
919 2016-07-19 Roland McGrath <roland@hack.frob.com>
920
921 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes.
922 * emulparams/aarch64elf32.sh: Likewise.
923
924 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
925
926 * testsuite/ld-mips-elf/unaligned-branch-2.d: Update error
927 messages expected.
928 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
929 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
930 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
931 * testsuite/ld-mips-elf/bal-jalx-addend.d: New test.
932 * testsuite/ld-mips-elf/bal-jalx-local.d: New test.
933 * testsuite/ld-mips-elf/bal-jalx-pic.d: New test.
934 * testsuite/ld-mips-elf/bal-jalx-addend-n32.d: New test.
935 * testsuite/ld-mips-elf/bal-jalx-local-n32.d: New test.
936 * testsuite/ld-mips-elf/bal-jalx-pic-n32.d: New test.
937 * testsuite/ld-mips-elf/bal-jalx-addend-n64.d: New test.
938 * testsuite/ld-mips-elf/bal-jalx-local-n64.d: New test.
939 * testsuite/ld-mips-elf/bal-jalx-pic-n64.d: New test.
940 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
941 * testsuite/ld-mips-elf/unaligned-jalx-3.d: New test.
942 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.d: New test.
943 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: New test.
944 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
945 * testsuite/ld-mips-elf/unaligned-jalx-3.s: New test source.
946 * testsuite/ld-mips-elf/unaligned-jalx-addend-2.s: New test
947 source.
948 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.s: New test
949 source.
950 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
951
952 2016-07-19 Maciej W. Rozycki <macro@imgtec.com>
953
954 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error message
955 expected.
956 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
957 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
958 Likewise.
959 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
960 Likewise.
961 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
962 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
963 * testsuite/ld-mips-elf/undefweak-overflow.s: Add jumps,
964 microMIPS BAL and MIPS16 instructions.
965 * testsuite/ld-mips-elf/undefweak-overflow.d: Update
966 accordingly.
967 * testsuite/ld-mips-elf/unaligned-branch-2.d: New test.
968 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: New test.
969 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: New test.
970 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: New test.
971 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: New test.
972 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: New test.
973 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: New test.
974 * testsuite/ld-mips-elf/unaligned-jump.d: New test.
975 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
976
977 2016-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
978
979 * plugin.c (plugin_call_claim_file): Restore the file offset after
980 an unsuccessful attempt to claim a file.
981 * testplug.c (bytes_to_read_before_claim): New global.
982 (record_read_length): New function, sets new global
983 bytes_to_read_before_claim.
984 (parse_option): Handle 'read:<NUMBER>' option.
985 (onclaim_file): Read file content before checking for claim.
986 * testsuite/ld-plugin/plugin-30.d: New file.
987 * testsuite/ld-plugin/plugin.exp: Add new test.
988
989 2016-07-16 Alan Modra <amodra@gmail.com>
990
991 * plugin.c: Don't include libbfd.h. Include plugin-api.h
992 before bfd/plugin.h.
993 (plugin_object_p): Use bfd_plugin_open_input.
994
995 2016-07-16 Alan Modra <amodra@gmail.com>
996
997 * ldlang.c (open_output): Replace bfd_search_for_target with
998 bfd_iterate_over_targets. Localize vars.
999
1000 2016-07-16 Alan Modra <amodra@gmail.com>
1001
1002 * ldlang.c: Don't include libbfd.h.
1003 * emultempl/nds32elf.em: Likewise.
1004 * emultempl/ppc64elf.em: Likewise.
1005 * emultempl/ppc32elf.em: Likewise.
1006 (pagesize): Delete.
1007 (params): Update init.
1008 (ppc_after_open_output): Use params.pagesize. Don't call bfd_log2.
1009 (PARSE_AND_LIST_ARGS_CASES): Use params.pagesize.
1010 * emultempl/sh64elf.em: Don't include libbfd.h.
1011 (after_allocation): Use ASSERT, not BFD_ASSERT.
1012 * emultempl/xtensaelf.em: Don't include libbfd.h.
1013 (replace_insn_sec_with_prop_sec): Use xmalloc, not bfd_malloc.
1014 * Makefile.am: Update dependencies.
1015 * Makefile.in: Regenerate.
1016
1017 2016-07-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1018 Nick Clifton <nickc@redhat.com>
1019
1020 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Open import
1021 library file for writing and initialize implib_bfd field of link_info
1022 structure.
1023 * emultempl/pe.em (pe_implib_filename): Remove variable declaration.
1024 (OPTION_IMPLIB_FILENAME): Remove macro definition.
1025 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1026 (gld_${EMULATION_NAME}_list_options): Likewise.
1027 (gld${EMULATION_NAME}_handle_option): Likewise.
1028 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1029 instead of pe_implib_filename.
1030 * emultempl/pep.em (pep_implib_filename): Remove variable declaration.
1031 (OPTION_IMPLIB_FILENAME): Remove enumerator.
1032 (gld${EMULATION_NAME}_add_options): Remove --out-implib option.
1033 (gld_${EMULATION_NAME}_list_options): Likewise.
1034 (gld${EMULATION_NAME}_handle_option): Likewise.
1035 (gld_${EMULATION_NAME}_finish): Use command_line.out_implib_filename
1036 instead of pep_implib_filename.
1037 * ld.h (args_type): Declare new out_implib_filename field.
1038 * ld.texinfo (--out-implib): Move documentation to arch-independent
1039 part and rephrase to apply to ELF targets.
1040 * ldexp.c (exp_fold_tree_1): Set ldscript_def field to 1 for symbols
1041 defined in linker scripts.
1042 * ldlex.h (enum option_values): Declare new OPTION_OUT_IMPLIB
1043 enumerator.
1044 * lexsup.c (ld_options): Add entry for new --out-implib switch.
1045 (parse_args): Handle OPTION_OUT_IMPLIB case.
1046 * testsuite/ld-elf/elf.exp (Generate empty import library): New test.
1047 (Generate import library): Likewise.
1048 * testsuite/ld-elf/implib.s: Likewise.
1049 * testsuite/ld-elf/implib.rd: New file.
1050 * testsuite/ld-elf/empty-implib.out: Likewise
1051
1052 2016-07-15 Nick Clifton <nickc@redhat.com>
1053
1054 * testsuite/ld-arc/arc.exp: Always run the sda-relocs test in
1055 little endian mode.
1056
1057 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1058
1059 * testsuite/ld-mips-elf/mips-elf.exp: Run
1060 `branch-absolute-addend', `mips16-branch-absolute',
1061 `mips16-branch-absolute-addend' and
1062 `micromips-branch-absolute-addend'.
1063
1064 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1065
1066 * testsuite/ld-mips-elf/mips16-branch-absolute.d: New test.
1067 * testsuite/ld-mips-elf/mips16-branch-absolute-n32.d: New test.
1068 * testsuite/ld-mips-elf/mips16-branch-absolute-n64.d: New test.
1069 * testsuite/ld-mips-elf/mips16-branch-absolute-addend.d: New
1070 test.
1071 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32.d: New
1072 test.
1073 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64.d: New
1074 test.
1075 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1076 from `mips16-branch-absolute' and
1077 `mips16-branch-absolute-addend', referred indirectly only.
1078
1079 2016-07-14 Maciej W. Rozycki <macro@imgtec.com>
1080
1081 * testsuite/ld-mips-elf/branch-absolute.d: New test.
1082 * testsuite/ld-mips-elf/branch-absolute-n32.d: New test.
1083 * testsuite/ld-mips-elf/branch-absolute-n64.d: New test.
1084 * testsuite/ld-mips-elf/branch-absolute-addend.d: New test.
1085 * testsuite/ld-mips-elf/branch-absolute-addend-n32.d: New test.
1086 * testsuite/ld-mips-elf/branch-absolute-addend-n64.d: New test.
1087 * testsuite/ld-mips-elf/micromips-branch-absolute.d: New test.
1088 * testsuite/ld-mips-elf/micromips-branch-absolute-n32.d: New
1089 test.
1090 * testsuite/ld-mips-elf/micromips-branch-absolute-n64.d: New
1091 test.
1092 * testsuite/ld-mips-elf/micromips-branch-absolute-addend.d: New
1093 test.
1094 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n32.d:
1095 New test.
1096 * testsuite/ld-mips-elf/micromips-branch-absolute-addend-n64.d:
1097 New test.
1098 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests, except
1099 from `branch-absolute-addend' and
1100 `micromips-branch-absolute-addend', referred indirectly only.
1101
1102 2016-07-14 Claudiu Zissulescu <claziss@synopsys.com>
1103
1104 * emulparams/arcelf.sh (SDATA_START_SYMBOLS): Add offset.
1105 * testsuite/ld-arc/sda-relocs.dd: New file.
1106 * testsuite/ld-arc/sda-relocs.ld: Likewise.
1107 * testsuite/ld-arc/sda-relocs.rd: Likewise.
1108 * testsuite/ld-arc/sda-relocs.s: Likewise.
1109 * testsuite/ld-arc/arc.exp: Add SDA tests.
1110
1111 2016-07-11 Claudiu Zissulescu <claziss@synopsys.com>
1112
1113 * testsuite/ld-arc/nps-1b.err: Update test to handle more
1114 verbosity.
1115
1116 2016-07-09 Alan Modra <amodra@gmail.com>
1117
1118 * testsuite/ld-powerpc/elfv2exe.d: Update.
1119
1120 2016-07-06 James Bowman <james.bowman@ftdichip.com>
1121
1122 * scripttempl/ft32.sc (__PMSIZE): Correct __PMSIZE_.
1123 (DATA): add ALIGN.
1124 (BSS): add ALIGN
1125
1126 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
1127
1128 * testsuite/ld-plugin/lto.exp: Add -flto to PR ld/20321 test.
1129
1130 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1131
1132 * testsuite/ld-arm/farcall-thumb2-purecode.d: New test result.
1133 * testsuite/ld-arm/farcall-thumb2-purecode.s: New test.
1134 * testsuite/ld-arm/arm-elf.exp: Run it.
1135
1136 2016-07-05 Andre Vieria <andre.simoesdiasvieira@arm.com>
1137
1138 * testsuite/ld-arm/arm_noread.ld: Renamed to ...
1139 testsuite/ld-arm/arm_purecode.ld: ... this, and replaced
1140 all noread's by purecode.
1141
1142 2016-07-05 Jan Beulich <jbeulich@suse.com>
1143
1144 * ldexp.c (exp_fold_tree_1): Set linker_def field based on
1145 assignment line number.
1146 * ldlex.l (lineno): Drop initializer.
1147 (<<EOF>>): Set lineno to zero after reaching top of stack.
1148
1149 2016-07-04 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 PR ld/20321
1152 * plugin.c (plugin_opt_plugin): Warn and return if plugin has
1153 been loaded already.
1154 * testsuite/ld-plugin/lto.exp: Run PR ld/20321 test.
1155 * testsuite/ld-plugin/pr20321.c: New file.
1156
1157 2016-07-04 Nick Clifton <nickc@redhat.com>
1158
1159 * scripttempl/ft32.sc (__PMSIZE_): If not defined, set to 256K.
1160 (__RAMSIZE): If not defined, set to 64K.
1161 (MEMORY): Set the flash region size to __PMSIZE and the ram region
1162 size to __RAMSIZE.
1163
1164 2016-07-02 Maciej W. Rozycki <macro@imgtec.com>
1165
1166 * testsuite/ld-mips-elf/branch-misc-2.d: New test.
1167 * testsuite/ld-mips-elf/mips-elf.exp: Run it.
1168
1169 2016-07-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
1170
1171 * testsuite/ld-arm/arm-elf.exp (Thumb-2 BL): Assemble for ARMv7.
1172 (Thumb-2 BL on ARMv6-M): New testcase.
1173 * testsuite/ld-arm/thumb2-bl.d: Do not try to match testcase filename.
1174 * testsuite/ld-arm/thumb2-bl.s: Do not select architecture.
1175
1176 2016-07-01 Tristan Gingold <gingold@adacore.com>
1177
1178 * NEWS: Add marker for 2.27.
1179
1180 2016-06-28 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 * testsuite/ld-gc/gc.exp: Run pr20306 test.
1183 * ld-gc/pr20306.c: New file.
1184 * ld-gc/pr20306.d: Likewise.
1185
1186 2016-06-28 Nick Clifton <nickc@redhat.com>
1187
1188 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail
1189 for bfin.
1190 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function
1191 tests to fail for bfin.
1192 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx,
1193 nds32 and visium.
1194 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and
1195 microblaze.
1196 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for
1197 mcore-pe.
1198
1199 2016-06-28 Nick Clifton <nickc@redhat.com>
1200
1201 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that
1202 expect to fail this test.
1203 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for
1204 RX.
1205 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to
1206 fail for the RX.
1207 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1208 * testsuite/ld-scripts/rgn-at2.d: Likewise.
1209 * testsuite/ld-scripts/rgn-at6.d: Likewise.
1210 * testsuite/ld-scripts/rgn-at7.d: Likewise.
1211 * testsuite/ld-scripts/rgn-at8.d: Likewise.
1212
1213 2016-06-28 James Clarke <jrtc27@jrtc27.com>
1214
1215 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from
1216 .text.
1217
1218 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1219
1220 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI.
1221 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise.
1222 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise.
1223 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise.
1224
1225 2016-06-28 Alan Modra <amodra@gmail.com>
1226
1227 PR ld/20302
1228 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout.
1229
1230 2016-06-28 Maciej W. Rozycki <macro@imgtec.com>
1231
1232 * testsuite/ld-mips-elf/mips16-branch-2.d: New test.
1233 * testsuite/ld-mips-elf/mips16-branch-3.d: New test.
1234 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test.
1235 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test.
1236 * testsuite/ld-mips-elf/mips16-branch.s: New test source.
1237 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1238
1239 2016-06-27 Nick Clifton <nickc@redhat.com>
1240
1241 PR ld/20302
1242 * lexsup.c (set_segment_start): If resetting the start address of
1243 a section, remember to generate a new script element as well.
1244 * testsuite/ld-scripts/pr20302.d: New test.
1245 * testsuite/ld-scripts/scripts.exp: Run the new test.
1246
1247 2016-06-24 Alan Modra <amodra@gmail.com>
1248
1249 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul):
1250 Don't error out, always return an emulation.
1251
1252 2016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1253 H.J. Lu <hongjiu.lu@intel.com>
1254
1255 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO
1256 for -z relro help message.
1257
1258 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1259
1260 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard
1261 address matching.
1262
1263 2016-06-22 Maciej W. Rozycki <macro@imgtec.com>
1264
1265 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify
1266 `undefweak-overflow' tests.
1267
1268 2016-06-22 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 PR ld/20283
1271 * NEWS: Mention --enable-relro.
1272 * configure.ac: Add --enable-relro.
1273 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro.
1274 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for
1275 some Linux targets.
1276 * config.in: Regenerated.
1277 * configure: Likewise.
1278 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
1279 link_info.relro to DEFAULT_LD_Z_RELRO.
1280 * testsuite/config/default.exp (ld_elf_shared_opt): New.
1281 * testsuite/lib/ld-lib.exp (run_dump_test): Pass
1282 $ld_elf_shared_opt to ld for ELF targets with shared object
1283 support.
1284 (run_ld_link_tests): Likewise.
1285
1286 2016-06-21 Maciej W. Rozycki <macro@imgtec.com>
1287
1288 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error
1289 twice rather than once.
1290 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust
1291 accordingly. Remove the full stop from the end of the message.
1292
1293 2016-06-21 Graham Markall <graham.markall@embecosm.com>
1294
1295 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400.
1296 * testsuite/ld-arc/nps-1b.d: Likewise.
1297
1298 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 PR ld/20267
1301 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1302 PR ld/20267.
1303 (lto_run_tests): Likewise.
1304 * testsuite/ld-plugin/pr20267a.c: New file.
1305 * testsuite/ld-plugin/pr20267b.c: Likewise.
1306
1307 2016-06-20 H.J. Lu <hongjiu.lu@intel.com>
1308 Alan Modra <amodra@gmail.com>
1309
1310 PR ld/20276
1311 * plugin.c (plugin_notice): Set non_ir_ref on common symbols.
1312 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for
1313 PR ld/20276.
1314 (lto_run_tests): Likewise.
1315 * testsuite/ld-plugin/pass.out: New file.
1316 * testsuite/ld-plugin/pr20276a.c: Likewise.
1317 * testsuite/ld-plugin/pr20276b.c: Likewise.
1318
1319 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1320
1321 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown
1322 with bfd_plugin_unknown.
1323
1324 2016-06-18 H.J. Lu <hongjiu.lu@intel.com>
1325
1326 PR ld/20253
1327 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests.
1328 * testsuite/ld-i386/no-plt.exp: Likewise.
1329 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1330 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section.
1331 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise.
1332 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise.
1333 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise.
1334 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise.
1335 * testsuite/ld-x86-64/pr13082-5a.d: Likewise.
1336 * testsuite/ld-x86-64/pr13082-5b.d: Likewise.
1337 * testsuite/ld-x86-64/pr13082-6a.d: Likewise.
1338 * testsuite/ld-x86-64/pr13082-6b.d: Likewise.
1339 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section.
1340 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1341 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1342 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1343 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1344 * testsuite/ld-i386/pr20244-2b.d: Updated.
1345 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1346 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise.
1347 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1348 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1349 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1350 * testsuite/ld-i386/pr20253-1a.c: New file.
1351 * testsuite/ld-i386/pr20253-1b.S: Likewise.
1352 * testsuite/ld-i386/pr20253-1c.S: Likewise.
1353 * testsuite/ld-i386/pr20253-1d.S: Likewise.
1354 * testsuite/ld-i386/pr20253-2a.c: Likewise.
1355 * testsuite/ld-i386/pr20253-2b.S: Likewise.
1356 * testsuite/ld-i386/pr20253-2c.S: Likewise.
1357 * testsuite/ld-i386/pr20253-2d.S: Likewise.
1358 * testsuite/ld-i386/pr20253-3.d: Likewise.
1359 * testsuite/ld-i386/pr20253-3.s: Likewise.
1360 * testsuite/ld-i386/pr20253-4.s: Likewise.
1361 * testsuite/ld-i386/pr20253-4a.d: Likewise.
1362 * testsuite/ld-i386/pr20253-4b.d: Likewise.
1363 * testsuite/ld-i386/pr20253-4c.d: Likewise.
1364 * testsuite/ld-i386/pr20253-5.d: Likewise.
1365 * testsuite/ld-i386/pr20253-5.s: Likewise.
1366 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise.
1367 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise.
1368 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise.
1369 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise.
1370 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise.
1371 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
1372 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise.
1373 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise.
1374 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise.
1375 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
1376 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise.
1377 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise.
1378 * testsuite/ld-x86-64/pr20253-1.s: Likewise.
1379 * testsuite/ld-x86-64/pr20253-1a.d: Likewise.
1380 * testsuite/ld-x86-64/pr20253-1b.d: Likewise.
1381 * testsuite/ld-x86-64/pr20253-1c.d: Likewise.
1382 * testsuite/ld-x86-64/pr20253-1d.d: Likewise.
1383 * testsuite/ld-x86-64/pr20253-1e.d: Likewise.
1384 * testsuite/ld-x86-64/pr20253-1f.d: Likewise.
1385 * testsuite/ld-x86-64/pr20253-1g.d: Likewise.
1386 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
1387 * testsuite/ld-x86-64/pr20253-1i.d: Likewise.
1388 * testsuite/ld-x86-64/pr20253-1j.d: Likewise.
1389 * testsuite/ld-x86-64/pr20253-1k.d: Likewise.
1390 * testsuite/ld-x86-64/pr20253-1l.d: Likewise.
1391 * testsuite/ld-x86-64/pr20253-2a.c: Likewise.
1392 * testsuite/ld-x86-64/pr20253-2b.S: Likewise.
1393 * testsuite/ld-x86-64/pr20253-2c.S: Likewise.
1394 * testsuite/ld-x86-64/pr20253-2d.S: Likewise.
1395 * testsuite/ld-x86-64/pr20253-3.d: Likewise.
1396 * testsuite/ld-x86-64/pr20253-3.s: Likewise.
1397 * testsuite/ld-x86-64/pr20253-4.s: Likewise.
1398 * testsuite/ld-x86-64/pr20253-4a.d: Likewise.
1399 * testsuite/ld-x86-64/pr20253-4b.d: Likewise.
1400 * testsuite/ld-x86-64/pr20253-4c.d: Likewise.
1401 * testsuite/ld-x86-64/pr20253-4d.d: Likewise.
1402 * testsuite/ld-x86-64/pr20253-4e.d: Likewise.
1403 * testsuite/ld-x86-64/pr20253-4f.d: Likewise.
1404 * testsuite/ld-x86-64/pr20253-5.s: Likewise.
1405 * testsuite/ld-x86-64/pr20253-5a.d: Likewise.
1406 * testsuite/ld-x86-64/pr20253-5b.d: Likewise.
1407 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE
1408 relocation.
1409 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise.
1410 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise.
1411 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise.
1412 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo.
1413 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests.
1414
1415 2016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com>
1416 Tony Wang <tony.wang@arm.com>
1417
1418 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile):
1419 Assemble for ARMv6-M.
1420 (Thumb2-Thumb2 farcall M profile): New testcase.
1421 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file.
1422 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to
1423 reflect the use of Thumb-2 veneers for Thumb-2 capable targets.
1424 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise.
1425
1426 2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl.
1429 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets.
1430 Remove .rel.plt section.
1431 * testsuite/ld-i386/pr19636-2e-nacl.d: New file.
1432
1433 2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
1434
1435 * testsuite/ld-i386/no-plt-check1a.S (check): Test static
1436 function pointer.
1437 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise.
1438 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise.
1439 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static
1440 function pointer.
1441 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise.
1442 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise.
1443 * testsuite/ld-i386/no-plt-1a.dd: Updated.
1444 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1445 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1446 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1447 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1448 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1449 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1450 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1451 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1452 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1453 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1454 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1455 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1456 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1457 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1458 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1459 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1460
1461 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1462
1463 PR ld/20254
1464 * testsuite/ld-avr/avr-prop-6.d: New test.
1465 * testsuite/ld-avr/avr-prop-6.s: New test.
1466
1467 2016-06-14 Alan Modra <amodra@gmail.com>
1468
1469 * ldbuildid.c: Formatting.
1470 * ldcref.c: Formatting.
1471 * ldctor.c: Formatting.
1472 * ldemul.c: Formatting.
1473 * ldexp.c: Formatting.
1474 * ldfile.c: Formatting.
1475 * ldlang.c: Formatting.
1476 * ldmain.c: Formatting.
1477 * ldwrite.c: Formatting.
1478
1479 2016-06-14 Alan Modra <amodra@gmail.com>
1480
1481 * ldlang.c: Expand uses of bfd_my_archive.
1482 * ldmain.c: Likewise.
1483 * ldmisc.c: Likewise.
1484 * plugin.c: Likewise.
1485
1486 2016-06-14 Alan Modra <amodra@gmail.com>
1487
1488 PR ld/20241
1489 * ldmain.c (add_archive_element): Just print file name of file within
1490 thin archives.
1491 * ldmisc.c (vfinfo): Likewise.
1492 * plugin.c (plugin_object_p): Open file within thin archives.
1493 (plugin_maybe_claim): Expand comment.
1494
1495 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1496
1497 PR ld/20244
1498 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b,
1499 pr20244-2c and pr20244-2d.
1500 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b.
1501 * testsuite/ld-i386/pr20244-2.s: New file.
1502 * testsuite/ld-i386/pr20244-2a.d: Likewise.
1503 * testsuite/ld-i386/pr20244-2b.d: Likewise.
1504 * testsuite/ld-i386/pr20244-2c.d: Likewise.
1505 * testsuite/ld-i386/pr20244-2d.d: Likewise.
1506 * testsuite/ld-i386/pr20244-3a.c: Likewise.
1507 * testsuite/ld-i386/pr20244-3b.S: Likewise.
1508 * testsuite/ld-i386/pr20244-3c.S: Likewise.
1509 * testsuite/ld-i386/pr20244-3d.S: Likewise.
1510
1511 2016-06-13 H.J. Lu <hongjiu.lu@intel.com>
1512
1513 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b.
1514 * testsuite/ld-i386/ifunc-1a.c: New file.
1515 * testsuite/ld-i386/ifunc-1b.S: Likewise.
1516 * testsuite/ld-i386/ifunc-1c.S: Likewise.
1517 * testsuite/ld-i386/ifunc-1d.S: Likewise.
1518
1519 2016-06-13 Cupertino Miranda <cmiranda@synospsy.com>
1520
1521 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and
1522 big endian ARC targets.
1523
1524 2016-06-12 H.J. Lu <hongjiu.lu@intel.com>
1525
1526 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32.
1527 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1528 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1529 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1530 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1531 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1532 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1533 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1534 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1535 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1536 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1537 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1538 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1539 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1540 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1541
1542 2016-06-11 H.J. Lu <hongjiu.lu@intel.com>
1543
1544 PR ld/20244
1545 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b.
1546 * testsuite/ld-i386/pr20244-1.s: New file.
1547 * testsuite/ld-i386/pr20244-1a.d: Likewise.
1548 * testsuite/ld-i386/pr20244-1b.d: Likewise.
1549 * testsuite/ld-i386/pr20244-1c.d: Likewise.
1550
1551 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1552
1553 PR ld/20221
1554 * testsuite/ld-avr/avr-prop-5.d: New.
1555 * testsuite/ld-avr/avr-prop-5.s: New.
1556
1557 2016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1558
1559 * testsuite/ld-avr/lds-mega.d: New test.
1560 * testsuite/ld-avr/lds-mega.s: New test source.
1561 * testsuite/ld-avr/lds-tiny.d: New test.
1562 * testsuite/ld-avr/lds-tiny.s: New test source.
1563
1564 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1565
1566 * testsuite/ld-i386/libno-plt-1b.dd: New file.
1567 * testsuite/ld-i386/libno-plt-1b.rd: Likewise.
1568 * testsuite/ld-i386/no-plt-1a.dd: Likewise.
1569 * testsuite/ld-i386/no-plt-1a.rd: Likewise.
1570 * testsuite/ld-i386/no-plt-1b.dd: Likewise.
1571 * testsuite/ld-i386/no-plt-1b.rd: Likewise.
1572 * testsuite/ld-i386/no-plt-1c.dd: Likewise.
1573 * testsuite/ld-i386/no-plt-1c.rd: Likewise.
1574 * testsuite/ld-i386/no-plt-1d.dd: Likewise.
1575 * testsuite/ld-i386/no-plt-1d.rd: Likewise.
1576 * testsuite/ld-i386/no-plt-1e.dd: Likewise.
1577 * testsuite/ld-i386/no-plt-1e.rd: Likewise.
1578 * testsuite/ld-i386/no-plt-1f.dd: Likewise.
1579 * testsuite/ld-i386/no-plt-1f.rd: Likewise.
1580 * testsuite/ld-i386/no-plt-1g.dd: Likewise.
1581 * testsuite/ld-i386/no-plt-1g.rd: Likewise.
1582 * testsuite/ld-i386/no-plt-1h.dd: Likewise.
1583 * testsuite/ld-i386/no-plt-1h.rd: Likewise.
1584 * testsuite/ld-i386/no-plt-1i.dd: Likewise.
1585 * testsuite/ld-i386/no-plt-1i.rd: Likewise.
1586 * testsuite/ld-i386/no-plt-1j.dd: Likewise.
1587 * testsuite/ld-i386/no-plt-1j.rd: Likewise.
1588 * testsuite/ld-i386/no-plt-check1a.S: Likewise.
1589 * testsuite/ld-i386/no-plt-check1b.S: Likewise.
1590 * testsuite/ld-i386/no-plt-extern1a.S: Likewise.
1591 * testsuite/ld-i386/no-plt-extern1b.S: Likewise.
1592 * testsuite/ld-i386/no-plt-func1.c: Likewise.
1593 * testsuite/ld-i386/no-plt-main1.c: Likewise.
1594 * testsuite/ld-i386/no-plt.exp: Likewise.
1595
1596 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1597
1598 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test
1599 name.
1600
1601 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1602
1603 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2,
1604 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c.
1605 * testsuite/ld-i386/pass.out: New file.
1606 * testsuite/ld-i386/tls-def1.c: Likewise.
1607 * testsuite/ld-i386/tls-gd1.S: Likewise.
1608 * testsuite/ld-i386/tls-ld1.S: Likewise.
1609 * testsuite/ld-i386/tls-main1.c: Likewise.
1610 * testsuite/ld-i386/tls.exp: Likewise.
1611 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise.
1612 * testsuite/ld-i386/tlsbin2.dd: Likewise.
1613 * testsuite/ld-i386/tlsbin2.rd: Likewise.
1614 * testsuite/ld-i386/tlsbin2.sd: Likewise.
1615 * testsuite/ld-i386/tlsbin2.td: Likewise.
1616 * testsuite/ld-i386/tlsbinpic2.s: Likewise.
1617 * testsuite/ld-i386/tlsgd3.dd: Likewise.
1618 * testsuite/ld-i386/tlsgd3.s: Likewise.
1619 * testsuite/ld-i386/tlsgd4.d: Likewise.
1620 * testsuite/ld-i386/tlsgd4.s: Likewise.
1621 * testsuite/ld-i386/tlsld2.s: Likewise.
1622 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise.
1623 * testsuite/ld-i386/tlspic2.dd: Likewise.
1624 * testsuite/ld-i386/tlspic2.rd: Likewise.
1625 * testsuite/ld-i386/tlspic2.sd: Likewise.
1626 * testsuite/ld-i386/tlspic2.td: Likewise.
1627 * testsuite/ld-i386/tlspic3.s: Likewise.
1628 * testsuite/ld-i386/tlspie3.s: Likewise.
1629 * testsuite/ld-i386/tlspie3a.d: Likewise.
1630 * testsuite/ld-i386/tlspie3b.d: Likewise.
1631 * testsuite/ld-i386/tlspie3c.d: Likewise.
1632
1633 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order.
1636 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1637 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1638 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1639 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1640 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1641 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1642 * testsuite/ld-x86-64/no-plt.exp: Fix a typo.
1643
1644 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise.
1647 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise.
1648 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise.
1649 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise.
1650 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise.
1651 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise.
1652 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise.
1653 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise.
1654 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise.
1655 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise.
1656 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise.
1657 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise.
1658 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise.
1659 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise.
1660 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise.
1661 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise.
1662 * testsuite/ld-x86-64/no-plt-check1.S: Likewise.
1663 * testsuite/ld-x86-64/no-plt.exp: Likewise.
1664 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise.
1665 * testsuite/ld-x86-64/no-plt-func1.c: Likewise.
1666 * testsuite/ld-x86-64/no-plt-main1.c: Likewise.
1667
1668 2016-06-07 Maciej W. Rozycki <macro@imgtec.com>
1669
1670 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail.
1671
1672 2016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1673
1674 * testsuite/ld-s390/pltoffset-1.dd: New test.
1675 * testsuite/ld-s390/pltoffset-1.ld: New test.
1676 * testsuite/ld-s390/pltoffset-1.s: New test.
1677 * testsuite/ld-s390/s390.exp: Run new test.
1678
1679 2016-06-07 Alan Modra <amodra@gmail.com>
1680
1681 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
1682 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
1683 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
1684
1685 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
1686
1687 * testsuite/ld-x86-64/pass.out: New file.
1688 * testsuite/ld-x86-64/tls-def1.c: Likewise.
1689 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
1690 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
1691 * testsuite/ld-x86-64/tls-main1.c: Likewise.
1692 * testsuite/ld-x86-64/tls.exp: Likewise.
1693 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
1694 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
1695 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
1696 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
1697 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
1698 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
1699 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
1700 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
1701 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
1702 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
1703 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
1704 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
1705 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
1706 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
1707 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
1708 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
1709 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
1710 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
1711 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
1712 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
1713 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
1714 * testsuite/ld-x86-64/tlsld4.s: Likewise.
1715 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
1716 * testsuite/ld-x86-64/tlsld5.s: Likewise.
1717 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
1718 * testsuite/ld-x86-64/tlsld6.s: Likewise.
1719 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
1720 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
1721 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
1722 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
1723 * testsuite/ld-x86-64/tlspic2.td: Likewise.
1724 * testsuite/ld-x86-64/tlspic3.s: Likewise.
1725 * testsuite/ld-x86-64/tlspie2.s: Likewise.
1726 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
1727 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
1728 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
1729 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
1730 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
1731 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
1732 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
1733 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
1734 tlspie2c.
1735
1736 2016-06-04 Christian Groessler <chris@groessler.org>
1737
1738 * testsuite/ld-z8k/0filler.s: New file.
1739 * testsuite/ld-z8k/branch-target.s: New file.
1740 * testsuite/ld-z8k/branch-target2.s: New file.
1741 * testsuite/ld-z8k/calr-back-8001.d: New file.
1742 * testsuite/ld-z8k/calr-back-8002.d: New file.
1743 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
1744 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
1745 * testsuite/ld-z8k/calr-forw-8001.d: New file.
1746 * testsuite/ld-z8k/calr-forw-8002.d: New file.
1747 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
1748 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
1749 * testsuite/ld-z8k/calr-opcode.s: New file.
1750 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
1751 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
1752 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
1753 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
1754 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
1755 * testsuite/ld-z8k/djnz-back-8001.d: New file.
1756 * testsuite/ld-z8k/djnz-back-8002.d: New file.
1757 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
1758 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
1759 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
1760 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
1761 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
1762 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
1763 * testsuite/ld-z8k/djnz-opcode.s: New file.
1764 * testsuite/ld-z8k/filler.s: New file.
1765 * testsuite/ld-z8k/jr-back-8001.d: New file.
1766 * testsuite/ld-z8k/jr-back-8002.d: New file.
1767 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
1768 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
1769 * testsuite/ld-z8k/jr-forw-8001.d: New file.
1770 * testsuite/ld-z8k/jr-forw-8002.d: New file.
1771 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
1772 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
1773 * testsuite/ld-z8k/jr-opcode.s: New file.
1774 * testsuite/ld-z8k/ldr-back-8001.d: New file.
1775 * testsuite/ld-z8k/ldr-back-8002.d: New file.
1776 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
1777 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
1778 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
1779 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
1780 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
1781 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
1782 * testsuite/ld-z8k/ldr-opcode.s: New file.
1783 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
1784 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
1785 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
1786 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
1787 * testsuite/ld-z8k/ldrb-opcode.s: New file.
1788 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
1789 * testsuite/ld-z8k/other-file.s: New file.
1790 * testsuite/ld-z8k/reloc.dd: New file.
1791 * testsuite/ld-z8k/reloc.ld: New file.
1792 * testsuite/ld-z8k/relocseg.dd: New file.
1793 * testsuite/ld-z8k/relocseg.ld: New file.
1794 * testsuite/ld-z8k/relocseg1.dd: New file.
1795 * testsuite/ld-z8k/this-file.s: New file.
1796 * testsuite/ld-z8k/z8k.exp: New file.
1797
1798 2016-06-03 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
1801 with -mrelax-relocations=yes.
1802 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
1803 * testsuite/ld-i386/lea1b.d (as): Likewise.
1804 * testsuite/ld-i386/lea1d.d (as): Likewise.
1805 * testsuite/ld-i386/lea1e.d (as): Likewise.
1806 * testsuite/ld-i386/lea1f.d (as): Likewise.
1807 * testsuite/ld-i386/load7.d (as): Likewise.
1808 * testsuite/ld-i386/mov1b.d (as): Likewise.
1809 * testsuite/ld-i386/pr19175.d (as): Likewise.
1810 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
1811 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
1812 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
1813 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
1814 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
1815
1816 2016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
1817
1818 * configure.tgt: Replace -uclibc with *.
1819
1820 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1821
1822 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
1823 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
1824 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
1825 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1826
1827 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1828
1829 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
1830 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
1831 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
1832 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1833 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
1834 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1835
1836 2016-05-28 Maciej W. Rozycki <macro@imgtec.com>
1837
1838 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
1839 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
1840 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
1841 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
1842 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
1843 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
1844 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1845
1846 2016-05-28 Alan Modra <amodra@gmail.com>
1847
1848 * ldmain.c (multiple_definition, multiple_common, add_to_set,
1849 constructor_callback, warning_callback, undefined_symbol,
1850 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
1851 * emultempl/elf32.em: Adjust callback calls.
1852
1853 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1854
1855 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
1856 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
1857 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
1858 test.
1859 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
1860 test.
1861 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
1862 test.
1863 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
1864 test.
1865 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
1866 source.
1867 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
1868 source.
1869 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1870
1871 2016-05-27 Maciej W. Rozycki <macro@imgtec.com>
1872
1873 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
1874 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
1875 new test.
1876 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1877
1878 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
1879
1880 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
1881 `unaligned-jalx-2' here.
1882 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
1883 `unaligned-jalx-mips16-2' here.
1884 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
1885 `unaligned-jalx-micromips-2' here.
1886 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
1887 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
1888 message.
1889 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
1890 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
1891 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
1892 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
1893 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
1894 test.
1895 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
1896 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
1897 `unaligned-lwpc-3' here.
1898 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
1899 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
1900 `unaligned-lwpc-2' here.
1901 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
1902 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
1903 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
1904 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
1905 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
1906 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
1907 `unaligned-ldpc-4' here.
1908 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
1909 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
1910 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
1911 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
1912 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
1913 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
1914 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
1915 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
1916 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
1917 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
1918 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
1919
1920 2016-05-26 Nick Clifton <nickc@redhat.com>
1921
1922 PR target/20134
1923 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
1924 __bsssize.
1925 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
1926
1927 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
1928
1929 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
1930 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
1931 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
1932 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
1933 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
1934 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
1935 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
1936 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
1937 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
1938 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
1939 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
1940 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
1941 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
1942 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
1943 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
1944 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
1945 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
1946 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
1947 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
1948 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
1949 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
1950 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
1951 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
1952 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
1953 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
1954 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
1955 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
1956 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
1957 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
1958 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
1959 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
1960 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
1961 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1962
1963 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
1964
1965 PR ld/20103
1966 * ldmain.c (add_archive_element): Don't claim new IR symbols
1967 after all IR symbols have been claimed.
1968 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
1969 check.
1970 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
1971 Run PR ld/20103 tests.
1972 * testsuite/ld-plugin/pr20103a.c: New file.
1973 * testsuite/ld-plugin/pr20103b.c: Likewise.
1974 * testsuite/ld-plugin/pr20103c.c: Likewise.
1975
1976 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
1977
1978 * testsuite/ld-mips-elf/jalx-local.d: New test.
1979 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
1980 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
1981 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1982
1983 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
1984
1985 * Makefile.am: Add earmelf_phoenix.c.
1986 * Makefile.in: Regenerate.
1987 * configure.tgt: Add entry for arm-phoenix.
1988 * emulparams/armelf_phoenix.sh: New file.
1989
1990 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
1991
1992 * emultempl/armelf.em (arm_elf_before_allocation): Call
1993 bfd_elf32_arm_keep_private_stub_output_sections before generic
1994 before_allocation function.
1995
1996 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
1997
1998 * testsuite/ld-mips-elf/jalx-addend.d: New test.
1999 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
2000 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
2001 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2002
2003 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
2004
2005 PR ld/20117
2006 * testsuite/ld-i386/i386.exp: Run pr20117.
2007 * testsuite/ld-i386/pr19609-1i.d: Updated.
2008 * testsuite/ld-i386/pr20117.d: New file.
2009 * testsuite/ld-i386/pr20117.s: Likewise.
2010
2011 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2012
2013 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
2014 * testsuite/ld-elf/group8a.d: Likewise.
2015 * testsuite/ld-elf/group8b.d: Likewise.
2016 * testsuite/ld-elf/group9a.d: Likewise.
2017 * testsuite/ld-elf/group9b.d: Likewise.
2018 * testsuite/ld-elf/pr12851.d: Likewise.
2019 * testsuite/ld-elf/pr12975.d: Likewise.
2020 * testsuite/ld-elf/pr13177.d: Likewise.
2021 * testsuite/ld-elf/pr13195.d: Likewise.
2022 * testsuite/ld-elf/pr17615.d: Likewise.
2023 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
2024 * testsuite/ld-elf/group3b.d: Likewise.
2025 * testsuite/ld-srec/srec.exp: Likewise.
2026 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
2027 as supporting gc.
2028 (check_shared_lib_support): Mark ARC as supporting.
2029
2030 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
2031
2032 * emulparams/arcelf.sh: Changed.
2033 * emulparams/arclinux.sh: Likewise.
2034 * scripttempl/arclinux.sc: Moved to a more standard implementation
2035 similar to elf.sc.
2036
2037 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2038
2039 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
2040 `ft32-*-*' behind `frv-*-*'.
2041
2042 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
2043
2044 * configure.tgt: Remove `am34-*-linux*' support.
2045
2046 2016-05-19 Alan Modra <amodra@gmail.com>
2047
2048 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
2049 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
2050 * testsuite/ld-scripts/cross3.t: Likewise.
2051 * testsuite/ld-scripts/cross4.t: Likewise.
2052 * testsuite/ld-scripts/cross5.t: Likewise.
2053 * testsuite/ld-scripts/cross6.t: Likewise.
2054 * testsuite/ld-scripts/cross7.t: Likewise.
2055
2056 2016-05-19 Alan Modra <amodra@gmail.com>
2057
2058 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
2059 exe name rather than constructing testname. Fix typo in
2060 sub-test name. Log copying. Use -rpath rather than -R.
2061
2062 2016-05-18 Nick Clifton <nickc@redhat.com>
2063
2064 * scripttempl/ft32.sc: Use fixed constants for memory region
2065 lengths. Include DWARF debug sections.
2066 (.data .bss): Do not assign locations during relocatable links.
2067 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
2068 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2069 * testsuite/ld-elf/sec64k.exp: Likewise.
2070 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
2071 * testsuite/ld-elf/merge.d: Likewise.
2072 * testsuite/ld-elf/orphan-region.d: Likewise.
2073 * testsuite/ld-elf/orphan.s: Likewise.
2074 * testsuite/ld-elf/orphan3.d: Likewise.
2075 * testsuite/ld-elf/pr349.d: Likewise.
2076 * testsuite/ld-elf/warn2.d: Likewise.
2077 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
2078 that the FT32 does not support shared libraries.
2079
2080 2016-05-17 H.J. Lu <hongjiu.lu@intel.com>
2081
2082 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
2083 global CC.
2084
2085 2016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2086
2087 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
2088 above .progmem*.
2089 * scripttempl/avrtiny.sc (text): Likewise.
2090
2091 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
2092
2093 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
2094 `supports_gnu_unique' to qualify testing.
2095
2096 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
2097
2098 * testsuite/ld-elf/flags1.d: Update the xfail list.
2099
2100 2016-05-15 Maciej W. Rozycki <macro@imgtec.com>
2101
2102 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
2103 removal.
2104
2105 2016-05-14 H.J. Lu <hongjiu.lu@intel.com>
2106
2107 PR ld/20097
2108 * testplug2.c (onall_symbols_read): Remove redundant sizeof
2109 on EXPECTED_VIEW_LENGTH.
2110 * testplug4.c (onall_symbols_read): Likewise.
2111
2112 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
2113
2114 PR ld/20093
2115 * testsuite/ld-x86-64/pr20093-1.d: New file.
2116 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
2117 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
2118 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
2119 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
2120
2121 2016-05-13 Alan Modra <amodra@gmail.com>
2122
2123 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
2124 Use different output file name for static app without .rel.plt.
2125 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
2126 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
2127 * testsuite/ld-arm/arm-no-rel-plt.r: New.
2128 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
2129 * testsuite/ld-arm/arm-static-app.r: Likewise.
2130
2131 2016-05-12 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 PR ld/20070
2134 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
2135 (libldtestplug4_la_SOURCES): New.
2136 (libldtestplug4_la_CFLAGS): Likewise.
2137 (libldtestplug4_la_LDFLAGS): Likewise.
2138 * Makefile.in: Regenerated.
2139 * plugin.c (get_symbols): Return resolution based on IR symbol
2140 kinds for symbols defined/referenced only within IR.
2141 * testplug4.c: New file.
2142 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
2143 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
2144 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
2145 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
2146 (plugin4_path): Likewise.
2147 Add a test for ld/20070.
2148
2149 2016-05-11 Alan Modra <amodra@gmail.com>
2150
2151 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
2152 Call elf32_hppa_init_stub_bfd.
2153
2154 2016-05-11 Alan Modra <amodra@gmail.com>
2155
2156 PR 20060
2157 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
2158 * testsuite/ld-powerpc/tlsdll.s: New.
2159 * testsuite/ld-powerpc/tlsdll.ver: New.
2160 * testsuite/ld-powerpc/tlsdll_32.s: New.
2161 * testsuite/ld-powerpc/tlsopt5.d: New.
2162 * testsuite/ld-powerpc/tlsopt5.s: New.
2163 * testsuite/ld-powerpc/tlsopt5_32.d: New.
2164 * testsuite/ld-powerpc/tlsopt5_32.s: New.
2165
2166 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2167
2168 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
2169 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
2170
2171 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2172
2173 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
2174 parameter and rename input_section parameter to after_input_section.
2175 Append input stub section to the output section if after_input_section
2176 is NULL.
2177
2178 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
2179
2180 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
2181 test.
2182 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
2183 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
2184
2185 2016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
2186
2187 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
2188
2189 2016-05-09 Christophe Monat <christophe.monat@st.com>
2190
2191 PR ld/20030
2192 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
2193 tests. Fix misnamed stm32l4xx-fix-all.
2194 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
2195 loads with DP registers.
2196 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
2197 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
2198 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
2199 loads with DP registers.
2200 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
2201
2202 2016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
2203
2204 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
2205 program headers.
2206 (xfail): Remove avr-*-*.
2207 Update regex to check the section flags.
2208 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
2209
2210 2016-05-09 Alan Modra <amodra@gmail.com>
2211
2212 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
2213 * Makefile.in: Regenerate.
2214
2215 2016-05-09 Alan Modra <amodra@gmail.com>
2216
2217 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
2218 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
2219 * testsuite/ld-scripts/section-match-1.t: Likewise.
2220
2221 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 PR ld/17550
2224 * testsuite/ld-elf/pr17550-1.s: New file.
2225 * testsuite/ld-elf/pr17550-2.s: Likewise.
2226 * testsuite/ld-elf/pr17550-3.s: Likewise.
2227 * testsuite/ld-elf/pr17550-4.s: Likewise.
2228 * testsuite/ld-elf/pr17550a.d: Likewise.
2229 * testsuite/ld-elf/pr17550b.d: Likewise.
2230 * testsuite/ld-elf/pr17550c.d: Likewise.
2231 * testsuite/ld-elf/pr17550d.d: Likewise.
2232
2233 2016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2234
2235 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
2236
2237 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
2238
2239 * testsuite/ld-i386/i386.exp: Run load7.
2240 * testsuite/ld-i386/load7.d: New file.
2241 * testsuite/ld-i386/load7.map: Likewise.
2242 * testsuite/ld-i386/load7.s: Likewise.
2243 * testsuite/ld-x86-64/load2.d: Likewise.
2244 * testsuite/ld-x86-64/load2.map: Likewise.
2245 * testsuite/ld-x86-64/load2.s: Likewise.
2246 * testsuite/ld-x86-64/x86-64.exp: Run load2.
2247
2248 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2249
2250 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
2251 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2252 Likewise.
2253 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2254 Likewise.
2255
2256 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
2257
2258 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
2259
2260 2016-05-04 H.J. Lu <hongjiu.lu@intel.com>
2261
2262 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
2263
2264 2016-05-04 Maciej W. Rozycki <macro@imgtec.com>
2265
2266 * testsuite/ld-unique/unique.d: New test.
2267 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
2268 messages for compiled tests.
2269
2270 2016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2271
2272 * testsuite/ld-elf/pr18735.d: Allow other symbols.
2273 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
2274 * testsuite/ld-gc/pr14265.d: Allow other symbols.
2275 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
2276 plugin_tests only if check_shared_lib_support is true.
2277 * testsuite/ld-selective/selective.exp: Add --section-start
2278 flag for avr.
2279
2280 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
2281
2282 PR 10549
2283 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
2284
2285 2016-05-03 Jiong Wang <jiong.wang@arm.com>
2286
2287 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
2288 * NEWS: Mention --no-apply-dynamic-relocs.
2289 * ld.texinfo (ld and the ARM family): Document
2290 --no-apply-dynamic-relocs.
2291 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
2292 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
2293 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
2294 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
2295 option.
2296
2297 2016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2298
2299 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
2300 before running STT_COMMON tests.
2301
2302 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
2303
2304 * config/default.exp (NOPIE_CFLAGS): Download source only on
2305 remote host.
2306 (NOPIE_LDFLAGS): Likewise.
2307 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
2308 (check_lto_fat_available): Likewise.
2309 (check_lto_shared_available): Likewise.
2310 (check_ifunc_available): Likewise.
2311 (check_ifunc_attribute_available): Likewise.
2312
2313 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2314
2315 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
2316
2317 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2318
2319 PR ld/20006
2320 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
2321 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
2322 ELF targets.
2323
2324 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
2325
2326 * testsuite/ld-elf/compressed1b.d: Pass
2327 --compress-debug-sections=none to ld.
2328 * testsuite/ld-elf/compressed1c.d: Likewise.
2329
2330 2016-04-27 Alan Modra <amodra@gmail.com>
2331
2332 PR target/19985
2333 * configure.tgt: Don't use var+=.
2334
2335 2016-04-25 Nick Clifton <nickc@redhat.com>
2336
2337 PR target/19985
2338 * configure.tgt: Include big endian PPC64 emulations with little
2339 endian PPC64 targets.
2340
2341 2016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2342
2343 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
2344
2345 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
2346
2347 * testsuite/lib/ld-lib.exp (check_lto_available): Return 1 on
2348 Linux with GCC 4.9 or newer.
2349 (check_lto_fat_available): Likewise.
2350 (check_lto_shared_available): Likewise.
2351
2352 2016-04-21 Nick Clifton <nickc@redhat.com>
2353
2354 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
2355 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
2356 targets. Do not stop the checks when problems are encountered.
2357
2358 2016-04-21 Alan Modra <amodra@gmail.com>
2359
2360 * testsuite/ld-scripts/cross3.t: Add commonly used data
2361 and text section names to output section statements.
2362 * testsuite/ld-scripts/cross4.t: Likewise.
2363 * testsuite/ld-scripts/cross5.t: Likewise.
2364 * testsuite/ld-scripts/cross6.t: Likewise.
2365 * testsuite/ld-scripts/cross7.t: Likewise.
2366
2367 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2368
2369 * ldlang.c (lang_check_relocs): New function.
2370 (lang_process): Call lang_check_relocs after lang_gc_sections.
2371 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
2372 call _bfd_elf_link_check_relocs here.
2373
2374 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2375
2376 PR ld/19972
2377 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
2378 R_386_NONE or R_X86_64_NONE.
2379
2380 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2381
2382 * testsuite/ld-x86-64/pic1.d: New file.
2383 * testsuite/ld-x86-64/pic1.s: Likewise.
2384 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
2385
2386 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2387
2388 * testsuite/ld-x86-64/pie2.d: New file.
2389 * testsuite/ld-x86-64/pie2.s: Likewise.
2390 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
2391
2392 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2393
2394 PR ld/19969
2395 * testsuite/ld-x86-64/pr19969.d: New file.
2396 * testsuite/ld-x86-64/pr19969a.S: Likewise.
2397 * testsuite/ld-x86-64/pr19969b.S: Likewise.
2398 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
2399
2400 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2401
2402 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2403 New.
2404 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2405 Likewise.
2406 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2407 Likewise.
2408 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2409 Likewise.
2410 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2411 Likewise.
2412 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2413 Likewise.
2414 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2415 Likewise.
2416 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
2417 Likewise.
2418 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
2419 Set check_relocs_after_open_input to TRUE if
2420 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
2421 (gld${EMULATION_NAME}_after_open): Call
2422 _bfd_elf_link_check_relocs on all inputs if
2423 check_relocs_after_open_input is TRUE.
2424
2425 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
2426
2427 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
2428 my_personality_v0.
2429
2430 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
2431
2432 * emultempl/scoreelf.em: Likewise.
2433
2434 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
2435
2436 PR ld/19719
2437 * testsuite/ld-x86-64/pr19719.d: New file.
2438 * testsuite/ld-x86-64/pr19719.s: Likewise.
2439 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
2440
2441 2016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
2442
2443 * ld.texinfo: Document NOCROSSREFS_TO script command.
2444 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
2445 (lang_add_nocrossref_to): New prototype.
2446 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
2447 symbols defined in the first section.
2448 (check_nocrossref): Likewise.
2449 * ldgram.y (NOCROSSREFS_TO): New script command.
2450 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
2451 (lang_add_nocrossref_to): New function.
2452 * ldlex.l (NOCROSSREFS_TO): New token.
2453 * NEWS: Mention NOCROSSREFS_TO.
2454 * testsuite/ld-scripts/cross4.t: New file.
2455 * testsuite/ld-scripts/cross5.t: Likewise.
2456 * testsuite/ld-scripts/cross6.t: Likewise.
2457 * testsuite/ld-scripts/cross7.t: Likewise.
2458 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
2459 tests.
2460
2461 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
2462
2463 * Makefile.in: Regenerated with automake 1.11.6.
2464 * aclocal.m4: Likewise.
2465
2466 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
2467
2468 * testsuite/ld-arc/arc.exp: New file.
2469 * testsuite/ld-arc/nps-1.s: New file.
2470 * testsuite/ld-arc/nps-1a.d: New file.
2471 * testsuite/ld-arc/nps-1b.d: New file.
2472 * testsuite/ld-arc/nps-1b.err: New file.
2473
2474 2016-04-14 Nick Clifton <nickc@redhat.com>
2475
2476 PR 19457
2477 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
2478 exceptions for Mingw and Cygwin.
2479
2480 2016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
2481
2482 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
2483 check_ld(terminal).
2484
2485 2016-04-13 H.J. Lu <hongjiu.lu@intel.com>
2486
2487 PR ld/19774
2488 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
2489 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
2490 tests.
2491
2492 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
2493
2494 PR ld/19939
2495 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
2496 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2497 * testsuite/ld-i386/pr19939.s: New file.
2498 * testsuite/ld-i386/pr19939a.d: Likewise.
2499 * testsuite/ld-i386/pr19939b.d: Likewise.
2500 * testsuite/ld-x86-64/pr19939.s: Likewise.
2501 * testsuite/ld-x86-64/pr19939a.d: Likewise.
2502 * testsuite/ld-x86-64/pr19939b.d: Likewise.
2503
2504 2016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
2505
2506 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
2507
2508 2016-04-08 Alan Modra <amodra@gmail.com>
2509
2510 PR 18452
2511 * ldlang.c (maybe_overlays): Delete.
2512 (lang_size_sections_1): Remove code setting maybe_overlays.
2513 (lang_check_section_addresses): Instead detect overlays by
2514 exact match of section VMAs here. Fix memory leak.
2515
2516 2016-04-08 Dan Gisselquist <dgisselq@ieee.org>
2517
2518 * ldlang.c (print_output_section_statement): Show minfo size
2519 in target machine address units.
2520 (print_reloc_statement): Likewise.
2521 (print_padding_statement): Likewise.
2522 (print_data_statement): Likewise. Ensure minimum print_dot
2523 increment of one address unit.
2524
2525 2016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
2526
2527 * emulparams/arc-endianness.sh: Make little endian default choice.
2528
2529 2016-04-07 Nick Clifton <nickc@redhat.com>
2530
2531 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
2532 section name.
2533 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
2534
2535 2016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
2536
2537 * emulparams/arc-endianness.sh: New file.
2538 * emulparams/arcebelf.sh: Deleted.
2539 * emulparams/arcebelf_prof.sh: Deleted.
2540 * emulparams/arceblinux.sh: Deleted.
2541 * emulparams/arceblinux_prof.sh: Deleted.
2542 * emulparams/arcelf.sh: Include arc-endinness.sh.
2543 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
2544 * emulparams/arclinux.sh: Include arc-endinness.sh.
2545 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
2546 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
2547 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
2548 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
2549 little endian arc targets.
2550 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
2551 * testsuite/ld-elf/group1.d: Likewise.
2552 * testsuite/ld-elf/group3b.d: Likewise.
2553 * testsuite/ld-elf/group8a.d: Likewise.
2554 * testsuite/ld-elf/group8b.d: Likewise.
2555 * testsuite/ld-elf/group9a.d: Likewise.
2556 * testsuite/ld-elf/group9b.d: Likewise.
2557 * testsuite/ld-elf/linkonce2.d: Likewise.
2558 * testsuite/ld-elf/pr12851.d: Likewise.
2559 * testsuite/ld-elf/pr12975.d: Likewise.
2560 * testsuite/ld-elf/pr13177.d: Likewise.
2561 * testsuite/ld-elf/pr13195.d: Likewise.
2562 * testsuite/ld-elf/pr17615.d: Likewise.
2563 * testsuite/ld-elf/pr19162.d: Likewise.
2564 * testsuite/ld-elf/sec64k.exp: Likewise.
2565 * testsuite/lib/ld-lib.exp: Likewise.
2566
2567 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
2568
2569 PR ld/19908
2570 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
2571 handling fix.
2572 * testsuite/ld-cris/tls-e-20a.d: Likewise.
2573 * testsuite/ld-cris/tls-e-21.d: Likewise.
2574 * testsuite/ld-cris/tls-e-23.d: Likewise.
2575 * testsuite/ld-cris/tls-e-80.d: Likewise.
2576 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
2577 * testsuite/ld-cris/tls-leie-19.d: Likewise.
2578 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
2579 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
2580 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
2581 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
2582 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
2583 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
2584 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
2585 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
2586
2587 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
2588
2589 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
2590 * testsuite/ld-discard/start.d: Likewise.
2591 * testsuite/ld-discard/static.d: Likewise.
2592 * testsuite/ld-elf/group1.d: Likewise.
2593 * testsuite/ld-elf/group3b.d: Likewise.
2594 * testsuite/ld-elf/orphan-region.d: Likewise.
2595 * testsuite/ld-elf/orphan.d: Likewise.
2596 * testsuite/ld-elf/orphan3.d: Likewise.
2597 * testsuite/ld-elf/pr349.d: Likewise.
2598 * testsuite/ld-elf/warn1.d: Likewise.
2599 * testsuite/ld-elf/warn2.d: Likewise.
2600 * testsuite/ld-elf/warn3.d: Likewise.
2601 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
2602 through linker flags.
2603 * testsuite/ld-srec/srec.exp: Set as xfail.
2604
2605 2016-04-04 H.J. Lu <hongjiu.lu@intel.com>
2606
2607 PR ld/19827
2608 * testsuite/ld-i386/pr19827-nacl.rd: New file.
2609 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
2610
2611 2016-04-04 Nick Clifton <nickc@redhat.com>
2612
2613 PR 19803
2614 * emultempl/pe.em (change_undef): New function. Encapsulates
2615 duplicated code in pe_fixup_stdcalls and adds the newly defined
2616 sym to the gc root list.
2617 (pe_fixup_stdcall): Use the new function.
2618 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
2619 symbol to gc root list.
2620
2621 2016-03-31 Alan Modra <amodra@gmail.com>
2622
2623 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
2624 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
2625 (print_input_section): Don't use TO_ADDR when printing section
2626 size.
2627 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
2628 (lang_size_sections): Use TO_ADDR in relro end calculation.
2629
2630 2016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
2631
2632 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
2633 value from regexp_diff.
2634 * testsuite/ld-elf/orphan-5.l: Fix expected output.
2635 * testsuite/ld-elf/orphan-6.l: Likewise.
2636
2637 2016-03-30 Alan Modra <amodra@gmail.com>
2638
2639 PR 18452
2640 * ldlang.c (maybe_overlays): New static var.
2641 (lang_size_sections_1): Set it here.
2642 (struct check_sec): New.
2643 (sort_sections_by_lma): Adjust for array of structs.
2644 (sort_sections_by_vma): New function.
2645 (lang_check_section_addresses): Check both LMA and VMA for overlap.
2646 * testsuite/ld-scripts/rgn-over7.d: Adjust.
2647
2648 2016-03-30 Alan Modra <amodra@gmail.com>
2649
2650 * ldlang.c (lang_size_sections_1): Correct code detecting a
2651 backward non-overlapping move.
2652
2653 2016-03-30 Alan Modra <amodra@gmail.com>
2654
2655 * ldlang.c (IS_TBSS): New macro, extracted from..
2656 (IGNORE_SECTION): ..here.
2657 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
2658 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
2659
2660 2016-03-22 Nick Clifton <nickc@redhat.com>
2661
2662 PR ld/19803
2663 * ldlang.c (lang_add_gc_name): New function. Adds the provided
2664 symbol name to the list of gc symbols.
2665 (lang_process): Call lang_add_gc_name with entry_symbol_default if
2666 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
2667 and fini function names.
2668 * pe-dll.c (process_def_file_and_drectve): Add exported names to
2669 the gc symbol list.
2670 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
2671 * testsuite/ld-pe/pr19803.d: Tweak expected output.
2672
2673 2016-03-22 Nick Clifton <nickc@redhat.com>
2674
2675 * configure: Regenerate.
2676
2677 2016-03-21 Nick Clifton <nickc@redhat.com>
2678
2679 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
2680 * plugin.c: Likewise.
2681 * pe-dll.c: Likewise.
2682
2683 2016-03-18 Awson <kyrab@mail.ru>
2684
2685 PR 19531
2686 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
2687 this section.
2688 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
2689
2690 2016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
2691
2692 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
2693
2694 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2695
2696 PR ld/19827
2697 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
2698 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2699 * testsuite/ld-i386/pr19827.rd: New file.
2700 * testsuite/ld-i386/pr19827a.S: Likewise.
2701 * testsuite/ld-i386/pr19827b.S: Likewise.
2702 * testsuite/ld-x86-64/pr19827.rd: Likewise.
2703 * testsuite/ld-x86-64/pr19827a.S: Likewise.
2704 * testsuite/ld-x86-64/pr19827b.S: Likewise.
2705
2706 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
2707
2708 PR ld/19807
2709 * Makefile.am (ELF_X86_DEPS): Add
2710 $(srcdir)/emulparams/reloc_overflow.sh.
2711 * Makefile.in: Regenerated.
2712 * NEWS: Mention -z noreloc-overflow.
2713 * ld.texinfo: Document -z noreloc-overflow.
2714 * emulparams/elf32_x86_64.sh: Source
2715 ${srcdir}/emulparams/reloc_overflow.sh.
2716 * emulparams/elf_x86_64.sh: Likewise.
2717 * emulparams/reloc_overflow.sh: New file.
2718 * testsuite/ld-x86-64/pr19807-1.s: New file.
2719 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
2720 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
2721 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
2722 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
2723 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
2724 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
2725 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
2726 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
2727 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
2728
2729 2016-03-13 H.J. Lu <hongjiu.lu@intel.com>
2730
2731 PR ld/19539
2732 * testsuite/ld-i386/i386.exp: Run pr19539.
2733 * testsuite/ld-i386/pr19539.d: New file.
2734 * testsuite/ld-i386/pr19539.s: Likewise.
2735 * testsuite/ld-i386/pr19539.t: Likewise.
2736 * testsuite/ld-x86-64/pr19539.s: Likewise.
2737 * testsuite/ld-x86-64/pr19539.t: Likewise.
2738 * testsuite/ld-x86-64/pr19539a.d: Likewise.
2739 * testsuite/ld-x86-64/pr19539b.d: Likewise.
2740 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
2741
2742 2016-03-10 Mickael Guene <mickael.guene@st.com>
2743
2744 PR gas/19744
2745 * testsuite/ld-arm/arm-elf.exp: New tests.
2746 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
2747 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
2748
2749 2016-03-10 Nick Clifton <nickc@redhat.com>
2750
2751 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
2752
2753 2016-03-09 Pedro Alves <palves@redhat.com>
2754
2755 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
2756 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
2757
2758 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2759
2760 PR ld/19789
2761 * testsuite/ld-elf/pr19789.d: New file.
2762 * testsuite/ld-elf/pr19789.s: Likewise.
2763
2764 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2765
2766 PR ld/19784
2767 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
2768 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
2769 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
2770 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
2771 * testsuite/ld-ifunc/pass.out: New file.
2772 * testsuite/ld-ifunc/pr19784a.c: Likewise.
2773 * testsuite/ld-ifunc/pr19784b.c: Likewise.
2774 * testsuite/ld-ifunc/pr19784c.c: Likewise.
2775
2776 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
2777
2778 PR ld/19774
2779 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
2780 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
2781 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
2782 --as-needed for pr18841c.
2783
2784 2016-03-07 H.J. Lu <hongjiu.lu@intel.com>
2785
2786 PR ld/19774
2787 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
2788 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
2789 before tmpdir/got1d.so and test --as-needed.
2790 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
2791 tmpdir/pr18900.so and test --as-needed.
2792
2793 2016-03-07 Jiong Wang <jiong.wang@arm.com>
2794
2795 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
2796 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
2797 result.
2798 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
2799
2800 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
2803 before tmpdir/copyreloc-lib.so and test --as-needed.
2804 * testsuite/ld-x86-64/x86-64.exp: Likewise.
2805
2806 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
2807
2808 PR ld/19579
2809 * testsuite/ld-elf/pr19579a.c: New file.
2810 * testsuite/ld-elf/pr19579b.c: Likewise.
2811 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
2812
2813 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2814
2815 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
2816
2817 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2818
2819 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
2820 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
2821
2822 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
2823
2824 PR ld/19739
2825 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
2826 input sections for relocatable link.
2827 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2828 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
2829
2830 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2831
2832 PR ld/19739
2833 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
2834 merge flags of other input sections for relocatable link.
2835
2836 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2837
2838 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
2839
2840 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
2841
2842 * testsuite/ld-elf/pr19162.d: Skip arc target.
2843
2844 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
2845
2846 PR ld/19162
2847 * testsuite/ld-elf/pr19162.d: New file.
2848 * testsuite/ld-elf/pr19162a.s: Likwise.
2849 * testsuite/ld-elf/pr19162b.s: Likwise.
2850
2851 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
2852
2853 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
2854 * testsuite/ld-elf/merge2.d: Likewise.
2855 * testsuite/ld-elf/merge3.d: Likewise.
2856
2857 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
2858
2859 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
2860 generated.
2861
2862 2016-02-26 Renlin Li <renlin.li@arm.com>
2863
2864 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
2865 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
2866 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
2867 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
2868 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
2869 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
2870 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
2871 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
2872 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
2873 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
2874
2875 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2876
2877 PR ld/19609
2878 * testsuite/ld-i386/got1.dd: Updated.
2879 * testsuite/ld-i386/lea1c.d: Likewise.
2880 * testsuite/ld-i386/load1-nacl.d: Likewise.
2881 * testsuite/ld-i386/load1.d: Likewise.
2882 * testsuite/ld-i386/load4b.d: Likewise.
2883 * testsuite/ld-i386/load5b.d: Likewise.
2884 * testsuite/ld-i386/mov1b.d: Likewise.
2885 * testsuite/ld-x86-64/mov1b.d: Likewise.
2886 * testsuite/ld-x86-64/mov1d.d: Likewise.
2887 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
2888 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
2889 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
2890 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
2891 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
2892 * testsuite/ld-x86-64/lea1a.d: Likewise.
2893 * testsuite/ld-x86-64/lea1b.d: Likewise.
2894 * testsuite/ld-x86-64/lea1c.d: Likewise.
2895 * testsuite/ld-x86-64/lea1d.d: Likewise.
2896 * testsuite/ld-x86-64/lea1e.d: Likewise.
2897 * testsuite/ld-x86-64/lea1f.d: Likewise.
2898 * testsuite/ld-x86-64/mov1b.d: Likewise.
2899 * testsuite/ld-x86-64/mov1d.d: Likewise.
2900 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
2901 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
2902 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
2903 * testsuite/ld-i386/pr19609-1.s: New file.
2904 * testsuite/ld-i386/pr19609-1a.d: Likewise.
2905 * testsuite/ld-i386/pr19609-1b.d: Likewise.
2906 * testsuite/ld-i386/pr19609-1c.d: Likewise.
2907 * testsuite/ld-i386/pr19609-1d.d: Likewise.
2908 * testsuite/ld-i386/pr19609-1e.d: Likewise.
2909 * testsuite/ld-i386/pr19609-1f.d: Likewise.
2910 * testsuite/ld-i386/pr19609-1g.d: Likewise.
2911 * testsuite/ld-i386/pr19609-1h.d: Likewise.
2912 * testsuite/ld-i386/pr19609-1i.d: Likewise.
2913 * testsuite/ld-i386/pr19609-2.s: Likewise.
2914 * testsuite/ld-i386/pr19609-2a.d: Likewise.
2915 * testsuite/ld-i386/pr19609-2b.d: Likewise.
2916 * testsuite/ld-i386/pr19609-2c.d: Likewise.
2917 * testsuite/ld-i386/undefweak.s: Likewise.
2918 * testsuite/ld-i386/undefweaka.d: Likewise.
2919 * testsuite/ld-i386/undefweakb.d: Likewise.
2920 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
2921 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
2922 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
2923 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
2924 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
2925 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
2926 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
2927 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
2928 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
2929 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
2930 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
2931 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
2932 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
2933 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
2934 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
2935 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
2936 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
2937 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
2938 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
2939 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
2940 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
2941 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
2942 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
2943 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
2944 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
2945 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
2946 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
2947 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
2948 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
2949 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
2950 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
2951 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
2952 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
2953 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
2954 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
2955 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
2956 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
2957 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
2958 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
2959 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
2960 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
2961 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
2962 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
2963 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
2964 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
2965 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
2966 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
2967 PR ld/19609.
2968 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
2969 and tests for PR ld/19609.
2970
2971 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
2972
2973 PR ld/19645
2974 * NEWS: Mention -z common/-z nocommon for ELF targets.
2975 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
2976 -z common and -z nocommon.
2977 * ld.texinfo: Document -z common/-z nocommon.
2978 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
2979 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
2980 --elf-stt-common=yes with assembler.
2981 * testsuite/ld-elfcomm/common-1.s: New file.
2982 * testsuite/ld-elfcomm/common-1a.d: Likewise.
2983 * testsuite/ld-elfcomm/common-1b.d: Likewise.
2984 * testsuite/ld-elfcomm/common-1c.d: Likewise.
2985 * testsuite/ld-elfcomm/common-1d.d: Likewise.
2986 * testsuite/ld-elfcomm/common-1e.d: Likewise.
2987 * testsuite/ld-elfcomm/common-1f.d: Likewise.
2988 * testsuite/ld-elfcomm/common-2.s: Likewise.
2989 * testsuite/ld-elfcomm/common-2a.d: Likewise.
2990 * testsuite/ld-elfcomm/common-2b.d: Likewise.
2991 * testsuite/ld-elfcomm/common-2c.d: Likewise.
2992 * testsuite/ld-elfcomm/common-2d.d: Likewise.
2993 * testsuite/ld-elfcomm/common-2e.d: Likewise.
2994 * testsuite/ld-elfcomm/common-2f.d: Likewise.
2995 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
2996 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
2997 * testsuite/ld-i386/pr19645.d: Likewise.
2998 * testsuite/ld-i386/pr19645.s: Likewise.
2999 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
3000 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
3001 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
3002 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
3003 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
3004 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
3005 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
3006 * testsuite/ld-x86-64/pr19645.d: Likewise.
3007 * testsuite/ld-x86-64/pr19645.s: Likewise.
3008 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
3009 with assembler.
3010 (assembler_generates_commons): Removed.
3011 Run -z common/-z nocommon tests. Run *.d tests.
3012 * testsuite/ld-i386/i386.exp: Run pr19645.
3013 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3014 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
3015 assembler. Test STT_COMMON with readelf.
3016
3017 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
3018
3019 PR ld/19636
3020 PR ld/19704
3021 PR ld/19719
3022 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
3023 * Makefile.in: Regenerated.
3024 * NEWS: Mention -z nodynamic-undefined-weak.
3025 * ld.texinfo: Document -z nodynamic-undefined-weak.
3026 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
3027 * emulparams/dynamic_undefined_weak.sh: New file.
3028 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
3029 * emulparams/elf_i386.sh: Likewise.
3030 * emulparams/elf_i386_be.sh: Likewise.
3031 * emulparams/elf_i386_chaos.sh: Likewise.
3032 * emulparams/elf_i386_ldso.sh: Likewise.
3033 * emulparams/elf_i386_vxworks.sh: Likewise.
3034 * emulparams/elf_iamcu.sh: Likewise.
3035 * emulparams/elf_k1om.sh: Likewise.
3036 * emulparams/elf_l1om.sh: Likewise.
3037 * emulparams/elf_x86_64.sh: Likewise.
3038 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
3039 Append.
3040 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
3041 * testsuite/ld-elf/pr19719a.c: New file.
3042 * testsuite/ld-elf/pr19719b.c: Likewise.
3043 * testsuite/ld-elf/pr19719c.c: Likewise.
3044 * testsuite/ld-elf/pr19719d.c: Likewise.
3045 * testsuite/ld-i386/pr19636-1.s: Likewise.
3046 * testsuite/ld-i386/pr19636-1a.d: Likewise.
3047 * testsuite/ld-i386/pr19636-1b.d: Likewise.
3048 * testsuite/ld-i386/pr19636-1c.d: Likewise.
3049 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
3050 * testsuite/ld-i386/pr19636-1d.d: Likewise.
3051 * testsuite/ld-i386/pr19636-1e.d: Likewise.
3052 * testsuite/ld-i386/pr19636-1f.d: Likewise.
3053 * testsuite/ld-i386/pr19636-1g.d: Likewise.
3054 * testsuite/ld-i386/pr19636-1h.d: Likewise.
3055 * testsuite/ld-i386/pr19636-1i.d: Likewise.
3056 * testsuite/ld-i386/pr19636-2.s: Likewise.
3057 * testsuite/ld-i386/pr19636-2a.d: Likewise.
3058 * testsuite/ld-i386/pr19636-2b.d: Likewise.
3059 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
3060 * testsuite/ld-i386/pr19636-2c.d: Likewise.
3061 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
3062 * testsuite/ld-i386/pr19636-2d.d: Likewise.
3063 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
3064 * testsuite/ld-i386/pr19636-2e.d: Likewise.
3065 * testsuite/ld-i386/pr19636-3.s: Likewise.
3066 * testsuite/ld-i386/pr19636-3a.d: Likewise.
3067 * testsuite/ld-i386/pr19636-3b.d: Likewise.
3068 * testsuite/ld-i386/pr19636-3c.d: Likewise.
3069 * testsuite/ld-i386/pr19636-3d.d: Likewise.
3070 * testsuite/ld-i386/pr19636-3e.d: Likewise.
3071 * testsuite/ld-i386/pr19636-3f.d: Likewise.
3072 * testsuite/ld-i386/pr19636-3g.d: Likewise.
3073 * testsuite/ld-i386/pr19636-4.s: Likewise.
3074 * testsuite/ld-i386/pr19636-4a.d: Likewise.
3075 * testsuite/ld-i386/pr19636-4b.d: Likewise.
3076 * testsuite/ld-i386/pr19636-4c.d: Likewise.
3077 * testsuite/ld-i386/pr19636-4d.d: Likewise.
3078 * testsuite/ld-i386/pr19704.out: Likewise.
3079 * testsuite/ld-i386/pr19704a.c: Likewise.
3080 * testsuite/ld-i386/pr19704b.c: Likewise.
3081 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
3082 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
3083 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
3084 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
3085 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
3086 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
3087 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
3088 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
3089 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
3090 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
3091 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
3092 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
3093 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
3094 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
3095 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
3096 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
3097 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
3098 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
3099 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
3100 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
3101 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
3102 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
3103 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
3104 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
3105 * testsuite/ld-x86-64/pr19704.out: Likewise.
3106 * testsuite/ld-x86-64/pr19704a.c: Likewise.
3107 * testsuite/ld-x86-64/pr19704b.c: Likewise.
3108 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
3109 Run mix_pic_and_non_pic.
3110 * testsuite/ld-i386/i386.exp (undefined_weak): New.
3111 Run undefined_weak and PR ld/19636 tests.
3112 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3113 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
3114 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
3115
3116 2016-02-25 Nick Clifton <nickc@redhat.com>
3117
3118 * ld.h (struct ld_config_type): Remove specified_data_size field.
3119
3120 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
3121
3122 PR ld/19698
3123 * testsuite/ld-elf/pr19698.d: New file.
3124 * testsuite/ld-elf/pr19698.s: Likewise.
3125 * testsuite/ld-elf/pr19698.t: Likewise.
3126
3127 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3128
3129 * Makefile.am (ELF_X86_DEPS): New.
3130 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
3131 (eelf_i386_chaos.c): Likewise.
3132 (eelf_i386_fbsd.c): Likewise.
3133 (eelf_i386_ldso.c): Likewise.
3134 (eelf_i386_nacl.c): Likewise.
3135 (eelf_i386_sol2.c): Likewise.
3136 (eelf_iamcu.c): Likewise.
3137 (eelf32_x86_64.c): Likewise.
3138 (eelf32_x86_64_nacl.c): Likewise.
3139 (eelf_l1om.c): Likewise.
3140 (eelf_l1om_fbsd.c): Likewise.
3141 (eelf_k1om.c): Likewise.
3142 (eelf_k1om_fbsd.c): Likewise.
3143 (eelf_x86_64.c): Likewise.
3144 (eelf_x86_64_cloudabi.c): Likewise.
3145 (eelf_x86_64_fbsd.c): Likewise.
3146 (eelf_x86_64_sol2.c): Likewise.
3147 * Makefile.in: Regenerated.
3148
3149 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
3150
3151 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
3152 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
3153 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
3154 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
3155
3156 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
3157
3158 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
3159
3160 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3161
3162 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
3163 *-*-gnu* and *-*-solaris*.
3164 * testsuite/ld-elf/pr19617b.d: Likewise.
3165 * testsuite/ld-elf/pr19617c.d: Likewise.
3166
3167 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
3168
3169 PR ld/19617
3170 * testsuite/ld-elf/pr19617.s: New file.
3171 * testsuite/ld-elf/pr19617a.d: Likewise.
3172 * testsuite/ld-elf/pr19617b.d: Likewise.
3173 * testsuite/ld-elf/pr19617c.d: Likewise.
3174
3175 2016-02-18 Nick Clifton <nickc@redhat.com>
3176
3177 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
3178 in-tree xg++ executable after checking for the presence of an
3179 in-tree g++ executable.
3180 * Makefile.in: Regenerate.
3181
3182 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3183
3184 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3185 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3186 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3187
3188 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
3189
3190 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
3191 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
3192 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
3193 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
3194 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
3195 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
3196 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
3197 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
3198 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
3199 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3200 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3201 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
3202 * testsuite/ld-x86-64/load1c.d: Likewise.
3203 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
3204 * testsuite/ld-x86-64/load1d.d: Likewise.
3205 * testsuite/ld-x86-64/pr14207.d: Likewise.
3206 * testsuite/ld-x86-64/pr19162.d: Likewise.
3207 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3208 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3209 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3210 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3211 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3212 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3213
3214 2016-02-17 Nick Clifton <nickc@redhat.com>
3215
3216 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
3217
3218 2016-02-15 Nick Clifton <nickc@redhat.com>
3219
3220 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
3221 description of the flags produced by readelf.
3222 * testsuite/ld-i386/pr12921.d: Likewise.
3223 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
3224 * testsuite/ld-i386/tlsbin.rd: Likewise.
3225 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
3226 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
3227 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
3228 * testsuite/ld-i386/tlsdesc.rd: Likewise.
3229 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
3230 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
3231 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
3232 * testsuite/ld-i386/tlsnopic.rd: Likewise.
3233 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
3234 * testsuite/ld-i386/tlspic.rd: Likewise.
3235 * testsuite/ld-s390/tlsbin.rd: Likewise.
3236 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
3237 * testsuite/ld-s390/tlspic.rd: Likewise.
3238 * testsuite/ld-s390/tlspic_64.rd: Likewise.
3239 * testsuite/ld-sh/tlsbin-2.d: Likewise.
3240 * testsuite/ld-sh/tlspic-2.d: Likewise.
3241 * testsuite/ld-tic6x/common.d: Likewise.
3242 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
3243 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
3244 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
3245 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
3246 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
3247 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
3248 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
3249 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
3250 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
3251 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
3252 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
3253 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
3254 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
3255 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
3256 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
3257 * testsuite/ld-x86-64/pr12718.d: Likewise.
3258 * testsuite/ld-x86-64/pr12921.d: Likewise.
3259 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
3260 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
3261 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
3262 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
3263 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
3264 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
3265 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
3266 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
3267 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
3268 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
3269 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
3270 * testsuite/ld-x86-64/tlspic.rd: Likewise.
3271 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
3272 * testsuite/ld-xtensa/tlspic.rd: Likewise.
3273
3274 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 PR ld/19615
3277 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
3278 PIE.
3279 * lexsup.c (parse_args): Enable -Bsymbolic and
3280 -Bsymbolic-functions for PIE.
3281 * testsuite/ld-i386/i386.exp: Run pr19615.
3282 * testsuite/ld-i386/pr19615.d: New file.
3283 * testsuite/ld-i386/pr19615.s: Likewise.
3284 * testsuite/ld-x86-64/pr19615.d: Likewise.
3285 * testsuite/ld-x86-64/pr19615.s: Likewise.
3286
3287 2016-02-09 Nick Clifton <nickc@redhat.com>
3288
3289 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
3290 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
3291 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
3292 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
3293
3294 2016-02-04 Nick Clifton <nickc@redhat.com>
3295
3296 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
3297 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
3298 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
3299 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
3300 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
3301 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
3302 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
3303 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
3304 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
3305
3306 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
3307
3308 PR gas/19520
3309 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
3310 * testsuite/ld-i386/call1.d: Likewise.
3311 * testsuite/ld-i386/call2.d: Likewise.
3312 * testsuite/ld-i386/call3a.d: Likewise.
3313 * testsuite/ld-i386/call3b.d: Likewise.
3314 * testsuite/ld-i386/call3c.d: Likewise.
3315 * testsuite/ld-i386/call3d.d: Likewise.
3316 * testsuite/ld-i386/call3e.d: Likewise.
3317 * testsuite/ld-i386/call3f.d: Likewise.
3318 * testsuite/ld-i386/call3g.d: Likewise.
3319 * testsuite/ld-i386/call3h.d: Likewise.
3320 * testsuite/ld-i386/jmp1.d: Likewise.
3321 * testsuite/ld-i386/jmp2.d: Likewise.
3322 * testsuite/ld-i386/lea1c.d: Likewise.
3323 * testsuite/ld-i386/load1.d: Likewise.
3324 * testsuite/ld-i386/load2.d: Likewise.
3325 * testsuite/ld-i386/load3.d: Likewise.
3326 * testsuite/ld-i386/load4a.d: Likewise.
3327 * testsuite/ld-i386/load5a.d: Likewise.
3328 * testsuite/ld-i386/mov2b.d: Likewise.
3329 * testsuite/ld-i386/mov3.d: Likewise.
3330 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
3331 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
3332 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
3333 * testsuite/ld-x86-64/call1a.d: Likewise.
3334 * testsuite/ld-x86-64/call1b.d: Likewise.
3335 * testsuite/ld-x86-64/call1c.d: Likewise.
3336 * testsuite/ld-x86-64/call1d.d: Likewise.
3337 * testsuite/ld-x86-64/call1e.d: Likewise.
3338 * testsuite/ld-x86-64/call1f.d: Likewise.
3339 * testsuite/ld-x86-64/call1h.d: Likewise.
3340 * testsuite/ld-x86-64/call1i.d: Likewise.
3341 * testsuite/ld-x86-64/load1a.d: Likewise.
3342 * testsuite/ld-x86-64/load1b.d: Likewise.
3343 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
3344 * testsuite/ld-i386/got1.dd: Updated.
3345 * testsuite/ld-i386/got1d.S (1): Removed.
3346 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
3347 * testsuite/ld-x86-64/x86-64.exp: Likewise.
3348
3349 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
3350
3351 PR ld/18591
3352 * testsuite/ld-x86-64/pr18591.d: New file.
3353 * testsuite/ld-x86-64/pr18591.s: Likewise.
3354 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
3355
3356 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
3357
3358 PR ld/19553
3359 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
3360 * testsuite/ld-elf/pr19553.map: New file.
3361 * testsuite/ld-elf/pr19553.map: Likewise.
3362 * testsuite/ld-elf/pr19553a.c: Likewise.
3363 * testsuite/ld-elf/pr19553b.c: Likewise.
3364 * testsuite/ld-elf/pr19553b.out: Likewise.
3365 * testsuite/ld-elf/pr19553c.c: Likewise.
3366 * testsuite/ld-elf/pr19553c.out: Likewise.
3367 * testsuite/ld-elf/pr19553d.c: Likewise.
3368 * testsuite/ld-elf/pr19553d.out: Likewise.
3369
3370 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
3371
3372 PR ld/19539
3373 * testsuite/ld-elf/pr19539.d: New file.
3374 * testsuite/ld-elf/pr19539.s: Likewise.
3375 * testsuite/ld-elf/pr19539.t: Likewise.
3376
3377 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
3378
3379 PR ld/19533
3380 * configure.ac (compressed_debug_sections): Replace == with =.
3381 * configure: Regenerated.
3382
3383 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
3384
3385 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
3386 * scripttempl/avrtiny.sc (.noinit): Likewise.
3387
3388 2016-01-21 Nick Clifton <nickc@redhat.com>
3389
3390 PR ld/19453
3391 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
3392 the arm-netbsdelf target.
3393
3394 PR ld/19455
3395 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
3396 disassmebler output.
3397 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
3398 * testsuite/ld-arm/vxworks1.dd: Likewise.
3399 * testsuite/ld-arm/vxworks1.rd: Likewise.
3400 * testsuite/ld-arm/vxworks1.ld: Set the output format.
3401
3402 2016-01-20 Jiong Wang <jiong.wang@arm.com>
3403
3404 * testsuite/ld-aarch64/farcall-section.d: Delete.
3405 * testsuite/ld-aarch64/farcall-section.s: Delete.
3406 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
3407 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
3408 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
3409 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
3410 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
3411
3412 2016-01-20 Nick Clifton <nickc@redhat.com>
3413
3414 PR 19457
3415 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
3416 early for PE based targets.
3417 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
3418 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
3419
3420 2016-01-20 Mickael Guene <mickael.guene@st.com>
3421
3422 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
3423 Add 'y' attribute usage.
3424 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
3425 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
3426 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
3427
3428 2016-01-19 Nick Clifton <nickc@redhat.com>
3429
3430 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
3431 foo@FOO and bar@@FOO.
3432
3433 2016-01-18 Alan Modra <amodra@gmail.com>
3434
3435 * configure: Regenerate.
3436
3437 2016-01-18 Nick Clifton <nickc@redhat.com>
3438
3439 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
3440 is not configured to support plugins.
3441
3442 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
3443 but with 16 byte section alignment.
3444 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
3445 test for MIPS targets.
3446
3447 2016-01-17 Alan Modra <amodra@gmail.com>
3448
3449 * configure: Regenerate.
3450
3451 2016-01-17 Alan Modra <amodra@gmail.com>
3452
3453 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
3454 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
3455 * testsuite/ld-elf/pr14156a.d: Likewise.
3456 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
3457 * testsuite/ld-elf/sec64k.exp: Likewise.
3458
3459 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
3460
3461 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
3462 Set address of .foo section when linking.
3463 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
3464 in .foo section.
3465 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
3466 output to the above changes.
3467
3468 2016-01-13 Nick Clifton <nickc@redhat.com>
3469
3470 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
3471 for MIPS targets.
3472
3473 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
3474 fail for MIPS targets.
3475
3476 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
3477 MIPS targets.
3478
3479 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
3480
3481 * testsuite/ld-arm/arm-elf.exp: New test.
3482 * testsuite/ld-arm/unwind-mix.d: New file.
3483 * testsuite/ld-arm/unwind-mix1.s: New file.
3484 * testsuite/ld-arm/unwind-mix2.s: New file.
3485
3486 2016-01-08 Jiong Wang <jiong.wang@arm.com>
3487
3488 PR ld/19368
3489 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
3490 * testsuite/ld-arm/ifunc-4.rd: Likewise.
3491 * testsuite/ld-arm/ifunc-9.rd: Likewise.
3492 * testsuite/ld-arm/ifunc-10.rd: Likewise.
3493 * testsuite/ld-arm/ifunc-12.rd: Likewise.
3494 * testsuite/ld-arm/ifunc-13.rd: Likewise.
3495
3496 2016-01-05 Nick Clifton <nickc@redhat.com>
3497
3498 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
3499 MSP430 hardware multiply address range.
3500 * scripttempl/elf32msp430.sc (__romdatastart): Define.
3501 (__romdatacopysize): Define.
3502 * scripttempl/elf32msp430_3.sc: Likewise.
3503
3504 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3505
3506 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
3507 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
3508
3509 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
3510
3511 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
3512 messages expected according to MIPS BFD private data merge
3513 changes.
3514 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
3515 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
3516 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
3517 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
3518 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
3519 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
3520 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
3521 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
3522 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
3523 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
3524 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
3525 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
3526 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
3527
3528 2016-01-01 Alan Modra <amodra@gmail.com>
3529
3530 Update year range in copyright notice of all files.
3531
3532 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
3533 \f
3534 Copyright (C) 2016 Free Software Foundation, Inc.
3535
3536 Copying and distribution of this file, with or without modification,
3537 are permitted in any medium without royalty provided the copyright
3538 notice and this notice are preserved.
3539
3540 Local Variables:
3541 mode: change-log
3542 left-margin: 8
3543 fill-column: 74
3544 version-control: never
3545 End: