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