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