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