]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
[AArch64, ld] Support ILP32 triplet aarch64*-linux-gnu_ilp32
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
9a6465c2
JW
12017-05-22 Jiong Wang <jiong.wang@arm.com>
2
3 * configure.tgt: Set "targ_emul" to "aarch64linux32b" for
4 aarch64_be-*-linux-gnu_ilp32. Set "targ_emul" to "aarch64linux32" for
5 aarch64-*-linux-gnu_ilp32.
6
92f7d783
L
72017-05-19 H.J. Lu <hongjiu.lu@intel.com>
8
9 * testsuite/ld-i386/i386.exp: Run property-x86-4a and
10 property-x86-4b.
11 * testsuite/ld-x86-64/x86-64.exp: Likewise.
12 * testsuite/ld-i386/property-x86-4a.d: New file.
13 * testsuite/ld-i386/property-x86-4a.s: Likewise.
14 * testsuite/ld-i386/property-x86-4b.d: Likewise.
15 * testsuite/ld-i386/property-x86-4b.s: Likewise.
16 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
17 * testsuite/ld-x86-64/property-x86-4a.s: Likewise.
18 * testsuite/ld-x86-64/property-x86-4b.d: Likewise.
19 * testsuite/ld-x86-64/property-x86-4b.s: Likewise.
20
f4203b2b
JL
212017-05-19 Georg-Johann Lay <avr@gjlay.de>
22
23 PR ld/21472
24 * emulparams/avrxmega3.sh (RODATA_PM_OFFSET): Set to 0x8000.
25 * scripttempl/avr.sc (__RODATA_PM_OFFSET__) [RODATA_PM_OFFSET]:
26 Use RODATA_PM_OFFSET as default if not already defined.
27 (.data) [!RODATA_PM_OFFSET]: Don't include .rodata and friends.
28 (.rodata) [RODATA_PM_OFFSET]: Put at an offset of
29 __RODATA_PM_OFFSET__.
30
3aa2d05a
NC
312017-05-18 Nick Clifton <nickc@redhat.com>
32
33 PR ld/21251
34 * ldfile.c (ldfile_add_library_path): If the path starts with
35 $SYSROOT then use the sysroot as the real prefix.
36 * ldlang.c (lang_add_input_file): Treat $SYSROOT in the same
37 way as =.
38 * ldlex.l: Add $SYSROOT as allow prefix for a filename.
39 * ld.texinfo (-L): Document that $SYSROOT acts like = when
40 prefixing a library search path.
41 (INPUT): Likewise.
42 * testsuite/ld-scripts/sysroot-prefix.exp: Add $SYSROOT prefix
43 tests.
44
535b785f
AM
452017-05-18 Alan Modra <amodra@gmail.com>
46
47 * emultempl/elf32.em: Don't compare boolean values against TRUE or FALSE.
48 * emultempl/pe.em: Likewise.
49 * emultempl/pep.em: Likewise.
9d43118e
AM
50 * emultempl/xtensaelf.em (xtensa_wild_group_interleave_callback):
51 Don't compare enum against TRUE.
535b785f 52
087ea222
AM
532017-05-18 Alan Modra <amodra@gmail.com>
54
55 PR ld/20882
56 * testsuite/ld-gc/pr20882.d: Don't pass -gdwarf-sections to gas.
57 Allow for 16-bit address targets and match expected data fully.
58 * testsuite/ld-gc/pr20882a.s: Delete .debug_line section.
59 * testsuite/ld-gc/pr20882b.s: Likewise.
60 * testsuite/ld-gc/pr20882c.s: Likewise.
61
b7c871ed
L
622017-05-17 H.J. Lu <hongjiu.lu@intel.com>
63
64 PR ld/20882
65 * testsuite/ld-gc/gc.exp: Run pr20882.
66 * testsuite/ld-gc/pr20882.d: New file.
67 * testsuite/ld-gc/pr20882a.s: Likewise.
68 * testsuite/ld-gc/pr20882b.s: Likewise.
69 * testsuite/ld-gc/pr20882c.s: Likewise.
70
0a7d3889
L
712017-05-16 H.J. Lu <hongjiu.lu@intel.com>
72
73 PR ld/21481
74 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests only
75 if IFUNC is supported by run-time.
76
bc4e12de
AM
772017-05-16 Alan Modra <amodra@gmail.com>
78
79 * plugin.c: Rename occurrences of non_ir_ref.
80
4070765b
AM
812017-05-16 Alan Modra <amodra@gmail.com>
82
83 * plugin.c (is_visible_from_outside): Use non_ir_ref_dynamic.
84 (plugin_notice): Set non_ir_ref for references from regular
85 objects, non_ir_ref_dynamic for references from dynamic objects.
86
b32465c9
MR
872017-05-15 Maciej W. Rozycki <macro@imgtec.com>
88
89 * testsuite/ld-mips-elf/mips16e2-pcrel-0.d: New test.
90 * testsuite/ld-mips-elf/mips16e2-pcrel-1.d: New test.
91 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-2.d: New test.
92 * testsuite/ld-mips-elf/mips16e2-pcrel-addend-6.d: New test.
93 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-0.d: New test.
94 * testsuite/ld-mips-elf/mips16e2-pcrel-n32-1.d: New test.
95 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-0.d: New test.
96 * testsuite/ld-mips-elf/mips16e2-pcrel-n64-sym32-1.d: New test.
97 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
98
786e3eba
NC
992017-05-15 Nick Clifton <nickc@redhat.com>
100
101 PR ld/21459
102 * scripttempl/pe.sc: Add .debug_gdb_scripts section.
103 * scripttempl/pep.sc: Likewise.
104
73caa85d
L
1052017-05-12 H.J. Lu <hongjiu.lu@intel.com>
106
107 * testsuite/ld-i386/i386.exp: Run property-x86-3.
108 * testsuite/ld-x86-64/x86-64.exp: Likewise.
109 * testsuite/ld-i386/property-x86-3.d: New file.
110 * testsuite/ld-i386/property-x86-3.s: Likewise.
111 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
112 * testsuite/ld-x86-64/property-x86-3.s: Likewise.
113
f2c29a16
L
1142017-05-11 H.J. Lu <hongjiu.lu@intel.com>
115
116 * emulparams/elf_x86_64.sh (TINY_READONLY_SECTION): Replace
117 .plt.bnd with .plt.sec.
118 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
119 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
120 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
121 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
122 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
123 * testsuite/ld-x86-64/mpx3.dd: Likewise.
124 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
125 * testsuite/ld-x86-64/mpx4.dd: Likewise.
126 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
127 * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise.
128 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
129 * testsuite/ld-x86-64/pr21038b.d: Likewise.
130 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
131 * testsuite/ld-x86-64/pr21038c.d: Likewise.
132
dc2be3d2
L
1332017-05-11 H.J. Lu <hongjiu.lu@intel.com>
134
135 * testsuite/ld-i386/plt-pic2.dd: Updated.
136 * testsuite/ld-i386/plt2.dd: Likewise.
137 * testsuite/ld-i386/plt2.rd: Likewise.
138 * testsuite/ld-i386/pr17689now.rd: Likewise.
139 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
140 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: Likewise.
141 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
142 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
143 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
144 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
145 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
146 * testsuite/ld-x86-64/plt2.dd: Likewise.
147 * testsuite/ld-x86-64/plt2.rd: Likewise.
148 * testsuite/ld-x86-64/pr17689now.rd: Likewise.
149 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
150 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
151
5d69120b
L
1522017-05-10 H.J. Lu <hongjiu.lu@intel.com>
153
154 * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Set
155 to yes.
156 * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
157 Likewise.
158 * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Likewise.
159
aab82f4c
L
1602017-05-10 H.J. Lu <hongjiu.lu@intel.com>
161
162 PR ld/21481
163 * testsuite/ld-x86-64/pr21481a.c: New file.
164 * testsuite/ld-x86-64/pr21481b.S: Likewise.
165 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/21481 tests.
166
53a346d8
CZ
1672017-05-10 Claudiu Zissulescu <claziss@synopsys.com>
168
169 * testsuite/ld-arc/attr-merge-0.d: New file.
170 * testsuite/ld-arc/attr-merge-0.s: Likewise.
171 * testsuite/ld-arc/attr-merge-0e.s: Likewise.
172 * testsuite/ld-arc/attr-merge-1.d: Likewise.
173 * testsuite/ld-arc/attr-merge-1.s: Likewise.
174 * testsuite/ld-arc/attr-merge-1e.s: Likewise.
175 * testsuite/ld-arc/attr-merge-2.d: Likewise.
176 * testsuite/ld-arc/attr-merge-2.s: Likewise.
177 * testsuite/ld-arc/attr-merge-3.d: Likewise.
178 * testsuite/ld-arc/attr-merge-3.s: Likewise.
179 * testsuite/ld-arc/attr-merge-3e.s: Likewise.
180 * testsuite/ld-arc/attr-merge-4.s: Likewise.
181 * testsuite/ld-arc/attr-merge-5.d: Likewise.
182 * testsuite/ld-arc/attr-merge-5a.s: Likewise.
183 * testsuite/ld-arc/attr-merge-5b.s: Likewise.
184 * testsuite/ld-arc/attr-merge-conflict-isa.d: Likewise.
185 * testsuite/ld-arc/attr-merge-err-isa.d: Likewise.
186 * testsuite/ld-arc/attr-merge-incompatible-cpu.d: Likewise.
187 * testsuite/ld-arc/got-01.d: Update test.
188 * testsuite/ld-arc/attr-merge-err-quarkse.d: New file.
189 * testsuite/ld-arc/attr-quarkse.s: Likewise.
190 * testsuite/ld-arc/attr-quarkse2.s: Likewise.
191
a6da4630
A
1922017-05-09 Awson <kyrab@mail.ru>
193
194 PR ld/21471
195 * pe-dll.c (pe_detail_list): Add entry for pe-bigobj-x86-64.
196
d2732b69
AM
1972017-05-09 Benjamin Peterson <bp@benjamin.pe>
198
199 * ld.texinfo (orphan sections): Grammar fix.
200
38b12349
L
2012017-05-08 H.J. Lu <hongjiu.lu@intel.com>
202
203 * testsuite/ld-ifunc/ifunc-16-x86-64-now.d: New file.
204 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
205 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
206 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
207 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
208 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
209 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
210 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
211 * testsuite/ld-x86-64/mpx3n.dd: Likewise.
212 * testsuite/ld-x86-64/mpx4n.dd: Likewise.
213 * testsuite/ld-x86-64/plt-main-bnd-now.rd: Likewise.
214 * testsuite/ld-x86-64/plt2.dd: Likewise.
215 * testsuite/ld-x86-64/plt2.rd: Likewise.
216 * testsuite/ld-x86-64/plt2.s: Likewise.
217 * testsuite/ld-x86-64/pr20830a-now.d: Likewise.
218 * testsuite/ld-x86-64/pr20830b-now.d: Likewise.
219 * testsuite/ld-x86-64/pr21038a-now.d: Likewise.
220 * testsuite/ld-x86-64/pr21038b-now.d: Likewise.
221 * testsuite/ld-x86-64/pr21038c-now.d: Likewise.
222 * testsuite/ld-x86-64/load1b-nacl.d: Updated.
223 * testsuite/ld-x86-64/load1b.d: Likewise.
224 * testsuite/ld-x86-64/plt-main-bnd.dd: Likewise.
225 * testsuite/ld-x86-64/pr20253-1h.d: Likewise.
226 * testsuite/ld-x86-64/pr20830a.d: Update the .plt.got section
227 with func@plt.
228 * testsuite/ld-x86-64/pr20830b.d: Likewise.
229 * testsuite/ld-x86-64/pr21038a.d: Likewise.
230 * testsuite/ld-x86-64/pr21038c.d: Likewise.
231 * testsuite/ld-x86-64/mpx.exp: Add some -z now tests.
232 * testsuite/ld-x86-64/x86-64.exp: Likewise.
233
f604c2a2
L
2342017-05-08 H.J. Lu <hongjiu.lu@intel.com>
235
236 * testsuite/ld-i386/i386.exp: Add some -z now tests.
237 * testsuite/ld-i386/plt-pic2.dd: New file.
238 * testsuite/ld-i386/plt2.dd: Likewise.
239 * testsuite/ld-i386/plt2.rd: Likewise.
240 * testsuite/ld-i386/plt2.s: Likewise.
241 * testsuite/ld-ifunc/ifunc-16-i386-now.d: Likewise.
242 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
243 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
244 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
245 * testsuite/ld-i386/pr20830.d: Update the .plt.got section
246 with func@plt.
247
046734ff
TP
2482017-05-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
249
250 * testsuite/ld-arm/arm-elf.exp
251 (Secure gateway import library generation): Check e_type field
252 of import library and executable produced.
253 * testsuite/ld-arm/cmse-implib.type: Expectations for e_type field.
254
b660e9eb
SKS
2552017-04-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
256
257 PR ld/21404
258 * testsuite/ld-avr/pr21404-1.d: New test.
259 * testsuite/ld-avr/pr21404-1.s: New test.
260 * testsuite/ld-avr/pr21404-2.d: New test.
261 * testsuite/ld-avr/pr21404-2.s: New test.
262 * testsuite/ld-avr/pr21404-3.d: New test.
263 * testsuite/ld-avr/pr21404-3.s: New test.
264 * testsuite/ld-avr/pr21404-4.d: New test.
265 * testsuite/ld-avr/pr21404-4.s: New test.
266 * testsuite/ld-avr/pr21404-5.d: New test.
267 * testsuite/ld-avr/pr21404-5.s: New test.
268 * testsuite/ld-avr/pr21404-6.d: New test.
269 * testsuite/ld-avr/pr21404-6.s: New test.
270 * testsuite/ld-avr/pr21404-7.d: New test.
271 * testsuite/ld-avr/pr21404-7.s: New test.
272 * testsuite/ld-avr/pr21404-8.d: New test.
273 * testsuite/ld-avr/pr21404-8.s: New test.
274
8507b6e7
MR
2752017-05-03 Maciej W. Rozycki <macro@imgtec.com>
276
277 * testsuite/ld-mips-elf/mips16-pcrel-0.d: New test.
278 * testsuite/ld-mips-elf/mips16-pcrel-1.d: New test.
279 * testsuite/ld-mips-elf/mips16-pcrel-addend-2.d: New test.
280 * testsuite/ld-mips-elf/mips16-pcrel-addend-6.d: New test.
281 * testsuite/ld-mips-elf/mips16-pcrel-n32-0.d: New test.
282 * testsuite/ld-mips-elf/mips16-pcrel-n32-1.d: New test.
283 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-0.d: New test.
284 * testsuite/ld-mips-elf/mips16-pcrel-n64-sym32-1.d: New test.
285 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
286
b2290821
L
2872017-05-03 H.J. Lu <hongjiu.lu@intel.com>
288
289 * testsuite/ld-elf/pr21384.d: Adjusted to accommodate
290 additional dynamic symbols on some targets.
291
82d808ed
MR
2922017-05-02 Maciej W. Rozycki <macro@imgtec.com>
293
294 * testsuite/ld-mips-elf/mips16-branch-absolute-1.d: New test.
295 * testsuite/ld-mips-elf/mips16-branch-absolute-2.d: New test.
296 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-1.d: New
297 test.
298 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-1.d: New
299 test.
300 * testsuite/ld-mips-elf/mips16-branch-absolute-n32-2.d: New
301 test.
302 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n32-1.d:
303 New test.
304 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-1.d: New
305 test.
306 * testsuite/ld-mips-elf/mips16-branch-absolute-n64-2.d: New
307 test.
308 * testsuite/ld-mips-elf/mips16-branch-absolute-addend-n64-1.d:
309 New test.
310 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
311
3d850592
L
3122017-05-02 H.J. Lu <hongjiu.lu@intel.com>
313
314 * testsuite/ld-i386/tls.exp: Add -Wl,--no-as-needed to
315 "TLS without PLT (1)" and "TLS without PLT (3)".
316 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to
317 to "TLS without PLT (3)".
318
640226f0
L
3192017-05-02 H.J. Lu <hongjiu.lu@intel.com>
320
321 PR ld/21384
322 * testsuite/ld-elf/pr21384.d: New file.
323 * testsuite/ld-elf/pr21384.dl: Likewise.
324 * testsuite/ld-elf/pr21384.ld: Likewise.
325 * testsuite/ld-elf/pr21384.s: Likewise.
326
0aae7e72
L
3272017-05-01 H.J. Lu <hongjiu.lu@intel.com>
328
329 * testsuite/ld-i386/tls.exp: Run GNU2 TLS tests only if there
330 is working GNU2 TLS support.
331 * testsuite/ld-x86-64/tls.exp: Likewise.
332 * testsuite/lib/ld-lib.exp (check_gnu2_tls_available): New proc.
333
1670f9c1
L
3342017-04-28 H.J. Lu <hongjiu.lu@intel.com>
335
336 * testsuite/config/default.exp (GNU2_CFLAGS): New. Set
337 to -mtls-dialect=gnu2 if target compiler supports it.
338 * testsuite/ld-i386/tls.exp: Run -mtls-dialect=gnu2 tests.
339 * testsuite/ld-x86-64/tls.exp: Likewise.
340 * testsuite/ld-i386/tlsdesc1a.c: New file.
341 * testsuite/ld-i386/tlsdesc1b.c: Likewise.
342 * testsuite/ld-x86-64/tlsdesc1a.c: Likewise.
343 * testsuite/ld-x86-64/tlsdesc1b.c: Likewise.
344
d6f48aed
L
3452017-04-28 H.J. Lu <hongjiu.lu@intel.com>
346
347 * testsuite/ld-elf/shared.exp: Add run-time tests for -z now.
348 * testsuite/ld-i386/tls.exp: Likewise.
349 * testsuite/ld-ifunc/ifunc.exp: Likewise.
350 * testsuite/ld-x86-64/tls.exp: Likewise.
351
de9a3c42
L
3522017-04-27 H.J. Lu <hongjiu.lu@intel.com>
353
354 * testsuite/ld-x86-64/pr21038a.d: Update DW_CFA_nop paddings
355 in .eh_frame section.
356 * testsuite/ld-x86-64/pr21038c.d: Update .eh_frame order.
357
97d343d4
L
3582017-04-26 H.J. Lu <hongjiu.lu@intel.com>
359
360 * testsuite/ld-i386/tlsdesc2.d: New test.
361 * testsuite/ld-x86-64/tlsdesc2.d: Likewise.
362
23ec1e32
MR
3632017-04-26 Maciej W. Rozycki <macro@imgtec.com>
364
365 PR ld/21334
366 * testsuite/ld-mips-elf/pr21334.dd: New test.
367 * testsuite/ld-mips-elf/pr21334.gd: New test.
368 * testsuite/ld-mips-elf/pr21334.ld: New test linker script.
369 * testsuite/ld-mips-elf/pr21334.s: New test source.
370 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
371
9e9821dd
L
3722017-04-24 H.J. Lu <hongjiu.lu@intel.com>
373
374 * testsuite/ld-x86-64/no-plt.exp: Also check no-plt-1e.nd.
375 * testsuite/ld-x86-64/no-plt-1e.nd: New file.
376
e662f84f
L
3772017-04-24 H.J. Lu <hongjiu.lu@intel.com>
378
379 * testsuite/ld-i386/pr12570a.d: Skip for nacl targets.
380 * testsuite/ld-i386/pr12570b.d: Likewise.
381
1587442d
L
3822017-04-24 H.J. Lu <hongjiu.lu@intel.com>
383
384 PR ld/20815
385 * testsuite/ld-i386/vxworks2.sd: Add space for program headers.
386
8b353c47
JM
3872017-04-24 Jose E. Marchesi <jose.marchesi@oracle.com>
388
389 * testsuite/ld-sparc/tlssunbin64.dd: Expect `return' instructions
390 instead of `rett' in V9.
391 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise.
392 * testsuite/ld-sparc/tlssunpic64.dd: Likewise.
393
e133d005
L
3942017-04-21 H.J. Lu <hongjiu.lu@intel.com>
395
396 PR ld/21402
397 * testsuite/ld-elf/indirect.exp: Don't skip PIE indirect5 and
398 indirect6 tests on i386.
399
3c5fce9b
L
4002017-04-21 H.J. Lu <hongjiu.lu@intel.com>
401
402 PR ld/19617
403 PR ld/21086
404 * testsuite/ld-elf/pr19617a.d: Pass --no-dynamic-linker to ld.
405 * testsuite/ld-elf/pr19617b.d: Likewise.
406 * testsuite/ld-elf/pr19617c.d: Likewise.
407 *testsuite/ld-i386/pr19636-4d.d: Likewise.
408 * testsuite/ld-elf/readelf.exp: Pass --no-dynamic-linker to ld
409 with --export-dynamic.
410 * testsuite/ld-elf/shared.exp: Pass --no-dynamic-linker to ld
411 with -E.
412
afe9edbf
L
4132017-04-20 H.J. Lu <hongjiu.lu@intel.com>
414
415 PR ld/21402
416 * testsuite/ld-elf/indirect.exp: Pass $NOPIE_LDFLAGS and
417 $NOPIE_CFLAGS to non-PIE indirect5 and indirect6 tests. Skip
418 PIE indirect5 and indirect6 tests on i386.
419
31321c80
MR
4202017-04-20 Maciej W. Rozycki <macro@imgtec.com>
421
422 * testsuite/ld-mips-elf/mips-elf.exp: Join `__ehdr_start' tests.
423
59fa66c5
L
4242017-04-20 H.J. Lu <hongjiu.lu@intel.com>
425
426 PR ld/21382
427 * plugin.c (is_visible_from_outside): Symbol may be visible
428 from outside if dynamic_ref_after_ir_def is set.
429 (plugin_notice): Set dynamic_ref_after_ir_def if the symbol is
430 defined in an IR object and referenced in a dynamic object.
431 * testsuite/ld-plugin/lto.exp: Run PR ld/21382 tests.
432 * testsuite/ld-plugin/pr21382a.c: New file.
433 * testsuite/ld-plugin/pr21382b.c: Likewise.
434
e492d2f8
L
4352017-04-19 H.J. Lu <hongjiu.lu@intel.com>
436
437 PR ld/21401
438 * testsuite/ld-ifunc/ifunc.exp: Add a libtest-2-now.so test with
439 -z now.
440
954b63d4
AM
4412017-04-19 Alan Modra <amodra@gmail.com>
442
443 * ld.texinfo (dynamic-undefined-weak): Document.
444 (nodynamic-undefined-weak): Document that this option now can
445 be used with shared libs.
446 * emulparams/dynamic_undefined_weak.sh: Support -z
447 dynamic-undefined-weak.
448 * emulparams/elf32ppccommon.sh: Include dynamic_undefined_weak.sh.
449 * testsuite/ld-undefined/weak-undef.exp (undef_weak_so),
450 (undef_weak_exe): New. Use them. Add -z dynamic-undefined-weak
451 and -z nodynamic-undefined-weak tests.
452 * Makefile.am: Update powerpc dependencies.
453 * Makefile.in: Regenerate.
454
e6699019
L
4552017-04-17 H.J. Lu <hongjiu.lu@intel.com>
456
457 PR ld/21389
458 * testsuite/ld-elf/pr21389.map: New file.
459 * testsuite/ld-elf/pr21389.s: Likewise.
460 * testsuite/ld-elf/pr21389a.d: Likewise.
461 * testsuite/ld-elf/pr21389b.d: Likewise.
462 * testsuite/ld-elf/pr21389c.d: Likewise.
463
c5d37467
AM
4642017-04-17 Alan Modra <amodra@gmail.com>
465
466 * testsuite/ld-elf/indirect5a.c,
467 * testsuite/ld-elf/indirect5b.c,
468 * testsuite/ld-elf/indirect5.map,
469 * testsuite/ld-elf/indirect5.out: New test.
470 * testsuite/ld-elf/indirect6a.c: Likewise.
471 * testsuite/ld-elf/indirect.exp (check_dynamic_syms): New proc.
472 Run new tests and check dynsyms.
473
fbea1508
AM
4742017-04-11 Alan Modra <amodra@gmail.com>
475
476 PR 21274
477 PR 18466
478 * emultempl/pe.em (pe_find_data_imports): Don't use fixed size
479 symbol buffer. Instead, xmalloc max size needed with space for
480 prefix. Wrap overlong lines. Formatting. Pass symbol buffer
481 copy of name to pe_walk_relocs_of_symbol.
482 (make_inport_fixup): Add "name" param, pass to pe_create_import_fixup.
483 * emultempl/pe.em (pep_find_data_imports): As for pe_find_data_imports.
484 (make_import_fixup): Add "name" param, pass to pep_create_import_fixup.
485 Use bfd_get_signed_* and remove unnecessary casts. Formatting.
486 * pe-dll.c (pe_walk_relocs_of_symbol): Add "name" param. Pass to
487 callback.
488 (make_import_fixup_mark): Add "name" param. Make use of prefix
489 space rather than xmalloc here.
490 (pe_create_import_fixup): Likewise.
491 * pe-dll.h (pe_walk_relocs_of_symbol): Update prototype.
492 (pe_create_import_fixup): Likewise.
493 * pep-dll.h (pep_walk_relocs_of_symbol): Likewise.
494 (pep_create_import_fixup): Likewise.
495
a70f34c0
NC
4962017-04-10 Nick Clifton <nickc@redhat.com>
497
498 * ld.texinfo (--strip-discarded): Document.
499 (--embedded-relocs): Document.
500 (--spare-dynamic-tags): Document.
501 (--task-link): Document.
502
6f9dbcd4
AM
5032017-04-10 Alan Modra <amodra@gmail.com>
504
505 PR 21287
506 * testsuite/ld-elf/init-fini-arrays.d: Match INIT_ARRAY and FINI_ARRAY.
507 * testsuite/ld-elf/init-fini-arrays.s: Use %init_array and %fini_array
508 section types.
509 * testsuite/lib/ld-lib.exp (default_ld_compile): Trim assembler
510 warnings about "ignoring incorrect section type".
511 (run_ld_link_exec_tests, run_cc_link_tests): Delete old comment.
512
37095d07
AM
5132017-04-10 Alan Modra <amodra@gmail.com>
514
515 * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete
516 sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling. Use
517 remote_file host exists rather than file exists.
518
a7eaf017
L
5192017-04-07 H.J. Lu <hongjiu.lu@intel.com>
520
521 PR ld/21090
522 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use
523 NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie
524 version of the test.
525
8170f769
L
5262017-04-07 H.J. Lu <hongjiu.lu@intel.com>
527
528 PR ld/19579
529 PR ld/21306
530 * testsuite/ld-elf/pr19579a.c (main): Updated.
531
ae3f8c28
NC
5322017-04-07 Nick Clifton <nickc@redhat.com>
533
534 PR 21090
535 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly
536 disable PIE for the non-pie version of the test.
537
5c1f54ce
AM
5382017-04-07 Alan Modra <amodra@gmail.com>
539
540 * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char.
541
1fd6d111
TG
5422017-04-07 gingold <gingold@gingold-Precision-7510>
543
544 * testsuite/ld-pe/pe.exp: New test.
545 * testsuite/ld-pe/weakdef-1.s: New test source.
546 * testsuite/ld-pe/weakdef-1.d: New test.
547
3944e22b
AM
5482017-04-07 Alan Modra <amodra@gmail.com>
549
550 * testsuite/ld-elf/mbind1a.d: Remove matches for PT_LOAD segments.
551 * testsuite/ld-elf/mbind1b.d: Likewise.
552 * testsuite/ld-elf/mbind1c.d: Likewise.
553
6ca30fa5
HPN
5542017-04-05 Hans-Peter Nilsson <hp@axis.com>
555
556 PR ld/21233
557 * testsuite/ld-elf/shared.exp: Change xfails to kfails and fix
558 indentation issue introduced with last commit.
559
4d5efb85
HPN
5602017-04-05 Hans-Peter Nilsson <hp@axis.com>
561
562 PR ld/21233
563 * testsuite/ld-elf/shared.exp: Xfail all PR21233 tests but the
564 first test for cris*-*-*.
565
80070c0d
MR
5662017-04-04 Maciej W. Rozycki <macro@imgtec.com>
567
568 PR ld/21233
569 * ldlang.c (insert_undefined): Set `mark' for ELF symbols.
570 * testsuite/ld-elf/pr21233.sd: New test.
571 * testsuite/ld-elf/pr21233-l.sd: New test.
572 * testsuite/ld-elf/pr21233.ld: New test linker script.
573 * testsuite/ld-elf/pr21233-e.ld: New test linker script.
574 * testsuite/ld-elf/pr21233.s: New test source.
575 * testsuite/ld-elf/pr21233-l.s: New test source.
576 * testsuite/ld-elf/shared.exp: Run the new tests.
577
a91e1603
L
5782017-04-04 H.J. Lu <hongjiu.lu@intel.com>
579
580 * NEWS: Mention support for ELF SHF_GNU_MBIND and
581 PT_GNU_MBIND_XXX.
582 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
583 input GNU_MBIND sections with the same type, attributes and
584 sh_info field into a single output GNU_MBIND section.
585 * testsuite/ld-elf/elf.exp: Run mbind2a and mbind2b.
586 * testsuite/ld-elf/mbind1.s: New file.
587 * testsuite/ld-elf/mbind1a.d: Likewise.
588 * testsuite/ld-elf/mbind1b.d: Likewise.
589 * testsuite/ld-elf/mbind1c.d: Likewise.
590 * testsuite/ld-elf/mbind2a.s: Likewise.
591 * testsuite/ld-elf/mbind2b.c: Likewise.
592
46bed679
L
5932017-04-03 H.J. Lu <hongjiu.lu@intel.com>
594
2514e33e 595 * NEWS: Mention support for ELF GNU program properties.
46bed679
L
596 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
597 ELF setup_gnu_properties.
598 * testsuite/ld-i386/i386.exp: Run property tests for Linux/i386.
599 * testsuite/ld-i386/pass.c: New file.
600 * testsuite/ld-i386/property-1.r: Likewise.
601 * testsuite/ld-i386/property-2.r: Likewise.
602 * testsuite/ld-i386/property-3.r: Likewise.
603 * testsuite/ld-i386/property-4.r: Likewise.
604 * testsuite/ld-i386/property-5.r: Likewise.
605 * testsuite/ld-i386/property-6.r: Likewise.
606 * testsuite/ld-i386/property-6a.c: Likewise.
607 * testsuite/ld-i386/property-6b.c: Likewise.
608 * testsuite/ld-i386/property-6c.S: Likewise.
609 * testsuite/ld-i386/property-7.r: Likewise.
610 * testsuite/ld-i386/property-no-copy.S: Likewise.
611 * testsuite/ld-i386/property-stack.S: Likewise.
612 * testsuite/ld-i386/property-unsorted-1.S: Likewise.
613 * testsuite/ld-i386/property-unsorted-2.S: Likewise.
614 * testsuite/ld-i386/property-x86-1.S: Likewise.
615 * testsuite/ld-i386/property-x86-2.S: Likewise.
616 * testsuite/ld-x86-64/pass.c: Likewise.
617 * testsuite/ld-x86-64/property-1.r: Likewise.
618 * testsuite/ld-x86-64/property-2.r: Likewise.
619 * testsuite/ld-x86-64/property-3.r: Likewise.
620 * testsuite/ld-x86-64/property-4.r: Likewise.
621 * testsuite/ld-x86-64/property-5.r: Likewise.
622 * testsuite/ld-x86-64/property-6.r: Likewise.
623 * testsuite/ld-x86-64/property-6a.c: Likewise.
624 * testsuite/ld-x86-64/property-6b.c: Likewise.
625 * testsuite/ld-x86-64/property-6c.S: Likewise.
626 * testsuite/ld-x86-64/property-7.r: Likewise.
627 * testsuite/ld-x86-64/property-no-copy.S: Likewise.
628 * testsuite/ld-x86-64/property-stack.S: Likewise.
629 * testsuite/ld-x86-64/property-unsorted-1.S: Likewise.
630 * testsuite/ld-x86-64/property-unsorted-2.S: Likewise.
631 * testsuite/ld-x86-64/property-x86-1.S: Likewise.
632 * testsuite/ld-x86-64/property-x86-2.S: Likewise.
633 * testsuite/ld-x86-64/x86-64.exp: Run property tests for
634 Linux/x86-64.
635
086554e8
HPN
6362017-03-28 Hans-Peter Nilsson <hp@axis.com>
637
638 PR ld/16044
639 * testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s,
640 testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test.
641
4c8798c9
SL
6422017-03-21 Sandra Loosemore <sandra@codesourcery.com>
643
644 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
645 false for nios2-*-elf.
646
21701718
TG
6472017-03-21 gingold <gingold@gingold-Precision-7510>
648
649 * ldlang.c (lang_check_section_addresses): Check only for
650 allocated sections.
651
1d3fa25f
AM
6522017-03-17 Alan Modra <amodra@gmail.com>
653
654 * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k.
655
9494d963
TG
6562017-03-15 Tristan Gingold <gingold@adacore.com>
657
658 * testsuite/ld-checks/checks.exp (overflow_check): Disable for
659 non-elf targets.
660
9216a6f3
L
6612017-03-14 H.J. Lu <hongjiu.lu@intel.com>
662
663 * ldlang.c (lang_check_section_addresses): Use addr_mask to
664 check VMA and LMA.
665
f955cccf
NC
6662017-03-13 Nick Clifton <nickc@redhat.com>
667
668 PR binutils/21202
669 * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.
670
d40e34db
TG
6712017-03-13 Tristan Gingold <gingold@adacore.com>
672
673 * ldlang.c (lang_check_section_addresses): Check for address space
674 overflow.
675 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
676 * testsuite/ld-checks/over.s: New test source.
677 * testsuite/ld-checks/over.d: New test.
678 * testsuite/ld-checks/over2.s: New test source.
679 * testsuite/ld-checks/over2.d: New test.
680
4b5900d8
AN
6812017-03-13 Alexey Neyman <stilor@att.net>
682
683 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
684 cpu, not host.
685
118aa6cf
AM
6862017-03-11 Alan Modra <amodra@gmail.com>
687
688 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
689 sysroot for -rpath search.
690
316a1245
AM
6912017-03-11 Alan Modra <amodra@gmail.com>
692
693 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
694 Only prefix absolute paths with sysroot. Handle DOS paths.
695 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
696 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
697 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
698 searches. Rename variable. Simplify get_runpath search.
699
bb4287c5
AM
7002017-03-11 Alan Modra <amodra@gmail.com>
701
702 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
703 than -rdynamic.
704
e299b355
AM
7052017-03-11 Alan Modra <amodra@gmail.com>
706
707 * ld.texinfo (Orphan Sections): Mention that not all targets
708 handle orphans well.
709 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
710 * testsuite/ld-elf/orphan-10.d: Likewise.
711
14ea2c1b
AB
7122017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
713
714 * ldlang.c (lang_size_sections_1): Shortcut loop only after
715 tracking changes to the default regions LMA.
716 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
717 * testsuite/ld-elf/orphan-10.d: New file.
718 * testsuite/ld-elf/orphan-10.s: New file.
719 * NEWS: Mention change in behaviour.
720
77f5e65e
AB
7212017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
722
723 * ldlang.c (lang_leave_output_section_statement): Move lma_region
724 logic to...
725 (lang_propagate_lma_regions): ...this new function.
726 (lang_process): Call new function.
727 * testsuite/ld-elf/orphan-9.d: New file.
728 * testsuite/ld-elf/orphan-9.ld: New file.
729 * testsuite/ld-elf/orphan-9.s: New file.
730 * NEWS: Mention change in behaviour.
731
d933941d
AM
7322017-03-07 Alan Modra <amodra@gmail.com>
733
734 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
735 is not an assert before referencing defsym.
736
2e0ce1c8
AM
7372017-03-05 Alan Modra <amodra@gmail.com>
738
739 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
740 * testsuite/ld-elf/eh6.d: Likewise.
741 * testsuite/ld-alpha/tlsbin.dd: Likewise.
742 * testsuite/ld-alpha/tlsbin.td: Likewise.
743 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
744 * testsuite/ld-alpha/tlspic.dd: Likewise.
745 * testsuite/ld-alpha/tlspic.rd: Likewise.
746 * testsuite/ld-alpha/tlspic.sd: Likewise.
747 * testsuite/ld-alpha/tlspic.td: Likewise.
748 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
749 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
750 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
751 * testsuite/ld-x86-64/pr20830a.d: Likewise.
752 * testsuite/ld-x86-64/pr21038a.d: Likewise.
753 * testsuite/ld-x86-64/pr21038b.d: Likewise.
754 * testsuite/ld-x86-64/pr21038c.d: Likewise.
755
611a3ca9
NC
7562017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
757
758 PR 12969
759 * pe-dll.c (generate_edata): Fail if the input file(s) require too
760 many ordinals.
761
199add01
AM
7622017-03-02 Alan Modra <amodra@gmail.com>
763
764 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
765 and dl3.cc.
766
4ef97a1b
AM
7672017-02-28 Alan Modra <amodra@gmail.com>
768
769 * testsuite/ld-elf/merge.d: xfail for nios.
770
7ba71655
AM
7712017-02-28 Alan Modra <amodra@gmail.com>
772
773 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
774 limits of addpcis range.
775
0e392101
MR
7762017-02-28 Maciej W. Rozycki <macro@imgtec.com>
777
778 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
779 instructions.
780 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
781 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
782
fbf25dfd
GJL
7832017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
784
785 PR target/20849
786 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
787 (.rodata): New section.
788 (.data): Remove .rodata*.
789
dd803a24
AM
7902017-02-25 Alan Modra <amodra@gmail.com>
791
792 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
793 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
794 defining HPUX where necessary. Define HPUX for implib tests.
795 * testsuite/ld-elf/comm-data4.d: Run for hpux.
796 * testsuite/ld-elf/endsym.d: Likewise.
797 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
798 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
799 * testsuite/ld-elf/comm-data5.s: Likewise.
800 * testsuite/ld-elf/endsym.s: Likewise.
801 * testsuite/ld-elf/pr14170c.s: Likewise.
802 * testsuite/ld-elf/symbol3.s: Likewise.
803 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
804 in first column.
805 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
806 * testsuite/ld-elf/warn3.d: Run for hpux.
807 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
808 * testsuite/ld-scripts/rgn-at11.d: Likewise.
809 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
810
c9f02c3e
MR
8112017-02-24 Maciej W. Rozycki <macro@imgtec.com>
812
c72cea5a
MR
813 * testsuite/ld-elf/ver_def.vd: New test.
814 * testsuite/ld-elf/ver_def-tic6x.vd: New test.
c9f02c3e
MR
815 * testsuite/ld-elf/ver_def.ld: New test linker script.
816 * testsuite/ld-elf/ver_def.ver: New test version script.
817 * testsuite/ld-elf/ver_def.s: New test source.
818 * testsuite/ld-elf/readelf.exp: New test script.
819
5d58c733
MR
8202017-02-23 Maciej W. Rozycki <macro@imgtec.com>
821
822 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
823 option.
824 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
825 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
826 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
827
c1556ecd
MR
8282017-02-23 Maciej W. Rozycki <macro@imgtec.com>
829
830 * testsuite/ld-mips-elf/jalr4.dd: New test.
831 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
832
5499c7c7
AM
8332017-02-23 Alan Modra <amodra@gmail.com>
834
835 PR 20744
836 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
837 each group.
838 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
839 and sdarel reloc fix.
840
902e9fc7
MR
8412017-02-22 Maciej W. Rozycki <macro@imgtec.com>
842
843 PR ld/20828
844 * testsuite/ld-elf/pr20828-d.sd: New test.
845 * testsuite/ld-elf/pr20828-e.sd: New test.
846 * testsuite/ld-elf/pr20828-v.od: New test.
847 * testsuite/ld-elf/pr20828-v.ver: New test version script.
848 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
849 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
850 `.gnu.version_d'.
851 * testsuite/ld-elf/shared.exp: Run the new tests.
852
46519784
NC
8532017-02-21 Nick Clifton <nickc@redhat.com>
854
855 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
856 about non-void function returning without a result.
857
c48cfedd
AM
8582017-02-17 Alan Modra <amodra@gmail.com>
859
860 PR 15041
861 * scripttempl/pe.sc: Don't combine sections for ld -r.
862 * scripttempl/pep.sc: Likewise.
863
74dc9032
AM
8642017-02-17 Alan Modra <amodra@gmail.com>
865
246b9122 866 PR 21099
74dc9032
AM
867 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
868 rather than using OTHER_SECTIONS.
869 * emulparams/elf32mt.sh: Likewise.
870 * emulparams/elf32rx.sh: Likewise.
871 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
872 define __rl78_abs__.
873 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
874 rather than using OTHER_SECTIONS.
875 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
876 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
877 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
878 * emulparams/shelf_uclinux.sh: Likewise.
879 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
880 to define _stack, not OTHER_SECTIONS.
881 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
882 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
883 * scripttempl/arclinux.sc: Likewise.
884 * scripttempl/elf64hppa.sc: Likewise.
885 * scripttempl/elfxtensa.sc: Likewise.
886 * scripttempl/nds32elf.sc: Likewise.
887 * scripttempl/armbpabi.sc: Move STACK before debug sections.
888 * scripttempl/elf_chaos.sc: Likewise.
889 * scripttempl/elfarc.sc: Delete STACK.
890 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
891 TINY_BSS_SECTION, and .stack before debug sections.
892
67cecaba
NC
8932017-02-17 Nick Clifton <nickc@redhat.com>
894
895 PR ld/20825
896 * ld.texinfo (Options): Add missing @item entry for --pop-state.
897
262a40a5
AM
8982017-02-17 Alan Modra <amodra@gmail.com>
899
900 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
901 multiple definition errors.
902
002a5d4e
AM
9032017-02-17 Alan Modra <amodra@gmail.com>
904
905 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
906 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
907
3239a423
AB
9082017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
909
910 * testsuite/ld-elf/shared.exp: Update expected results.
911 * testsuite/ld-elf/dwarf2.err: Likewise
912
90ed9b8b
AB
9132017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
914
915 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
916 * testsuite/ld-elf/dwarf2.err: New file.
917 * testsuite/ld-elf/dwarf2a.c: New file.
918 * testsuite/ld-elf/dwarf2b.c: New file.
919 * testsuite/ld-elf/dwarf3.c: New file.
920 * testsuite/ld-elf/dwarf3.err: New file.
921
2bd7f877
AB
9222017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
923
924 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
925 error, warning_output, and error_output actions. Remove separate
926 warnings parameter.
927 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
928 'warning' action.
929 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
930
37d7d56c
AM
9312017-02-16 Alan Modra <amodra@gmail.com>
932
933 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
934 from void pointers to function pointers.
935 * testsuite/ld-elf/pr18718.c: Update to suit.
936 * testsuite/ld-elf/pr18720a.c: Update to suit.
937
a8c75b76
AM
9382017-02-16 Alan Modra <amodra@gmail.com>
939
940 PR 21000
941 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
942 * testsuite/ld-elf/loadaddr2.d: Likewise.
943 * testsuite/ld-elf/loadaddr3a.d: Likewise.
944 * testsuite/ld-scripts/rgn-at5.d: Likewise.
945
a48cda7f
AM
9462017-02-16 Alan Modra <amodra@gmail.com>
947
948 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
949 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
950
2a568401
L
9512017-02-15 H.J. Lu <hongjiu.lu@intel.com>
952
953 PR ld/21168
954 * testsuite/ld-i386/i386.exp: Run pr21168.
955 * testsuite/ld-i386/pr21168a.c: New file.
956 * testsuite/ld-i386/pr21168b.S: Likewise.
957
a5def14f
L
9582017-02-15 H.J. Lu <hongjiu.lu@intel.com>
959
960 PR ld/20244
961 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
962 pr20244-4c.
963 * testsuite/ld-i386/pr20244-4.s: New file.
964 * testsuite/ld-i386/pr20244-4a.d: Likewise.
965 * testsuite/ld-i386/pr20244-4b.d: Likewise.
966 * testsuite/ld-i386/pr20244-4c.d: Likewise.
967
ebf0b03c
MR
9682017-02-15 Maciej W. Rozycki <macro@imgtec.com>
969
970 * ldmisc.c (vfinfo): Don't print the function name again either
971 if no source file name has been found both now and previously.
972 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
973 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
974 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
975 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
976 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
977 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
978 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
979 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
980 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
981 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
982 Likewise.
983 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
984 Likewise.
985 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
986 Likewise.
987 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
988 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
989 Likewise.
990 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
991 Likewise.
992 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
993 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
994 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
995 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
996 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
997 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
998 * testsuite/ld-powerpc/tocopt.out: Likewise.
999 * testsuite/ld-powerpc/tocopt7.out: Likewise.
1000
befe814d
MR
10012017-02-15 Maciej W. Rozycki <macro@imgtec.com>
1002
1003 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
1004
defe6f56
IK
10052017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
1006
1007 * testsuite/ld-scripts/sysroot-prefix.exp
1008 (get_base_dir_for_scripts): New function.
1009 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
1010
10ddfe62
PD
10112017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
1012
1013 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
1014 _gp to __global_pointer$
1015
d7488716
AB
10162017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
1017
1018 * configure.tgt (arc*-*-linux*): Change the default linker
1019 emulation based on --with-cpu selection.
1020 * NEWS: Mention new configuration option.
1021
65f90e82
JW
10222017-02-06 Jiong Wang <jiong.wang@arm.com>
1023
1024 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
1025 "readelf -w".
1026
fa93e3d3
MR
10272017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1028
1029 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
1030
2e9af2d0
MR
10312017-02-02 Maciej W. Rozycki <macro@imgtec.com>
1032
1033 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
1034 s/regexp/regex/.
1035
fd121c5c
JW
10362017-02-02 Jiong Wang <jiong.wang@arm.com>
1037
1038 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
1039 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
1040 dlopen support into "dlopen_run_tests". These tests include dl1*main
1041 and dl6*main.
1042 (dlopen_run_tests): New and only run it when check_libdl_available
1043 returns true. XFAIL on *-*-netbsdelf*.
1044
c0c237fc
MR
10452017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1046
1047 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
1048 presentation of relocation addends.
1049 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
1050 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
1051 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
1052
5139cfdb
MR
10532017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1054
1055 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
1056 in `.tdata' section.
1057 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
1058 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
1059
ce790370
JW
10602017-02-01 Jiong Wang <jiong.wang@arm.com>
1061
1062 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
1063 Append $board_cflags to link commands.
1064
067869b6
SKS
10652017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
1066
1067 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
1068 check for digit in second decimal place.
1069
15a00b13
MR
10702017-02-01 Maciej W. Rozycki <macro@imgtec.com>
1071
1072 PR ld/20828
1073 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
1074 indentation.
1075
1273da04
NC
10762017-01-31 Nick Clifton <nickc@redhat.com>
1077
1078 * ldmain.c (add_archive_element): Eliminate string buffer.
1079 * ldlang.c (lang_print_asneeded): Likewise.
1080
8b10b0b3
MR
10812017-01-30 Maciej W. Rozycki <macro@imgtec.com>
1082
1083 * emultempl/mipself.em (ignore_branch_isa): New variable.
1084 (mips_create_output_section_statements): Rename
1085 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
1086 add `ignore_branch_isa' argument.
1087 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
1088 OPTION_NO_IGNORE_BRANCH_ISA enum values.
1089 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
1090 "no-ignore-branch-isa" options.
1091 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
1092 `--no-ignore-branch-isa'.
1093 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
1094 OPTION_NO_IGNORE_BRANCH_ISA.
1095
1096 * ld.texinfo (Options specific to MIPS targets): Add
1097 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
1098 (ld and the MIPS family): Likewise.
1099
1100 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
1101 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
1102 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
1103 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
1104 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
1105 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
1106 test.
1107 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
1108 test.
1109 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
1110
bf382b30
HPN
11112017-01-29 Hans-Peter Nilsson <hp@axis.com>
1112
c1d45238 1113 PR binutils/19935
bf382b30
HPN
1114 Fix long-standing buglet and fallout from now-default initfini-array.
1115 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
ce6366f9 1116 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
bf382b30 1117
4471a46f
JW
11182017-01-27 Jiong Wang <jiong.wang@arm.com>
1119
1120 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
1121 arm*-*-eabi*.
1122
387dd777
DP
11232017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
1124 Nick Clifton <nickc@redhat.com>
1125
1126 PR 20343
1127 * ld.texinfo (Options): Extend documentation of the --plugin
1128 option. Include a description of where the plugins should be
1129 located.
1130
0348d4be
NC
11312017-01-27 Nick Clifton <nickc@redhat.com>
1132
1133 * po/sr.po: New Serbian translation.
1134 * configure.ac (ALL_LINGUAS): Add sr.
1135 * configure: Regenerate.
1136
c75b4ebd
SH
11372017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1138
1139 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
1140 (bfin-*-rtems*): Move to (bfin*-*-elf*).
1141 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
1142 (m68*-*-rtems*): Move to (m68*-*-elf*).
1143 (mips*-*-rtems*): Move to (mips*-*-elf*).
1144 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
1145 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
1146 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
1147 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
1148
850d84f6
SH
11492017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
1150
1151 * configure.tgt (h8300-*-rtemscoff*): Remove.
1152 (i960-*-rtems*): Likewise.
1153 (m68*-*-rtemscoff*): Likewise.
1154 (sh-*-rtemscoff*): Likewise.
1155
1a792e1c
MR
11562017-01-24 Maciej W. Rozycki <macro@imgtec.com>
1157
1158 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
1159 add implicit version nodes if an anonymous version tag is being
1160 used.
1161
077c11e8
JW
11622017-01-24 Jiong Wang <jiong.wang@arm.com>
1163
1164 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
1165 "Compile 8a", "Compile 8b"...
1166 (lto_compile_elf_tests): ...to here. Always run these tests.
1167 (lto_run_elf_tests): Move "LTO 7"...
1168 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
1169 environment where share library is supported.
1170
f0158f44
AM
11712017-01-24 Alan Modra <amodra@gmail.com>
1172
1173 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
1174 and symbols.
1175 * testsuite/ld-powerpc/tlsexe.d: Likewise.
1176 * testsuite/ld-powerpc/tlsexe.g: Likewise.
1177
2d0ca824
YN
11782017-01-23 Yury Norov <ynorov@caviumnetworks.com>
1179
1180 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
1181 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
1182 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
1183 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
1184 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
1185 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
1186 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
1187 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
1188 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
1189 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
1190 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
1191 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
1192 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
1193
8069955e
NC
11942017-01-23 Nick Clifton <nickc@redhat.com>
1195
1196 * po/ga.po: Updated Irish translation.
1197
1e5f45bb
MR
11982017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1199
1200 PR ld/20828
1201 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
1202
fda46c41
MR
12032017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1204
1205 PR ld/20828
1206 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
1207 `fdata' and `edata' respectively.
1208 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
1209 * testsuite/ld-elf/pr20828-a.sd: Likewise.
1210 * testsuite/ld-elf/pr20828-b.sd: Likewise.
1211 * testsuite/ld-elf/pr20828-c.sd: Likewise.
1212
adcbdc63
MR
12132017-01-23 Maciej W. Rozycki <macro@imgtec.com>
1214
1215 PR ld/20828
1216 * testsuite/ld-elf/pr20828-1.sd: Remove test.
1217 * testsuite/ld-elf/pr20828-a.sd: New test.
1218 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
1219 * testsuite/ld-elf/pr20828-b.sd: ... this.
1220 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
1221 * testsuite/ld-elf/pr20828-c.sd: ... this.
1222 * testsuite/ld-elf/shared.exp: Adjust accordingly.
1223
9966f7ee
JW
12242017-01-23 Jiong Wang <jiong.wang@arm.com>
1225
1226 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
1227 board_cflags as gcc is used as linker driver.
1228 * testsuite/ld-unique/unique.exp: Likewise
1229
7f784814
JW
12302017-01-20 Jiong Wang <jiong.wang@arm.com>
1231
1232 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
1233 * testsuite/ld-aarch64/func-in-so.s: New test source file.
1234 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
1235 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
1236
1737c640
AB
12372017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
1238
1239 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
1240
6984613a
MR
12412017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1242
1243 PR ld/20995
1244 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
1245 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
1246
81ff47b3
MR
12472017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1248
1249 PR ld/20828
1250 * testsuite/ld-elf/pr20828-1.sd: New test.
1251 * testsuite/ld-elf/pr20828-2a.sd: New test.
1252 * testsuite/ld-elf/pr20828-2b.sd: New test.
1253 * testsuite/ld-elf/pr20828.ld: New test linker script.
1254 * testsuite/ld-elf/pr20828.ver: New test version script.
1255 * testsuite/ld-elf/pr20828.s: New test source.
1256 * testsuite/ld-elf/shared.exp: Run the new test.
1257
9e009953
MR
12582017-01-18 Maciej W. Rozycki <macro@imgtec.com>
1259
1260 PR gas/20649
1261 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
1262 relocation pairing link test.
1263
319b82e4
DD
12642017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
1265
1266 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
1267 uniqeue.exp, as not all targets have such support.
1268
6aa1df2d
NC
12692017-01-16 Nick Clifton <nickc@redhat.com>
1270
1271 * po/sv.po: Updated Swedish translation.
1272
8361ed4d
L
12732017-01-12 H.J. Lu <hongjiu.lu@intel.com>
1274
1275 PR ld/21038
1276 * testsuite/ld-x86-64/pr21038b.d: Updated.
1277 * testsuite/ld-x86-64/pr21038c.d: New file.
1278 * testsuite/ld-x86-64/pr21038c.s: Likewise.
1279 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
1280
9e659176
L
12812017-01-11 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 PR ld/21038
1284 * testsuite/ld-x86-64/pr21038a.d: New file.
1285 * testsuite/ld-x86-64/pr21038a.s: Likewise.
1286 * testsuite/ld-x86-64/pr21038b.d: Likewise.
1287 * testsuite/ld-x86-64/pr21038b.s: Likewise.
1288 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
1289
f2e2d2f5
JS
12902017-01-11 Jeremy Soller <jackpot51@gmail.com>
1291
1292 * configure.tgt: Add entries for x86-redox and x86_64-redox.
1293
52b232b3
L
12942017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1295
1296 * testsuite/ld-x86-64/pr20830b.d: Updated.
1297
59a1e29d
L
12982017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1299
1300 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
1301 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
1302 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
1303 * testsuite/ld-x86-64/pr20830b.d: New file.
1304 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
1305 Run pr20830b.
1306
fff53dae
L
13072017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1308
1309 PR ld/20830
1310 * testsuite/ld-i386/i386.exp: Run pr20830.
1311 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1312 * testsuite/ld-i386/pr20830.d: New file.
1313 * testsuite/ld-i386/pr20830.s: Likewise.
1314 * testsuite/ld-x86-64/pr20830.d: Likewise.
1315 * testsuite/ld-x86-64/pr20830.s: Likewise.
1316
e9237227
L
13172017-01-10 H.J. Lu <hongjiu.lu@intel.com>
1318
1319 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
1320 -Wl,--as-needed to $CC.
1321 * testsuite/ld-i386/tls.exp: Likewise.
1322
07e8e623
NC
13232017-01-10 Nick Clifton <nickc@redhat.com>
1324
1325 * po/sv.po: Updated Swedish translation.
1326
07ccf83c
GM
13272016-12-09 Graham Markall <graham.markall@embecosm.com>
1328 Andrew Burgess <andrew.burgess@embecosm.com>
1329
1330 * Makefile.am: Add earclinux_nps.c target and add to
1331 ALL_EMULATION_SOURCES.
1332 * Makefile.in: Likewise, regenerated.
1333 * configure.tgt: Add arclinux_nps as an extra emulation for
1334 arc*-*-elf* and arc*-*-linux*.
1335 * emulparams/arc-nps.sh: New file.
1336 * emulparams/arclinux_nps.sh: New file.
1337 * testsuite/ld-arc/arclinux-nps.d,
1338 * testsuite/ld-arc/arclinux-nps.s: New test.
1339
b0556316
DP
13402017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
1341
1342 PR 20958
1343 * ldlex.l (option): Add noyywrap
1344 (yywrap): Delete.
1345 * ldlex.h (yywrap): Delete prototype.
1346
47523653
AM
13472017-01-04 Alan Modra <amodra@gmail.com>
1348
1349 * testsuite/ld-elf/audit.exp: Check for shared lib support.
1350 * testsuite/ld-elf/compress.exp: Likewise.
1351 * testsuite/ld-elf/dwarf.exp: Likewise.
1352 * testsuite/ld-elf/shared.exp: Likewise.
1353 * testsuite/ld-elf/wrap.exp: Likewise.
1354 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1355 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
1356
a44d0bd7
AM
13572017-01-03 Alan Modra <amodra@gmail.com>
1358
1359 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
1360 allow test to continue after compilation errors.
1361 (run_cc_link_tests): Likewise.
1362
27c3ce29
DD
13632017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
1364
1365 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
1366 (epruelf.c): Remove unneeded dependencies.
1367 * Makefile.in: Regenerate
1368
8cfc7cf8
AM
13692017-01-03 Alan Modra <amodra@gmail.com>
1370
1371 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
1372 to various tests.
1373 * testsuite/ld-elfweak/elfweak.exp: Likewise.
1374 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
1375
4ce6ca2c
AM
13762017-01-03 Alan Modra <amodra@gmail.com>
1377
1378 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
1379 * testsuite/ld-pie/pie.exp: Likewise.
1380 * testsuite/ld-plugin/lto.exp: Likewise.
1381
d9816402
AM
13822017-01-02 Alan Modra <amodra@gmail.com>
1383
1384 * Makefile.am (bootstrap): Delete rule.
1385 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
1386 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
1387 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
1388 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
1389 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
1390 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
1391 * Makefile.in: Regenerate.
1392 * configure: Regenerate.
1393 * testsuite/config/default.exp (get_link_files): Delete.
1394 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
1395 define.
1396 (ld_simple_link): Delete.
1397 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
1398 (default_ld_simple_link): Rename to default_ld_link.
1399 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
1400 (run_ld_link_tests): Use ld_link, not ld_simple_link.
1401 (run_cc_link_tests): Likewise.
1402 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
1403 Don't run exe when not native, and return unsupported.
1404 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
1405 Link ld1 etc. using $CC.
1406 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
1407 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
1408 * testsuite/ld-cygwin/exe-export.exp: Likewise.
1409 * testsuite/ld-elf/binutils.exp: Likewise.
1410 * testsuite/ld-elf/eh-group.exp: Likewise.
1411 * testsuite/ld-elf/exclude.exp: Likewise.
1412 * testsuite/ld-elf/frame.exp: Likewise.
1413 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
1414 * testsuite/ld-elf/tls_common.exp: Likewise.
1415 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
1416 * testsuite/ld-fastcall/fastcall.exp: Likewise.
1417 * testsuite/ld-gc/gc.exp: Likewise.
1418 * testsuite/ld-ifunc/binutils.exp: Likewise.
1419 * testsuite/ld-mep/mep.exp: Likewise.
1420 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
1421 * testsuite/ld-mn10300/mn10300.exp: Likewise.
1422 * testsuite/ld-nios2/nios2.exp: Likewise.
1423 * testsuite/ld-pe/pe-compile.exp: Likewise.
1424 * testsuite/ld-pe/pe-run.exp: Likewise.
1425 * testsuite/ld-pe/pe-run2.exp: Likewise.
1426 * testsuite/ld-plugin/plugin.exp: Likewise.
1427 * testsuite/ld-scripts/align.exp: Likewise.
1428 * testsuite/ld-scripts/alignof.exp: Likewise.
1429 * testsuite/ld-scripts/assert.exp: Likewise.
1430 * testsuite/ld-scripts/defined.exp: Likewise.
1431 * testsuite/ld-scripts/extern.exp: Likewise.
1432 * testsuite/ld-scripts/log2.exp: Likewise.
1433 * testsuite/ld-scripts/map-address.exp: Likewise.
1434 * testsuite/ld-scripts/phdrs.exp: Likewise.
1435 * testsuite/ld-scripts/phdrs2.exp: Likewise.
1436 * testsuite/ld-scripts/script.exp: Likewise.
1437 * testsuite/ld-scripts/section-flags.exp: Likewise.
1438 * testsuite/ld-scripts/sizeof.exp: Likewise.
1439 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
1440 * testsuite/ld-scripts/weak.exp: Likewise.
1441 * testsuite/ld-selective/selective.exp: Likewise.
1442 * testsuite/ld-sh/sh.exp: Likewise.
1443 * testsuite/ld-sh/sh64/relax.exp: Likewise.
1444 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
1445 * testsuite/ld-srec/srec.exp: Likewise.
1446 * testsuite/ld-tic6x/tic6x.exp: Likewise.
1447 * testsuite/ld-undefined/weak-undef.exp: Likewise.
1448 * testsuite/ld-versados/versados.exp: Likewise.
1449 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
1450 * testsuite/ld-xtensa/coalesce.exp: Likewise.
1451 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
1452 * testsuite/ld-xtensa/lcall.exp: Likewise.
1453 * testsuite/ld-elf/audit.exp: Run non-native too.
1454 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
1455 gcc -Wl, options.
1456 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
1457 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
1458 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
1459 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
1460 -Wl,--no-as-needed to most tests.
1461 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
1462 to simplify quoting. Set run_tests using [list] rather than
1463 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
1464 to many test. Prefix ld options with -Wl,.
1465 (mix_pic_and_non_pic): Don't run exe if not native.
1466 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
1467 -Wl,--no-as-needed and prefix ld options with -Wl,.
1468 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
1469 not ld_simple_link.
1470 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
1471 (visibility_test): Don't run exe if not native.
1472 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
1473 not ld_simple_link.
1474 (build_exec): Don't run exe if not native.
1475 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
1476 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
1477 to some tests and prefix ld options with -Wl,. Expect GNU
1478 for hppa-linux even when no ifuncs. Delete cleanup.
1479 * testsuite/ld-pie/pie.exp: Run non-native too.
1480 * testsuite/ld-plugin/lto.exp: Likewise.
1481 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
1482 not ld_simple_link.
1483 (shared_test): Don't run exe if not native.
1484 * testsuite/ld-size/size.exp: Run non-native too. Add
1485 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
1486 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
1487 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
1488 to some tests and prefix ld options with -Wl,. Expect GNU
1489 for hppa-linux even when no unique syms. Delete cleanup.
1490 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
1491 tests and prefix ld options with -Wl,.
1492 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
1493 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
1494
64859e14
AM
14952017-01-02 Alan Modra <amodra@gmail.com>
1496
1497 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
1498
f5657270
AM
14992017-01-02 Alan Modra <amodra@gmail.com>
1500
1501 PR ld/21000
1502 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
1503 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
1504 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
1505 is already defined.
1506
2571583a
AM
15072017-01-02 Alan Modra <amodra@gmail.com>
1508
1509 Update year range in copyright notice of all files.
1510
5c1ad6b5 1511For older changes see ChangeLog-2016
3499769a 1512\f
5c1ad6b5 1513Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
1514
1515Copying and distribution of this file, with or without modification,
1516are permitted in any medium without royalty provided the copyright
1517notice and this notice are preserved.
1518
1519Local Variables:
1520mode: change-log
1521left-margin: 8
1522fill-column: 74
1523version-control: never
1524End: