Don't attach linker created section to --just-syms bfd
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
57963c05
AM
12017-06-26 Alan Modra <amodra@gmail.com>
2
3 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Skip
4 --just-syms bfds when looking for a place to attach .note.gnu.build-id
5 and .eh_frame_hdr sections. Delete dead code.
6
bff0500d
TP
72017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
8
9 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 11): New test.
10 (EABI attribute merging 12): Likewise.
11 * testsuite/ld-arm/attr-merge-11a.s: New file.
12 * testsuite/ld-arm/attr-merge-11b.s: New file.
13 * testsuite/ld-arm/attr-merge-11.attr: New file.
14 * testsuite/ld-arm/attr-merge-12a.s: New file.
15 * testsuite/ld-arm/attr-merge-12b.s: New file.
16 * testsuite/ld-arm/attr-merge-12.attr: New file.
17
00564418
L
182017-06-22 H.J. Lu <hongjiu.lu@intel.com>
19
20 * testsuite/ld-i386/i386.exp: Run weakundef1 tests.
21 * testsuite/ld-i386/weakundef1.c: New file.
22
922109c7
L
232017-06-22 H.J. Lu <hongjiu.lu@intel.com>
24
25 PR ld/21090
26 * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Pass
27 $NOPIE_CFLAGS if non-PIE is required.
28
9d1c54ed
L
292017-06-22 H.J. Lu <hongjiu.lu@intel.com>
30
31 PR ld/21090
329b5ba1
L
32 * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
33 $NOPIE_LDFLAGS to "Run pr19031".
34
352017-06-22 H.J. Lu <hongjiu.lu@intel.com>
36
37 PR ld/21090
38 * testsuite/ld-gc/gc.exp: Compile tmpdir/pr14265.o with
9d1c54ed
L
39 $NOPIE_CFLAGS.
40 * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
41 $NOPIE_LDFLAGS if non-PIE is required.
42 * testsuite/ld-i386/no-plt.exp (NOPIE_CFLAGS): New.
43 (NOPIE_LDFLAGS): Likewise.
44 Pass $NOPIE_LDFLAGS if non-PIE is required.
45 * testsuite/ld-shared/shared.exp: Compile tmpdir/sh1np.o with
46 $NOPIE_CFLAGS.
47
48580982
L
482017-06-22 H.J. Lu <hongjiu.lu@intel.com>
49
50 * NEWS: Mention -z shstk and GNU_PROPERTY_X86_FEATURE_1_SHSTK.
51 * emulparams/cet.sh (PARSE_AND_LIST_OPTIONS_CET): Add "-z shstk".
52 (PARSE_AND_LIST_ARGS_CASE_Z_CET): Support "-z shstk".
53 * ld.texinfo: Document -z shstk.
54 * testsuite/ld-i386/i386.exp: Run SHSTK tests.
55 * testsuite/ld-x86-64/x86-64.exp: Likewise.
56 * testsuite/ld-i386/property-x86-shstk.s: New file.
57 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
58 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
59 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
60 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
61 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
62 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
63 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
64 * testsuite/ld-x86-64/property-x86-shstk.s: Likewise.
65 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
66 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
67 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
68 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
69 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
70 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
71 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
72 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
73 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
74 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
75 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
76 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
77 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
78 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
79
ee2fdd6f
L
802017-06-22 H.J. Lu <hongjiu.lu@intel.com>
81
82 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emulparams/cet.sh.
83 * Makefile.in: Regenerated.
84 * NEWS: Mention GNU_PROPERTY_X86_FEATURE_1_IBT, -z ibtplt
85 and -z ibt.
86 * emulparams/cet.sh: New file.
87 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
88 * testsuite/ld-i386/ibt-plt-1.s: Likewise.
89 * testsuite/ld-i386/ibt-plt-2.s: Likewise.
90 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
91 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
92 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
93 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
94 * testsuite/ld-i386/ibt-plt-3.s: Likewise.
95 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
96 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
97 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
98 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
99 * testsuite/ld-i386/plt-main-ibt.dd: Likewise.
100 * testsuite/ld-i386/plt-pie-ibt.dd: Likewise.
101 * testsuite/ld-i386/property-x86-empty.s: Likewise.
102 * testsuite/ld-i386/property-x86-ibt.s: Likewise.
103 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
104 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
105 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
106 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
107 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
108 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
109 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
110 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
111 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
112 * testsuite/ld-x86-64/ibt-plt-1.s: Likewise.
113 * testsuite/ld-x86-64/ibt-plt-2.s: Likewise.
114 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
115 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
116 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
117 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
118 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
119 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
120 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
121 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
122 * testsuite/ld-x86-64/ibt-plt-3.s: Likewise.
123 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
124 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
125 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
126 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
127 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
128 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
129 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
130 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
131 * testsuite/ld-x86-64/plt-main-ibt-now.rd: Likewise.
132 * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Likewise.
133 * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise.
134 * testsuite/ld-x86-64/property-x86-empty.s: Likewise.
135 * testsuite/ld-x86-64/property-x86-ibt.s: Likewise.
136 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
137 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
138 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
139 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
140 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
141 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
142 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
143 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
144 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
145 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
146 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
147 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
148 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
149 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
150 * emulparams/elf32_x86_64.sh: Source emulparams/cet.sh.
151 (TINY_READONLY_SECTION): Add .plt.sec.
152 * emulparams/elf_i386.sh: Likewise.
153 * emulparams/elf_x86_64.sh: Source emulparams/cet.sh.
154 * ld.texinfo: Document -z ibtplt and -z ibt.
155 * testsuite/ld-i386/i386.exp: Run IBT and IBT PLT tests.
156 * testsuite/ld-x86-64/x86-64.exp: Likewise.
157 * testsuite/ld-x86-64/pr21481b.S (check): Updated for x32.
158
6b737370
L
1592017-06-21 H.J. Lu <hongjiu.lu@intel.com>
160
161 PR ld/21090
162 * testsuite/ld-elf/shared.exp: Pass $NOPIE_CFLAGS and
163 $NOPIE_LDFLAGS if non-PIE is required.
164
e5c89b09
L
1652017-06-21 H.J. Lu <hongjiu.lu@intel.com>
166
167 PR ld/21090
168 * testsuite/ld-scripts/crossref.exp: Also pass $NOPIE_CFLAGS
169 to CC.
170
68193357
L
1712017-06-21 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR ld/21090
174 * testsuite/ld-size/size.exp: Pass $NOPIE_LDFLAGS to size-4a,
175 size-4b, size-5a, size-5b, size-6 and size-8 tests.
127d08c0
L
176 * testsuite/ld-srec/srec.exp (NOPIE_CFLAGS): New.
177 (NOPIE_LDFLAGS): Likewise.
178 (CC): Add $NOPIE_CFLAGS $NOPIE_LDFLAGS.
179 (CXX): Likewise.
180 * testsuite/ld-x86-64/no-plt.exp (NOPIE_CFLAGS): New.
181 (NOPIE_LDFLAGS): Likewise.
182 Pass $NOPIE_LDFLAGS to "No PLT (dynamic 1a)",
183 "No PLT (dynamic 1c)" and "Run pr20253-2f".
184 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS to
185 "Build gotpcrel1" and "Run pr19031".
68193357 186
81209eff
AM
1872017-06-21 Alan Modra <amodra@gmail.com>
188
189 * testsuite/ld-powerpc/powerpc.exp: Run TOCSAVE tests.
190 * testsuite/ld-powerpc/tocsave1.s,
191 * testsuite/ld-powerpc/tocsave1a.d,
192 * testsuite/ld-powerpc/tocsave1s.d,
193 * testsuite/ld-powerpc/tocsave2.s,
194 * testsuite/ld-powerpc/tocsave2a.d,
195 * testsuite/ld-powerpc/tocsave2s.d,
196 * testsuite/ld-powerpc/tocsavelib.s: New files.
197
abfa390d
L
1982017-06-19 H.J. Lu <hongjiu.lu@intel.com>
199
200 PR ld/21626
201 * testsuite/ld-i386/i386.exp: Run ld/21626 tests.
202 * testsuite/ld-x86-64/x86-64.exp: Likewise.
203
bdd32e03
AM
2042017-06-18 Alan Modra <amodra@gmail.com>
205
206 * testsuite/lib/ld-lib.exp (is_underscore_target): New.
207 * testsuite/ld-elf/elf.exp (ASFLAGS): Define UNDERSCORE.
208 * testsuite/ld-elf/pr21562a.s: If UNDERSCORE defined,
209 reference sym with prefix.
210 * testsuite/ld-elf/pr21562b.s: Likewise.
211 * testsuite/ld-elf/sizeof.s: Likewise.
212 * testsuite/ld-elf/startof.s: Likewise.
213 * testsuite/ld-elf/pr14156a.d: Adjust for extra symbols.
214 * testsuite/ld-elf/pr21562a.d: Remove underscore target from
215 xfails, and match prefixed symbol.
216 * testsuite/ld-elf/pr21562b.d: Likewise.
217 * testsuite/ld-elf/pr21562c.d: Likewise.
218 * testsuite/ld-elf/pr21562d.d: Likewise.
219 * testsuite/ld-elf/pr21562e.d: Likewise.
220 * testsuite/ld-elf/pr21562f.d: Likewise.
221 * testsuite/ld-elf/pr21562g.d: Likewise.
222 * testsuite/ld-elf/pr21562h.d: Likewise.
223 * testsuite/ld-elf/pr21562i.d: Likewise.
224 * testsuite/ld-elf/pr21562j.d: Likewise.
225 * testsuite/ld-elf/pr21562k.d: Likewise.
226 * testsuite/ld-elf/pr21562l.d: Likewise.
227 * testsuite/ld-elf/pr21562m.d: Likewise.
228 * testsuite/ld-elf/pr21562n.d: Likewise.
229 * testsuite/ld-elf/sizeofa.d: Likewise.
230 * testsuite/ld-elf/sizeofb.d: Likewise.
231 * testsuite/ld-elf/sizeofc.d: Likewise.
232 * testsuite/ld-elf/startofa.d: Likewise.
233 * testsuite/ld-elf/startofb.d: Likewise.
234 * testsuite/ld-elf/startofc.d: Likewise.
235
7dba9362
AM
2362017-06-16 Alan Modra <amodra@gmail.com>
237
238 PR ld/20022
239 PR ld/21557
240 PR ld/21562
241 PR ld/21571
242 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't set
243 __start/__stop syms here.
244 * ldlang.c (lang_set_startof): Delete.
245 (start_stop_syms, start_stop_count, start_stop_alloc): New vars.
246 (lang_define_start_stop, lang_init_start_stop, foreach_start_stop,
247 undef_start_stop, lang_undef_start_stop, lang_init_startof_sizeof,
248 set_start_stop, lang_finalize_start_stop): New functions.
249 (lang_process): Call _start_stop functions.
250 * testsuite/ld-elf/pr21562a.d: Use xfail rather than notarget.
251 Correct typos and list of xfail targets.
252 * testsuite/ld-elf/pr21562b.d: Likewise.
253 * testsuite/ld-elf/pr21562c.d: Likewise.
254 * testsuite/ld-elf/pr21562d.d: Likewise.
255 * testsuite/ld-elf/pr21562e.d: Likewise.
256 * testsuite/ld-elf/pr21562f.d: Likewise.
257 * testsuite/ld-elf/pr21562g.d: Likewise.
258 * testsuite/ld-elf/pr21562h.d: Likewise.
259 * testsuite/ld-elf/pr21562i.d: Likewise.
260 * testsuite/ld-elf/pr21562j.d: Likewise.
261 * testsuite/ld-elf/pr21562k.d: Likewise.
262 * testsuite/ld-elf/pr21562l.d: Likewise.
263 * testsuite/ld-elf/pr21562m.d: Likewise.
264 * testsuite/ld-elf/pr21562n.d: Likewise.
265 * testsuite/ld-elf/sizeofa.d: Likewise. Adjust to pass for generic ELF.
266 * testsuite/ld-elf/sizeofb.d: Likewise.
267 * testsuite/ld-elf/startofa.d: Likewise.
268 * testsuite/ld-elf/startofb.d: Likewise.
269
d68f1976
JW
2702017-06-16 Jiong Wang <jiong.wang@arm.com>
271
272 * testsuite/ld-aarch64/aarch64-elf.exp: Update test name
273 * testsuite/ld-aarch64/pcrel.s: Add new testcases.
274 * testsuite/ld-aarch64/pcrel_pic_undefined.d: Update the expected
275 warnings.
276 * testsuite/ld-aarch64/pcrel_pic_defined_local.d: Rename ...
277 * testsuite/ld-aarch64/pcrel_pic_defined.d: ... to this.
278 Update expected warnings.
279
75e06f97
L
2802017-06-15 H.J. Lu <hongjiu.lu@intel.com>
281
282 * exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE"
283 instead of "-z stacksize=SIZE".
284
6353d82b
JW
2852017-06-15 Jiong Wang <jiong.wang@arm.com>
286
287 * testsuite/ld-aarch64/copy-reloc-exe-2.s: New test source file.
288 * testsuite/ld-aarch64/copy-reloc-2.d: New test.
289 * testsuite/ld-aarch64/copy-reloc-exe-eliminate.s: New test source file.
290 * testsuite/ld-aarch64/copy-reloc-eliminate.d: New test.
291 * testsuite/ld-aarch64/copy-reloc-so.s: Define new global objects.
292 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
293
ae87f7e7
NC
2942017-06-14 Nick Clifton <nickc@redhat.com>
295
296 PR binutils/21580
297 * testsuite/ld-nds32/diff.d: Adjust expected output.
298
99031baf
L
2992017-06-14 H.J. Lu <hongjiu.lu@intel.com>
300
301 PR ld/20022
302 * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic
303 relocations in .text section.
304
8eca1095
L
3052017-06-14 H.J. Lu <hongjiu.lu@intel.com>
306
307 * testsuite/ld-elf/pr21562a.d: Skip on targets with leading char
308 in in symbol name or without --gc-sections.
309 * testsuite/ld-elf/pr21562b.d: Likewise.
310 * testsuite/ld-elf/pr21562c.d: Likewise.
311 * testsuite/ld-elf/pr21562d.d: Likewise.
312 * testsuite/ld-elf/pr21562i.d: Likewise.
313 * testsuite/ld-elf/pr21562j.d: Likewise.
314 * testsuite/ld-elf/pr21562k.d: Likewise.
315 * testsuite/ld-elf/pr21562l.d: Likewise.
316 * testsuite/ld-elf/pr21562m.d: Likewise.
317 * testsuite/ld-elf/pr21562n.d: Likewise.
318 * testsuite/ld-elf/pr21562e.d: Skip on targets with leading char
319 in symbol name.
320 * testsuite/ld-elf/pr21562f.d: Likewise.
321 * testsuite/ld-elf/pr21562g.d: Likewise.
322 * testsuite/ld-elf/pr21562h.d: Likewise.
323
f78d1b3a
L
3242017-06-14 H.J. Lu <hongjiu.lu@intel.com>
325
326 * testsuite/ld-gc/pr20022a.s: Add size to bar.
327
b6947a7f
L
3282017-06-14 H.J. Lu <hongjiu.lu@intel.com>
329
330 * testsuite/ld-elf/sizeofa.d: Skip on targets with leading char
331 in symbol name.
332 * testsuite/ld-elf/sizeofb.d: Likewise.
333 * testsuite/ld-elf/startofa.d: Likewise.
334 * testsuite/ld-elf/startofb.d: Likewise.
335
4c0b797e
GJL
3362017-06-14 Georg-Johann Lay <gjl@gcc.gnu.org>
337
338 PR ld/21583
339 * scripttempl/avr.sc (.jumptables): Move down in text section.
340 (.hightext): New in text.
341
319c2dbe
SH
3422017-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
343
344 * configure.tgt (epiphany-*-elf): Accept epiphany-*-*.
345
b27685f2
L
3462017-06-13 H.J. Lu <hongjiu.lu@intel.com>
347
348 * ldlang.c (lang_set_startof): Skip if config.build_constructors
349 is FALSE.
350 * testsuite/ld-elf/sizeofc.d: New file.
351 * testsuite/ld-elf/startofc.d: Likewise.
352
da614360
L
3532017-06-13 H.J. Lu <hongjiu.lu@intel.com>
354
355 * testsuite/ld-elf/sizeof.d: Renamed to ...
356 * testsuite/ld-elf/sizeofa.d: This. Updated.
357 * testsuite/ld-elf/startof.d: Renamed to ...
358 * testsuite/ld-elf/startofa.d: This. Updated.
359 * testsuite/ld-elf/sizeofb.d: New file.
360 * testsuite/ld-elf/startofb.d: Likewise.
361
cbd0eecf
L
3622017-06-13 H.J. Lu <hongjiu.lu@intel.com>
363
364 PR ld/20022
365 PR ld/21557
366 PR ld/21562
367 PR ld/21571
368 * ld.texinfo: Update __start_SECNAME/__stop_SECNAME symbols.
369 * ldlang.c (lang_insert_orphan): Move handling of __start_SECNAME
370 and __stop_SECNAME symbols to ...
371 (lang_set_startof): Here. Also define __start_SECNAME and
372 __stop_SECNAME for -Ur.
373 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Mark
374 referenced __start_SECNAME and __stop_SECNAME symbols as hidden
375 and set start_stop for garbage collection.
376 * testsuite/ld-elf/pr21562a.d: New file.
377 * testsuite/ld-elf/pr21562a.s: Likewise.
378 * testsuite/ld-elf/pr21562a.t: Likewise.
379 * testsuite/ld-elf/pr21562b.d: Likewise.
380 * testsuite/ld-elf/pr21562b.s: Likewise.
381 * testsuite/ld-elf/pr21562b.t: Likewise.
382 * testsuite/ld-elf/pr21562c.d: Likewise.
383 * testsuite/ld-elf/pr21562c.t: Likewise.
384 * testsuite/ld-elf/pr21562d.d: Likewise.
385 * testsuite/ld-elf/pr21562d.t: Likewise.
386 * testsuite/ld-elf/pr21562e.d: Likewise.
387 * testsuite/ld-elf/pr21562f.d: Likewise.
388 * testsuite/ld-elf/pr21562g.d: Likewise.
389 * testsuite/ld-elf/pr21562h.d: Likewise.
390 * testsuite/ld-elf/pr21562i.d: Likewise.
391 * testsuite/ld-elf/pr21562j.d: Likewise.
392 * testsuite/ld-elf/pr21562k.d: Likewise.
393 * testsuite/ld-elf/pr21562l.d: Likewise.
394 * testsuite/ld-elf/pr21562m.d: Likewise.
395 * testsuite/ld-elf/pr21562n.d: Likewise.
396 * testsuite/ld-gc/pr20022.d: Likewise.
397 * testsuite/ld-gc/pr20022a.s: Likewise.
398 * testsuite/ld-gc/pr20022b.s: Likewise.
399 * testsuite/ld-gc/gc.exp: Run PR ld/20022 tests.
400 * testsuite/ld-gc/pr19161.d: Also accept local __start_SECNAME
401 symbol.
402 * testsuite/ld-gc/start.d: Likewise.
403 * testsuite/ld-x86-64/lea1a.d: Updated.
404 * testsuite/ld-x86-64/lea1b.d: Updated.
405 * testsuite/ld-x86-64/lea1d.d: Updated.
406 * testsuite/ld-x86-64/lea1e.d: Likewise.
407
dc74becf
L
4082017-06-13 H.J. Lu <hongjiu.lu@intel.com>
409
410 * testsuite/ld-elf/sizeof.d: New file.
411 * testsuite/ld-elf/sizeof.s: Likewise.
412 * testsuite/ld-elf/startof.d: Likewise.
413 * testsuite/ld-elf/startof.s: Likewise.
414
8569cfa7
RL
4152017-06-13 Renlin Li <renlin.li@arm.com>
416
417 * testsuite/ld-elf/shared.exp (build_tests): Add --no-dynamic-linker
418 option to rdynamic-1 and dynamic-1 tests.
419
654f3b6a
L
4202017-06-09 H.J. Lu <hongjiu.lu@intel.com>
421
422 * testsuite/ld-x86-64/property-x86-3-x32.d: New file.
423 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
424 * testsuite/ld-x86-64/property-x86-4b-x32.d: Likewise.
425 * testsuite/ld-x86-64/property-x86-3.d: Also pass
426 -defsym __64_bit__=1 to asssembler.
427 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
428 * testsuite/ld-x86-64/property-x86-4b.d: Likewise.
429 * testsuite/ld-x86-64/property-x86-3.s: Align to 4 bytes if
430 __64_bit__ isn't defined.
431 * testsuite/ld-x86-64/property-x86-4a.s: Likewise.
432 * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
433 * testsuite/ld-x86-64/x86-64.exp: Run property-x86-3-x32,
434 property-x86-4a-x32 and property-x86-4b-x32.
435
a0abe743
CM
4362017-06-08 Cupertino Miranda <cmiranda@synopsys.com>
437
438 * testsuite/ld-arc/tls_ie-01.d: Changed expected result.
439
51fa2693
L
4402017-06-08 H.J. Lu <hongjiu.lu@intel.com>
441
442 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Pass
443 "-Map tmpdir/ifunc-1-local-x86.map" to ld and check
444 ifunc-1-local-x86.map.
445 * testsuite/ld-ifunc/ifunc-1-x86.d: Pass
446 "-Map tmpdir/ifunc-1-x86.map" to ld and check ifunc-1-x86.map.
447 * testsuite/ld-ifunc/ifunc-1-local-x86.map: New file.
448 * testsuite/ld-ifunc/ifunc-1-x86.map: Likewise.
449
4936f235
AM
4502017-06-07 Alan Modra <amodra@gmail.com>
451
452 * testsuite/ld-unique/pr21529.d: xfail aarch64, arm, hppa, ia64,
453 nds32, and score. Match any output.
454
670b1a13
AB
4552017-06-06 Andrew Burgess <andrew.burgess@embecosm.com>
456
457 * ld.h (struct args_type): Fix typo in comment.
458
7bdf4127
AB
4592017-06-06 Andrew Burgess <andrew.burgess@embecosm.com>
460
461 * ld.h (struct args_type): Add force_group_allocation field.
462 * ldgram.y: Add support for FORCE_GROUP_ALLOCATION.
463 * ldlex.h: Likewise.
464 * ldlex.l: Likewise.
465 * lexsup.c: Likewise.
466 * ldlang.c (unique_section_p): Check resolve_section_groups flag
467 not the relaxable link flag.
468 (lang_add_section): Discard section groups when we're resolving
469 groups. Clear the SEC_LINK_ONCE flag if we're resolving section
470 groups.
471 * ldmain.c (main): Initialise resolve_section_groups flag in
472 link_info based on command line flags.
473 * testsuite/ld-elf/group11.d: New file.
474 * testsuite/ld-elf/group12.d: New file.
475 * testsuite/ld-elf/group12.ld: New file.
476 * NEWS: Mention new features.
477 * ld.texinfo (Options): Document --force-group-allocation.
478 (Miscellaneous Commands): Document FORCE_GROUP_ALLOCATION.
479
d9409498
L
4802017-06-05 H.J. Lu <hongjiu.lu@intel.com>
481
482 PR ld/21529
483 * testsuite/ld-unique/pr21529.d: New file.
484 * testsuite/ld-unique/pr21529.s: Likewise.
485 * testsuite/ld-unique/unique.exp: Run *.d.
486
91001320
AM
4872017-06-05 Alan Modra <amodra@gmail.com>
488
489 * ldmain.c (main): Correct setting of link_indo.new_dtags.
490 * testsuite/ld-elf/now-3.d: Pass --disable-new-dtags to ld
491 * testsuite/ld-elf/now-4.d: Likewise.
492 * testsuite/ld-elf/rpath-1.d: Likewise.
493 * testsuite/ld-elf/rpath-2.d: Likewise.
494
6734f10a
SB
4952017-06-05 Slava Barinov <v.barinov@samsung.com>
496
497 * configure.ac: Add --enable-new-dtags option.
91001320
AM
498 * ldmain.c (main): Set link_info.new_dtags to 1 if when
499 --enable-new-dtags is switched on.
6734f10a
SB
500 * configure: Regenerate.
501 * config.in: Regenerate.
502
4a4a4a27
L
5032017-06-02 H.J. Lu <hongjiu.lu@intel.com>
504
505 * emulparams/call_nop.sh: Remove -z prefix-nop.
506 * ld.texinfo: Likewise.
507 * testsuite/ld-i386/call3c.d: Check for linker error.
508 * testsuite/ld-x86-64/call1c.d: Likewise.
509
f378ab09
AM
5102017-06-01 Alan Modra <amodra@gmail.com>
511
512 * emultempl/ppc64elf.em (params): Init plt_localentry0 field.
513 (enum ppc64_opt): New, replacing OPTION_* defines. Add
514 OPTION_PLT_LOCALENTRY, and OPTION_NO_PLT_LOCALENTRY.
515 (PARSE_AND_LIST_*): Support --plt-localentry and --no-plt-localentry.
516 * testsuite/ld-powerpc/elfv2so.d: Update.
517 * testsuite/ld-powerpc/powerpc.exp (TLS opt 5): Use --no-plt-localentry.
518 * testsuite/ld-powerpc/tlsopt5.d: Update.
519
ab12fca3
AM
5202017-05-31 Alan Modra <amodra@gmail.com>
521
522 * emultempl/ppc64elf.em (plt-static-chain help): Fix quoting.
523
9a6465c2
JW
5242017-05-22 Jiong Wang <jiong.wang@arm.com>
525
526 * configure.tgt: Set "targ_emul" to "aarch64linux32b" for
527 aarch64_be-*-linux-gnu_ilp32. Set "targ_emul" to "aarch64linux32" for
528 aarch64-*-linux-gnu_ilp32.
529
92f7d783
L
5302017-05-19 H.J. Lu <hongjiu.lu@intel.com>
531
532 * testsuite/ld-i386/i386.exp: Run property-x86-4a and
533 property-x86-4b.
534 * testsuite/ld-x86-64/x86-64.exp: Likewise.
535 * testsuite/ld-i386/property-x86-4a.d: New file.
536 * testsuite/ld-i386/property-x86-4a.s: Likewise.
537 * testsuite/ld-i386/property-x86-4b.d: Likewise.
538 * testsuite/ld-i386/property-x86-4b.s: Likewise.
539 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
540 * testsuite/ld-x86-64/property-x86-4a.s: Likewise.
541 * testsuite/ld-x86-64/property-x86-4b.d: Likewise.
542 * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
543
f4203b2b
JL
5442017-05-19 Georg-Johann Lay <avr@gjlay.de>
545
546 PR ld/21472
547 * emulparams/avrxmega3.sh (RODATA_PM_OFFSET): Set to 0x8000.
548 * scripttempl/avr.sc (__RODATA_PM_OFFSET__) [RODATA_PM_OFFSET]:
549 Use RODATA_PM_OFFSET as default if not already defined.
550 (.data) [!RODATA_PM_OFFSET]: Don't include .rodata and friends.
551 (.rodata) [RODATA_PM_OFFSET]: Put at an offset of
552 __RODATA_PM_OFFSET__.
553
3aa2d05a
NC
5542017-05-18 Nick Clifton <nickc@redhat.com>
555
556 PR ld/21251
557 * ldfile.c (ldfile_add_library_path): If the path starts with
558 $SYSROOT then use the sysroot as the real prefix.
559 * ldlang.c (lang_add_input_file): Treat $SYSROOT in the same
560 way as =.
561 * ldlex.l: Add $SYSROOT as allow prefix for a filename.
562 * ld.texinfo (-L): Document that $SYSROOT acts like = when
563 prefixing a library search path.
564 (INPUT): Likewise.
565 * testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix
566 tests.
567
535b785f
AM
5682017-05-18 Alan Modra <amodra@gmail.com>
569
570 * emultempl/elf32.em: Don't compare boolean values against TRUE or FALSE.
571 * emultempl/pe.em: Likewise.
572 * emultempl/pep.em: Likewise.
9d43118e
AM
573 * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
574 Don't compare enum against TRUE.
535b785f 575
087ea222
AM
5762017-05-18 Alan Modra <amodra@gmail.com>
577
578 PR ld/20882
579 * testsuite/ld-gc/pr20882.d: Don't pass -gdwarf-sections to gas.
580 Allow for 16-bit address targets and match expected data fully.
581 * testsuite/ld-gc/pr20882a.s: Delete .debug_line section.
582 * testsuite/ld-gc/pr20882b.s: Likewise.
583 * testsuite/ld-gc/pr20882c.s: Likewise.
584
b7c871ed
L
5852017-05-17 H.J. Lu <hongjiu.lu@intel.com>
586
587 PR ld/20882
588 * testsuite/ld-gc/gc.exp: Run pr20882.
589 * testsuite/ld-gc/pr20882.d: New file.
590 * testsuite/ld-gc/pr20882a.s: Likewise.
591 * testsuite/ld-gc/pr20882b.s: Likewise.
592 * testsuite/ld-gc/pr20882c.s: Likewise.
593
0a7d3889
L
5942017-05-16 H.J. Lu <hongjiu.lu@intel.com>
595
596 PR ld/21481
597 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests only
598 if IFUNC is supported by run-time.
599
bc4e12de
AM
6002017-05-16 Alan Modra <amodra@gmail.com>
601
602 * plugin.c: Rename occurrences of non_ir_ref.
603
4070765b
AM
6042017-05-16 Alan Modra <amodra@gmail.com>
605
606 * plugin.c (is_visible_from_outside): Use non_ir_ref_dynamic.
607 (plugin_notice): Set non_ir_ref for references from regular
608 objects, non_ir_ref_dynamic for references from dynamic objects.
609
b32465c9
MR
6102017-05-15 Maciej W. Rozycki <macro@imgtec.com>
611
612 * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: New test.
613 * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: New test.
614 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: New test.
615 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: New test.
616 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: New test.
617 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: New test.
618 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: New test.
619 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: New test.
620 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
621
786e3eba
NC
6222017-05-15 Nick Clifton <nickc@redhat.com>
623
624 PR ld/21459
625 * scripttempl/pe.sc: Add .debug_gdb_scripts section.
626 * scripttempl/pep.sc: Likewise.
627
73caa85d
L
6282017-05-12 H.J. Lu <hongjiu.lu@intel.com>
629
630 * testsuite/ld-i386/i386.exp: Run property-x86-3.
631 * testsuite/ld-x86-64/x86-64.exp: Likewise.
632 * testsuite/ld-i386/property-x86-3.d: New file.
633 * testsuite/ld-i386/property-x86-3.s: Likewise.
634 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
635 * testsuite/ld-x86-64/property-x86-3.s: Likewise.
636
f2c29a16
L
6372017-05-11 H.J. Lu <hongjiu.lu@intel.com>
638
639 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Replace
640 .plt.bnd with .plt.sec.
641 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
642 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
643 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
644 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
645 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
646 * testsuite/ld-x86-64/mpx3.dd: Likewise.
647 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
648 * testsuite/ld-x86-64/mpx4.dd: Likewise.
649 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
650 * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise.
651 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
652 * testsuite/ld-x86-64/pr21038b.d: Likewise.
653 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
654 * testsuite/ld-x86-64/pr21038c.d: Likewise.
655
dc2be3d2
L
6562017-05-11 H.J. Lu <hongjiu.lu@intel.com>
657
658 * testsuite/ld-i386/plt-pic2.dd: Updated.
659 * testsuite/ld-i386/plt2.dd: Likewise.
660 * testsuite/ld-i386/plt2.rd: Likewise.
661 * testsuite/ld-i386/pr17689now.rd: Likewise.
662 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
663 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
664 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
665 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
666 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
667 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
668 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
669 * testsuite/ld-x86-64/plt2.dd: Likewise.
670 * testsuite/ld-x86-64/plt2.rd: Likewise.
671 * testsuite/ld-x86-64/pr17689now.rd: Likewise.
672 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
673 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
674
5d69120b
L
6752017-05-10 H.J. Lu <hongjiu.lu@intel.com>
676
677 * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Set
678 to yes.
679 * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
680 Likewise.
681 * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Likewise.
682
aab82f4c
L
6832017-05-10 H.J. Lu <hongjiu.lu@intel.com>
684
685 PR ld/21481
686 * testsuite/ld-x86-64/pr21481a.c: New file.
687 * testsuite/ld-x86-64/pr21481b.S: Likewise.
688 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests.
689
53a346d8
CZ
6902017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
691
692 * testsuite/ld-arc/attr-merge-0.d: New file.
693 * testsuite/ld-arc/attr-merge-0.s: Likewise.
694 * testsuite/ld-arc/attr-merge-0e.s: Likewise.
695 * testsuite/ld-arc/attr-merge-1.d: Likewise.
696 * testsuite/ld-arc/attr-merge-1.s: Likewise.
697 * testsuite/ld-arc/attr-merge-1e.s: Likewise.
698 * testsuite/ld-arc/attr-merge-2.d: Likewise.
699 * testsuite/ld-arc/attr-merge-2.s: Likewise.
700 * testsuite/ld-arc/attr-merge-3.d: Likewise.
701 * testsuite/ld-arc/attr-merge-3.s: Likewise.
702 * testsuite/ld-arc/attr-merge-3e.s: Likewise.
703 * testsuite/ld-arc/attr-merge-4.s: Likewise.
704 * testsuite/ld-arc/attr-merge-5.d: Likewise.
705 * testsuite/ld-arc/attr-merge-5a.s: Likewise.
706 * testsuite/ld-arc/attr-merge-5b.s: Likewise.
707 * testsuite/ld-arc/attr-merge-conflict-isa.d: Likewise.
708 * testsuite/ld-arc/attr-merge-err-isa.d: Likewise.
709 * testsuite/ld-arc/attr-merge-incompatible-cpu.d: Likewise.
710 * testsuite/ld-arc/got-01.d: Update test.
711 * testsuite/ld-arc/attr-merge-err-quarkse.d: New file.
712 * testsuite/ld-arc/attr-quarkse.s: Likewise.
713 * testsuite/ld-arc/attr-quarkse2.s: Likewise.
714
a6da4630
A
7152017-05-09 Awson <kyrab@mail.ru>
716
717 PR ld/21471
718 * pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64.
719
d2732b69
AM
7202017-05-09 Benjamin Peterson <bp@benjamin.pe>
721
722 * ld.texinfo (orphan sections): Grammar fix.
723
38b12349
L
7242017-05-08 H.J. Lu <hongjiu.lu@intel.com>
725
726 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: New file.
727 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
728 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
729 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
730 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
731 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
732 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
733 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
734 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
735 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
736 * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise.
737 * testsuite/ld-x86-64/plt2.dd: Likewise.
738 * testsuite/ld-x86-64/plt2.rd: Likewise.
739 * testsuite/ld-x86-64/plt2.s: Likewise.
740 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
741 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
742 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
743 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
744 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
745 * testsuite/ld-x86-64/load1b-nacl.d: Updated.
746 * testsuite/ld-x86-64/load1b.d: Likewise.
747 * testsuite/ld-x86-64/plt-main-bnd.dd: Likewise.
748 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
749 * testsuite/ld-x86-64/pr20830a.d: Update the .plt.got section
750 with func@plt.
751 * testsuite/ld-x86-64/pr20830b.d: Likewise.
752 * testsuite/ld-x86-64/pr21038a.d: Likewise.
753 * testsuite/ld-x86-64/pr21038c.d: Likewise.
754 * testsuite/ld-x86-64/mpx.exp: Add some -z now tests.
755 * testsuite/ld-x86-64/x86-64.exp: Likewise.
756
f604c2a2
L
7572017-05-08 H.J. Lu <hongjiu.lu@intel.com>
758
759 * testsuite/ld-i386/i386.exp: Add some -z now tests.
760 * testsuite/ld-i386/plt-pic2.dd: New file.
761 * testsuite/ld-i386/plt2.dd: Likewise.
762 * testsuite/ld-i386/plt2.rd: Likewise.
763 * testsuite/ld-i386/plt2.s: Likewise.
764 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
765 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
766 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
767 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
768 * testsuite/ld-i386/pr20830.d: Update the .plt.got section
769 with func@plt.
770
046734ff
TP
7712017-05-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
772
773 * testsuite/ld-arm/arm-elf.exp
774 (Secure gateway import library generation): Check e_type field
775 of import library and executable produced.
776 * testsuite/ld-arm/cmse-implib.type: Expectations for e_type field.
777
b660e9eb
SKS
7782017-04-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
779
780 PR ld/21404
781 * testsuite/ld-avr/pr21404-1.d: New test.
782 * testsuite/ld-avr/pr21404-1.s: New test.
783 * testsuite/ld-avr/pr21404-2.d: New test.
784 * testsuite/ld-avr/pr21404-2.s: New test.
785 * testsuite/ld-avr/pr21404-3.d: New test.
786 * testsuite/ld-avr/pr21404-3.s: New test.
787 * testsuite/ld-avr/pr21404-4.d: New test.
788 * testsuite/ld-avr/pr21404-4.s: New test.
789 * testsuite/ld-avr/pr21404-5.d: New test.
790 * testsuite/ld-avr/pr21404-5.s: New test.
791 * testsuite/ld-avr/pr21404-6.d: New test.
792 * testsuite/ld-avr/pr21404-6.s: New test.
793 * testsuite/ld-avr/pr21404-7.d: New test.
794 * testsuite/ld-avr/pr21404-7.s: New test.
795 * testsuite/ld-avr/pr21404-8.d: New test.
796 * testsuite/ld-avr/pr21404-8.s: New test.
797
8507b6e7
MR
7982017-05-03 Maciej W. Rozycki <macro@imgtec.com>
799
800 * testsuite/ld-mips-elf/mips16-pcrel-0.d: New test.
801 * testsuite/ld-mips-elf/mips16-pcrel-1.d: New test.
802 * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: New test.
803 * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: New test.
804 * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: New test.
805 * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: New test.
806 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: New test.
807 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: New test.
808 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
809
b2290821
L
8102017-05-03 H.J. Lu <hongjiu.lu@intel.com>
811
812 * testsuite/ld-elf/pr21384.d: Adjusted to accommodate
813 additional dynamic symbols on some targets.
814
82d808ed
MR
8152017-05-02 Maciej W. Rozycki <macro@imgtec.com>
816
817 * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: New test.
818 * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: New test.
819 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d: New
820 test.
821 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d: New
822 test.
823 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d: New
824 test.
825 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d:
826 New test.
827 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d: New
828 test.
829 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d: New
830 test.
831 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d:
832 New test.
833 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
834
3d850592
L
8352017-05-02 H.J. Lu <hongjiu.lu@intel.com>
836
837 * testsuite/ld-i386/tls.exp: Add -Wl,--no-as-needed to
838 "TLS without PLT (1)" and "TLS without PLT (3)".
839 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to
840 to "TLS without PLT (3)".
841
640226f0
L
8422017-05-02 H.J. Lu <hongjiu.lu@intel.com>
843
844 PR ld/21384
845 * testsuite/ld-elf/pr21384.d: New file.
846 * testsuite/ld-elf/pr21384.dl: Likewise.
847 * testsuite/ld-elf/pr21384.ld: Likewise.
848 * testsuite/ld-elf/pr21384.s: Likewise.
849
0aae7e72
L
8502017-05-01 H.J. Lu <hongjiu.lu@intel.com>
851
852 * testsuite/ld-i386/tls.exp: Run GNU2 TLS tests only if there
853 is working GNU2 TLS support.
854 * testsuite/ld-x86-64/tls.exp: Likewise.
855 * testsuite/lib/ld-lib.exp (check_gnu2_tls_available): New proc.
856
1670f9c1
L
8572017-04-28 H.J. Lu <hongjiu.lu@intel.com>
858
859 * testsuite/config/default.exp (GNU2_CFLAGS): New. Set
860 to -mtls-dialect=gnu2 if target compiler supports it.
861 * testsuite/ld-i386/tls.exp: Run -mtls-dialect=gnu2 tests.
862 * testsuite/ld-x86-64/tls.exp: Likewise.
863 * testsuite/ld-i386/tlsdesc1a.c: New file.
864 * testsuite/ld-i386/tlsdesc1b.c: Likewise.
865 * testsuite/ld-x86-64/tlsdesc1a.c: Likewise.
866 * testsuite/ld-x86-64/tlsdesc1b.c: Likewise.
867
d6f48aed
L
8682017-04-28 H.J. Lu <hongjiu.lu@intel.com>
869
870 * testsuite/ld-elf/shared.exp: Add run-time tests for -z now.
871 * testsuite/ld-i386/tls.exp: Likewise.
872 * testsuite/ld-ifunc/ifunc.exp: Likewise.
873 * testsuite/ld-x86-64/tls.exp: Likewise.
874
de9a3c42
L
8752017-04-27 H.J. Lu <hongjiu.lu@intel.com>
876
877 * testsuite/ld-x86-64/pr21038a.d: Update DW_CFA_nop paddings
878 in .eh_frame section.
879 * testsuite/ld-x86-64/pr21038c.d: Update .eh_frame order.
880
97d343d4
L
8812017-04-26 H.J. Lu <hongjiu.lu@intel.com>
882
883 * testsuite/ld-i386/tlsdesc2.d: New test.
884 * testsuite/ld-x86-64/tlsdesc2.d: Likewise.
885
23ec1e32
MR
8862017-04-26 Maciej W. Rozycki <macro@imgtec.com>
887
888 PR ld/21334
889 * testsuite/ld-mips-elf/pr21334.dd: New test.
890 * testsuite/ld-mips-elf/pr21334.gd: New test.
891 * testsuite/ld-mips-elf/pr21334.ld: New test linker script.
892 * testsuite/ld-mips-elf/pr21334.s: New test source.
893 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
894
9e9821dd
L
8952017-04-24 H.J. Lu <hongjiu.lu@intel.com>
896
897 * testsuite/ld-x86-64/no-plt.exp: Also check no-plt-1e.nd.
898 * testsuite/ld-x86-64/no-plt-1e.nd: New file.
899
e662f84f
L
9002017-04-24 H.J. Lu <hongjiu.lu@intel.com>
901
902 * testsuite/ld-i386/pr12570a.d: Skip for nacl targets.
903 * testsuite/ld-i386/pr12570b.d: Likewise.
904
1587442d
L
9052017-04-24 H.J. Lu <hongjiu.lu@intel.com>
906
907 PR ld/20815
908 * testsuite/ld-i386/vxworks2.sd: Add space for program headers.
909
8b353c47
JM
9102017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com>
911
912 * testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions
913 instead of `rett' in V9.
914 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
915 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
916
e133d005
L
9172017-04-21 H.J. Lu <hongjiu.lu@intel.com>
918
919 PR ld/21402
920 * testsuite/ld-elf/indirect.exp: Don't skip PIE indirect5 and
921 indirect6 tests on i386.
922
3c5fce9b
L
9232017-04-21 H.J. Lu <hongjiu.lu@intel.com>
924
925 PR ld/19617
926 PR ld/21086
927 * testsuite/ld-elf/pr19617a.d: Pass --no-dynamic-linker to ld.
928 * testsuite/ld-elf/pr19617b.d: Likewise.
929 * testsuite/ld-elf/pr19617c.d: Likewise.
930 *testsuite/ld-i386/pr19636-4d.d: Likewise.
931 * testsuite/ld-elf/readelf.exp: Pass --no-dynamic-linker to ld
932 with --export-dynamic.
933 * testsuite/ld-elf/shared.exp: Pass --no-dynamic-linker to ld
934 with -E.
935
afe9edbf
L
9362017-04-20 H.J. Lu <hongjiu.lu@intel.com>
937
938 PR ld/21402
939 * testsuite/ld-elf/indirect.exp: Pass $NOPIE_LDFLAGS and
940 $NOPIE_CFLAGS to non-PIE indirect5 and indirect6 tests. Skip
941 PIE indirect5 and indirect6 tests on i386.
942
31321c80
MR
9432017-04-20 Maciej W. Rozycki <macro@imgtec.com>
944
945 * testsuite/ld-mips-elf/mips-elf.exp: Join `__ehdr_start' tests.
946
59fa66c5
L
9472017-04-20 H.J. Lu <hongjiu.lu@intel.com>
948
949 PR ld/21382
950 * plugin.c (is_visible_from_outside): Symbol may be visible
951 from outside if dynamic_ref_after_ir_def is set.
952 (plugin_notice): Set dynamic_ref_after_ir_def if the symbol is
953 defined in an IR object and referenced in a dynamic object.
954 * testsuite/ld-plugin/lto.exp: Run PR ld/21382 tests.
955 * testsuite/ld-plugin/pr21382a.c: New file.
956 * testsuite/ld-plugin/pr21382b.c: Likewise.
957
e492d2f8
L
9582017-04-19 H.J. Lu <hongjiu.lu@intel.com>
959
960 PR ld/21401
961 * testsuite/ld-ifunc/ifunc.exp: Add a libtest-2-now.so test with
962 -z now.
963
954b63d4
AM
9642017-04-19 Alan Modra <amodra@gmail.com>
965
966 * ld.texinfo (dynamic-undefined-weak): Document.
967 (nodynamic-undefined-weak): Document that this option now can
968 be used with shared libs.
969 * emulparams/dynamic_undefined_weak.sh: Support -z
970 dynamic-undefined-weak.
971 * emulparams/elf32ppccommon.sh: Include dynamic_undefined_weak.sh.
972 * testsuite/ld-undefined/weak-undef.exp (undef_weak_so),
973 (undef_weak_exe): New. Use them. Add -z dynamic-undefined-weak
974 and -z nodynamic-undefined-weak tests.
975 * Makefile.am: Update powerpc dependencies.
976 * Makefile.in: Regenerate.
977
e6699019
L
9782017-04-17 H.J. Lu <hongjiu.lu@intel.com>
979
980 PR ld/21389
981 * testsuite/ld-elf/pr21389.map: New file.
982 * testsuite/ld-elf/pr21389.s: Likewise.
983 * testsuite/ld-elf/pr21389a.d: Likewise.
984 * testsuite/ld-elf/pr21389b.d: Likewise.
985 * testsuite/ld-elf/pr21389c.d: Likewise.
986
c5d37467
AM
9872017-04-17 Alan Modra <amodra@gmail.com>
988
989 * testsuite/ld-elf/indirect5a.c,
990 * testsuite/ld-elf/indirect5b.c,
991 * testsuite/ld-elf/indirect5.map,
992 * testsuite/ld-elf/indirect5.out: New test.
993 * testsuite/ld-elf/indirect6a.c: Likewise.
994 * testsuite/ld-elf/indirect.exp (check_dynamic_syms): New proc.
995 Run new tests and check dynsyms.
996
fbea1508
AM
9972017-04-11 Alan Modra <amodra@gmail.com>
998
999 PR 21274
1000 PR 18466
1001 * emultempl/pe.em (pe_find_data_imports): Don't use fixed size
1002 symbol buffer. Instead, xmalloc max size needed with space for
1003 prefix. Wrap overlong lines. Formatting. Pass symbol buffer
1004 copy of name to pe_walk_relocs_of_symbol.
1005 (make_inport_fixup): Add "name" param, pass to pe_create_import_fixup.
1006 * emultempl/pe.em (pep_find_data_imports): As for pe_find_data_imports.
1007 (make_import_fixup): Add "name" param, pass to pep_create_import_fixup.
1008 Use bfd_get_signed_* and remove unnecessary casts. Formatting.
1009 * pe-dll.c (pe_walk_relocs_of_symbol): Add "name" param. Pass to
1010 callback.
1011 (make_import_fixup_mark): Add "name" param. Make use of prefix
1012 space rather than xmalloc here.
1013 (pe_create_import_fixup): Likewise.
1014 * pe-dll.h (pe_walk_relocs_of_symbol): Update prototype.
1015 (pe_create_import_fixup): Likewise.
1016 * pep-dll.h (pep_walk_relocs_of_symbol): Likewise.
1017 (pep_create_import_fixup): Likewise.
1018
a70f34c0
NC
10192017-04-10 Nick Clifton <nickc@redhat.com>
1020
1021 * ld.texinfo (--strip-discarded): Document.
1022 (--embedded-relocs): Document.
1023 (--spare-dynamic-tags): Document.
1024 (--task-link): Document.
1025
6f9dbcd4
AM
10262017-04-10 Alan Modra <amodra@gmail.com>
1027
1028 PR 21287
1029 * testsuite/ld-elf/init-fini-arrays.d: Match INIT_ARRAY and FINI_ARRAY.
1030 * testsuite/ld-elf/init-fini-arrays.s: Use %init_array and %fini_array
1031 section types.
1032 * testsuite/lib/ld-lib.exp (default_ld_compile): Trim assembler
1033 warnings about "ignoring incorrect section type".
1034 (run_ld_link_exec_tests, run_cc_link_tests): Delete old comment.
1035
37095d07
AM
10362017-04-10 Alan Modra <amodra@gmail.com>
1037
1038 * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete
1039 sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling. Use
1040 remote_file host exists rather than file exists.
1041
a7eaf017
L
10422017-04-07 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 PR ld/21090
1045 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use
1046 NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie
1047 version of the test.
1048
8170f769
L
10492017-04-07 H.J. Lu <hongjiu.lu@intel.com>
1050
1051 PR ld/19579
1052 PR ld/21306
1053 * testsuite/ld-elf/pr19579a.c (main): Updated.
1054
ae3f8c28
NC
10552017-04-07 Nick Clifton <nickc@redhat.com>
1056
1057 PR 21090
1058 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly
1059 disable PIE for the non-pie version of the test.
1060
5c1f54ce
AM
10612017-04-07 Alan Modra <amodra@gmail.com>
1062
1063 * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char.
1064
1fd6d111
TG
10652017-04-07 gingold <gingold@gingold-Precision-7510>
1066
1067 * testsuite/ld-pe/pe.exp: New test.
1068 * testsuite/ld-pe/weakdef-1.s: New test source.
1069 * testsuite/ld-pe/weakdef-1.d: New test.
1070
3944e22b
AM
10712017-04-07 Alan Modra <amodra@gmail.com>
1072
1073 * testsuite/ld-elf/mbind1a.d: Remove matches for PT_LOAD segments.
1074 * testsuite/ld-elf/mbind1b.d: Likewise.
1075 * testsuite/ld-elf/mbind1c.d: Likewise.
1076
6ca30fa5
HPN
10772017-04-05 Hans-Peter Nilsson <hp@axis.com>
1078
1079 PR ld/21233
1080 * testsuite/ld-elf/shared.exp: Change xfails to kfails and fix
1081 indentation issue introduced with last commit.
1082
4d5efb85
HPN
10832017-04-05 Hans-Peter Nilsson <hp@axis.com>
1084
1085 PR ld/21233
1086 * testsuite/ld-elf/shared.exp: Xfail all PR21233 tests but the
1087 first test for cris*-*-*.
1088
80070c0d
MR
10892017-04-04 Maciej W. Rozycki <macro@imgtec.com>
1090
1091 PR ld/21233
1092 * ldlang.c (insert_undefined): Set `mark' for ELF symbols.
1093 * testsuite/ld-elf/pr21233.sd: New test.
1094 * testsuite/ld-elf/pr21233-l.sd: New test.
1095 * testsuite/ld-elf/pr21233.ld: New test linker script.
1096 * testsuite/ld-elf/pr21233-e.ld: New test linker script.
1097 * testsuite/ld-elf/pr21233.s: New test source.
1098 * testsuite/ld-elf/pr21233-l.s: New test source.
1099 * testsuite/ld-elf/shared.exp: Run the new tests.
1100
a91e1603
L
11012017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1102
1103 * NEWS: Mention support for ELF SHF_GNU_MBIND and
1104 PT_GNU_MBIND_XXX.
1105 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
1106 input GNU_MBIND sections with the same type, attributes and
1107 sh_info field into a single output GNU_MBIND section.
1108 * testsuite/ld-elf/elf.exp: Run mbind2a and mbind2b.
1109 * testsuite/ld-elf/mbind1.s: New file.
1110 * testsuite/ld-elf/mbind1a.d: Likewise.
1111 * testsuite/ld-elf/mbind1b.d: Likewise.
1112 * testsuite/ld-elf/mbind1c.d: Likewise.
1113 * testsuite/ld-elf/mbind2a.s: Likewise.
1114 * testsuite/ld-elf/mbind2b.c: Likewise.
1115
46bed679
L
11162017-04-03 H.J. Lu <hongjiu.lu@intel.com>
1117
2514e33e 1118 * NEWS: Mention support for ELF GNU program properties.
46bed679
L
1119 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1120 ELF setup_gnu_properties.
1121 * testsuite/ld-i386/i386.exp: Run property tests for Linux/i386.
1122 * testsuite/ld-i386/pass.c: New file.
1123 * testsuite/ld-i386/property-1.r: Likewise.
1124 * testsuite/ld-i386/property-2.r: Likewise.
1125 * testsuite/ld-i386/property-3.r: Likewise.
1126 * testsuite/ld-i386/property-4.r: Likewise.
1127 * testsuite/ld-i386/property-5.r: Likewise.
1128 * testsuite/ld-i386/property-6.r: Likewise.
1129 * testsuite/ld-i386/property-6a.c: Likewise.
1130 * testsuite/ld-i386/property-6b.c: Likewise.
1131 * testsuite/ld-i386/property-6c.S: Likewise.
1132 * testsuite/ld-i386/property-7.r: Likewise.
1133 * testsuite/ld-i386/property-no-copy.S: Likewise.
1134 * testsuite/ld-i386/property-stack.S: Likewise.
1135 * testsuite/ld-i386/property-unsorted-1.S: Likewise.
1136 * testsuite/ld-i386/property-unsorted-2.S: Likewise.
1137 * testsuite/ld-i386/property-x86-1.S: Likewise.
1138 * testsuite/ld-i386/property-x86-2.S: Likewise.
1139 * testsuite/ld-x86-64/pass.c: Likewise.
1140 * testsuite/ld-x86-64/property-1.r: Likewise.
1141 * testsuite/ld-x86-64/property-2.r: Likewise.
1142 * testsuite/ld-x86-64/property-3.r: Likewise.
1143 * testsuite/ld-x86-64/property-4.r: Likewise.
1144 * testsuite/ld-x86-64/property-5.r: Likewise.
1145 * testsuite/ld-x86-64/property-6.r: Likewise.
1146 * testsuite/ld-x86-64/property-6a.c: Likewise.
1147 * testsuite/ld-x86-64/property-6b.c: Likewise.
1148 * testsuite/ld-x86-64/property-6c.S: Likewise.
1149 * testsuite/ld-x86-64/property-7.r: Likewise.
1150 * testsuite/ld-x86-64/property-no-copy.S: Likewise.
1151 * testsuite/ld-x86-64/property-stack.S: Likewise.
1152 * testsuite/ld-x86-64/property-unsorted-1.S: Likewise.
1153 * testsuite/ld-x86-64/property-unsorted-2.S: Likewise.
1154 * testsuite/ld-x86-64/property-x86-1.S: Likewise.
1155 * testsuite/ld-x86-64/property-x86-2.S: Likewise.
1156 * testsuite/ld-x86-64/x86-64.exp: Run property tests for
1157 Linux/x86-64.
1158
086554e8
HPN
11592017-03-28 Hans-Peter Nilsson <hp@axis.com>
1160
1161 PR ld/16044
1162 * testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s,
1163 testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test.
1164
4c8798c9
SL
11652017-03-21 Sandra Loosemore <sandra@codesourcery.com>
1166
1167 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
1168 false for nios2-*-elf.
1169
21701718
TG
11702017-03-21 gingold <gingold@gingold-Precision-7510>
1171
1172 * ldlang.c (lang_check_section_addresses): Check only for
1173 allocated sections.
1174
1d3fa25f
AM
11752017-03-17 Alan Modra <amodra@gmail.com>
1176
1177 * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k.
1178
9494d963
TG
11792017-03-15 Tristan Gingold <gingold@adacore.com>
1180
1181 * testsuite/ld-checks/checks.exp (overflow_check): Disable for
1182 non-elf targets.
1183
9216a6f3
L
11842017-03-14 H.J. Lu <hongjiu.lu@intel.com>
1185
1186 * ldlang.c (lang_check_section_addresses): Use addr_mask to
1187 check VMA and LMA.
1188
f955cccf
NC
11892017-03-13 Nick Clifton <nickc@redhat.com>
1190
1191 PR binutils/21202
1192 * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.
1193
d40e34db
TG
11942017-03-13 Tristan Gingold <gingold@adacore.com>
1195
1196 * ldlang.c (lang_check_section_addresses): Check for address space
1197 overflow.
1198 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
1199 * testsuite/ld-checks/over.s: New test source.
1200 * testsuite/ld-checks/over.d: New test.
1201 * testsuite/ld-checks/over2.s: New test source.
1202 * testsuite/ld-checks/over2.d: New test.
1203
4b5900d8
AN
12042017-03-13 Alexey Neyman <stilor@att.net>
1205
1206 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
1207 cpu, not host.
1208
118aa6cf
AM
12092017-03-11 Alan Modra <amodra@gmail.com>
1210
1211 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
1212 sysroot for -rpath search.
1213
316a1245
AM
12142017-03-11 Alan Modra <amodra@gmail.com>
1215
1216 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
1217 Only prefix absolute paths with sysroot. Handle DOS paths.
1218 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
1219 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
1220 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
1221 searches. Rename variable. Simplify get_runpath search.
1222
bb4287c5
AM
12232017-03-11 Alan Modra <amodra@gmail.com>
1224
1225 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
1226 than -rdynamic.
1227
e299b355
AM
12282017-03-11 Alan Modra <amodra@gmail.com>
1229
1230 * ld.texinfo (Orphan Sections): Mention that not all targets
1231 handle orphans well.
1232 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
1233 * testsuite/ld-elf/orphan-10.d: Likewise.
1234
14ea2c1b
AB
12352017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1236
1237 * ldlang.c (lang_size_sections_1): Shortcut loop only after
1238 tracking changes to the default regions LMA.
1239 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
1240 * testsuite/ld-elf/orphan-10.d: New file.
1241 * testsuite/ld-elf/orphan-10.s: New file.
1242 * NEWS: Mention change in behaviour.
1243
77f5e65e
AB
12442017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1245
1246 * ldlang.c (lang_leave_output_section_statement): Move lma_region
1247 logic to...
1248 (lang_propagate_lma_regions): ...this new function.
1249 (lang_process): Call new function.
1250 * testsuite/ld-elf/orphan-9.d: New file.
1251 * testsuite/ld-elf/orphan-9.ld: New file.
1252 * testsuite/ld-elf/orphan-9.s: New file.
1253 * NEWS: Mention change in behaviour.
1254
d933941d
AM
12552017-03-07 Alan Modra <amodra@gmail.com>
1256
1257 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
1258 is not an assert before referencing defsym.
1259
2e0ce1c8
AM
12602017-03-05 Alan Modra <amodra@gmail.com>
1261
1262 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
1263 * testsuite/ld-elf/eh6.d: Likewise.
1264 * testsuite/ld-alpha/tlsbin.dd: Likewise.
1265 * testsuite/ld-alpha/tlsbin.td: Likewise.
1266 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
1267 * testsuite/ld-alpha/tlspic.dd: Likewise.
1268 * testsuite/ld-alpha/tlspic.rd: Likewise.
1269 * testsuite/ld-alpha/tlspic.sd: Likewise.
1270 * testsuite/ld-alpha/tlspic.td: Likewise.
1271 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
1272 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
1273 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
1274 * testsuite/ld-x86-64/pr20830a.d: Likewise.
1275 * testsuite/ld-x86-64/pr21038a.d: Likewise.
1276 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1277 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1278
611a3ca9
NC
12792017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
1280
1281 PR 12969
1282 * pe-dll.c (generate_edata): Fail if the input file(s) require too
1283 many ordinals.
1284
199add01
AM
12852017-03-02 Alan Modra <amodra@gmail.com>
1286
1287 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
1288 and dl3.cc.
1289
4ef97a1b
AM
12902017-02-28 Alan Modra <amodra@gmail.com>
1291
1292 * testsuite/ld-elf/merge.d: xfail for nios.
1293
7ba71655
AM
12942017-02-28 Alan Modra <amodra@gmail.com>
1295
1296 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
1297 limits of addpcis range.
1298
0e392101
MR
12992017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1300
1301 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
1302 instructions.
1303 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
1304 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1305
fbf25dfd
GJL
13062017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
1307
1308 PR target/20849
6734f10a
SB
1309 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
1310 (.rodata): New section.
1311 (.data): Remove .rodata*.
fbf25dfd 1312
dd803a24
AM
13132017-02-25 Alan Modra <amodra@gmail.com>
1314
1315 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
1316 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
1317 defining HPUX where necessary. Define HPUX for implib tests.
1318 * testsuite/ld-elf/comm-data4.d: Run for hpux.
1319 * testsuite/ld-elf/endsym.d: Likewise.
1320 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
1321 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
1322 * testsuite/ld-elf/comm-data5.s: Likewise.
1323 * testsuite/ld-elf/endsym.s: Likewise.
1324 * testsuite/ld-elf/pr14170c.s: Likewise.
1325 * testsuite/ld-elf/symbol3.s: Likewise.
1326 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
1327 in first column.
1328 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
1329 * testsuite/ld-elf/warn3.d: Run for hpux.
1330 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
1331 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1332 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
1333
c9f02c3e
MR
13342017-02-24 Maciej W. Rozycki <macro@imgtec.com>
1335
c72cea5a
MR
1336 * testsuite/ld-elf/ver_def.vd: New test.
1337 * testsuite/ld-elf/ver_def-tic6x.vd: New test.
c9f02c3e
MR
1338 * testsuite/ld-elf/ver_def.ld: New test linker script.
1339 * testsuite/ld-elf/ver_def.ver: New test version script.
1340 * testsuite/ld-elf/ver_def.s: New test source.
1341 * testsuite/ld-elf/readelf.exp: New test script.
1342
5d58c733
MR
13432017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1344
1345 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
1346 option.
1347 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
1348 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
1349 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
1350
c1556ecd
MR
13512017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1352
1353 * testsuite/ld-mips-elf/jalr4.dd: New test.
1354 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1355
5499c7c7
AM
13562017-02-23 Alan Modra <amodra@gmail.com>
1357
1358 PR 20744
1359 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
1360 each group.
1361 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
1362 and sdarel reloc fix.
1363
902e9fc7
MR
13642017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1365
1366 PR ld/20828
1367 * testsuite/ld-elf/pr20828-d.sd: New test.
1368 * testsuite/ld-elf/pr20828-e.sd: New test.
1369 * testsuite/ld-elf/pr20828-v.od: New test.
1370 * testsuite/ld-elf/pr20828-v.ver: New test version script.
1371 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
1372 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
1373 `.gnu.version_d'.
1374 * testsuite/ld-elf/shared.exp: Run the new tests.
1375
46519784
NC
13762017-02-21 Nick Clifton <nickc@redhat.com>
1377
1378 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
1379 about non-void function returning without a result.
1380
c48cfedd
AM
13812017-02-17 Alan Modra <amodra@gmail.com>
1382
1383 PR 15041
1384 * scripttempl/pe.sc: Don't combine sections for ld -r.
1385 * scripttempl/pep.sc: Likewise.
1386
74dc9032
AM
13872017-02-17 Alan Modra <amodra@gmail.com>
1388
246b9122 1389 PR 21099
74dc9032
AM
1390 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
1391 rather than using OTHER_SECTIONS.
1392 * emulparams/elf32mt.sh: Likewise.
1393 * emulparams/elf32rx.sh: Likewise.
1394 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
1395 define __rl78_abs__.
1396 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
1397 rather than using OTHER_SECTIONS.
1398 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
1399 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
1400 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
1401 * emulparams/shelf_uclinux.sh: Likewise.
1402 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
1403 to define _stack, not OTHER_SECTIONS.
1404 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
1405 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
1406 * scripttempl/arclinux.sc: Likewise.
1407 * scripttempl/elf64hppa.sc: Likewise.
1408 * scripttempl/elfxtensa.sc: Likewise.
1409 * scripttempl/nds32elf.sc: Likewise.
1410 * scripttempl/armbpabi.sc: Move STACK before debug sections.
1411 * scripttempl/elf_chaos.sc: Likewise.
1412 * scripttempl/elfarc.sc: Delete STACK.
1413 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
1414 TINY_BSS_SECTION, and .stack before debug sections.
1415
67cecaba
NC
14162017-02-17 Nick Clifton <nickc@redhat.com>
1417
1418 PR ld/20825
1419 * ld.texinfo (Options): Add missing @item entry for --pop-state.
1420
262a40a5
AM
14212017-02-17 Alan Modra <amodra@gmail.com>
1422
1423 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
1424 multiple definition errors.
1425
002a5d4e
AM
14262017-02-17 Alan Modra <amodra@gmail.com>
1427
1428 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
1429 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
1430
3239a423
AB
14312017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
1432
1433 * testsuite/ld-elf/shared.exp: Update expected results.
1434 * testsuite/ld-elf/dwarf2.err: Likewise
1435
90ed9b8b
AB
14362017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
1437
1438 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
1439 * testsuite/ld-elf/dwarf2.err: New file.
1440 * testsuite/ld-elf/dwarf2a.c: New file.
1441 * testsuite/ld-elf/dwarf2b.c: New file.
1442 * testsuite/ld-elf/dwarf3.c: New file.
1443 * testsuite/ld-elf/dwarf3.err: New file.
1444
2bd7f877
AB
14452017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
1446
1447 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
1448 error, warning_output, and error_output actions. Remove separate
1449 warnings parameter.
1450 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
1451 'warning' action.
1452 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
1453
37d7d56c
AM
14542017-02-16 Alan Modra <amodra@gmail.com>
1455
1456 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
1457 from void pointers to function pointers.
1458 * testsuite/ld-elf/pr18718.c: Update to suit.
1459 * testsuite/ld-elf/pr18720a.c: Update to suit.
1460
a8c75b76
AM
14612017-02-16 Alan Modra <amodra@gmail.com>
1462
1463 PR 21000
1464 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
1465 * testsuite/ld-elf/loadaddr2.d: Likewise.
1466 * testsuite/ld-elf/loadaddr3a.d: Likewise.
1467 * testsuite/ld-scripts/rgn-at5.d: Likewise.
1468
a48cda7f
AM
14692017-02-16 Alan Modra <amodra@gmail.com>
1470
1471 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
1472 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
1473
2a568401
L
14742017-02-15 H.J. Lu <hongjiu.lu@intel.com>
1475
1476 PR ld/21168
1477 * testsuite/ld-i386/i386.exp: Run pr21168.
1478 * testsuite/ld-i386/pr21168a.c: New file.
1479 * testsuite/ld-i386/pr21168b.S: Likewise.
1480
a5def14f
L
14812017-02-15 H.J. Lu <hongjiu.lu@intel.com>
1482
1483 PR ld/20244
1484 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
1485 pr20244-4c.
1486 * testsuite/ld-i386/pr20244-4.s: New file.
1487 * testsuite/ld-i386/pr20244-4a.d: Likewise.
1488 * testsuite/ld-i386/pr20244-4b.d: Likewise.
1489 * testsuite/ld-i386/pr20244-4c.d: Likewise.
1490
ebf0b03c
MR
14912017-02-15 Maciej W. Rozycki <macro@imgtec.com>
1492
1493 * ldmisc.c (vfinfo): Don't print the function name again either
1494 if no source file name has been found both now and previously.
1495 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
1496 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
1497 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
1498 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1499 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1500 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1501 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
1502 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
1503 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
1504 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
1505 Likewise.
1506 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
1507 Likewise.
1508 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
1509 Likewise.
1510 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1511 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1512 Likewise.
1513 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1514 Likewise.
1515 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
1516 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
1517 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
1518 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
1519 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1520 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1521 * testsuite/ld-powerpc/tocopt.out: Likewise.
1522 * testsuite/ld-powerpc/tocopt7.out: Likewise.
1523
befe814d
MR
15242017-02-15 Maciej W. Rozycki <macro@imgtec.com>
1525
1526 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
1527
defe6f56
IK
15282017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
1529
1530 * testsuite/ld-scripts/sysroot-prefix.exp
1531 (get_base_dir_for_scripts): New function.
1532 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
1533
10ddfe62
PD
15342017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
1535
1536 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
1537 _gp to __global_pointer$
1538
d7488716
AB
15392017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1540
1541 * configure.tgt (arc*-*-linux*): Change the default linker
1542 emulation based on --with-cpu selection.
1543 * NEWS: Mention new configuration option.
1544
65f90e82
JW
15452017-02-06 Jiong Wang <jiong.wang@arm.com>
1546
1547 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
1548 "readelf -w".
1549
fa93e3d3
MR
15502017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1551
1552 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
1553
2e9af2d0
MR
15542017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1555
1556 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
1557 s/regexp/regex/.
1558
fd121c5c
JW
15592017-02-02 Jiong Wang <jiong.wang@arm.com>
1560
1561 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
1562 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
1563 dlopen support into "dlopen_run_tests". These tests include dl1*main
1564 and dl6*main.
1565 (dlopen_run_tests): New and only run it when check_libdl_available
1566 returns true. XFAIL on *-*-netbsdelf*.
1567
c0c237fc
MR
15682017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1569
1570 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
1571 presentation of relocation addends.
1572 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
1573 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
1574 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
1575
5139cfdb
MR
15762017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1577
1578 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
1579 in `.tdata' section.
1580 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
1581 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
1582
ce790370
JW
15832017-02-01 Jiong Wang <jiong.wang@arm.com>
1584
1585 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
1586 Append $board_cflags to link commands.
1587
067869b6
SKS
15882017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1589
1590 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
1591 check for digit in second decimal place.
1592
15a00b13
MR
15932017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1594
1595 PR ld/20828
1596 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
1597 indentation.
1598
1273da04
NC
15992017-01-31 Nick Clifton <nickc@redhat.com>
1600
1601 * ldmain.c (add_archive_element): Eliminate string buffer.
1602 * ldlang.c (lang_print_asneeded): Likewise.
1603
8b10b0b3
MR
16042017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1605
1606 * emultempl/mipself.em (ignore_branch_isa): New variable.
1607 (mips_create_output_section_statements): Rename
1608 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
1609 add `ignore_branch_isa' argument.
1610 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
1611 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1612 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
1613 "no-ignore-branch-isa" options.
1614 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
1615 `--no-ignore-branch-isa'.
1616 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
1617 OPTION_NO_IGNORE_BRANCH_ISA.
1618
1619 * ld.texinfo (Options specific to MIPS targets): Add
1620 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
1621 (ld and the MIPS family): Likewise.
1622
1623 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
1624 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
1625 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
1626 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
1627 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
1628 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
1629 test.
1630 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
1631 test.
1632 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1633
bf382b30
HPN
16342017-01-29 Hans-Peter Nilsson <hp@axis.com>
1635
c1d45238 1636 PR binutils/19935
bf382b30
HPN
1637 Fix long-standing buglet and fallout from now-default initfini-array.
1638 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
ce6366f9 1639 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
bf382b30 1640
4471a46f
JW
16412017-01-27 Jiong Wang <jiong.wang@arm.com>
1642
1643 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
1644 arm*-*-eabi*.
1645
387dd777
DP
16462017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1647 Nick Clifton <nickc@redhat.com>
1648
1649 PR 20343
1650 * ld.texinfo (Options): Extend documentation of the --plugin
1651 option. Include a description of where the plugins should be
1652 located.
1653
0348d4be
NC
16542017-01-27 Nick Clifton <nickc@redhat.com>
1655
1656 * po/sr.po: New Serbian translation.
1657 * configure.ac (ALL_LINGUAS): Add sr.
1658 * configure: Regenerate.
1659
c75b4ebd
SH
16602017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1661
1662 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
1663 (bfin-*-rtems*): Move to (bfin*-*-elf*).
1664 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
1665 (m68*-*-rtems*): Move to (m68*-*-elf*).
1666 (mips*-*-rtems*): Move to (mips*-*-elf*).
1667 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
1668 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
1669 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
1670 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
1671
850d84f6
SH
16722017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1673
1674 * configure.tgt (h8300-*-rtemscoff*): Remove.
1675 (i960-*-rtems*): Likewise.
1676 (m68*-*-rtemscoff*): Likewise.
1677 (sh-*-rtemscoff*): Likewise.
1678
1a792e1c
MR
16792017-01-24 Maciej W. Rozycki <macro@imgtec.com>
1680
1681 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
1682 add implicit version nodes if an anonymous version tag is being
1683 used.
1684
077c11e8
JW
16852017-01-24 Jiong Wang <jiong.wang@arm.com>
1686
1687 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
1688 "Compile 8a", "Compile 8b"...
1689 (lto_compile_elf_tests): ...to here. Always run these tests.
1690 (lto_run_elf_tests): Move "LTO 7"...
1691 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
1692 environment where share library is supported.
1693
f0158f44
AM
16942017-01-24 Alan Modra <amodra@gmail.com>
1695
1696 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
1697 and symbols.
1698 * testsuite/ld-powerpc/tlsexe.d: Likewise.
1699 * testsuite/ld-powerpc/tlsexe.g: Likewise.
1700
2d0ca824
YN
17012017-01-23 Yury Norov <ynorov@caviumnetworks.com>
1702
1703 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
1704 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
1705 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
1706 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
1707 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
1708 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
1709 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
1710 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
1711 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
1712 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
1713 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
1714 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
1715 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
1716
8069955e
NC
17172017-01-23 Nick Clifton <nickc@redhat.com>
1718
1719 * po/ga.po: Updated Irish translation.
1720
1e5f45bb
MR
17212017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1722
1723 PR ld/20828
1724 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
1725
fda46c41
MR
17262017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1727
1728 PR ld/20828
1729 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
1730 `fdata' and `edata' respectively.
1731 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
1732 * testsuite/ld-elf/pr20828-a.sd: Likewise.
1733 * testsuite/ld-elf/pr20828-b.sd: Likewise.
1734 * testsuite/ld-elf/pr20828-c.sd: Likewise.
1735
adcbdc63
MR
17362017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1737
1738 PR ld/20828
1739 * testsuite/ld-elf/pr20828-1.sd: Remove test.
1740 * testsuite/ld-elf/pr20828-a.sd: New test.
1741 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
1742 * testsuite/ld-elf/pr20828-b.sd: ... this.
1743 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
1744 * testsuite/ld-elf/pr20828-c.sd: ... this.
1745 * testsuite/ld-elf/shared.exp: Adjust accordingly.
1746
9966f7ee
JW
17472017-01-23 Jiong Wang <jiong.wang@arm.com>
1748
1749 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
1750 board_cflags as gcc is used as linker driver.
1751 * testsuite/ld-unique/unique.exp: Likewise
1752
7f784814
JW
17532017-01-20 Jiong Wang <jiong.wang@arm.com>
1754
1755 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
1756 * testsuite/ld-aarch64/func-in-so.s: New test source file.
1757 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
1758 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
1759
1737c640
AB
17602017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
1761
1762 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
1763
6984613a
MR
17642017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1765
1766 PR ld/20995
1767 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
1768 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
1769
81ff47b3
MR
17702017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1771
1772 PR ld/20828
1773 * testsuite/ld-elf/pr20828-1.sd: New test.
1774 * testsuite/ld-elf/pr20828-2a.sd: New test.
1775 * testsuite/ld-elf/pr20828-2b.sd: New test.
1776 * testsuite/ld-elf/pr20828.ld: New test linker script.
1777 * testsuite/ld-elf/pr20828.ver: New test version script.
1778 * testsuite/ld-elf/pr20828.s: New test source.
1779 * testsuite/ld-elf/shared.exp: Run the new test.
1780
9e009953
MR
17812017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1782
1783 PR gas/20649
1784 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
1785 relocation pairing link test.
1786
319b82e4
DD
17872017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
1788
1789 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
1790 uniqeue.exp, as not all targets have such support.
1791
6aa1df2d
NC
17922017-01-16 Nick Clifton <nickc@redhat.com>
1793
1794 * po/sv.po: Updated Swedish translation.
1795
8361ed4d
L
17962017-01-12 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 PR ld/21038
1799 * testsuite/ld-x86-64/pr21038b.d: Updated.
1800 * testsuite/ld-x86-64/pr21038c.d: New file.
1801 * testsuite/ld-x86-64/pr21038c.s: Likewise.
1802 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
1803
9e659176
L
18042017-01-11 H.J. Lu <hongjiu.lu@intel.com>
1805
1806 PR ld/21038
1807 * testsuite/ld-x86-64/pr21038a.d: New file.
1808 * testsuite/ld-x86-64/pr21038a.s: Likewise.
1809 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1810 * testsuite/ld-x86-64/pr21038b.s: Likewise.
1811 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
1812
f2e2d2f5
JS
18132017-01-11 Jeremy Soller <jackpot51@gmail.com>
1814
1815 * configure.tgt: Add entries for x86-redox and x86_64-redox.
1816
52b232b3
L
18172017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 * testsuite/ld-x86-64/pr20830b.d: Updated.
1820
59a1e29d
L
18212017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
1824 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
1825 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
1826 * testsuite/ld-x86-64/pr20830b.d: New file.
1827 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
1828 Run pr20830b.
1829
fff53dae
L
18302017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1831
1832 PR ld/20830
1833 * testsuite/ld-i386/i386.exp: Run pr20830.
1834 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1835 * testsuite/ld-i386/pr20830.d: New file.
1836 * testsuite/ld-i386/pr20830.s: Likewise.
1837 * testsuite/ld-x86-64/pr20830.d: Likewise.
1838 * testsuite/ld-x86-64/pr20830.s: Likewise.
1839
e9237227
L
18402017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1841
1842 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
1843 -Wl,--as-needed to $CC.
1844 * testsuite/ld-i386/tls.exp: Likewise.
1845
07e8e623
NC
18462017-01-10 Nick Clifton <nickc@redhat.com>
1847
1848 * po/sv.po: Updated Swedish translation.
1849
07ccf83c
GM
18502016-12-09 Graham Markall <graham.markall@embecosm.com>
1851 Andrew Burgess <andrew.burgess@embecosm.com>
1852
1853 * Makefile.am: Add earclinux_nps.c target and add to
1854 ALL_EMULATION_SOURCES.
1855 * Makefile.in: Likewise, regenerated.
1856 * configure.tgt: Add arclinux_nps as an extra emulation for
1857 arc*-*-elf* and arc*-*-linux*.
1858 * emulparams/arc-nps.sh: New file.
1859 * emulparams/arclinux_nps.sh: New file.
1860 * testsuite/ld-arc/arclinux-nps.d,
1861 * testsuite/ld-arc/arclinux-nps.s: New test.
1862
b0556316
DP
18632017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
1864
1865 PR 20958
1866 * ldlex.l (option): Add noyywrap
1867 (yywrap): Delete.
1868 * ldlex.h (yywrap): Delete prototype.
1869
47523653
AM
18702017-01-04 Alan Modra <amodra@gmail.com>
1871
1872 * testsuite/ld-elf/audit.exp: Check for shared lib support.
1873 * testsuite/ld-elf/compress.exp: Likewise.
1874 * testsuite/ld-elf/dwarf.exp: Likewise.
1875 * testsuite/ld-elf/shared.exp: Likewise.
1876 * testsuite/ld-elf/wrap.exp: Likewise.
1877 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1878 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
1879
a44d0bd7
AM
18802017-01-03 Alan Modra <amodra@gmail.com>
1881
1882 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
1883 allow test to continue after compilation errors.
1884 (run_cc_link_tests): Likewise.
1885
27c3ce29
DD
18862017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1887
1888 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
1889 (epruelf.c): Remove unneeded dependencies.
1890 * Makefile.in: Regenerate
1891
8cfc7cf8
AM
18922017-01-03 Alan Modra <amodra@gmail.com>
1893
1894 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
1895 to various tests.
1896 * testsuite/ld-elfweak/elfweak.exp: Likewise.
1897 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
1898
4ce6ca2c
AM
18992017-01-03 Alan Modra <amodra@gmail.com>
1900
1901 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
1902 * testsuite/ld-pie/pie.exp: Likewise.
1903 * testsuite/ld-plugin/lto.exp: Likewise.
1904
d9816402
AM
19052017-01-02 Alan Modra <amodra@gmail.com>
1906
1907 * Makefile.am (bootstrap): Delete rule.
1908 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
1909 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
1910 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
1911 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
1912 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
1913 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
1914 * Makefile.in: Regenerate.
1915 * configure: Regenerate.
1916 * testsuite/config/default.exp (get_link_files): Delete.
1917 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
1918 define.
1919 (ld_simple_link): Delete.
1920 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
1921 (default_ld_simple_link): Rename to default_ld_link.
1922 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
1923 (run_ld_link_tests): Use ld_link, not ld_simple_link.
1924 (run_cc_link_tests): Likewise.
1925 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
1926 Don't run exe when not native, and return unsupported.
1927 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
1928 Link ld1 etc. using $CC.
1929 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
1930 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
1931 * testsuite/ld-cygwin/exe-export.exp: Likewise.
1932 * testsuite/ld-elf/binutils.exp: Likewise.
1933 * testsuite/ld-elf/eh-group.exp: Likewise.
1934 * testsuite/ld-elf/exclude.exp: Likewise.
1935 * testsuite/ld-elf/frame.exp: Likewise.
1936 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1937 * testsuite/ld-elf/tls_common.exp: Likewise.
1938 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
1939 * testsuite/ld-fastcall/fastcall.exp: Likewise.
1940 * testsuite/ld-gc/gc.exp: Likewise.
1941 * testsuite/ld-ifunc/binutils.exp: Likewise.
1942 * testsuite/ld-mep/mep.exp: Likewise.
1943 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
1944 * testsuite/ld-mn10300/mn10300.exp: Likewise.
1945 * testsuite/ld-nios2/nios2.exp: Likewise.
1946 * testsuite/ld-pe/pe-compile.exp: Likewise.
1947 * testsuite/ld-pe/pe-run.exp: Likewise.
1948 * testsuite/ld-pe/pe-run2.exp: Likewise.
1949 * testsuite/ld-plugin/plugin.exp: Likewise.
1950 * testsuite/ld-scripts/align.exp: Likewise.
1951 * testsuite/ld-scripts/alignof.exp: Likewise.
1952 * testsuite/ld-scripts/assert.exp: Likewise.
1953 * testsuite/ld-scripts/defined.exp: Likewise.
1954 * testsuite/ld-scripts/extern.exp: Likewise.
1955 * testsuite/ld-scripts/log2.exp: Likewise.
1956 * testsuite/ld-scripts/map-address.exp: Likewise.
1957 * testsuite/ld-scripts/phdrs.exp: Likewise.
1958 * testsuite/ld-scripts/phdrs2.exp: Likewise.
1959 * testsuite/ld-scripts/script.exp: Likewise.
1960 * testsuite/ld-scripts/section-flags.exp: Likewise.
1961 * testsuite/ld-scripts/sizeof.exp: Likewise.
1962 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
1963 * testsuite/ld-scripts/weak.exp: Likewise.
1964 * testsuite/ld-selective/selective.exp: Likewise.
1965 * testsuite/ld-sh/sh.exp: Likewise.
1966 * testsuite/ld-sh/sh64/relax.exp: Likewise.
1967 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
1968 * testsuite/ld-srec/srec.exp: Likewise.
1969 * testsuite/ld-tic6x/tic6x.exp: Likewise.
1970 * testsuite/ld-undefined/weak-undef.exp: Likewise.
1971 * testsuite/ld-versados/versados.exp: Likewise.
1972 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
1973 * testsuite/ld-xtensa/coalesce.exp: Likewise.
1974 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
1975 * testsuite/ld-xtensa/lcall.exp: Likewise.
1976 * testsuite/ld-elf/audit.exp: Run non-native too.
1977 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
1978 gcc -Wl, options.
1979 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
1980 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
1981 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
1982 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
1983 -Wl,--no-as-needed to most tests.
1984 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
1985 to simplify quoting. Set run_tests using [list] rather than
1986 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
1987 to many test. Prefix ld options with -Wl,.
1988 (mix_pic_and_non_pic): Don't run exe if not native.
1989 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
1990 -Wl,--no-as-needed and prefix ld options with -Wl,.
1991 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
1992 not ld_simple_link.
1993 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
1994 (visibility_test): Don't run exe if not native.
1995 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
1996 not ld_simple_link.
1997 (build_exec): Don't run exe if not native.
1998 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
1999 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
2000 to some tests and prefix ld options with -Wl,. Expect GNU
2001 for hppa-linux even when no ifuncs. Delete cleanup.
2002 * testsuite/ld-pie/pie.exp: Run non-native too.
2003 * testsuite/ld-plugin/lto.exp: Likewise.
2004 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
2005 not ld_simple_link.
2006 (shared_test): Don't run exe if not native.
2007 * testsuite/ld-size/size.exp: Run non-native too. Add
2008 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
2009 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
2010 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
2011 to some tests and prefix ld options with -Wl,. Expect GNU
2012 for hppa-linux even when no unique syms. Delete cleanup.
2013 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
2014 tests and prefix ld options with -Wl,.
2015 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
2016 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
2017
64859e14
AM
20182017-01-02 Alan Modra <amodra@gmail.com>
2019
2020 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
2021
f5657270
AM
20222017-01-02 Alan Modra <amodra@gmail.com>
2023
2024 PR ld/21000
2025 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
2026 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
2027 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
2028 is already defined.
2029
2571583a
AM
20302017-01-02 Alan Modra <amodra@gmail.com>
2031
2032 Update year range in copyright notice of all files.
2033
5c1ad6b5 2034For older changes see ChangeLog-2016
3499769a 2035\f
5c1ad6b5 2036Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
2037
2038Copying and distribution of this file, with or without modification,
2039are permitted in any medium without royalty provided the copyright
2040notice and this notice are preserved.
2041
2042Local Variables:
2043mode: change-log
2044left-margin: 8
2045fill-column: 74
2046version-control: never
2047End:
This page took 0.175024 seconds and 4 git commands to generate.