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