bfd_error_handler bfd_vma and bfd_size_type args
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
d42c267e
AM
12017-07-12 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-arc/nps-1b.err: Update.
4 * testsuite/ld-x86-64/ilp32-11.d: Update.
5
61a0857c
L
62017-07-11 H.J. Lu <hongjiu.lu@intel.com>
7
8 * testsuite/ld-selective/selective.exp: Support single digit
9 GCC version.
10
70391b29
JW
112017-07-11 Jiong Wang <jiong.wang@arm.com>
12
13 * testsuite/ld-aarch64/dt_textrel.d: Use "#pass" instead of ".*" to
14 filter out remaining lines.
15
e54cb31a
MR
162017-07-07 Maciej W. Rozycki <macro@imgtec.com>
17
18 * emultempl/mipself.em (mips_before_allocation): Avoid ELF
19 processing if not MIPS ELF.
20 * testsuite/ld-mips-elf/binary.d: New test.
21 * testsuite/ld-mips-elf/binary.ld: New test linker script.
22 * testsuite/ld-mips-elf/binary.s: New test source.
23 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
24
c620a2b5
AM
252017-07-07 Alan Modra <amodra@gmail.com>
26
27 * testsuite/ld-powerpc/ppc476-shared.lnk: Align .bss.
28 * testsuite/ld-powerpc/ppc476-shared.d: Adjust.
29 * testsuite/ld-powerpc/ppc476-shared2.d: Adjust.
30
aff6079b
AM
312017-07-07 Alan Modra <amodra@gmail.com>
32
33 * Makefile.am (eelf64_s390.c): Depend on emultempl/s390.em.
34
0d702cfe
TG
352017-07-04 Tristan Gingold <gingold@adacore.com>
36
37 * configure: Regenerate.
38
55a09eb6
TG
392017-07-04 Tristan Gingold <gingold@adacore.com>
40
41 * NEWS: Add marker for 2.29.
42
15e6ed8c
TG
432017-07-03 Tristan Gingold <gingold@adacore.com>
44
45 * po/ld.pot: Regenerate.
46
9f00292e
MR
472017-06-30 Maciej W. Rozycki <macro@imgtec.com>
48
49 * testsuite/ld-mips-elf/relax-offset.dd: New test.
50 * testsuite/ld-mips-elf/relax-offset.gd: New test.
51 * testsuite/ld-mips-elf/relax-offset-umips.dd: New test.
52 * testsuite/ld-mips-elf/relax-offset-umips.gd: New test.
53 * testsuite/ld-mips-elf/relax-offset.ld: New test linker script.
54 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
55 (prune_warnings): New temporary procedure.
56
819e1f86
MR
572017-06-28 Maciej W. Rozycki <macro@imgtec.com>
58
59 * testsuite/ld-mips-elf/mips-elf-flags.exp: Add interAptiv MR2
60 tests.
61
68063779
SKS
622017-06-27 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
63
64 PR ld/13402
65 * testsuite/ld-avr/pr13402.d: New test.
66 * testsuite/ld-avr/pr13402.s: New test.
67
7575e6a7
MR
682017-06-27 Maciej W. Rozycki <macro@imgtec.com>
69
70 * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):
71 Add an `args' final argument and examination code for `readelf
72 -A' output. Update procedure description accordingly.
73
1284e99a
MR
742017-06-27 Maciej W. Rozycki <macro@imgtec.com>
75
76 * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):
77 Use `remote_exec' to call `readelf'. Log the command issued.
78
b1a2d7a0
MR
792017-06-27 Maciej W. Rozycki <macro@imgtec.com>
80
81 * testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):
82 Use `readelf -h' rather than `readelf --headers'.
83
b417536f
MR
842017-06-26 Maciej W. Rozycki <macro@imgtec.com>
85
86 * testsuite/ld-mips-elf/lsi-4010-isa.d: New test.
87 * ld/testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
88
515a4464
MR
892017-06-26 Maciej W. Rozycki <macro@imgtec.com>
90
91 * testsuite/ld-elf/sizeofa.d: Also accept the OBJECT type for
92 the symbols examined.
93 * testsuite/ld-elf/sizeofc.d: Likewise.
94 * testsuite/ld-elf/startofa.d: Likewise.
95 * testsuite/ld-elf/startofc.d: Likewise.
96
57963c05
AM
972017-06-26 Alan Modra <amodra@gmail.com>
98
99 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Skip
100 --just-syms bfds when looking for a place to attach .note.gnu.build-id
101 and .eh_frame_hdr sections. Delete dead code.
102
bff0500d
TP
1032017-06-24 Thomas Preud'homme <thomas.preudhomme@arm.com>
104
105 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 11): New test.
106 (EABI attribute merging 12): Likewise.
107 * testsuite/ld-arm/attr-merge-11a.s: New file.
108 * testsuite/ld-arm/attr-merge-11b.s: New file.
109 * testsuite/ld-arm/attr-merge-11.attr: New file.
110 * testsuite/ld-arm/attr-merge-12a.s: New file.
111 * testsuite/ld-arm/attr-merge-12b.s: New file.
112 * testsuite/ld-arm/attr-merge-12.attr: New file.
113
00564418
L
1142017-06-22 H.J. Lu <hongjiu.lu@intel.com>
115
116 * testsuite/ld-i386/i386.exp: Run weakundef1 tests.
117 * testsuite/ld-i386/weakundef1.c: New file.
118
922109c7
L
1192017-06-22 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR ld/21090
122 * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Pass
123 $NOPIE_CFLAGS if non-PIE is required.
124
9d1c54ed
L
1252017-06-22 H.J. Lu <hongjiu.lu@intel.com>
126
127 PR ld/21090
329b5ba1
L
128 * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
129 $NOPIE_LDFLAGS to "Run pr19031".
130
1312017-06-22 H.J. Lu <hongjiu.lu@intel.com>
132
133 PR ld/21090
134 * testsuite/ld-gc/gc.exp: Compile tmpdir/pr14265.o with
9d1c54ed
L
135 $NOPIE_CFLAGS.
136 * testsuite/ld-i386/i386.exp: Pass $NOPIE_CFLAGS and
137 $NOPIE_LDFLAGS if non-PIE is required.
138 * testsuite/ld-i386/no-plt.exp (NOPIE_CFLAGS): New.
139 (NOPIE_LDFLAGS): Likewise.
140 Pass $NOPIE_LDFLAGS if non-PIE is required.
141 * testsuite/ld-shared/shared.exp: Compile tmpdir/sh1np.o with
142 $NOPIE_CFLAGS.
143
48580982
L
1442017-06-22 H.J. Lu <hongjiu.lu@intel.com>
145
146 * NEWS: Mention -z shstk and GNU_PROPERTY_X86_FEATURE_1_SHSTK.
147 * emulparams/cet.sh (PARSE_AND_LIST_OPTIONS_CET): Add "-z shstk".
148 (PARSE_AND_LIST_ARGS_CASE_Z_CET): Support "-z shstk".
149 * ld.texinfo: Document -z shstk.
150 * testsuite/ld-i386/i386.exp: Run SHSTK tests.
151 * testsuite/ld-x86-64/x86-64.exp: Likewise.
152 * testsuite/ld-i386/property-x86-shstk.s: New file.
153 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
154 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
155 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
156 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
157 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
158 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
159 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
160 * testsuite/ld-x86-64/property-x86-shstk.s: Likewise.
161 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
162 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
163 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
164 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
165 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
166 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
167 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
168 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
169 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
170 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
171 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
172 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
173 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
174 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
175
ee2fdd6f
L
1762017-06-22 H.J. Lu <hongjiu.lu@intel.com>
177
178 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emulparams/cet.sh.
179 * Makefile.in: Regenerated.
180 * NEWS: Mention GNU_PROPERTY_X86_FEATURE_1_IBT, -z ibtplt
181 and -z ibt.
182 * emulparams/cet.sh: New file.
183 * testsuite/ld-i386/ibt-plt-1.d: Likewise.
184 * testsuite/ld-i386/ibt-plt-1.s: Likewise.
185 * testsuite/ld-i386/ibt-plt-2.s: Likewise.
186 * testsuite/ld-i386/ibt-plt-2a.d: Likewise.
187 * testsuite/ld-i386/ibt-plt-2b.d: Likewise.
188 * testsuite/ld-i386/ibt-plt-2c.d: Likewise.
189 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
190 * testsuite/ld-i386/ibt-plt-3.s: Likewise.
191 * testsuite/ld-i386/ibt-plt-3a.d: Likewise.
192 * testsuite/ld-i386/ibt-plt-3b.d: Likewise.
193 * testsuite/ld-i386/ibt-plt-3c.d: Likewise.
194 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
195 * testsuite/ld-i386/plt-main-ibt.dd: Likewise.
196 * testsuite/ld-i386/plt-pie-ibt.dd: Likewise.
197 * testsuite/ld-i386/property-x86-empty.s: Likewise.
198 * testsuite/ld-i386/property-x86-ibt.s: Likewise.
199 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
200 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
201 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
202 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
203 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
204 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
205 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
206 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
207 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
208 * testsuite/ld-x86-64/ibt-plt-1.s: Likewise.
209 * testsuite/ld-x86-64/ibt-plt-2.s: Likewise.
210 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
211 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
212 * testsuite/ld-x86-64/ibt-plt-2b-x32.d: Likewise.
213 * testsuite/ld-x86-64/ibt-plt-2b.d: Likewise.
214 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
215 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
216 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
217 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
218 * testsuite/ld-x86-64/ibt-plt-3.s: Likewise.
219 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
220 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
221 * testsuite/ld-x86-64/ibt-plt-3b-x32.d: Likewise.
222 * testsuite/ld-x86-64/ibt-plt-3b.d: Likewise.
223 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
224 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
225 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
226 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
227 * testsuite/ld-x86-64/plt-main-ibt-now.rd: Likewise.
228 * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Likewise.
229 * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise.
230 * testsuite/ld-x86-64/property-x86-empty.s: Likewise.
231 * testsuite/ld-x86-64/property-x86-ibt.s: Likewise.
232 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
233 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
234 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
235 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
236 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
237 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
238 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
239 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
240 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
241 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
242 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
243 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
244 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
245 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
246 * emulparams/elf32_x86_64.sh: Source emulparams/cet.sh.
247 (TINY_READONLY_SECTION): Add .plt.sec.
248 * emulparams/elf_i386.sh: Likewise.
249 * emulparams/elf_x86_64.sh: Source emulparams/cet.sh.
250 * ld.texinfo: Document -z ibtplt and -z ibt.
251 * testsuite/ld-i386/i386.exp: Run IBT and IBT PLT tests.
252 * testsuite/ld-x86-64/x86-64.exp: Likewise.
253 * testsuite/ld-x86-64/pr21481b.S (check): Updated for x32.
254
6b737370
L
2552017-06-21 H.J. Lu <hongjiu.lu@intel.com>
256
257 PR ld/21090
258 * testsuite/ld-elf/shared.exp: Pass $NOPIE_CFLAGS and
259 $NOPIE_LDFLAGS if non-PIE is required.
260
e5c89b09
L
2612017-06-21 H.J. Lu <hongjiu.lu@intel.com>
262
263 PR ld/21090
264 * testsuite/ld-scripts/crossref.exp: Also pass $NOPIE_CFLAGS
265 to CC.
266
68193357
L
2672017-06-21 H.J. Lu <hongjiu.lu@intel.com>
268
269 PR ld/21090
270 * testsuite/ld-size/size.exp: Pass $NOPIE_LDFLAGS to size-4a,
271 size-4b, size-5a, size-5b, size-6 and size-8 tests.
127d08c0
L
272 * testsuite/ld-srec/srec.exp (NOPIE_CFLAGS): New.
273 (NOPIE_LDFLAGS): Likewise.
274 (CC): Add $NOPIE_CFLAGS $NOPIE_LDFLAGS.
275 (CXX): Likewise.
276 * testsuite/ld-x86-64/no-plt.exp (NOPIE_CFLAGS): New.
277 (NOPIE_LDFLAGS): Likewise.
278 Pass $NOPIE_LDFLAGS to "No PLT (dynamic 1a)",
279 "No PLT (dynamic 1c)" and "Run pr20253-2f".
280 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS to
281 "Build gotpcrel1" and "Run pr19031".
68193357 282
81209eff
AM
2832017-06-21 Alan Modra <amodra@gmail.com>
284
285 * testsuite/ld-powerpc/powerpc.exp: Run TOCSAVE tests.
286 * testsuite/ld-powerpc/tocsave1.s,
287 * testsuite/ld-powerpc/tocsave1a.d,
288 * testsuite/ld-powerpc/tocsave1s.d,
289 * testsuite/ld-powerpc/tocsave2.s,
290 * testsuite/ld-powerpc/tocsave2a.d,
291 * testsuite/ld-powerpc/tocsave2s.d,
292 * testsuite/ld-powerpc/tocsavelib.s: New files.
293
fd52715c
AK
2942017-06-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
295
296 * Makefile.in: Add s390.em as build dependency.
297 * emulparams/elf64_s390.sh (EXTRA_EM_FILE): Add s390.em.
298 * emultempl/s390.em: New file.
299 * gen-doc.texi: Add documentation for --s390-pgste option.
300 * ld.texinfo: Likewise.
301
abfa390d
L
3022017-06-19 H.J. Lu <hongjiu.lu@intel.com>
303
304 PR ld/21626
305 * testsuite/ld-i386/i386.exp: Run ld/21626 tests.
306 * testsuite/ld-x86-64/x86-64.exp: Likewise.
307
bdd32e03
AM
3082017-06-18 Alan Modra <amodra@gmail.com>
309
310 * testsuite/lib/ld-lib.exp (is_underscore_target): New.
311 * testsuite/ld-elf/elf.exp (ASFLAGS): Define UNDERSCORE.
312 * testsuite/ld-elf/pr21562a.s: If UNDERSCORE defined,
313 reference sym with prefix.
314 * testsuite/ld-elf/pr21562b.s: Likewise.
315 * testsuite/ld-elf/sizeof.s: Likewise.
316 * testsuite/ld-elf/startof.s: Likewise.
317 * testsuite/ld-elf/pr14156a.d: Adjust for extra symbols.
318 * testsuite/ld-elf/pr21562a.d: Remove underscore target from
319 xfails, and match prefixed symbol.
320 * testsuite/ld-elf/pr21562b.d: Likewise.
321 * testsuite/ld-elf/pr21562c.d: Likewise.
322 * testsuite/ld-elf/pr21562d.d: Likewise.
323 * testsuite/ld-elf/pr21562e.d: Likewise.
324 * testsuite/ld-elf/pr21562f.d: Likewise.
325 * testsuite/ld-elf/pr21562g.d: Likewise.
326 * testsuite/ld-elf/pr21562h.d: Likewise.
327 * testsuite/ld-elf/pr21562i.d: Likewise.
328 * testsuite/ld-elf/pr21562j.d: Likewise.
329 * testsuite/ld-elf/pr21562k.d: Likewise.
330 * testsuite/ld-elf/pr21562l.d: Likewise.
331 * testsuite/ld-elf/pr21562m.d: Likewise.
332 * testsuite/ld-elf/pr21562n.d: Likewise.
333 * testsuite/ld-elf/sizeofa.d: Likewise.
334 * testsuite/ld-elf/sizeofb.d: Likewise.
335 * testsuite/ld-elf/sizeofc.d: Likewise.
336 * testsuite/ld-elf/startofa.d: Likewise.
337 * testsuite/ld-elf/startofb.d: Likewise.
338 * testsuite/ld-elf/startofc.d: Likewise.
339
7dba9362
AM
3402017-06-16 Alan Modra <amodra@gmail.com>
341
342 PR ld/20022
343 PR ld/21557
344 PR ld/21562
345 PR ld/21571
346 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't set
347 __start/__stop syms here.
348 * ldlang.c (lang_set_startof): Delete.
349 (start_stop_syms, start_stop_count, start_stop_alloc): New vars.
350 (lang_define_start_stop, lang_init_start_stop, foreach_start_stop,
351 undef_start_stop, lang_undef_start_stop, lang_init_startof_sizeof,
352 set_start_stop, lang_finalize_start_stop): New functions.
353 (lang_process): Call _start_stop functions.
354 * testsuite/ld-elf/pr21562a.d: Use xfail rather than notarget.
355 Correct typos and list of xfail targets.
356 * testsuite/ld-elf/pr21562b.d: Likewise.
357 * testsuite/ld-elf/pr21562c.d: Likewise.
358 * testsuite/ld-elf/pr21562d.d: Likewise.
359 * testsuite/ld-elf/pr21562e.d: Likewise.
360 * testsuite/ld-elf/pr21562f.d: Likewise.
361 * testsuite/ld-elf/pr21562g.d: Likewise.
362 * testsuite/ld-elf/pr21562h.d: Likewise.
363 * testsuite/ld-elf/pr21562i.d: Likewise.
364 * testsuite/ld-elf/pr21562j.d: Likewise.
365 * testsuite/ld-elf/pr21562k.d: Likewise.
366 * testsuite/ld-elf/pr21562l.d: Likewise.
367 * testsuite/ld-elf/pr21562m.d: Likewise.
368 * testsuite/ld-elf/pr21562n.d: Likewise.
369 * testsuite/ld-elf/sizeofa.d: Likewise. Adjust to pass for generic ELF.
370 * testsuite/ld-elf/sizeofb.d: Likewise.
371 * testsuite/ld-elf/startofa.d: Likewise.
372 * testsuite/ld-elf/startofb.d: Likewise.
373
d68f1976
JW
3742017-06-16 Jiong Wang <jiong.wang@arm.com>
375
376 * testsuite/ld-aarch64/aarch64-elf.exp: Update test name
377 * testsuite/ld-aarch64/pcrel.s: Add new testcases.
378 * testsuite/ld-aarch64/pcrel_pic_undefined.d: Update the expected
379 warnings.
380 * testsuite/ld-aarch64/pcrel_pic_defined_local.d: Rename ...
381 * testsuite/ld-aarch64/pcrel_pic_defined.d: ... to this.
382 Update expected warnings.
383
75e06f97
L
3842017-06-15 H.J. Lu <hongjiu.lu@intel.com>
385
386 * exsup.c (elf_shlib_list_options): Display "-z stack-size=SIZE"
387 instead of "-z stacksize=SIZE".
388
6353d82b
JW
3892017-06-15 Jiong Wang <jiong.wang@arm.com>
390
391 * testsuite/ld-aarch64/copy-reloc-exe-2.s: New test source file.
392 * testsuite/ld-aarch64/copy-reloc-2.d: New test.
393 * testsuite/ld-aarch64/copy-reloc-exe-eliminate.s: New test source file.
394 * testsuite/ld-aarch64/copy-reloc-eliminate.d: New test.
395 * testsuite/ld-aarch64/copy-reloc-so.s: Define new global objects.
396 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
397
ae87f7e7
NC
3982017-06-14 Nick Clifton <nickc@redhat.com>
399
400 PR binutils/21580
401 * testsuite/ld-nds32/diff.d: Adjust expected output.
402
99031baf
L
4032017-06-14 H.J. Lu <hongjiu.lu@intel.com>
404
405 PR ld/20022
406 * testsuite/ld-gc/pr20022.d: Skip on targets without dynamic
407 relocations in .text section.
408
8eca1095
L
4092017-06-14 H.J. Lu <hongjiu.lu@intel.com>
410
411 * testsuite/ld-elf/pr21562a.d: Skip on targets with leading char
412 in in symbol name or without --gc-sections.
413 * testsuite/ld-elf/pr21562b.d: Likewise.
414 * testsuite/ld-elf/pr21562c.d: Likewise.
415 * testsuite/ld-elf/pr21562d.d: Likewise.
416 * testsuite/ld-elf/pr21562i.d: Likewise.
417 * testsuite/ld-elf/pr21562j.d: Likewise.
418 * testsuite/ld-elf/pr21562k.d: Likewise.
419 * testsuite/ld-elf/pr21562l.d: Likewise.
420 * testsuite/ld-elf/pr21562m.d: Likewise.
421 * testsuite/ld-elf/pr21562n.d: Likewise.
422 * testsuite/ld-elf/pr21562e.d: Skip on targets with leading char
423 in symbol name.
424 * testsuite/ld-elf/pr21562f.d: Likewise.
425 * testsuite/ld-elf/pr21562g.d: Likewise.
426 * testsuite/ld-elf/pr21562h.d: Likewise.
427
f78d1b3a
L
4282017-06-14 H.J. Lu <hongjiu.lu@intel.com>
429
430 * testsuite/ld-gc/pr20022a.s: Add size to bar.
431
b6947a7f
L
4322017-06-14 H.J. Lu <hongjiu.lu@intel.com>
433
434 * testsuite/ld-elf/sizeofa.d: Skip on targets with leading char
435 in symbol name.
436 * testsuite/ld-elf/sizeofb.d: Likewise.
437 * testsuite/ld-elf/startofa.d: Likewise.
438 * testsuite/ld-elf/startofb.d: Likewise.
439
4c0b797e
GJL
4402017-06-14 Georg-Johann Lay <gjl@gcc.gnu.org>
441
442 PR ld/21583
443 * scripttempl/avr.sc (.jumptables): Move down in text section.
444 (.hightext): New in text.
445
319c2dbe
SH
4462017-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
447
448 * configure.tgt (epiphany-*-elf): Accept epiphany-*-*.
449
b27685f2
L
4502017-06-13 H.J. Lu <hongjiu.lu@intel.com>
451
452 * ldlang.c (lang_set_startof): Skip if config.build_constructors
453 is FALSE.
454 * testsuite/ld-elf/sizeofc.d: New file.
455 * testsuite/ld-elf/startofc.d: Likewise.
456
da614360
L
4572017-06-13 H.J. Lu <hongjiu.lu@intel.com>
458
459 * testsuite/ld-elf/sizeof.d: Renamed to ...
460 * testsuite/ld-elf/sizeofa.d: This. Updated.
461 * testsuite/ld-elf/startof.d: Renamed to ...
462 * testsuite/ld-elf/startofa.d: This. Updated.
463 * testsuite/ld-elf/sizeofb.d: New file.
464 * testsuite/ld-elf/startofb.d: Likewise.
465
cbd0eecf
L
4662017-06-13 H.J. Lu <hongjiu.lu@intel.com>
467
468 PR ld/20022
469 PR ld/21557
470 PR ld/21562
471 PR ld/21571
472 * ld.texinfo: Update __start_SECNAME/__stop_SECNAME symbols.
473 * ldlang.c (lang_insert_orphan): Move handling of __start_SECNAME
474 and __stop_SECNAME symbols to ...
475 (lang_set_startof): Here. Also define __start_SECNAME and
476 __stop_SECNAME for -Ur.
477 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Mark
478 referenced __start_SECNAME and __stop_SECNAME symbols as hidden
479 and set start_stop for garbage collection.
480 * testsuite/ld-elf/pr21562a.d: New file.
481 * testsuite/ld-elf/pr21562a.s: Likewise.
482 * testsuite/ld-elf/pr21562a.t: Likewise.
483 * testsuite/ld-elf/pr21562b.d: Likewise.
484 * testsuite/ld-elf/pr21562b.s: Likewise.
485 * testsuite/ld-elf/pr21562b.t: Likewise.
486 * testsuite/ld-elf/pr21562c.d: Likewise.
487 * testsuite/ld-elf/pr21562c.t: Likewise.
488 * testsuite/ld-elf/pr21562d.d: Likewise.
489 * testsuite/ld-elf/pr21562d.t: Likewise.
490 * testsuite/ld-elf/pr21562e.d: Likewise.
491 * testsuite/ld-elf/pr21562f.d: Likewise.
492 * testsuite/ld-elf/pr21562g.d: Likewise.
493 * testsuite/ld-elf/pr21562h.d: Likewise.
494 * testsuite/ld-elf/pr21562i.d: Likewise.
495 * testsuite/ld-elf/pr21562j.d: Likewise.
496 * testsuite/ld-elf/pr21562k.d: Likewise.
497 * testsuite/ld-elf/pr21562l.d: Likewise.
498 * testsuite/ld-elf/pr21562m.d: Likewise.
499 * testsuite/ld-elf/pr21562n.d: Likewise.
500 * testsuite/ld-gc/pr20022.d: Likewise.
501 * testsuite/ld-gc/pr20022a.s: Likewise.
502 * testsuite/ld-gc/pr20022b.s: Likewise.
503 * testsuite/ld-gc/gc.exp: Run PR ld/20022 tests.
504 * testsuite/ld-gc/pr19161.d: Also accept local __start_SECNAME
505 symbol.
506 * testsuite/ld-gc/start.d: Likewise.
507 * testsuite/ld-x86-64/lea1a.d: Updated.
508 * testsuite/ld-x86-64/lea1b.d: Updated.
509 * testsuite/ld-x86-64/lea1d.d: Updated.
510 * testsuite/ld-x86-64/lea1e.d: Likewise.
511
dc74becf
L
5122017-06-13 H.J. Lu <hongjiu.lu@intel.com>
513
514 * testsuite/ld-elf/sizeof.d: New file.
515 * testsuite/ld-elf/sizeof.s: Likewise.
516 * testsuite/ld-elf/startof.d: Likewise.
517 * testsuite/ld-elf/startof.s: Likewise.
518
8569cfa7
RL
5192017-06-13 Renlin Li <renlin.li@arm.com>
520
521 * testsuite/ld-elf/shared.exp (build_tests): Add --no-dynamic-linker
522 option to rdynamic-1 and dynamic-1 tests.
523
654f3b6a
L
5242017-06-09 H.J. Lu <hongjiu.lu@intel.com>
525
526 * testsuite/ld-x86-64/property-x86-3-x32.d: New file.
527 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
528 * testsuite/ld-x86-64/property-x86-4b-x32.d: Likewise.
529 * testsuite/ld-x86-64/property-x86-3.d: Also pass
530 -defsym __64_bit__=1 to asssembler.
531 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
532 * testsuite/ld-x86-64/property-x86-4b.d: Likewise.
533 * testsuite/ld-x86-64/property-x86-3.s: Align to 4 bytes if
534 __64_bit__ isn't defined.
535 * testsuite/ld-x86-64/property-x86-4a.s: Likewise.
536 * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
537 * testsuite/ld-x86-64/x86-64.exp: Run property-x86-3-x32,
538 property-x86-4a-x32 and property-x86-4b-x32.
539
a0abe743
CM
5402017-06-08 Cupertino Miranda <cmiranda@synopsys.com>
541
542 * testsuite/ld-arc/tls_ie-01.d: Changed expected result.
543
51fa2693
L
5442017-06-08 H.J. Lu <hongjiu.lu@intel.com>
545
546 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Pass
547 "-Map tmpdir/ifunc-1-local-x86.map" to ld and check
548 ifunc-1-local-x86.map.
549 * testsuite/ld-ifunc/ifunc-1-x86.d: Pass
550 "-Map tmpdir/ifunc-1-x86.map" to ld and check ifunc-1-x86.map.
551 * testsuite/ld-ifunc/ifunc-1-local-x86.map: New file.
552 * testsuite/ld-ifunc/ifunc-1-x86.map: Likewise.
553
4936f235
AM
5542017-06-07 Alan Modra <amodra@gmail.com>
555
556 * testsuite/ld-unique/pr21529.d: xfail aarch64, arm, hppa, ia64,
557 nds32, and score. Match any output.
558
670b1a13
AB
5592017-06-06 Andrew Burgess <andrew.burgess@embecosm.com>
560
561 * ld.h (struct args_type): Fix typo in comment.
562
7bdf4127
AB
5632017-06-06 Andrew Burgess <andrew.burgess@embecosm.com>
564
565 * ld.h (struct args_type): Add force_group_allocation field.
566 * ldgram.y: Add support for FORCE_GROUP_ALLOCATION.
567 * ldlex.h: Likewise.
568 * ldlex.l: Likewise.
569 * lexsup.c: Likewise.
570 * ldlang.c (unique_section_p): Check resolve_section_groups flag
571 not the relaxable link flag.
572 (lang_add_section): Discard section groups when we're resolving
573 groups. Clear the SEC_LINK_ONCE flag if we're resolving section
574 groups.
575 * ldmain.c (main): Initialise resolve_section_groups flag in
576 link_info based on command line flags.
577 * testsuite/ld-elf/group11.d: New file.
578 * testsuite/ld-elf/group12.d: New file.
579 * testsuite/ld-elf/group12.ld: New file.
580 * NEWS: Mention new features.
581 * ld.texinfo (Options): Document --force-group-allocation.
582 (Miscellaneous Commands): Document FORCE_GROUP_ALLOCATION.
583
d9409498
L
5842017-06-05 H.J. Lu <hongjiu.lu@intel.com>
585
586 PR ld/21529
587 * testsuite/ld-unique/pr21529.d: New file.
588 * testsuite/ld-unique/pr21529.s: Likewise.
589 * testsuite/ld-unique/unique.exp: Run *.d.
590
91001320
AM
5912017-06-05 Alan Modra <amodra@gmail.com>
592
593 * ldmain.c (main): Correct setting of link_indo.new_dtags.
594 * testsuite/ld-elf/now-3.d: Pass --disable-new-dtags to ld
595 * testsuite/ld-elf/now-4.d: Likewise.
596 * testsuite/ld-elf/rpath-1.d: Likewise.
597 * testsuite/ld-elf/rpath-2.d: Likewise.
598
6734f10a
SB
5992017-06-05 Slava Barinov <v.barinov@samsung.com>
600
601 * configure.ac: Add --enable-new-dtags option.
91001320
AM
602 * ldmain.c (main): Set link_info.new_dtags to 1 if when
603 --enable-new-dtags is switched on.
6734f10a
SB
604 * configure: Regenerate.
605 * config.in: Regenerate.
606
4a4a4a27
L
6072017-06-02 H.J. Lu <hongjiu.lu@intel.com>
608
609 * emulparams/call_nop.sh: Remove -z prefix-nop.
610 * ld.texinfo: Likewise.
611 * testsuite/ld-i386/call3c.d: Check for linker error.
612 * testsuite/ld-x86-64/call1c.d: Likewise.
613
f378ab09
AM
6142017-06-01 Alan Modra <amodra@gmail.com>
615
616 * emultempl/ppc64elf.em (params): Init plt_localentry0 field.
617 (enum ppc64_opt): New, replacing OPTION_* defines. Add
618 OPTION_PLT_LOCALENTRY, and OPTION_NO_PLT_LOCALENTRY.
619 (PARSE_AND_LIST_*): Support --plt-localentry and --no-plt-localentry.
620 * testsuite/ld-powerpc/elfv2so.d: Update.
621 * testsuite/ld-powerpc/powerpc.exp (TLS opt 5): Use --no-plt-localentry.
622 * testsuite/ld-powerpc/tlsopt5.d: Update.
623
ab12fca3
AM
6242017-05-31 Alan Modra <amodra@gmail.com>
625
626 * emultempl/ppc64elf.em (plt-static-chain help): Fix quoting.
627
9a6465c2
JW
6282017-05-22 Jiong Wang <jiong.wang@arm.com>
629
630 * configure.tgt: Set "targ_emul" to "aarch64linux32b" for
631 aarch64_be-*-linux-gnu_ilp32. Set "targ_emul" to "aarch64linux32" for
632 aarch64-*-linux-gnu_ilp32.
633
92f7d783
L
6342017-05-19 H.J. Lu <hongjiu.lu@intel.com>
635
636 * testsuite/ld-i386/i386.exp: Run property-x86-4a and
637 property-x86-4b.
638 * testsuite/ld-x86-64/x86-64.exp: Likewise.
639 * testsuite/ld-i386/property-x86-4a.d: New file.
640 * testsuite/ld-i386/property-x86-4a.s: Likewise.
641 * testsuite/ld-i386/property-x86-4b.d: Likewise.
642 * testsuite/ld-i386/property-x86-4b.s: Likewise.
643 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
644 * testsuite/ld-x86-64/property-x86-4a.s: Likewise.
645 * testsuite/ld-x86-64/property-x86-4b.d: Likewise.
646 * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
647
f4203b2b
JL
6482017-05-19 Georg-Johann Lay <avr@gjlay.de>
649
650 PR ld/21472
651 * emulparams/avrxmega3.sh (RODATA_PM_OFFSET): Set to 0x8000.
652 * scripttempl/avr.sc (__RODATA_PM_OFFSET__) [RODATA_PM_OFFSET]:
653 Use RODATA_PM_OFFSET as default if not already defined.
654 (.data) [!RODATA_PM_OFFSET]: Don't include .rodata and friends.
655 (.rodata) [RODATA_PM_OFFSET]: Put at an offset of
656 __RODATA_PM_OFFSET__.
657
3aa2d05a
NC
6582017-05-18 Nick Clifton <nickc@redhat.com>
659
660 PR ld/21251
661 * ldfile.c (ldfile_add_library_path): If the path starts with
662 $SYSROOT then use the sysroot as the real prefix.
663 * ldlang.c (lang_add_input_file): Treat $SYSROOT in the same
664 way as =.
665 * ldlex.l: Add $SYSROOT as allow prefix for a filename.
666 * ld.texinfo (-L): Document that $SYSROOT acts like = when
667 prefixing a library search path.
668 (INPUT): Likewise.
669 * testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix
670 tests.
671
535b785f
AM
6722017-05-18 Alan Modra <amodra@gmail.com>
673
674 * emultempl/elf32.em: Don't compare boolean values against TRUE or FALSE.
675 * emultempl/pe.em: Likewise.
676 * emultempl/pep.em: Likewise.
9d43118e
AM
677 * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
678 Don't compare enum against TRUE.
535b785f 679
087ea222
AM
6802017-05-18 Alan Modra <amodra@gmail.com>
681
682 PR ld/20882
683 * testsuite/ld-gc/pr20882.d: Don't pass -gdwarf-sections to gas.
684 Allow for 16-bit address targets and match expected data fully.
685 * testsuite/ld-gc/pr20882a.s: Delete .debug_line section.
686 * testsuite/ld-gc/pr20882b.s: Likewise.
687 * testsuite/ld-gc/pr20882c.s: Likewise.
688
b7c871ed
L
6892017-05-17 H.J. Lu <hongjiu.lu@intel.com>
690
691 PR ld/20882
692 * testsuite/ld-gc/gc.exp: Run pr20882.
693 * testsuite/ld-gc/pr20882.d: New file.
694 * testsuite/ld-gc/pr20882a.s: Likewise.
695 * testsuite/ld-gc/pr20882b.s: Likewise.
696 * testsuite/ld-gc/pr20882c.s: Likewise.
697
0a7d3889
L
6982017-05-16 H.J. Lu <hongjiu.lu@intel.com>
699
700 PR ld/21481
701 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests only
702 if IFUNC is supported by run-time.
703
bc4e12de
AM
7042017-05-16 Alan Modra <amodra@gmail.com>
705
706 * plugin.c: Rename occurrences of non_ir_ref.
707
4070765b
AM
7082017-05-16 Alan Modra <amodra@gmail.com>
709
710 * plugin.c (is_visible_from_outside): Use non_ir_ref_dynamic.
711 (plugin_notice): Set non_ir_ref for references from regular
712 objects, non_ir_ref_dynamic for references from dynamic objects.
713
b32465c9
MR
7142017-05-15 Maciej W. Rozycki <macro@imgtec.com>
715
716 * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: New test.
717 * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: New test.
718 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: New test.
719 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: New test.
720 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: New test.
721 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: New test.
722 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: New test.
723 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: New test.
724 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
725
786e3eba
NC
7262017-05-15 Nick Clifton <nickc@redhat.com>
727
728 PR ld/21459
729 * scripttempl/pe.sc: Add .debug_gdb_scripts section.
730 * scripttempl/pep.sc: Likewise.
731
73caa85d
L
7322017-05-12 H.J. Lu <hongjiu.lu@intel.com>
733
734 * testsuite/ld-i386/i386.exp: Run property-x86-3.
735 * testsuite/ld-x86-64/x86-64.exp: Likewise.
736 * testsuite/ld-i386/property-x86-3.d: New file.
737 * testsuite/ld-i386/property-x86-3.s: Likewise.
738 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
739 * testsuite/ld-x86-64/property-x86-3.s: Likewise.
740
f2c29a16
L
7412017-05-11 H.J. Lu <hongjiu.lu@intel.com>
742
743 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Replace
744 .plt.bnd with .plt.sec.
745 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
746 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
747 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
748 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
749 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
750 * testsuite/ld-x86-64/mpx3.dd: Likewise.
751 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
752 * testsuite/ld-x86-64/mpx4.dd: Likewise.
753 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
754 * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise.
755 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
756 * testsuite/ld-x86-64/pr21038b.d: Likewise.
757 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
758 * testsuite/ld-x86-64/pr21038c.d: Likewise.
759
dc2be3d2
L
7602017-05-11 H.J. Lu <hongjiu.lu@intel.com>
761
762 * testsuite/ld-i386/plt-pic2.dd: Updated.
763 * testsuite/ld-i386/plt2.dd: Likewise.
764 * testsuite/ld-i386/plt2.rd: Likewise.
765 * testsuite/ld-i386/pr17689now.rd: Likewise.
766 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
767 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
768 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
769 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
770 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
771 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
772 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
773 * testsuite/ld-x86-64/plt2.dd: Likewise.
774 * testsuite/ld-x86-64/plt2.rd: Likewise.
775 * testsuite/ld-x86-64/pr17689now.rd: Likewise.
776 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
777 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
778
5d69120b
L
7792017-05-10 H.J. Lu <hongjiu.lu@intel.com>
780
781 * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Set
782 to yes.
783 * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
784 Likewise.
785 * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Likewise.
786
aab82f4c
L
7872017-05-10 H.J. Lu <hongjiu.lu@intel.com>
788
789 PR ld/21481
790 * testsuite/ld-x86-64/pr21481a.c: New file.
791 * testsuite/ld-x86-64/pr21481b.S: Likewise.
792 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests.
793
53a346d8
CZ
7942017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
795
796 * testsuite/ld-arc/attr-merge-0.d: New file.
797 * testsuite/ld-arc/attr-merge-0.s: Likewise.
798 * testsuite/ld-arc/attr-merge-0e.s: Likewise.
799 * testsuite/ld-arc/attr-merge-1.d: Likewise.
800 * testsuite/ld-arc/attr-merge-1.s: Likewise.
801 * testsuite/ld-arc/attr-merge-1e.s: Likewise.
802 * testsuite/ld-arc/attr-merge-2.d: Likewise.
803 * testsuite/ld-arc/attr-merge-2.s: Likewise.
804 * testsuite/ld-arc/attr-merge-3.d: Likewise.
805 * testsuite/ld-arc/attr-merge-3.s: Likewise.
806 * testsuite/ld-arc/attr-merge-3e.s: Likewise.
807 * testsuite/ld-arc/attr-merge-4.s: Likewise.
808 * testsuite/ld-arc/attr-merge-5.d: Likewise.
809 * testsuite/ld-arc/attr-merge-5a.s: Likewise.
810 * testsuite/ld-arc/attr-merge-5b.s: Likewise.
811 * testsuite/ld-arc/attr-merge-conflict-isa.d: Likewise.
812 * testsuite/ld-arc/attr-merge-err-isa.d: Likewise.
813 * testsuite/ld-arc/attr-merge-incompatible-cpu.d: Likewise.
814 * testsuite/ld-arc/got-01.d: Update test.
815 * testsuite/ld-arc/attr-merge-err-quarkse.d: New file.
816 * testsuite/ld-arc/attr-quarkse.s: Likewise.
817 * testsuite/ld-arc/attr-quarkse2.s: Likewise.
818
a6da4630
A
8192017-05-09 Awson <kyrab@mail.ru>
820
821 PR ld/21471
822 * pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64.
823
d2732b69
AM
8242017-05-09 Benjamin Peterson <bp@benjamin.pe>
825
826 * ld.texinfo (orphan sections): Grammar fix.
827
38b12349
L
8282017-05-08 H.J. Lu <hongjiu.lu@intel.com>
829
830 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: New file.
831 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
832 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
833 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
834 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
835 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
836 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
837 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
838 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
839 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
840 * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise.
841 * testsuite/ld-x86-64/plt2.dd: Likewise.
842 * testsuite/ld-x86-64/plt2.rd: Likewise.
843 * testsuite/ld-x86-64/plt2.s: Likewise.
844 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
845 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
846 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
847 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
848 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
849 * testsuite/ld-x86-64/load1b-nacl.d: Updated.
850 * testsuite/ld-x86-64/load1b.d: Likewise.
851 * testsuite/ld-x86-64/plt-main-bnd.dd: Likewise.
852 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
853 * testsuite/ld-x86-64/pr20830a.d: Update the .plt.got section
854 with func@plt.
855 * testsuite/ld-x86-64/pr20830b.d: Likewise.
856 * testsuite/ld-x86-64/pr21038a.d: Likewise.
857 * testsuite/ld-x86-64/pr21038c.d: Likewise.
858 * testsuite/ld-x86-64/mpx.exp: Add some -z now tests.
859 * testsuite/ld-x86-64/x86-64.exp: Likewise.
860
f604c2a2
L
8612017-05-08 H.J. Lu <hongjiu.lu@intel.com>
862
863 * testsuite/ld-i386/i386.exp: Add some -z now tests.
864 * testsuite/ld-i386/plt-pic2.dd: New file.
865 * testsuite/ld-i386/plt2.dd: Likewise.
866 * testsuite/ld-i386/plt2.rd: Likewise.
867 * testsuite/ld-i386/plt2.s: Likewise.
868 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
869 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
870 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
871 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
872 * testsuite/ld-i386/pr20830.d: Update the .plt.got section
873 with func@plt.
874
046734ff
TP
8752017-05-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
876
877 * testsuite/ld-arm/arm-elf.exp
878 (Secure gateway import library generation): Check e_type field
879 of import library and executable produced.
880 * testsuite/ld-arm/cmse-implib.type: Expectations for e_type field.
881
b660e9eb
SKS
8822017-04-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
883
884 PR ld/21404
885 * testsuite/ld-avr/pr21404-1.d: New test.
886 * testsuite/ld-avr/pr21404-1.s: New test.
887 * testsuite/ld-avr/pr21404-2.d: New test.
888 * testsuite/ld-avr/pr21404-2.s: New test.
889 * testsuite/ld-avr/pr21404-3.d: New test.
890 * testsuite/ld-avr/pr21404-3.s: New test.
891 * testsuite/ld-avr/pr21404-4.d: New test.
892 * testsuite/ld-avr/pr21404-4.s: New test.
893 * testsuite/ld-avr/pr21404-5.d: New test.
894 * testsuite/ld-avr/pr21404-5.s: New test.
895 * testsuite/ld-avr/pr21404-6.d: New test.
896 * testsuite/ld-avr/pr21404-6.s: New test.
897 * testsuite/ld-avr/pr21404-7.d: New test.
898 * testsuite/ld-avr/pr21404-7.s: New test.
899 * testsuite/ld-avr/pr21404-8.d: New test.
900 * testsuite/ld-avr/pr21404-8.s: New test.
901
8507b6e7
MR
9022017-05-03 Maciej W. Rozycki <macro@imgtec.com>
903
904 * testsuite/ld-mips-elf/mips16-pcrel-0.d: New test.
905 * testsuite/ld-mips-elf/mips16-pcrel-1.d: New test.
906 * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: New test.
907 * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: New test.
908 * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: New test.
909 * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: New test.
910 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: New test.
911 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: New test.
912 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
913
b2290821
L
9142017-05-03 H.J. Lu <hongjiu.lu@intel.com>
915
916 * testsuite/ld-elf/pr21384.d: Adjusted to accommodate
917 additional dynamic symbols on some targets.
918
82d808ed
MR
9192017-05-02 Maciej W. Rozycki <macro@imgtec.com>
920
921 * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: New test.
922 * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: New test.
923 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d: New
924 test.
925 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d: New
926 test.
927 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d: New
928 test.
929 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d:
930 New test.
931 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d: New
932 test.
933 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d: New
934 test.
935 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d:
936 New test.
937 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
938
3d850592
L
9392017-05-02 H.J. Lu <hongjiu.lu@intel.com>
940
941 * testsuite/ld-i386/tls.exp: Add -Wl,--no-as-needed to
942 "TLS without PLT (1)" and "TLS without PLT (3)".
943 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to
944 to "TLS without PLT (3)".
945
640226f0
L
9462017-05-02 H.J. Lu <hongjiu.lu@intel.com>
947
948 PR ld/21384
949 * testsuite/ld-elf/pr21384.d: New file.
950 * testsuite/ld-elf/pr21384.dl: Likewise.
951 * testsuite/ld-elf/pr21384.ld: Likewise.
952 * testsuite/ld-elf/pr21384.s: Likewise.
953
0aae7e72
L
9542017-05-01 H.J. Lu <hongjiu.lu@intel.com>
955
956 * testsuite/ld-i386/tls.exp: Run GNU2 TLS tests only if there
957 is working GNU2 TLS support.
958 * testsuite/ld-x86-64/tls.exp: Likewise.
959 * testsuite/lib/ld-lib.exp (check_gnu2_tls_available): New proc.
960
1670f9c1
L
9612017-04-28 H.J. Lu <hongjiu.lu@intel.com>
962
963 * testsuite/config/default.exp (GNU2_CFLAGS): New. Set
964 to -mtls-dialect=gnu2 if target compiler supports it.
965 * testsuite/ld-i386/tls.exp: Run -mtls-dialect=gnu2 tests.
966 * testsuite/ld-x86-64/tls.exp: Likewise.
967 * testsuite/ld-i386/tlsdesc1a.c: New file.
968 * testsuite/ld-i386/tlsdesc1b.c: Likewise.
969 * testsuite/ld-x86-64/tlsdesc1a.c: Likewise.
970 * testsuite/ld-x86-64/tlsdesc1b.c: Likewise.
971
d6f48aed
L
9722017-04-28 H.J. Lu <hongjiu.lu@intel.com>
973
974 * testsuite/ld-elf/shared.exp: Add run-time tests for -z now.
975 * testsuite/ld-i386/tls.exp: Likewise.
976 * testsuite/ld-ifunc/ifunc.exp: Likewise.
977 * testsuite/ld-x86-64/tls.exp: Likewise.
978
de9a3c42
L
9792017-04-27 H.J. Lu <hongjiu.lu@intel.com>
980
981 * testsuite/ld-x86-64/pr21038a.d: Update DW_CFA_nop paddings
982 in .eh_frame section.
983 * testsuite/ld-x86-64/pr21038c.d: Update .eh_frame order.
984
97d343d4
L
9852017-04-26 H.J. Lu <hongjiu.lu@intel.com>
986
987 * testsuite/ld-i386/tlsdesc2.d: New test.
988 * testsuite/ld-x86-64/tlsdesc2.d: Likewise.
989
23ec1e32
MR
9902017-04-26 Maciej W. Rozycki <macro@imgtec.com>
991
992 PR ld/21334
993 * testsuite/ld-mips-elf/pr21334.dd: New test.
994 * testsuite/ld-mips-elf/pr21334.gd: New test.
995 * testsuite/ld-mips-elf/pr21334.ld: New test linker script.
996 * testsuite/ld-mips-elf/pr21334.s: New test source.
997 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
998
9e9821dd
L
9992017-04-24 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 * testsuite/ld-x86-64/no-plt.exp: Also check no-plt-1e.nd.
1002 * testsuite/ld-x86-64/no-plt-1e.nd: New file.
1003
e662f84f
L
10042017-04-24 H.J. Lu <hongjiu.lu@intel.com>
1005
1006 * testsuite/ld-i386/pr12570a.d: Skip for nacl targets.
1007 * testsuite/ld-i386/pr12570b.d: Likewise.
1008
1587442d
L
10092017-04-24 H.J. Lu <hongjiu.lu@intel.com>
1010
1011 PR ld/20815
1012 * testsuite/ld-i386/vxworks2.sd: Add space for program headers.
1013
8b353c47
JM
10142017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com>
1015
1016 * testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions
1017 instead of `rett' in V9.
1018 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
1019 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
1020
e133d005
L
10212017-04-21 H.J. Lu <hongjiu.lu@intel.com>
1022
1023 PR ld/21402
1024 * testsuite/ld-elf/indirect.exp: Don't skip PIE indirect5 and
1025 indirect6 tests on i386.
1026
3c5fce9b
L
10272017-04-21 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 PR ld/19617
1030 PR ld/21086
1031 * testsuite/ld-elf/pr19617a.d: Pass --no-dynamic-linker to ld.
1032 * testsuite/ld-elf/pr19617b.d: Likewise.
1033 * testsuite/ld-elf/pr19617c.d: Likewise.
1034 *testsuite/ld-i386/pr19636-4d.d: Likewise.
1035 * testsuite/ld-elf/readelf.exp: Pass --no-dynamic-linker to ld
1036 with --export-dynamic.
1037 * testsuite/ld-elf/shared.exp: Pass --no-dynamic-linker to ld
1038 with -E.
1039
afe9edbf
L
10402017-04-20 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 PR ld/21402
1043 * testsuite/ld-elf/indirect.exp: Pass $NOPIE_LDFLAGS and
1044 $NOPIE_CFLAGS to non-PIE indirect5 and indirect6 tests. Skip
1045 PIE indirect5 and indirect6 tests on i386.
1046
31321c80
MR
10472017-04-20 Maciej W. Rozycki <macro@imgtec.com>
1048
1049 * testsuite/ld-mips-elf/mips-elf.exp: Join `__ehdr_start' tests.
1050
59fa66c5
L
10512017-04-20 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 PR ld/21382
1054 * plugin.c (is_visible_from_outside): Symbol may be visible
1055 from outside if dynamic_ref_after_ir_def is set.
1056 (plugin_notice): Set dynamic_ref_after_ir_def if the symbol is
1057 defined in an IR object and referenced in a dynamic object.
1058 * testsuite/ld-plugin/lto.exp: Run PR ld/21382 tests.
1059 * testsuite/ld-plugin/pr21382a.c: New file.
1060 * testsuite/ld-plugin/pr21382b.c: Likewise.
1061
e492d2f8
L
10622017-04-19 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 PR ld/21401
1065 * testsuite/ld-ifunc/ifunc.exp: Add a libtest-2-now.so test with
1066 -z now.
1067
954b63d4
AM
10682017-04-19 Alan Modra <amodra@gmail.com>
1069
1070 * ld.texinfo (dynamic-undefined-weak): Document.
1071 (nodynamic-undefined-weak): Document that this option now can
1072 be used with shared libs.
1073 * emulparams/dynamic_undefined_weak.sh: Support -z
1074 dynamic-undefined-weak.
1075 * emulparams/elf32ppccommon.sh: Include dynamic_undefined_weak.sh.
1076 * testsuite/ld-undefined/weak-undef.exp (undef_weak_so),
1077 (undef_weak_exe): New. Use them. Add -z dynamic-undefined-weak
1078 and -z nodynamic-undefined-weak tests.
1079 * Makefile.am: Update powerpc dependencies.
1080 * Makefile.in: Regenerate.
1081
e6699019
L
10822017-04-17 H.J. Lu <hongjiu.lu@intel.com>
1083
1084 PR ld/21389
1085 * testsuite/ld-elf/pr21389.map: New file.
1086 * testsuite/ld-elf/pr21389.s: Likewise.
1087 * testsuite/ld-elf/pr21389a.d: Likewise.
1088 * testsuite/ld-elf/pr21389b.d: Likewise.
1089 * testsuite/ld-elf/pr21389c.d: Likewise.
1090
c5d37467
AM
10912017-04-17 Alan Modra <amodra@gmail.com>
1092
1093 * testsuite/ld-elf/indirect5a.c,
1094 * testsuite/ld-elf/indirect5b.c,
1095 * testsuite/ld-elf/indirect5.map,
1096 * testsuite/ld-elf/indirect5.out: New test.
1097 * testsuite/ld-elf/indirect6a.c: Likewise.
1098 * testsuite/ld-elf/indirect.exp (check_dynamic_syms): New proc.
1099 Run new tests and check dynsyms.
1100
fbea1508
AM
11012017-04-11 Alan Modra <amodra@gmail.com>
1102
1103 PR 21274
1104 PR 18466
1105 * emultempl/pe.em (pe_find_data_imports): Don't use fixed size
1106 symbol buffer. Instead, xmalloc max size needed with space for
1107 prefix. Wrap overlong lines. Formatting. Pass symbol buffer
1108 copy of name to pe_walk_relocs_of_symbol.
1109 (make_inport_fixup): Add "name" param, pass to pe_create_import_fixup.
1110 * emultempl/pe.em (pep_find_data_imports): As for pe_find_data_imports.
1111 (make_import_fixup): Add "name" param, pass to pep_create_import_fixup.
1112 Use bfd_get_signed_* and remove unnecessary casts. Formatting.
1113 * pe-dll.c (pe_walk_relocs_of_symbol): Add "name" param. Pass to
1114 callback.
1115 (make_import_fixup_mark): Add "name" param. Make use of prefix
1116 space rather than xmalloc here.
1117 (pe_create_import_fixup): Likewise.
1118 * pe-dll.h (pe_walk_relocs_of_symbol): Update prototype.
1119 (pe_create_import_fixup): Likewise.
1120 * pep-dll.h (pep_walk_relocs_of_symbol): Likewise.
1121 (pep_create_import_fixup): Likewise.
1122
a70f34c0
NC
11232017-04-10 Nick Clifton <nickc@redhat.com>
1124
1125 * ld.texinfo (--strip-discarded): Document.
1126 (--embedded-relocs): Document.
1127 (--spare-dynamic-tags): Document.
1128 (--task-link): Document.
1129
6f9dbcd4
AM
11302017-04-10 Alan Modra <amodra@gmail.com>
1131
1132 PR 21287
1133 * testsuite/ld-elf/init-fini-arrays.d: Match INIT_ARRAY and FINI_ARRAY.
1134 * testsuite/ld-elf/init-fini-arrays.s: Use %init_array and %fini_array
1135 section types.
1136 * testsuite/lib/ld-lib.exp (default_ld_compile): Trim assembler
1137 warnings about "ignoring incorrect section type".
1138 (run_ld_link_exec_tests, run_cc_link_tests): Delete old comment.
1139
37095d07
AM
11402017-04-10 Alan Modra <amodra@gmail.com>
1141
1142 * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete
1143 sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling. Use
1144 remote_file host exists rather than file exists.
1145
a7eaf017
L
11462017-04-07 H.J. Lu <hongjiu.lu@intel.com>
1147
1148 PR ld/21090
1149 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use
1150 NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie
1151 version of the test.
1152
8170f769
L
11532017-04-07 H.J. Lu <hongjiu.lu@intel.com>
1154
1155 PR ld/19579
1156 PR ld/21306
1157 * testsuite/ld-elf/pr19579a.c (main): Updated.
1158
ae3f8c28
NC
11592017-04-07 Nick Clifton <nickc@redhat.com>
1160
1161 PR 21090
1162 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly
1163 disable PIE for the non-pie version of the test.
1164
5c1f54ce
AM
11652017-04-07 Alan Modra <amodra@gmail.com>
1166
1167 * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char.
1168
1fd6d111
TG
11692017-04-07 gingold <gingold@gingold-Precision-7510>
1170
1171 * testsuite/ld-pe/pe.exp: New test.
1172 * testsuite/ld-pe/weakdef-1.s: New test source.
1173 * testsuite/ld-pe/weakdef-1.d: New test.
1174
3944e22b
AM
11752017-04-07 Alan Modra <amodra@gmail.com>
1176
1177 * testsuite/ld-elf/mbind1a.d: Remove matches for PT_LOAD segments.
1178 * testsuite/ld-elf/mbind1b.d: Likewise.
1179 * testsuite/ld-elf/mbind1c.d: Likewise.
1180
6ca30fa5
HPN
11812017-04-05 Hans-Peter Nilsson <hp@axis.com>
1182
1183 PR ld/21233
1184 * testsuite/ld-elf/shared.exp: Change xfails to kfails and fix
1185 indentation issue introduced with last commit.
1186
4d5efb85
HPN
11872017-04-05 Hans-Peter Nilsson <hp@axis.com>
1188
1189 PR ld/21233
1190 * testsuite/ld-elf/shared.exp: Xfail all PR21233 tests but the
1191 first test for cris*-*-*.
1192
80070c0d
MR
11932017-04-04 Maciej W. Rozycki <macro@imgtec.com>
1194
1195 PR ld/21233
1196 * ldlang.c (insert_undefined): Set `mark' for ELF symbols.
1197 * testsuite/ld-elf/pr21233.sd: New test.
1198 * testsuite/ld-elf/pr21233-l.sd: New test.
1199 * testsuite/ld-elf/pr21233.ld: New test linker script.
1200 * testsuite/ld-elf/pr21233-e.ld: New test linker script.
1201 * testsuite/ld-elf/pr21233.s: New test source.
1202 * testsuite/ld-elf/pr21233-l.s: New test source.
1203 * testsuite/ld-elf/shared.exp: Run the new tests.
1204
a91e1603
L
12052017-04-04 H.J. Lu <hongjiu.lu@intel.com>
1206
1207 * NEWS: Mention support for ELF SHF_GNU_MBIND and
1208 PT_GNU_MBIND_XXX.
1209 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
1210 input GNU_MBIND sections with the same type, attributes and
1211 sh_info field into a single output GNU_MBIND section.
1212 * testsuite/ld-elf/elf.exp: Run mbind2a and mbind2b.
1213 * testsuite/ld-elf/mbind1.s: New file.
1214 * testsuite/ld-elf/mbind1a.d: Likewise.
1215 * testsuite/ld-elf/mbind1b.d: Likewise.
1216 * testsuite/ld-elf/mbind1c.d: Likewise.
1217 * testsuite/ld-elf/mbind2a.s: Likewise.
1218 * testsuite/ld-elf/mbind2b.c: Likewise.
1219
46bed679
L
12202017-04-03 H.J. Lu <hongjiu.lu@intel.com>
1221
2514e33e 1222 * NEWS: Mention support for ELF GNU program properties.
46bed679
L
1223 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1224 ELF setup_gnu_properties.
1225 * testsuite/ld-i386/i386.exp: Run property tests for Linux/i386.
1226 * testsuite/ld-i386/pass.c: New file.
1227 * testsuite/ld-i386/property-1.r: Likewise.
1228 * testsuite/ld-i386/property-2.r: Likewise.
1229 * testsuite/ld-i386/property-3.r: Likewise.
1230 * testsuite/ld-i386/property-4.r: Likewise.
1231 * testsuite/ld-i386/property-5.r: Likewise.
1232 * testsuite/ld-i386/property-6.r: Likewise.
1233 * testsuite/ld-i386/property-6a.c: Likewise.
1234 * testsuite/ld-i386/property-6b.c: Likewise.
1235 * testsuite/ld-i386/property-6c.S: Likewise.
1236 * testsuite/ld-i386/property-7.r: Likewise.
1237 * testsuite/ld-i386/property-no-copy.S: Likewise.
1238 * testsuite/ld-i386/property-stack.S: Likewise.
1239 * testsuite/ld-i386/property-unsorted-1.S: Likewise.
1240 * testsuite/ld-i386/property-unsorted-2.S: Likewise.
1241 * testsuite/ld-i386/property-x86-1.S: Likewise.
1242 * testsuite/ld-i386/property-x86-2.S: Likewise.
1243 * testsuite/ld-x86-64/pass.c: Likewise.
1244 * testsuite/ld-x86-64/property-1.r: Likewise.
1245 * testsuite/ld-x86-64/property-2.r: Likewise.
1246 * testsuite/ld-x86-64/property-3.r: Likewise.
1247 * testsuite/ld-x86-64/property-4.r: Likewise.
1248 * testsuite/ld-x86-64/property-5.r: Likewise.
1249 * testsuite/ld-x86-64/property-6.r: Likewise.
1250 * testsuite/ld-x86-64/property-6a.c: Likewise.
1251 * testsuite/ld-x86-64/property-6b.c: Likewise.
1252 * testsuite/ld-x86-64/property-6c.S: Likewise.
1253 * testsuite/ld-x86-64/property-7.r: Likewise.
1254 * testsuite/ld-x86-64/property-no-copy.S: Likewise.
1255 * testsuite/ld-x86-64/property-stack.S: Likewise.
1256 * testsuite/ld-x86-64/property-unsorted-1.S: Likewise.
1257 * testsuite/ld-x86-64/property-unsorted-2.S: Likewise.
1258 * testsuite/ld-x86-64/property-x86-1.S: Likewise.
1259 * testsuite/ld-x86-64/property-x86-2.S: Likewise.
1260 * testsuite/ld-x86-64/x86-64.exp: Run property tests for
1261 Linux/x86-64.
1262
086554e8
HPN
12632017-03-28 Hans-Peter Nilsson <hp@axis.com>
1264
1265 PR ld/16044
1266 * testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s,
1267 testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test.
1268
4c8798c9
SL
12692017-03-21 Sandra Loosemore <sandra@codesourcery.com>
1270
1271 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
1272 false for nios2-*-elf.
1273
21701718
TG
12742017-03-21 gingold <gingold@gingold-Precision-7510>
1275
1276 * ldlang.c (lang_check_section_addresses): Check only for
1277 allocated sections.
1278
1d3fa25f
AM
12792017-03-17 Alan Modra <amodra@gmail.com>
1280
1281 * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k.
1282
9494d963
TG
12832017-03-15 Tristan Gingold <gingold@adacore.com>
1284
1285 * testsuite/ld-checks/checks.exp (overflow_check): Disable for
1286 non-elf targets.
1287
9216a6f3
L
12882017-03-14 H.J. Lu <hongjiu.lu@intel.com>
1289
1290 * ldlang.c (lang_check_section_addresses): Use addr_mask to
1291 check VMA and LMA.
1292
f955cccf
NC
12932017-03-13 Nick Clifton <nickc@redhat.com>
1294
1295 PR binutils/21202
1296 * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.
1297
d40e34db
TG
12982017-03-13 Tristan Gingold <gingold@adacore.com>
1299
1300 * ldlang.c (lang_check_section_addresses): Check for address space
1301 overflow.
1302 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
1303 * testsuite/ld-checks/over.s: New test source.
1304 * testsuite/ld-checks/over.d: New test.
1305 * testsuite/ld-checks/over2.s: New test source.
1306 * testsuite/ld-checks/over2.d: New test.
1307
4b5900d8
AN
13082017-03-13 Alexey Neyman <stilor@att.net>
1309
1310 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
1311 cpu, not host.
1312
118aa6cf
AM
13132017-03-11 Alan Modra <amodra@gmail.com>
1314
1315 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
1316 sysroot for -rpath search.
1317
316a1245
AM
13182017-03-11 Alan Modra <amodra@gmail.com>
1319
1320 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
1321 Only prefix absolute paths with sysroot. Handle DOS paths.
1322 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
1323 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
1324 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
1325 searches. Rename variable. Simplify get_runpath search.
1326
bb4287c5
AM
13272017-03-11 Alan Modra <amodra@gmail.com>
1328
1329 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
1330 than -rdynamic.
1331
e299b355
AM
13322017-03-11 Alan Modra <amodra@gmail.com>
1333
1334 * ld.texinfo (Orphan Sections): Mention that not all targets
1335 handle orphans well.
1336 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
1337 * testsuite/ld-elf/orphan-10.d: Likewise.
1338
14ea2c1b
AB
13392017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1340
1341 * ldlang.c (lang_size_sections_1): Shortcut loop only after
1342 tracking changes to the default regions LMA.
1343 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
1344 * testsuite/ld-elf/orphan-10.d: New file.
1345 * testsuite/ld-elf/orphan-10.s: New file.
1346 * NEWS: Mention change in behaviour.
1347
77f5e65e
AB
13482017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
1349
1350 * ldlang.c (lang_leave_output_section_statement): Move lma_region
1351 logic to...
1352 (lang_propagate_lma_regions): ...this new function.
1353 (lang_process): Call new function.
1354 * testsuite/ld-elf/orphan-9.d: New file.
1355 * testsuite/ld-elf/orphan-9.ld: New file.
1356 * testsuite/ld-elf/orphan-9.s: New file.
1357 * NEWS: Mention change in behaviour.
1358
d933941d
AM
13592017-03-07 Alan Modra <amodra@gmail.com>
1360
1361 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
1362 is not an assert before referencing defsym.
1363
2e0ce1c8
AM
13642017-03-05 Alan Modra <amodra@gmail.com>
1365
1366 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
1367 * testsuite/ld-elf/eh6.d: Likewise.
1368 * testsuite/ld-alpha/tlsbin.dd: Likewise.
1369 * testsuite/ld-alpha/tlsbin.td: Likewise.
1370 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
1371 * testsuite/ld-alpha/tlspic.dd: Likewise.
1372 * testsuite/ld-alpha/tlspic.rd: Likewise.
1373 * testsuite/ld-alpha/tlspic.sd: Likewise.
1374 * testsuite/ld-alpha/tlspic.td: Likewise.
1375 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
1376 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
1377 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
1378 * testsuite/ld-x86-64/pr20830a.d: Likewise.
1379 * testsuite/ld-x86-64/pr21038a.d: Likewise.
1380 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1381 * testsuite/ld-x86-64/pr21038c.d: Likewise.
1382
611a3ca9
NC
13832017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
1384
1385 PR 12969
1386 * pe-dll.c (generate_edata): Fail if the input file(s) require too
1387 many ordinals.
1388
199add01
AM
13892017-03-02 Alan Modra <amodra@gmail.com>
1390
1391 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
1392 and dl3.cc.
1393
4ef97a1b
AM
13942017-02-28 Alan Modra <amodra@gmail.com>
1395
1396 * testsuite/ld-elf/merge.d: xfail for nios.
1397
7ba71655
AM
13982017-02-28 Alan Modra <amodra@gmail.com>
1399
1400 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
1401 limits of addpcis range.
1402
0e392101
MR
14032017-02-28 Maciej W. Rozycki <macro@imgtec.com>
1404
1405 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
1406 instructions.
1407 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
1408 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1409
fbf25dfd
GJL
14102017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
1411
1412 PR target/20849
6734f10a
SB
1413 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
1414 (.rodata): New section.
1415 (.data): Remove .rodata*.
fbf25dfd 1416
dd803a24
AM
14172017-02-25 Alan Modra <amodra@gmail.com>
1418
1419 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
1420 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
1421 defining HPUX where necessary. Define HPUX for implib tests.
1422 * testsuite/ld-elf/comm-data4.d: Run for hpux.
1423 * testsuite/ld-elf/endsym.d: Likewise.
1424 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
1425 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
1426 * testsuite/ld-elf/comm-data5.s: Likewise.
1427 * testsuite/ld-elf/endsym.s: Likewise.
1428 * testsuite/ld-elf/pr14170c.s: Likewise.
1429 * testsuite/ld-elf/symbol3.s: Likewise.
1430 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
1431 in first column.
1432 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
1433 * testsuite/ld-elf/warn3.d: Run for hpux.
1434 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
1435 * testsuite/ld-scripts/rgn-at11.d: Likewise.
1436 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
1437
c9f02c3e
MR
14382017-02-24 Maciej W. Rozycki <macro@imgtec.com>
1439
c72cea5a
MR
1440 * testsuite/ld-elf/ver_def.vd: New test.
1441 * testsuite/ld-elf/ver_def-tic6x.vd: New test.
c9f02c3e
MR
1442 * testsuite/ld-elf/ver_def.ld: New test linker script.
1443 * testsuite/ld-elf/ver_def.ver: New test version script.
1444 * testsuite/ld-elf/ver_def.s: New test source.
1445 * testsuite/ld-elf/readelf.exp: New test script.
1446
5d58c733
MR
14472017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1448
1449 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
1450 option.
1451 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
1452 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
1453 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
1454
c1556ecd
MR
14552017-02-23 Maciej W. Rozycki <macro@imgtec.com>
1456
1457 * testsuite/ld-mips-elf/jalr4.dd: New test.
1458 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
1459
5499c7c7
AM
14602017-02-23 Alan Modra <amodra@gmail.com>
1461
1462 PR 20744
1463 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
1464 each group.
1465 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
1466 and sdarel reloc fix.
1467
902e9fc7
MR
14682017-02-22 Maciej W. Rozycki <macro@imgtec.com>
1469
1470 PR ld/20828
1471 * testsuite/ld-elf/pr20828-d.sd: New test.
1472 * testsuite/ld-elf/pr20828-e.sd: New test.
1473 * testsuite/ld-elf/pr20828-v.od: New test.
1474 * testsuite/ld-elf/pr20828-v.ver: New test version script.
1475 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
1476 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
1477 `.gnu.version_d'.
1478 * testsuite/ld-elf/shared.exp: Run the new tests.
1479
46519784
NC
14802017-02-21 Nick Clifton <nickc@redhat.com>
1481
1482 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
1483 about non-void function returning without a result.
1484
c48cfedd
AM
14852017-02-17 Alan Modra <amodra@gmail.com>
1486
1487 PR 15041
1488 * scripttempl/pe.sc: Don't combine sections for ld -r.
1489 * scripttempl/pep.sc: Likewise.
1490
74dc9032
AM
14912017-02-17 Alan Modra <amodra@gmail.com>
1492
246b9122 1493 PR 21099
74dc9032
AM
1494 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
1495 rather than using OTHER_SECTIONS.
1496 * emulparams/elf32mt.sh: Likewise.
1497 * emulparams/elf32rx.sh: Likewise.
1498 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
1499 define __rl78_abs__.
1500 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
1501 rather than using OTHER_SECTIONS.
1502 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
1503 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
1504 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
1505 * emulparams/shelf_uclinux.sh: Likewise.
1506 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
1507 to define _stack, not OTHER_SECTIONS.
1508 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
1509 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
1510 * scripttempl/arclinux.sc: Likewise.
1511 * scripttempl/elf64hppa.sc: Likewise.
1512 * scripttempl/elfxtensa.sc: Likewise.
1513 * scripttempl/nds32elf.sc: Likewise.
1514 * scripttempl/armbpabi.sc: Move STACK before debug sections.
1515 * scripttempl/elf_chaos.sc: Likewise.
1516 * scripttempl/elfarc.sc: Delete STACK.
1517 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
1518 TINY_BSS_SECTION, and .stack before debug sections.
1519
67cecaba
NC
15202017-02-17 Nick Clifton <nickc@redhat.com>
1521
1522 PR ld/20825
1523 * ld.texinfo (Options): Add missing @item entry for --pop-state.
1524
262a40a5
AM
15252017-02-17 Alan Modra <amodra@gmail.com>
1526
1527 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
1528 multiple definition errors.
1529
002a5d4e
AM
15302017-02-17 Alan Modra <amodra@gmail.com>
1531
1532 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
1533 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
1534
3239a423
AB
15352017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
1536
1537 * testsuite/ld-elf/shared.exp: Update expected results.
1538 * testsuite/ld-elf/dwarf2.err: Likewise
1539
90ed9b8b
AB
15402017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
1541
1542 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
1543 * testsuite/ld-elf/dwarf2.err: New file.
1544 * testsuite/ld-elf/dwarf2a.c: New file.
1545 * testsuite/ld-elf/dwarf2b.c: New file.
1546 * testsuite/ld-elf/dwarf3.c: New file.
1547 * testsuite/ld-elf/dwarf3.err: New file.
1548
2bd7f877
AB
15492017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
1550
1551 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
1552 error, warning_output, and error_output actions. Remove separate
1553 warnings parameter.
1554 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
1555 'warning' action.
1556 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
1557
37d7d56c
AM
15582017-02-16 Alan Modra <amodra@gmail.com>
1559
1560 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
1561 from void pointers to function pointers.
1562 * testsuite/ld-elf/pr18718.c: Update to suit.
1563 * testsuite/ld-elf/pr18720a.c: Update to suit.
1564
a8c75b76
AM
15652017-02-16 Alan Modra <amodra@gmail.com>
1566
1567 PR 21000
1568 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
1569 * testsuite/ld-elf/loadaddr2.d: Likewise.
1570 * testsuite/ld-elf/loadaddr3a.d: Likewise.
1571 * testsuite/ld-scripts/rgn-at5.d: Likewise.
1572
a48cda7f
AM
15732017-02-16 Alan Modra <amodra@gmail.com>
1574
1575 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
1576 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
1577
2a568401
L
15782017-02-15 H.J. Lu <hongjiu.lu@intel.com>
1579
1580 PR ld/21168
1581 * testsuite/ld-i386/i386.exp: Run pr21168.
1582 * testsuite/ld-i386/pr21168a.c: New file.
1583 * testsuite/ld-i386/pr21168b.S: Likewise.
1584
a5def14f
L
15852017-02-15 H.J. Lu <hongjiu.lu@intel.com>
1586
1587 PR ld/20244
1588 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
1589 pr20244-4c.
1590 * testsuite/ld-i386/pr20244-4.s: New file.
1591 * testsuite/ld-i386/pr20244-4a.d: Likewise.
1592 * testsuite/ld-i386/pr20244-4b.d: Likewise.
1593 * testsuite/ld-i386/pr20244-4c.d: Likewise.
1594
ebf0b03c
MR
15952017-02-15 Maciej W. Rozycki <macro@imgtec.com>
1596
1597 * ldmisc.c (vfinfo): Don't print the function name again either
1598 if no source file name has been found both now and previously.
1599 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
1600 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
1601 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
1602 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
1603 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
1604 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
1605 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
1606 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
1607 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
1608 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
1609 Likewise.
1610 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
1611 Likewise.
1612 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
1613 Likewise.
1614 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
1615 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
1616 Likewise.
1617 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
1618 Likewise.
1619 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
1620 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
1621 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
1622 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
1623 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
1624 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
1625 * testsuite/ld-powerpc/tocopt.out: Likewise.
1626 * testsuite/ld-powerpc/tocopt7.out: Likewise.
1627
befe814d
MR
16282017-02-15 Maciej W. Rozycki <macro@imgtec.com>
1629
1630 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
1631
defe6f56
IK
16322017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
1633
1634 * testsuite/ld-scripts/sysroot-prefix.exp
1635 (get_base_dir_for_scripts): New function.
1636 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
1637
10ddfe62
PD
16382017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
1639
1640 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
1641 _gp to __global_pointer$
1642
d7488716
AB
16432017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1644
1645 * configure.tgt (arc*-*-linux*): Change the default linker
1646 emulation based on --with-cpu selection.
1647 * NEWS: Mention new configuration option.
1648
65f90e82
JW
16492017-02-06 Jiong Wang <jiong.wang@arm.com>
1650
1651 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
1652 "readelf -w".
1653
fa93e3d3
MR
16542017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1655
1656 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
1657
2e9af2d0
MR
16582017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1659
1660 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
1661 s/regexp/regex/.
1662
fd121c5c
JW
16632017-02-02 Jiong Wang <jiong.wang@arm.com>
1664
1665 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
1666 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
1667 dlopen support into "dlopen_run_tests". These tests include dl1*main
1668 and dl6*main.
1669 (dlopen_run_tests): New and only run it when check_libdl_available
1670 returns true. XFAIL on *-*-netbsdelf*.
1671
c0c237fc
MR
16722017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1673
1674 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
1675 presentation of relocation addends.
1676 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
1677 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
1678 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
1679
5139cfdb
MR
16802017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1681
1682 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
1683 in `.tdata' section.
1684 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
1685 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
1686
ce790370
JW
16872017-02-01 Jiong Wang <jiong.wang@arm.com>
1688
1689 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
1690 Append $board_cflags to link commands.
1691
067869b6
SKS
16922017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1693
1694 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
1695 check for digit in second decimal place.
1696
15a00b13
MR
16972017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1698
1699 PR ld/20828
1700 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
1701 indentation.
1702
1273da04
NC
17032017-01-31 Nick Clifton <nickc@redhat.com>
1704
1705 * ldmain.c (add_archive_element): Eliminate string buffer.
1706 * ldlang.c (lang_print_asneeded): Likewise.
1707
8b10b0b3
MR
17082017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1709
1710 * emultempl/mipself.em (ignore_branch_isa): New variable.
1711 (mips_create_output_section_statements): Rename
1712 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
1713 add `ignore_branch_isa' argument.
1714 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
1715 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1716 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
1717 "no-ignore-branch-isa" options.
1718 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
1719 `--no-ignore-branch-isa'.
1720 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
1721 OPTION_NO_IGNORE_BRANCH_ISA.
1722
1723 * ld.texinfo (Options specific to MIPS targets): Add
1724 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
1725 (ld and the MIPS family): Likewise.
1726
1727 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
1728 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
1729 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
1730 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
1731 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
1732 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
1733 test.
1734 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
1735 test.
1736 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1737
bf382b30
HPN
17382017-01-29 Hans-Peter Nilsson <hp@axis.com>
1739
c1d45238 1740 PR binutils/19935
bf382b30
HPN
1741 Fix long-standing buglet and fallout from now-default initfini-array.
1742 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
ce6366f9 1743 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
bf382b30 1744
4471a46f
JW
17452017-01-27 Jiong Wang <jiong.wang@arm.com>
1746
1747 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
1748 arm*-*-eabi*.
1749
387dd777
DP
17502017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1751 Nick Clifton <nickc@redhat.com>
1752
1753 PR 20343
1754 * ld.texinfo (Options): Extend documentation of the --plugin
1755 option. Include a description of where the plugins should be
1756 located.
1757
0348d4be
NC
17582017-01-27 Nick Clifton <nickc@redhat.com>
1759
1760 * po/sr.po: New Serbian translation.
1761 * configure.ac (ALL_LINGUAS): Add sr.
1762 * configure: Regenerate.
1763
c75b4ebd
SH
17642017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1765
1766 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
1767 (bfin-*-rtems*): Move to (bfin*-*-elf*).
1768 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
1769 (m68*-*-rtems*): Move to (m68*-*-elf*).
1770 (mips*-*-rtems*): Move to (mips*-*-elf*).
1771 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
1772 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
1773 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
1774 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
1775
850d84f6
SH
17762017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1777
1778 * configure.tgt (h8300-*-rtemscoff*): Remove.
1779 (i960-*-rtems*): Likewise.
1780 (m68*-*-rtemscoff*): Likewise.
1781 (sh-*-rtemscoff*): Likewise.
1782
1a792e1c
MR
17832017-01-24 Maciej W. Rozycki <macro@imgtec.com>
1784
1785 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
1786 add implicit version nodes if an anonymous version tag is being
1787 used.
1788
077c11e8
JW
17892017-01-24 Jiong Wang <jiong.wang@arm.com>
1790
1791 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
1792 "Compile 8a", "Compile 8b"...
1793 (lto_compile_elf_tests): ...to here. Always run these tests.
1794 (lto_run_elf_tests): Move "LTO 7"...
1795 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
1796 environment where share library is supported.
1797
f0158f44
AM
17982017-01-24 Alan Modra <amodra@gmail.com>
1799
1800 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
1801 and symbols.
1802 * testsuite/ld-powerpc/tlsexe.d: Likewise.
1803 * testsuite/ld-powerpc/tlsexe.g: Likewise.
1804
2d0ca824
YN
18052017-01-23 Yury Norov <ynorov@caviumnetworks.com>
1806
1807 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
1808 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
1809 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
1810 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
1811 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
1812 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
1813 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
1814 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
1815 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
1816 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
1817 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
1818 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
1819 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
1820
8069955e
NC
18212017-01-23 Nick Clifton <nickc@redhat.com>
1822
1823 * po/ga.po: Updated Irish translation.
1824
1e5f45bb
MR
18252017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1826
1827 PR ld/20828
1828 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
1829
fda46c41
MR
18302017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1831
1832 PR ld/20828
1833 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
1834 `fdata' and `edata' respectively.
1835 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
1836 * testsuite/ld-elf/pr20828-a.sd: Likewise.
1837 * testsuite/ld-elf/pr20828-b.sd: Likewise.
1838 * testsuite/ld-elf/pr20828-c.sd: Likewise.
1839
adcbdc63
MR
18402017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1841
1842 PR ld/20828
1843 * testsuite/ld-elf/pr20828-1.sd: Remove test.
1844 * testsuite/ld-elf/pr20828-a.sd: New test.
1845 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
1846 * testsuite/ld-elf/pr20828-b.sd: ... this.
1847 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
1848 * testsuite/ld-elf/pr20828-c.sd: ... this.
1849 * testsuite/ld-elf/shared.exp: Adjust accordingly.
1850
9966f7ee
JW
18512017-01-23 Jiong Wang <jiong.wang@arm.com>
1852
1853 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
1854 board_cflags as gcc is used as linker driver.
1855 * testsuite/ld-unique/unique.exp: Likewise
1856
7f784814
JW
18572017-01-20 Jiong Wang <jiong.wang@arm.com>
1858
1859 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
1860 * testsuite/ld-aarch64/func-in-so.s: New test source file.
1861 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
1862 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
1863
1737c640
AB
18642017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
1865
1866 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
1867
6984613a
MR
18682017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1869
1870 PR ld/20995
1871 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
1872 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
1873
81ff47b3
MR
18742017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1875
1876 PR ld/20828
1877 * testsuite/ld-elf/pr20828-1.sd: New test.
1878 * testsuite/ld-elf/pr20828-2a.sd: New test.
1879 * testsuite/ld-elf/pr20828-2b.sd: New test.
1880 * testsuite/ld-elf/pr20828.ld: New test linker script.
1881 * testsuite/ld-elf/pr20828.ver: New test version script.
1882 * testsuite/ld-elf/pr20828.s: New test source.
1883 * testsuite/ld-elf/shared.exp: Run the new test.
1884
9e009953
MR
18852017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1886
1887 PR gas/20649
1888 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
1889 relocation pairing link test.
1890
319b82e4
DD
18912017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
1892
1893 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
1894 uniqeue.exp, as not all targets have such support.
1895
6aa1df2d
NC
18962017-01-16 Nick Clifton <nickc@redhat.com>
1897
1898 * po/sv.po: Updated Swedish translation.
1899
8361ed4d
L
19002017-01-12 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 PR ld/21038
1903 * testsuite/ld-x86-64/pr21038b.d: Updated.
1904 * testsuite/ld-x86-64/pr21038c.d: New file.
1905 * testsuite/ld-x86-64/pr21038c.s: Likewise.
1906 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
1907
9e659176
L
19082017-01-11 H.J. Lu <hongjiu.lu@intel.com>
1909
1910 PR ld/21038
1911 * testsuite/ld-x86-64/pr21038a.d: New file.
1912 * testsuite/ld-x86-64/pr21038a.s: Likewise.
1913 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1914 * testsuite/ld-x86-64/pr21038b.s: Likewise.
1915 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
1916
f2e2d2f5
JS
19172017-01-11 Jeremy Soller <jackpot51@gmail.com>
1918
1919 * configure.tgt: Add entries for x86-redox and x86_64-redox.
1920
52b232b3
L
19212017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * testsuite/ld-x86-64/pr20830b.d: Updated.
1924
59a1e29d
L
19252017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1926
1927 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
1928 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
1929 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
1930 * testsuite/ld-x86-64/pr20830b.d: New file.
1931 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
1932 Run pr20830b.
1933
fff53dae
L
19342017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 PR ld/20830
1937 * testsuite/ld-i386/i386.exp: Run pr20830.
1938 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1939 * testsuite/ld-i386/pr20830.d: New file.
1940 * testsuite/ld-i386/pr20830.s: Likewise.
1941 * testsuite/ld-x86-64/pr20830.d: Likewise.
1942 * testsuite/ld-x86-64/pr20830.s: Likewise.
1943
e9237227
L
19442017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1945
1946 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
1947 -Wl,--as-needed to $CC.
1948 * testsuite/ld-i386/tls.exp: Likewise.
1949
07e8e623
NC
19502017-01-10 Nick Clifton <nickc@redhat.com>
1951
1952 * po/sv.po: Updated Swedish translation.
1953
07ccf83c
GM
19542016-12-09 Graham Markall <graham.markall@embecosm.com>
1955 Andrew Burgess <andrew.burgess@embecosm.com>
1956
1957 * Makefile.am: Add earclinux_nps.c target and add to
1958 ALL_EMULATION_SOURCES.
1959 * Makefile.in: Likewise, regenerated.
1960 * configure.tgt: Add arclinux_nps as an extra emulation for
1961 arc*-*-elf* and arc*-*-linux*.
1962 * emulparams/arc-nps.sh: New file.
1963 * emulparams/arclinux_nps.sh: New file.
1964 * testsuite/ld-arc/arclinux-nps.d,
1965 * testsuite/ld-arc/arclinux-nps.s: New test.
1966
b0556316
DP
19672017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
1968
1969 PR 20958
1970 * ldlex.l (option): Add noyywrap
1971 (yywrap): Delete.
1972 * ldlex.h (yywrap): Delete prototype.
1973
47523653
AM
19742017-01-04 Alan Modra <amodra@gmail.com>
1975
1976 * testsuite/ld-elf/audit.exp: Check for shared lib support.
1977 * testsuite/ld-elf/compress.exp: Likewise.
1978 * testsuite/ld-elf/dwarf.exp: Likewise.
1979 * testsuite/ld-elf/shared.exp: Likewise.
1980 * testsuite/ld-elf/wrap.exp: Likewise.
1981 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1982 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
1983
a44d0bd7
AM
19842017-01-03 Alan Modra <amodra@gmail.com>
1985
1986 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
1987 allow test to continue after compilation errors.
1988 (run_cc_link_tests): Likewise.
1989
27c3ce29
DD
19902017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1991
1992 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
1993 (epruelf.c): Remove unneeded dependencies.
1994 * Makefile.in: Regenerate
1995
8cfc7cf8
AM
19962017-01-03 Alan Modra <amodra@gmail.com>
1997
1998 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
1999 to various tests.
2000 * testsuite/ld-elfweak/elfweak.exp: Likewise.
2001 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
2002
4ce6ca2c
AM
20032017-01-03 Alan Modra <amodra@gmail.com>
2004
2005 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
2006 * testsuite/ld-pie/pie.exp: Likewise.
2007 * testsuite/ld-plugin/lto.exp: Likewise.
2008
d9816402
AM
20092017-01-02 Alan Modra <amodra@gmail.com>
2010
2011 * Makefile.am (bootstrap): Delete rule.
2012 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
2013 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
2014 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
2015 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
2016 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
2017 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
2018 * Makefile.in: Regenerate.
2019 * configure: Regenerate.
2020 * testsuite/config/default.exp (get_link_files): Delete.
2021 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
2022 define.
2023 (ld_simple_link): Delete.
2024 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
2025 (default_ld_simple_link): Rename to default_ld_link.
2026 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
2027 (run_ld_link_tests): Use ld_link, not ld_simple_link.
2028 (run_cc_link_tests): Likewise.
2029 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
2030 Don't run exe when not native, and return unsupported.
2031 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
2032 Link ld1 etc. using $CC.
2033 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
2034 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
2035 * testsuite/ld-cygwin/exe-export.exp: Likewise.
2036 * testsuite/ld-elf/binutils.exp: Likewise.
2037 * testsuite/ld-elf/eh-group.exp: Likewise.
2038 * testsuite/ld-elf/exclude.exp: Likewise.
2039 * testsuite/ld-elf/frame.exp: Likewise.
2040 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
2041 * testsuite/ld-elf/tls_common.exp: Likewise.
2042 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
2043 * testsuite/ld-fastcall/fastcall.exp: Likewise.
2044 * testsuite/ld-gc/gc.exp: Likewise.
2045 * testsuite/ld-ifunc/binutils.exp: Likewise.
2046 * testsuite/ld-mep/mep.exp: Likewise.
2047 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
2048 * testsuite/ld-mn10300/mn10300.exp: Likewise.
2049 * testsuite/ld-nios2/nios2.exp: Likewise.
2050 * testsuite/ld-pe/pe-compile.exp: Likewise.
2051 * testsuite/ld-pe/pe-run.exp: Likewise.
2052 * testsuite/ld-pe/pe-run2.exp: Likewise.
2053 * testsuite/ld-plugin/plugin.exp: Likewise.
2054 * testsuite/ld-scripts/align.exp: Likewise.
2055 * testsuite/ld-scripts/alignof.exp: Likewise.
2056 * testsuite/ld-scripts/assert.exp: Likewise.
2057 * testsuite/ld-scripts/defined.exp: Likewise.
2058 * testsuite/ld-scripts/extern.exp: Likewise.
2059 * testsuite/ld-scripts/log2.exp: Likewise.
2060 * testsuite/ld-scripts/map-address.exp: Likewise.
2061 * testsuite/ld-scripts/phdrs.exp: Likewise.
2062 * testsuite/ld-scripts/phdrs2.exp: Likewise.
2063 * testsuite/ld-scripts/script.exp: Likewise.
2064 * testsuite/ld-scripts/section-flags.exp: Likewise.
2065 * testsuite/ld-scripts/sizeof.exp: Likewise.
2066 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
2067 * testsuite/ld-scripts/weak.exp: Likewise.
2068 * testsuite/ld-selective/selective.exp: Likewise.
2069 * testsuite/ld-sh/sh.exp: Likewise.
2070 * testsuite/ld-sh/sh64/relax.exp: Likewise.
2071 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
2072 * testsuite/ld-srec/srec.exp: Likewise.
2073 * testsuite/ld-tic6x/tic6x.exp: Likewise.
2074 * testsuite/ld-undefined/weak-undef.exp: Likewise.
2075 * testsuite/ld-versados/versados.exp: Likewise.
2076 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
2077 * testsuite/ld-xtensa/coalesce.exp: Likewise.
2078 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
2079 * testsuite/ld-xtensa/lcall.exp: Likewise.
2080 * testsuite/ld-elf/audit.exp: Run non-native too.
2081 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
2082 gcc -Wl, options.
2083 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
2084 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
2085 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
2086 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
2087 -Wl,--no-as-needed to most tests.
2088 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
2089 to simplify quoting. Set run_tests using [list] rather than
2090 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
2091 to many test. Prefix ld options with -Wl,.
2092 (mix_pic_and_non_pic): Don't run exe if not native.
2093 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
2094 -Wl,--no-as-needed and prefix ld options with -Wl,.
2095 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
2096 not ld_simple_link.
2097 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
2098 (visibility_test): Don't run exe if not native.
2099 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
2100 not ld_simple_link.
2101 (build_exec): Don't run exe if not native.
2102 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
2103 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
2104 to some tests and prefix ld options with -Wl,. Expect GNU
2105 for hppa-linux even when no ifuncs. Delete cleanup.
2106 * testsuite/ld-pie/pie.exp: Run non-native too.
2107 * testsuite/ld-plugin/lto.exp: Likewise.
2108 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
2109 not ld_simple_link.
2110 (shared_test): Don't run exe if not native.
2111 * testsuite/ld-size/size.exp: Run non-native too. Add
2112 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
2113 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
2114 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
2115 to some tests and prefix ld options with -Wl,. Expect GNU
2116 for hppa-linux even when no unique syms. Delete cleanup.
2117 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
2118 tests and prefix ld options with -Wl,.
2119 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
2120 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
2121
64859e14
AM
21222017-01-02 Alan Modra <amodra@gmail.com>
2123
2124 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
2125
f5657270
AM
21262017-01-02 Alan Modra <amodra@gmail.com>
2127
2128 PR ld/21000
2129 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
2130 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
2131 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
2132 is already defined.
2133
2571583a
AM
21342017-01-02 Alan Modra <amodra@gmail.com>
2135
2136 Update year range in copyright notice of all files.
2137
5c1ad6b5 2138For older changes see ChangeLog-2016
3499769a 2139\f
5c1ad6b5 2140Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
2141
2142Copying and distribution of this file, with or without modification,
2143are permitted in any medium without royalty provided the copyright
2144notice and this notice are preserved.
2145
2146Local Variables:
2147mode: change-log
2148left-margin: 8
2149fill-column: 74
2150version-control: never
2151End:
This page took 0.197192 seconds and 4 git commands to generate.