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