Fix PLT first entry GOT operand calculation.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
161db279
AK
12016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2
3 * testsuite/ld-s390/pltoffset-1.dd: New test.
4 * testsuite/ld-s390/pltoffset-1.ld: New test.
5 * testsuite/ld-s390/pltoffset-1.s: New test.
6 * testsuite/ld-s390/s390.exp: Run new test.
7
14b57c7c
AM
82016-06-07 Alan Modra <amodra@gmail.com>
9
10 * testsuite/ld-powerpc/apuinfo1.s: Delete nop.
11 * testsuite/ld-powerpc/apuinfo-vle2.s: New.
12 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s.
13
e2cbcd91
L
142016-06-06 H.J. Lu <hongjiu.lu@intel.com>
15
16 * testsuite/ld-x86-64/pass.out: New file.
17 * testsuite/ld-x86-64/tls-def1.c: Likewise.
18 * testsuite/ld-x86-64/tls-gd1.S: Likewise.
19 * testsuite/ld-x86-64/tls-ld1.S: Likewise.
20 * testsuite/ld-x86-64/tls-main1.c: Likewise.
21 * testsuite/ld-x86-64/tls.exp: Likewise.
22 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise.
23 * testsuite/ld-x86-64/tlsbin2.dd: Likewise.
24 * testsuite/ld-x86-64/tlsbin2.rd: Likewise.
25 * testsuite/ld-x86-64/tlsbin2.sd: Likewise.
26 * testsuite/ld-x86-64/tlsbin2.td: Likewise.
27 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise.
28 * testsuite/ld-x86-64/tlsgd10.dd: Likewise.
29 * testsuite/ld-x86-64/tlsgd10.s: Likewise.
30 * testsuite/ld-x86-64/tlsgd11.dd: Likewise.
31 * testsuite/ld-x86-64/tlsgd11.s: Likewise.
32 * testsuite/ld-x86-64/tlsgd12.d: Likewise.
33 * testsuite/ld-x86-64/tlsgd12.s: Likewise.
34 * testsuite/ld-x86-64/tlsgd13.d: Likewise.
35 * testsuite/ld-x86-64/tlsgd13.s: Likewise.
36 * testsuite/ld-x86-64/tlsgd14.dd: Likewise.
37 * testsuite/ld-x86-64/tlsgd14.s: Likewise.
38 * testsuite/ld-x86-64/tlsgd5c.s: Likewise.
39 * testsuite/ld-x86-64/tlsgd6c.s: Likewise.
40 * testsuite/ld-x86-64/tlsgd9.dd: Likewise.
41 * testsuite/ld-x86-64/tlsgd9.s: Likewise.
42 * testsuite/ld-x86-64/tlsld4.dd: Likewise.
43 * testsuite/ld-x86-64/tlsld4.s: Likewise.
44 * testsuite/ld-x86-64/tlsld5.dd: Likewise.
45 * testsuite/ld-x86-64/tlsld5.s: Likewise.
46 * testsuite/ld-x86-64/tlsld6.dd: Likewise.
47 * testsuite/ld-x86-64/tlsld6.s: Likewise.
48 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise.
49 * testsuite/ld-x86-64/tlspic2.dd: Likewise.
50 * testsuite/ld-x86-64/tlspic2.rd: Likewise.
51 * testsuite/ld-x86-64/tlspic2.sd: Likewise.
52 * testsuite/ld-x86-64/tlspic2.td: Likewise.
53 * testsuite/ld-x86-64/tlspic3.s: Likewise.
54 * testsuite/ld-x86-64/tlspie2.s: Likewise.
55 * testsuite/ld-x86-64/tlspie2a.d: Likewise.
56 * testsuite/ld-x86-64/tlspie2b.d: Likewise.
57 * testsuite/ld-x86-64/tlspie2c.d: Likewise.
58 * testsuite/ld-x86-64/tlsgd5.dd: Updated.
59 * testsuite/ld-x86-64/tlsgd6.dd: Likewise.
60 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2,
61 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10,
62 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and
63 tlspie2c.
64
2ac27cd3
CG
652016-06-04 Christian Groessler <chris@groessler.org>
66
67cb102b
CG
67 * testsuite/ld-z8k/0filler.s: New file.
68 * testsuite/ld-z8k/branch-target.s: New file.
69 * testsuite/ld-z8k/branch-target2.s: New file.
70 * testsuite/ld-z8k/calr-back-8001.d: New file.
71 * testsuite/ld-z8k/calr-back-8002.d: New file.
72 * testsuite/ld-z8k/calr-back-fail-8001.d: New file.
73 * testsuite/ld-z8k/calr-back-fail-8002.d: New file.
74 * testsuite/ld-z8k/calr-forw-8001.d: New file.
75 * testsuite/ld-z8k/calr-forw-8002.d: New file.
76 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file.
77 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file.
78 * testsuite/ld-z8k/calr-opcode.s: New file.
79 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file.
80 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file.
81 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file.
82 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file.
83 * testsuite/ld-z8k/dbjnz-opcode.s: New file.
84 * testsuite/ld-z8k/djnz-back-8001.d: New file.
85 * testsuite/ld-z8k/djnz-back-8002.d: New file.
86 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file.
87 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file.
88 * testsuite/ld-z8k/djnz-forw-8001.d: New file.
89 * testsuite/ld-z8k/djnz-forw-8002.d: New file.
90 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file.
91 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file.
92 * testsuite/ld-z8k/djnz-opcode.s: New file.
93 * testsuite/ld-z8k/filler.s: New file.
94 * testsuite/ld-z8k/jr-back-8001.d: New file.
95 * testsuite/ld-z8k/jr-back-8002.d: New file.
96 * testsuite/ld-z8k/jr-back-fail-8001.d: New file.
97 * testsuite/ld-z8k/jr-back-fail-8002.d: New file.
98 * testsuite/ld-z8k/jr-forw-8001.d: New file.
99 * testsuite/ld-z8k/jr-forw-8002.d: New file.
100 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file.
101 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file.
102 * testsuite/ld-z8k/jr-opcode.s: New file.
103 * testsuite/ld-z8k/ldr-back-8001.d: New file.
104 * testsuite/ld-z8k/ldr-back-8002.d: New file.
105 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file.
106 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file.
107 * testsuite/ld-z8k/ldr-forw-8001.d: New file.
108 * testsuite/ld-z8k/ldr-forw-8002.d: New file.
109 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file.
110 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file.
111 * testsuite/ld-z8k/ldr-opcode.s: New file.
112 * testsuite/ld-z8k/ldrb-forw-8001.d: New file.
113 * testsuite/ld-z8k/ldrb-forw-8002.d: New file.
114 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file.
115 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file.
116 * testsuite/ld-z8k/ldrb-opcode.s: New file.
117 * testsuite/ld-z8k/ldrb-opcode2.s: New file.
118 * testsuite/ld-z8k/other-file.s: New file.
119 * testsuite/ld-z8k/reloc.dd: New file.
120 * testsuite/ld-z8k/reloc.ld: New file.
121 * testsuite/ld-z8k/relocseg.dd: New file.
122 * testsuite/ld-z8k/relocseg.ld: New file.
123 * testsuite/ld-z8k/relocseg1.dd: New file.
124 * testsuite/ld-z8k/this-file.s: New file.
125 * testsuite/ld-z8k/z8k.exp: New file.
2ac27cd3 126
b1058ce9
L
1272016-06-03 H.J. Lu <hongjiu.lu@intel.com>
128
129 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o
130 with -mrelax-relocations=yes.
131 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes.
132 * testsuite/ld-i386/lea1b.d (as): Likewise.
133 * testsuite/ld-i386/lea1d.d (as): Likewise.
134 * testsuite/ld-i386/lea1e.d (as): Likewise.
135 * testsuite/ld-i386/lea1f.d (as): Likewise.
136 * testsuite/ld-i386/load7.d (as): Likewise.
137 * testsuite/ld-i386/mov1b.d (as): Likewise.
138 * testsuite/ld-i386/pr19175.d (as): Likewise.
139 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise.
140 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise.
141 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise.
142 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o,
143 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes.
144
4ad0bb5f
VG
1452016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com>
146
147 * configure.tgt: Replace -uclibc with *.
148
99aefae6
MR
1492016-05-28 Maciej W. Rozycki <macro@imgtec.com>
150
151 * testsuite/ld-mips-elf/unaligned-branch.d: New test.
152 * testsuite/ld-mips-elf/unaligned-branch.s: New test source.
153 * testsuite/ld-mips-elf/unaligned-text.s: New test source.
154 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
155
3b4412a0
MR
1562016-05-28 Maciej W. Rozycki <macro@imgtec.com>
157
158 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to...
159 * testsuite/ld-mips-elf/unaligned-data.s: ... this.
160 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly.
161 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
162 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise.
163 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
164
77434823
MR
1652016-05-28 Maciej W. Rozycki <macro@imgtec.com>
166
167 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test.
168 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test.
169 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test.
170 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test.
171 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source.
172 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source.
173 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
174
1a72702b
AM
1752016-05-28 Alan Modra <amodra@gmail.com>
176
177 * ldmain.c (multiple_definition, multiple_common, add_to_set,
178 constructor_callback, warning_callback, undefined_symbol,
179 reloc_overflow, reloc_dangerous, unattached_reloc): Return void.
180 * emultempl/elf32.em: Adjust callback calls.
181
bc27bb05
MR
1822016-05-27 Maciej W. Rozycki <macro@imgtec.com>
183
184 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test.
185 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test.
186 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New
187 test.
188 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New
189 test.
190 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New
191 test.
192 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New
193 test.
194 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test
195 source.
196 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test
197 source.
198 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
199
ceab86af
MR
2002016-05-27 Maciej W. Rozycki <macro@imgtec.com>
201
202 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test.
203 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the
204 new test.
205 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
206
ed53407e
MR
2072016-05-26 Maciej W. Rozycki <macro@imgtec.com>
208
209 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold
210 `unaligned-jalx-2' here.
211 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold
212 `unaligned-jalx-mips16-2' here.
213 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold
214 `unaligned-jalx-micromips-2' here.
215 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly.
216 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error
217 message.
218 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise.
219 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise.
220 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test.
221 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test.
222 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove
223 test.
224 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source.
225 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold
226 `unaligned-lwpc-3' here.
227 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly.
228 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold
229 `unaligned-lwpc-2' here.
230 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly.
231 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test.
232 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source.
233 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test.
234 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source.
235 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold
236 `unaligned-ldpc-4' here.
237 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly.
238 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error
239 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here.
240 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly.
241 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test.
242 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source.
243 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test.
244 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source.
245 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test.
246 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source.
247 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests.
248
0d832c8e
NC
2492016-05-26 Nick Clifton <nickc@redhat.com>
250
251 PR target/20134
252 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and
253 __bsssize.
254 * scripttempl/elf32msp430_3.sc (.bss): Likewise.
255
de341542 2562016-05-25 Maciej W. Rozycki <macro@imgtec.com>
0d832c8e 257
de341542
MR
258 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test.
259 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test.
260 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test.
261 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test.
262 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test.
263 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test.
264 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test.
265 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test.
266 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test.
267 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test.
268 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test.
269 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test.
270 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test.
271 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test.
272 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test.
273 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test.
274 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test.
275 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test.
276 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source.
277 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source.
278 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source.
279 * testsuite/ld-mips-elf/unaligned-insn.s: New test source.
280 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source.
281 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source.
282 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source.
283 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source.
284 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source.
285 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source.
286 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source.
287 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source.
288 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source.
289 * testsuite/ld-mips-elf/unaligned-syms.s: New test source.
290 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
291
b95a0a31
L
2922016-05-25 H.J. Lu <hongjiu.lu@intel.com>
293
294 PR ld/20103
295 * ldmain.c (add_archive_element): Don't claim new IR symbols
296 after all IR symbols have been claimed.
297 * plugin.c (plugin_call_claim_file): Remove no_more_claiming
298 check.
299 * testsuite/ld-plugin/lto.exp (pr20103): New proc.
300 Run PR ld/20103 tests.
301 * testsuite/ld-plugin/pr20103a.c: New file.
302 * testsuite/ld-plugin/pr20103b.c: Likewise.
303 * testsuite/ld-plugin/pr20103c.c: Likewise.
304
44d3da23
MR
3052016-05-24 Maciej W. Rozycki <macro@imgtec.com>
306
307 * testsuite/ld-mips-elf/jalx-local.d: New test.
308 * testsuite/ld-mips-elf/jalx-local-n32.d: New test.
309 * testsuite/ld-mips-elf/jalx-local-n64.d: New test.
310 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
311
a2bea324
KS
3122016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
313
314 * Makefile.am: Add earmelf_phoenix.c.
315 * Makefile.in: Regenerate.
316 * configure.tgt: Add entry for arm-phoenix.
317 * emulparams/armelf_phoenix.sh: New file.
318
daa4adae
TP
3192016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
320
321 * emultempl/armelf.em (arm_elf_before_allocation): Call
322 bfd_elf32_arm_keep_private_stub_output_sections before generic
323 before_allocation function.
324
17c6c9d9
MR
3252016-05-20 Maciej W. Rozycki <macro@imgtec.com>
326
327 * testsuite/ld-mips-elf/jalx-addend.d: New test.
328 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test.
329 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test.
330 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
331
7d4d9709
L
3322016-05-19 H.J. Lu <hongjiu.lu@intel.com>
333
334 PR ld/20117
335 * testsuite/ld-i386/i386.exp: Run pr20117.
336 * testsuite/ld-i386/pr19609-1i.d: Updated.
337 * testsuite/ld-i386/pr20117.d: New file.
338 * testsuite/ld-i386/pr20117.s: Likewise.
339
fc3eec7e
CZ
3402016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
341
342 * testsuite/ld-elf/compressed1d.d: Removed from notarget.
343 * testsuite/ld-elf/group8a.d: Likewise.
344 * testsuite/ld-elf/group8b.d: Likewise.
345 * testsuite/ld-elf/group9a.d: Likewise.
346 * testsuite/ld-elf/group9b.d: Likewise.
347 * testsuite/ld-elf/pr12851.d: Likewise.
348 * testsuite/ld-elf/pr12975.d: Likewise.
349 * testsuite/ld-elf/pr13177.d: Likewise.
350 * testsuite/ld-elf/pr13195.d: Likewise.
351 * testsuite/ld-elf/pr17615.d: Likewise.
352 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail.
353 * testsuite/ld-elf/group3b.d: Likewise.
354 * testsuite/ld-srec/srec.exp: Likewise.
355 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC
356 as supporting gc.
357 (check_shared_lib_support): Mark ARC as supporting.
358
c0913ebf
CZ
3592016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
360
361 * emulparams/arcelf.sh: Changed.
362 * emulparams/arclinux.sh: Likewise.
363 * scripttempl/arclinux.sc: Moved to a more standard implementation
364 similar to elf.sc.
365
c4107a7d
MR
3662016-05-19 Maciej W. Rozycki <macro@imgtec.com>
367
368 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder
369 `ft32-*-*' behind `frv-*-*'.
370
6b200de0
MR
3712016-05-19 Maciej W. Rozycki <macro@imgtec.com>
372
373 * configure.tgt: Remove `am34-*-linux*' support.
374
82bc9362
AM
3752016-05-19 Alan Modra <amodra@gmail.com>
376
377 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack.
378 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement.
379 * testsuite/ld-scripts/cross3.t: Likewise.
380 * testsuite/ld-scripts/cross4.t: Likewise.
381 * testsuite/ld-scripts/cross5.t: Likewise.
382 * testsuite/ld-scripts/cross6.t: Likewise.
383 * testsuite/ld-scripts/cross7.t: Likewise.
384
f1b2ca70
AM
3852016-05-19 Alan Modra <amodra@gmail.com>
386
387 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in
388 exe name rather than constructing testname. Fix typo in
389 sub-test name. Log copying. Use -rpath rather than -R.
390
d1f70bdc
NC
3912016-05-18 Nick Clifton <nickc@redhat.com>
392
393 * scripttempl/ft32.sc: Use fixed constants for memory region
394 lengths. Include DWARF debug sections.
395 (.data .bss): Do not assign locations during relocatable links.
396 * testsuite/ld-elf/compressed1d.d: Skip for FT32.
397 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
398 * testsuite/ld-elf/sec64k.exp: Likewise.
399 * testsuite/ld-elf/init-fini-array.d: XFail for FT32.
400 * testsuite/ld-elf/merge.d: Likewise.
401 * testsuite/ld-elf/orphan-region.d: Likewise.
402 * testsuite/ld-elf/orphan.s: Likewise.
403 * testsuite/ld-elf/orphan3.d: Likewise.
404 * testsuite/ld-elf/pr349.d: Likewise.
405 * testsuite/ld-elf/warn2.d: Likewise.
406 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note
407 that the FT32 does not support shared libraries.
408
68bce020
L
4092016-05-17 H.J. Lu <hongjiu.lu@intel.com>
410
411 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check
412 global CC.
413
23b5dc39 4142016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1bdc036f
SKS
415
416 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc
417 above .progmem*.
418 * scripttempl/avrtiny.sc (text): Likewise.
419
a43942db
MR
4202016-05-17 Maciej W. Rozycki <macro@imgtec.com>
421
422 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and
423 `supports_gnu_unique' to qualify testing.
424
69a1c856
MR
4252016-05-16 Maciej W. Rozycki <macro@imgtec.com>
426
427 * testsuite/ld-elf/flags1.d: Update the xfail list.
428
180c87d9
MR
4292016-05-15 Maciej W. Rozycki <macro@imgtec.com>
430
431 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail
432 removal.
433
bf6f87e7
L
4342016-05-14 H.J. Lu <hongjiu.lu@intel.com>
435
436 PR ld/20097
437 * testplug2.c (onall_symbols_read): Remove redundant sizeof
438 on EXPECTED_VIEW_LENGTH.
439 * testplug4.c (onall_symbols_read): Likewise.
440
2168b268
L
4412016-05-13 H.J. Lu <hongjiu.lu@intel.com>
442
443 PR ld/20093
444 * testsuite/ld-x86-64/pr20093-1.d: New file.
445 * testsuite/ld-x86-64/pr20093-1.s: Likewise.
446 * testsuite/ld-x86-64/pr20093-2.d: Likewise.
447 * testsuite/ld-x86-64/pr20093-2.s: Likewise.
448 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2.
449
4ade44b7
AM
4502016-05-13 Alan Modra <amodra@gmail.com>
451
452 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing.
453 Use different output file name for static app without .rel.plt.
454 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn.
455 * testsuite/ld-arm/arm-no-rel-plt.out: Delete.
456 * testsuite/ld-arm/arm-no-rel-plt.r: New.
457 * testsuite/ld-arm/arm-static-app.d: Don't check file name.
458 * testsuite/ld-arm/arm-static-app.r: Likewise.
459
3355cb3b
L
4602016-05-12 H.J. Lu <hongjiu.lu@intel.com>
461
462 PR ld/20070
463 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la.
464 (libldtestplug4_la_SOURCES): New.
465 (libldtestplug4_la_CFLAGS): Likewise.
466 (libldtestplug4_la_LDFLAGS): Likewise.
467 * Makefile.in: Regenerated.
468 * plugin.c (get_symbols): Return resolution based on IR symbol
469 kinds for symbols defined/referenced only within IR.
470 * testplug4.c: New file.
471 * ld/testsuite/ld-plugin/pr20070.d: Likewise.
472 * ld/testsuite/ld-plugin/pr20070a.c: Likewise.
473 * ld/testsuite/ld-plugin/pr20070b.c: Likewise.
474 * testsuite/ld-plugin/plugin.exp (plugin4_name): New.
475 (plugin4_path): Likewise.
476 Add a test for ld/20070.
477
a464198b
AM
4782016-05-11 Alan Modra <amodra@gmail.com>
479
480 * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
481 Call elf32_hppa_init_stub_bfd.
482
3bd43ebc
AM
4832016-05-11 Alan Modra <amodra@gmail.com>
484
485 PR 20060
486 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
487 * testsuite/ld-powerpc/tlsdll.s: New.
488 * testsuite/ld-powerpc/tlsdll.ver: New.
489 * testsuite/ld-powerpc/tlsdll_32.s: New.
490 * testsuite/ld-powerpc/tlsopt5.d: New.
491 * testsuite/ld-powerpc/tlsopt5.s: New.
492 * testsuite/ld-powerpc/tlsopt5_32.d: New.
493 * testsuite/ld-powerpc/tlsopt5_32.s: New.
494
39d911fc
TP
4952016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
496
497 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use
498 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol.
499
6bde4c52
TP
5002016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
501
502 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section
503 parameter and rename input_section parameter to after_input_section.
504 Append input stub section to the output section if after_input_section
505 is NULL.
506
15afaa63
TP
5072016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
508
509 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New
510 test.
511 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file.
512 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise.
513
d63a50b7
CL
5142016-05-10 Christophe Lyon <christophe.lyon@linaro.org>
515
516 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*".
517
9239bbd3
CM
5182016-05-09 Christophe Monat <christophe.monat@st.com>
519
520 PR ld/20030
521 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp
522 tests. Fix misnamed stm32l4xx-fix-all.
523 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple
524 loads with DP registers.
525 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file.
526 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment.
527 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple
528 loads with DP registers.
529 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference.
530
924bc11b
PS
5312016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
532
533 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead
534 program headers.
535 (xfail): Remove avr-*-*.
536 Update regex to check the section flags.
537 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*.
538
a64f5ba1
AM
5392016-05-09 Alan Modra <amodra@gmail.com>
540
541 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps.
542 * Makefile.in: Regenerate.
543
cc969da9
AM
5442016-05-09 Alan Modra <amodra@gmail.com>
545
546 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text.
547 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec.
548 * testsuite/ld-scripts/section-match-1.t: Likewise.
549
97196564
L
5502016-05-06 H.J. Lu <hongjiu.lu@intel.com>
551
552 PR ld/17550
553 * testsuite/ld-elf/pr17550-1.s: New file.
554 * testsuite/ld-elf/pr17550-2.s: Likewise.
555 * testsuite/ld-elf/pr17550-3.s: Likewise.
556 * testsuite/ld-elf/pr17550-4.s: Likewise.
557 * testsuite/ld-elf/pr17550a.d: Likewise.
558 * testsuite/ld-elf/pr17550b.d: Likewise.
559 * testsuite/ld-elf/pr17550c.d: Likewise.
560 * testsuite/ld-elf/pr17550d.d: Likewise.
561
887cf791
SKS
5622016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
563
564 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR.
565
2856a627
L
5662016-05-06 H.J. Lu <hongjiu.lu@intel.com>
567
568 * testsuite/ld-i386/i386.exp: Run load7.
569 * testsuite/ld-i386/load7.d: New file.
570 * testsuite/ld-i386/load7.map: Likewise.
571 * testsuite/ld-i386/load7.s: Likewise.
572 * testsuite/ld-x86-64/load2.d: Likewise.
573 * testsuite/ld-x86-64/load2.map: Likewise.
574 * testsuite/ld-x86-64/load2.s: Likewise.
575 * testsuite/ld-x86-64/x86-64.exp: Run load2.
576
004b1309
L
5772016-05-05 H.J. Lu <hongjiu.lu@intel.com>
578
579 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New.
580 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
581 Likewise.
582 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
583 Likewise.
584
d7adef8b
L
5852016-05-05 H.J. Lu <hongjiu.lu@intel.com>
586
587 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld.
588
d4758f96
L
5892016-05-04 H.J. Lu <hongjiu.lu@intel.com>
590
591 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL.
592
c3fbf828
MR
5932016-05-04 Maciej W. Rozycki <macro@imgtec.com>
594
595 * testsuite/ld-unique/unique.d: New test.
596 * testsuite/ld-unique/unique.exp: Run the new test. Adjust
597 messages for compiled tests.
598
4a85cc09
SKS
5992016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
600
601 * testsuite/ld-elf/pr18735.d: Allow other symbols.
602 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr.
603 * testsuite/ld-gc/pr14265.d: Allow other symbols.
604 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to
605 plugin_tests only if check_shared_lib_support is true.
606 * testsuite/ld-selective/selective.exp: Add --section-start
607 flag for avr.
608
6d6a648c
MR
6092016-05-03 Maciej W. Rozycki <macro@imgtec.com>
610
611 PR 10549
612 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'.
613
1f56df9d
JW
6142016-05-03 Jiong Wang <jiong.wang@arm.com>
615
616 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option.
617 * NEWS: Mention --no-apply-dynamic-relocs.
618 * ld.texinfo (ld and the ARM family): Document
619 --no-apply-dynamic-relocs.
620 * testsuite/ld-aarch64/rela-abs-relative.s: New test source.
621 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result.
622 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian.
623 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new
624 option.
625
a2076b34
SKS
6262016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
627
628 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support
629 before running STT_COMMON tests.
630
010f98a5
L
6312016-04-29 H.J. Lu <hongjiu.lu@intel.com>
632
633 * config/default.exp (NOPIE_CFLAGS): Download source only on
634 remote host.
635 (NOPIE_LDFLAGS): Likewise.
636 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise.
637 (check_lto_fat_available): Likewise.
638 (check_lto_shared_available): Likewise.
639 (check_ifunc_available): Likewise.
640 (check_ifunc_attribute_available): Likewise.
641
83a471c3
L
6422016-04-27 H.J. Lu <hongjiu.lu@intel.com>
643
644 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets.
645
52728a42
L
6462016-04-27 H.J. Lu <hongjiu.lu@intel.com>
647
91f8bf69
L
648 PR ld/20006
649 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New.
650 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on
651 ELF targets.
652
6532016-04-27 H.J. Lu <hongjiu.lu@intel.com>
654
655 * testsuite/ld-elf/compressed1b.d: Pass
656 --compress-debug-sections=none to ld.
657 * testsuite/ld-elf/compressed1c.d: Likewise.
52728a42 658
13b8c335
AM
6592016-04-27 Alan Modra <amodra@gmail.com>
660
661 PR target/19985
662 * configure.tgt: Don't use var+=.
663
731bb67a
NC
6642016-04-25 Nick Clifton <nickc@redhat.com>
665
666 PR target/19985
667 * configure.tgt: Include big endian PPC64 emulations with little
668 endian PPC64 targets.
669
0e03d18a
SKS
6702016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
671
672 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero.
673
4f3b23b3
NC
6742016-04-21 Nick Clifton <nickc@redhat.com>
675
676 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in
677 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF
678 targets. Do not stop the checks when problems are encountered.
679
96bf8cb0
AM
6802016-04-21 Alan Modra <amodra@gmail.com>
681
682 * testsuite/ld-scripts/cross3.t: Add commonly used data
683 and text section names to output section statements.
684 * testsuite/ld-scripts/cross4.t: Likewise.
685 * testsuite/ld-scripts/cross5.t: Likewise.
686 * testsuite/ld-scripts/cross6.t: Likewise.
687 * testsuite/ld-scripts/cross7.t: Likewise.
688
fbf05aa7
L
6892016-04-20 H.J. Lu <hongjiu.lu@intel.com>
690
691 * ldlang.c (lang_check_relocs): New function.
692 (lang_process): Call lang_check_relocs after lang_gc_sections.
693 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
694 call _bfd_elf_link_check_relocs here.
695
c7ce9410
L
6962016-04-20 H.J. Lu <hongjiu.lu@intel.com>
697
698 PR ld/19972
699 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for
700 R_386_NONE or R_X86_64_NONE.
701
03f2309a
L
7022016-04-20 H.J. Lu <hongjiu.lu@intel.com>
703
704 * testsuite/ld-x86-64/pic1.d: New file.
705 * testsuite/ld-x86-64/pic1.s: Likewise.
706 * testsuite/ld-x86-64/x86-64.exp: Run pic1.
707
126697d1
L
7082016-04-20 H.J. Lu <hongjiu.lu@intel.com>
709
710 * testsuite/ld-x86-64/pie2.d: New file.
711 * testsuite/ld-x86-64/pie2.s: Likewise.
712 * testsuite/ld-x86-64/x86-64.exp: Run pie2.
713
338c190a
L
7142016-04-20 H.J. Lu <hongjiu.lu@intel.com>
715
716 PR ld/19969
717 * testsuite/ld-x86-64/pr19969.d: New file.
718 * testsuite/ld-x86-64/pr19969a.S: Likewise.
719 * testsuite/ld-x86-64/pr19969b.S: Likewise.
720 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests.
721
d9689752
L
7222016-04-20 H.J. Lu <hongjiu.lu@intel.com>
723
724 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
725 New.
726 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
727 Likewise.
728 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
729 Likewise.
730 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
731 Likewise.
732 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
733 Likewise.
734 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
735 Likewise.
736 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
737 Likewise.
738 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT):
739 Likewise.
740 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse):
741 Set check_relocs_after_open_input to TRUE if
742 CHECK_RELOCS_AFTER_OPEN_INPUT is yes.
743 (gld${EMULATION_NAME}_after_open): Call
744 _bfd_elf_link_check_relocs on all inputs if
745 check_relocs_after_open_input is TRUE.
746
7cc9c114
L
7472016-04-20 H.J. Lu <hongjiu.lu@intel.com>
748
749 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on
750 my_personality_v0.
751
e6c7cdec
TS
7522016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
753
754 * emultempl/scoreelf.em: Likewise.
755
87d455c0
L
7562016-04-19 H.J. Lu <hongjiu.lu@intel.com>
757
758 PR ld/19719
759 * testsuite/ld-x86-64/pr19719.d: New file.
760 * testsuite/ld-x86-64/pr19719.s: Likewise.
761 * testsuite/ld-x86-64/x86-64.exp: Run pr19719.
762
cdf96953
MF
7632016-04-18 Matthew Fortune <matthew.fortune@imgtec.com>
764
765 * ld.texinfo: Document NOCROSSREFS_TO script command.
766 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
767 (lang_add_nocrossref_to): New prototype.
768 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
769 symbols defined in the first section.
770 (check_nocrossref): Likewise.
771 * ldgram.y (NOCROSSREFS_TO): New script command.
772 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
773 (lang_add_nocrossref_to): New function.
774 * ldlex.l (NOCROSSREFS_TO): New token.
775 * NEWS: Mention NOCROSSREFS_TO.
776 * testsuite/ld-scripts/cross4.t: New file.
777 * testsuite/ld-scripts/cross5.t: Likewise.
778 * testsuite/ld-scripts/cross6.t: Likewise.
779 * testsuite/ld-scripts/cross7.t: Likewise.
780 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
781 tests.
782
6fd8e7c2
L
7832016-04-15 H.J. Lu <hongjiu.lu@intel.com>
784
785 * Makefile.in: Regenerated with automake 1.11.6.
786 * aclocal.m4: Likewise.
787
4b0c052e
AB
7882016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
789
790 * testsuite/ld-arc/arc.exp: New file.
791 * testsuite/ld-arc/nps-1.s: New file.
792 * testsuite/ld-arc/nps-1a.d: New file.
793 * testsuite/ld-arc/nps-1b.d: New file.
794 * testsuite/ld-arc/nps-1b.err: New file.
795
8dc483a0
NC
7962016-04-14 Nick Clifton <nickc@redhat.com>
797
798 PR 19457
799 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add
800 exceptions for Mingw and Cygwin.
801
758c5495
AB
8022016-04-13 Andrew Burgess <andrew.burgess@embecosm.com>
803
804 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise
805 check_ld(terminal).
806
37ce0cc4
L
8072016-04-13 H.J. Lu <hongjiu.lu@intel.com>
808
809 PR ld/19774
810 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before
811 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed
812 tests.
813
2df3368d
L
8142016-04-11 H.J. Lu <hongjiu.lu@intel.com>
815
816 PR ld/19939
817 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests.
818 * testsuite/ld-x86-64/x86-64.exp: Likewise.
819 * testsuite/ld-i386/pr19939.s: New file.
820 * testsuite/ld-i386/pr19939a.d: Likewise.
821 * testsuite/ld-i386/pr19939b.d: Likewise.
822 * testsuite/ld-x86-64/pr19939.s: Likewise.
823 * testsuite/ld-x86-64/pr19939a.d: Likewise.
824 * testsuite/ld-x86-64/pr19939b.d: Likewise.
825
417a667c
OE
8262016-04-09 Oleg Endo <olegendo@gcc.gnu.org>
827
828 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00.
829
136a43b7
AM
8302016-04-08 Alan Modra <amodra@gmail.com>
831
832 PR 18452
833 * ldlang.c (maybe_overlays): Delete.
834 (lang_size_sections_1): Remove code setting maybe_overlays.
835 (lang_check_section_addresses): Instead detect overlays by
836 exact match of section VMAs here. Fix memory leak.
837
953dd97e
DG
8382016-04-08 Dan Gisselquist <dgisselq@ieee.org>
839
840 * ldlang.c (print_output_section_statement): Show minfo size
841 in target machine address units.
842 (print_reloc_statement): Likewise.
843 (print_padding_statement): Likewise.
844 (print_data_statement): Likewise. Ensure minimum print_dot
845 increment of one address unit.
846
1a295c62
AB
8472016-04-07 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * emulparams/arc-endianness.sh: Make little endian default choice.
850
df154dc1
NC
8512016-04-07 Nick Clifton <nickc@redhat.com>
852
853 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in
854 section name.
855 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise.
856
9a5f28ae
AB
8572016-04-05 Andrew Burgess <andrew.burgess@embecosm.com>
858
859 * emulparams/arc-endianness.sh: New file.
860 * emulparams/arcebelf.sh: Deleted.
861 * emulparams/arcebelf_prof.sh: Deleted.
862 * emulparams/arceblinux.sh: Deleted.
863 * emulparams/arceblinux_prof.sh: Deleted.
864 * emulparams/arcelf.sh: Include arc-endinness.sh.
865 * emulparams/arcelf_prof.sh: Include arc-endinness.sh.
866 * emulparams/arclinux.sh: Include arc-endinness.sh.
867 * emulparams/arclinux_prof.sh: Include arc-endinness.sh.
868 * emulparams/arcv2elf.sh: Include arc-endinness.sh.
869 * emulparams/arcv2elfx.sh: Include arc-endinness.sh.
870 * testsuite/ld-elf/compressed1d.d: Update pattern for big and
871 little endian arc targets.
872 * testsuite/ld-elf/eh-frame-hdr.d: Likewise.
873 * testsuite/ld-elf/group1.d: Likewise.
874 * testsuite/ld-elf/group3b.d: Likewise.
875 * testsuite/ld-elf/group8a.d: Likewise.
876 * testsuite/ld-elf/group8b.d: Likewise.
877 * testsuite/ld-elf/group9a.d: Likewise.
878 * testsuite/ld-elf/group9b.d: Likewise.
879 * testsuite/ld-elf/linkonce2.d: Likewise.
880 * testsuite/ld-elf/pr12851.d: Likewise.
881 * testsuite/ld-elf/pr12975.d: Likewise.
882 * testsuite/ld-elf/pr13177.d: Likewise.
883 * testsuite/ld-elf/pr13195.d: Likewise.
884 * testsuite/ld-elf/pr17615.d: Likewise.
885 * testsuite/ld-elf/pr19162.d: Likewise.
886 * testsuite/ld-elf/sec64k.exp: Likewise.
887 * testsuite/lib/ld-lib.exp: Likewise.
888
1f599d0e
MR
8892016-04-05 Maciej W. Rozycki <macro@imgtec.com>
890
891 PR ld/19908
892 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol
893 handling fix.
894 * testsuite/ld-cris/tls-e-20a.d: Likewise.
895 * testsuite/ld-cris/tls-e-21.d: Likewise.
896 * testsuite/ld-cris/tls-e-23.d: Likewise.
897 * testsuite/ld-cris/tls-e-80.d: Likewise.
898 * testsuite/ld-cris/tls-gd-3h.d: Likewise.
899 * testsuite/ld-cris/tls-leie-19.d: Likewise.
900 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test.
901 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test.
902 * testsuite/ld-mips-elf/export-internal-ref.sd: New test.
903 * testsuite/ld-mips-elf/export-protected-ref.sd: New test.
904 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source.
905 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source.
906 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source.
907 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
908
a9fa4610
CZ
9092016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
910
911 * testsuite/ld-discard/extern.d: Removed xfail for ARC.
912 * testsuite/ld-discard/start.d: Likewise.
913 * testsuite/ld-discard/static.d: Likewise.
914 * testsuite/ld-elf/group1.d: Likewise.
915 * testsuite/ld-elf/group3b.d: Likewise.
916 * testsuite/ld-elf/orphan-region.d: Likewise.
917 * testsuite/ld-elf/orphan.d: Likewise.
918 * testsuite/ld-elf/orphan3.d: Likewise.
919 * testsuite/ld-elf/pr349.d: Likewise.
920 * testsuite/ld-elf/warn1.d: Likewise.
921 * testsuite/ld-elf/warn2.d: Likewise.
922 * testsuite/ld-elf/warn3.d: Likewise.
923 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol
924 through linker flags.
925 * testsuite/ld-srec/srec.exp: Set as xfail.
926
5fdf3872
L
9272016-04-04 H.J. Lu <hongjiu.lu@intel.com>
928
929 PR ld/19827
930 * testsuite/ld-i386/pr19827-nacl.rd: New file.
931 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise.
932
a061de07
NC
9332016-04-04 Nick Clifton <nickc@redhat.com>
934
935 PR 19803
936 * emultempl/pe.em (change_undef): New function. Encapsulates
937 duplicated code in pe_fixup_stdcalls and adds the newly defined
938 sym to the gc root list.
939 (pe_fixup_stdcall): Use the new function.
940 * pe-dll.c (process_def_file_and_drectve); Add alias of exported
941 symbol to gc root list.
942
fc90c280
AM
9432016-03-31 Alan Modra <amodra@gmail.com>
944
945 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file.
946 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation.
947 (print_input_section): Don't use TO_ADDR when printing section
948 size.
949 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation.
950 (lang_size_sections): Use TO_ADDR in relro end calculation.
951
62bdf2d6
AB
9522016-03-30 Andrew Burgess <andrew.burgess@embecosm.com>
953
954 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return
955 value from regexp_diff.
956 * testsuite/ld-elf/orphan-5.l: Fix expected output.
957 * testsuite/ld-elf/orphan-6.l: Likewise.
958
a87dd97a
AM
9592016-03-30 Alan Modra <amodra@gmail.com>
960
961 PR 18452
962 * ldlang.c (maybe_overlays): New static var.
963 (lang_size_sections_1): Set it here.
964 (struct check_sec): New.
965 (sort_sections_by_lma): Adjust for array of structs.
966 (sort_sections_by_vma): New function.
967 (lang_check_section_addresses): Check both LMA and VMA for overlap.
968 * testsuite/ld-scripts/rgn-over7.d: Adjust.
969
ca62bc4a
AM
9702016-03-30 Alan Modra <amodra@gmail.com>
971
972 * ldlang.c (lang_size_sections_1): Correct code detecting a
973 backward non-overlapping move.
974
2e4a7aea
AM
9752016-03-30 Alan Modra <amodra@gmail.com>
976
977 * ldlang.c (IS_TBSS): New macro, extracted from..
978 (IGNORE_SECTION): ..here.
979 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION.
980 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS.
981
4153b6db
NC
9822016-03-22 Nick Clifton <nickc@redhat.com>
983
984 PR ld/19803
985 * ldlang.c (lang_add_gc_name): New function. Adds the provided
986 symbol name to the list of gc symbols.
987 (lang_process): Call lang_add_gc_name with entry_symbol_default if
988 entry_symbol.name is NULL. Use lang_add_gc_name to add the init
989 and fini function names.
990 * pe-dll.c (process_def_file_and_drectve): Add exported names to
991 the gc symbol list.
992 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
993 * testsuite/ld-pe/pr19803.d: Tweak expected output.
994
9780e045
NC
9952016-03-22 Nick Clifton <nickc@redhat.com>
996
997 * configure: Regenerate.
998
e1fa0163
NC
9992016-03-21 Nick Clifton <nickc@redhat.com>
1000
1001 * emultempl/msp430.em: Replace use of alloca with call to xmalloc.
1002 * plugin.c: Likewise.
1003 * pe-dll.c: Likewise.
1004
45821bef
A
10052016-03-18 Awson <kyrab@mail.ru>
1006
1007 PR 19531
1008 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP
1009 this section.
1010 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise.
1011
41f46ed9
SKS
10122016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1013
1014 * ld-avr/gc-section-debugline.d: Relax regex check for CU.
1015
4e0c91e4
L
10162016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1017
1018 PR ld/19827
1019 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests.
1020 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1021 * testsuite/ld-i386/pr19827.rd: New file.
1022 * testsuite/ld-i386/pr19827a.S: Likewise.
1023 * testsuite/ld-i386/pr19827b.S: Likewise.
1024 * testsuite/ld-x86-64/pr19827.rd: Likewise.
1025 * testsuite/ld-x86-64/pr19827a.S: Likewise.
1026 * testsuite/ld-x86-64/pr19827b.S: Likewise.
1027
4c10bbaa
L
10282016-03-15 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 PR ld/19807
1031 * Makefile.am (ELF_X86_DEPS): Add
1032 $(srcdir)/emulparams/reloc_overflow.sh.
1033 * Makefile.in: Regenerated.
1034 * NEWS: Mention -z noreloc-overflow.
1035 * ld.texinfo: Document -z noreloc-overflow.
1036 * emulparams/elf32_x86_64.sh: Source
1037 ${srcdir}/emulparams/reloc_overflow.sh.
1038 * emulparams/elf_x86_64.sh: Likewise.
1039 * emulparams/reloc_overflow.sh: New file.
1040 * testsuite/ld-x86-64/pr19807-1.s: New file.
1041 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
1042 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
1043 * testsuite/ld-x86-64/pr19807-2.s: Likewise.
1044 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
1045 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
1046 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
1047 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
1048 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
1049 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests.
1050
3ab94f96
L
10512016-03-13 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 PR ld/19539
1054 * testsuite/ld-i386/i386.exp: Run pr19539.
1055 * testsuite/ld-i386/pr19539.d: New file.
1056 * testsuite/ld-i386/pr19539.s: Likewise.
1057 * testsuite/ld-i386/pr19539.t: Likewise.
1058 * testsuite/ld-x86-64/pr19539.s: Likewise.
1059 * testsuite/ld-x86-64/pr19539.t: Likewise.
1060 * testsuite/ld-x86-64/pr19539a.d: Likewise.
1061 * testsuite/ld-x86-64/pr19539b.d: Likewise.
1062 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b.
1063
a9f02af8
MG
10642016-03-10 Mickael Guene <mickael.guene@st.com>
1065
1066 PR gas/19744
1067 * testsuite/ld-arm/arm-elf.exp: New tests.
1068 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New.
1069 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New.
1070
878a6877
NC
10712016-03-10 Nick Clifton <nickc@redhat.com>
1072
1073 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0).
1074
4b05e0a7
PA
10752016-03-09 Pedro Alves <palves@redhat.com>
1076
1077 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH.
1078 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH.
1079
9c1d7a08
L
10802016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1081
1082 PR ld/19789
1083 * testsuite/ld-elf/pr19789.d: New file.
1084 * testsuite/ld-elf/pr19789.s: Likewise.
1085
d1ed1c7d
L
10862016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1087
1088 PR ld/19784
1089 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test.
1090 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ...
1091 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget.
1092 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests.
1093 * testsuite/ld-ifunc/pass.out: New file.
1094 * testsuite/ld-ifunc/pr19784a.c: Likewise.
1095 * testsuite/ld-ifunc/pr19784b.c: Likewise.
1096 * testsuite/ld-ifunc/pr19784c.c: Likewise.
1097
205ac185
L
10982016-03-08 H.J. Lu <hongjiu.lu@intel.com>
1099
1100 PR ld/19774
1101 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before
1102 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before
1103 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test
1104 --as-needed for pr18841c.
1105
23a4bd22
L
11062016-03-07 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 PR ld/19774
1109 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before
1110 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o
1111 before tmpdir/got1d.so and test --as-needed.
1112 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before
1113 tmpdir/pr18900.so and test --as-needed.
1114
18f822a0
JW
11152016-03-07 Jiong Wang <jiong.wang@arm.com>
1116
1117 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file.
1118 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected
1119 result.
1120 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
1121
46175b4e
L
11222016-03-06 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o
1125 before tmpdir/copyreloc-lib.so and test --as-needed.
1126 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1127
07492f66
L
11282016-03-04 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 PR ld/19579
1131 * testsuite/ld-elf/pr19579a.c: New file.
1132 * testsuite/ld-elf/pr19579b.c: Likewise.
1133 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test.
1134
7bcc503f
L
11352016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1136
1137 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*.
1138
7494161b
L
11392016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails.
1142 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*".
1143
523f4c92
L
11442016-03-02 H.J. Lu <hongjiu.lu@intel.com>
1145
1146 PR ld/19739
1147 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
1148 input sections for relocatable link.
1149 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1150 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1151
11522016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1153
1154 PR ld/19739
e18b24a4 1155 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
523f4c92
L
1156 merge flags of other input sections for relocatable link.
1157
ef621b15
L
11582016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1159
1160 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
1161
2955a517
L
11622016-03-01 H.J. Lu <hongjiu.lu@intel.com>
1163
1164 * testsuite/ld-elf/pr19162.d: Skip arc target.
1165
7f50ebc1
L
11662016-02-29 H.J. Lu <hongjiu.lu@intel.com>
1167
1168 PR ld/19162
1169 * testsuite/ld-elf/pr19162.d: New file.
1170 * testsuite/ld-elf/pr19162a.s: Likwise.
1171 * testsuite/ld-elf/pr19162b.s: Likwise.
1172
841fdfcd
CZ
11732016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
1174
1175 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
1176 * testsuite/ld-elf/merge2.d: Likewise.
1177 * testsuite/ld-elf/merge3.d: Likewise.
1178
7e458899
CZ
11792016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1180
1181 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
1182 generated.
1183
c5e3a364
RL
11842016-02-26 Renlin Li <renlin.li@arm.com>
1185
1186 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
1187 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
1188 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
1189 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
1190 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
1191 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
1192 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
1193 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
1194 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
1195 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
1196
bae420ef
L
11972016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 PR ld/19609
1200 * testsuite/ld-i386/got1.dd: Updated.
1201 * testsuite/ld-i386/lea1c.d: Likewise.
1202 * testsuite/ld-i386/load1-nacl.d: Likewise.
1203 * testsuite/ld-i386/load1.d: Likewise.
1204 * testsuite/ld-i386/load4b.d: Likewise.
1205 * testsuite/ld-i386/load5b.d: Likewise.
1206 * testsuite/ld-i386/mov1b.d: Likewise.
1207 * testsuite/ld-x86-64/mov1b.d: Likewise.
1208 * testsuite/ld-x86-64/mov1d.d: Likewise.
1209 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
1210 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1211 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
1212 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1213 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
1214 * testsuite/ld-x86-64/lea1a.d: Likewise.
1215 * testsuite/ld-x86-64/lea1b.d: Likewise.
1216 * testsuite/ld-x86-64/lea1c.d: Likewise.
1217 * testsuite/ld-x86-64/lea1d.d: Likewise.
1218 * testsuite/ld-x86-64/lea1e.d: Likewise.
1219 * testsuite/ld-x86-64/lea1f.d: Likewise.
1220 * testsuite/ld-x86-64/mov1b.d: Likewise.
1221 * testsuite/ld-x86-64/mov1d.d: Likewise.
1222 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
1223 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1224 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
1225 * testsuite/ld-i386/pr19609-1.s: New file.
1226 * testsuite/ld-i386/pr19609-1a.d: Likewise.
1227 * testsuite/ld-i386/pr19609-1b.d: Likewise.
1228 * testsuite/ld-i386/pr19609-1c.d: Likewise.
1229 * testsuite/ld-i386/pr19609-1d.d: Likewise.
1230 * testsuite/ld-i386/pr19609-1e.d: Likewise.
1231 * testsuite/ld-i386/pr19609-1f.d: Likewise.
1232 * testsuite/ld-i386/pr19609-1g.d: Likewise.
1233 * testsuite/ld-i386/pr19609-1h.d: Likewise.
1234 * testsuite/ld-i386/pr19609-1i.d: Likewise.
1235 * testsuite/ld-i386/pr19609-2.s: Likewise.
1236 * testsuite/ld-i386/pr19609-2a.d: Likewise.
1237 * testsuite/ld-i386/pr19609-2b.d: Likewise.
1238 * testsuite/ld-i386/pr19609-2c.d: Likewise.
1239 * testsuite/ld-i386/undefweak.s: Likewise.
1240 * testsuite/ld-i386/undefweaka.d: Likewise.
1241 * testsuite/ld-i386/undefweakb.d: Likewise.
1242 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
1243 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
1244 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
1245 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
1246 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
1247 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
1248 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
1249 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
1250 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
1251 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
1252 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
1253 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
1254 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
1255 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
1256 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
1257 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
1258 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
1259 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
1260 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
1261 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
1262 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
1263 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
1264 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
1265 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
1266 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
1267 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
1268 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
1269 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
1270 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
1271 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
1272 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
1273 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
1274 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
1275 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
1276 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
1277 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
1278 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
1279 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
1280 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
1281 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
1282 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
1283 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
1284 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
1285 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
1286 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
1287 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
1288 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
1289 PR ld/19609.
1290 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
1291 and tests for PR ld/19609.
1292
11e5f1ec
L
12932016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR ld/19645
1296 * NEWS: Mention -z common/-z nocommon for ELF targets.
1297 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
1298 -z common and -z nocommon.
1299 * ld.texinfo: Document -z common/-z nocommon.
1300 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
1301 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
1302 --elf-stt-common=yes with assembler.
1303 * testsuite/ld-elfcomm/common-1.s: New file.
1304 * testsuite/ld-elfcomm/common-1a.d: Likewise.
1305 * testsuite/ld-elfcomm/common-1b.d: Likewise.
1306 * testsuite/ld-elfcomm/common-1c.d: Likewise.
1307 * testsuite/ld-elfcomm/common-1d.d: Likewise.
1308 * testsuite/ld-elfcomm/common-1e.d: Likewise.
1309 * testsuite/ld-elfcomm/common-1f.d: Likewise.
1310 * testsuite/ld-elfcomm/common-2.s: Likewise.
1311 * testsuite/ld-elfcomm/common-2a.d: Likewise.
1312 * testsuite/ld-elfcomm/common-2b.d: Likewise.
1313 * testsuite/ld-elfcomm/common-2c.d: Likewise.
1314 * testsuite/ld-elfcomm/common-2d.d: Likewise.
1315 * testsuite/ld-elfcomm/common-2e.d: Likewise.
1316 * testsuite/ld-elfcomm/common-2f.d: Likewise.
1317 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
1318 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
1319 * testsuite/ld-i386/pr19645.d: Likewise.
1320 * testsuite/ld-i386/pr19645.s: Likewise.
1321 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
1322 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
1323 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
1324 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
1325 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
1326 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
1327 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
1328 * testsuite/ld-x86-64/pr19645.d: Likewise.
1329 * testsuite/ld-x86-64/pr19645.s: Likewise.
1330 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
1331 with assembler.
1332 (assembler_generates_commons): Removed.
1333 Run -z common/-z nocommon tests. Run *.d tests.
1334 * testsuite/ld-i386/i386.exp: Run pr19645.
1335 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1336 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
1337 assembler. Test STT_COMMON with readelf.
1338
aec6b87e
L
13392016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1340
1341 PR ld/19636
1342 PR ld/19704
1343 PR ld/19719
1344 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
1345 * Makefile.in: Regenerated.
1346 * NEWS: Mention -z nodynamic-undefined-weak.
1347 * ld.texinfo: Document -z nodynamic-undefined-weak.
1348 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
1349 * emulparams/dynamic_undefined_weak.sh: New file.
1350 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
1351 * emulparams/elf_i386.sh: Likewise.
1352 * emulparams/elf_i386_be.sh: Likewise.
1353 * emulparams/elf_i386_chaos.sh: Likewise.
1354 * emulparams/elf_i386_ldso.sh: Likewise.
1355 * emulparams/elf_i386_vxworks.sh: Likewise.
1356 * emulparams/elf_iamcu.sh: Likewise.
1357 * emulparams/elf_k1om.sh: Likewise.
1358 * emulparams/elf_l1om.sh: Likewise.
1359 * emulparams/elf_x86_64.sh: Likewise.
1360 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
1361 Append.
1362 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
1363 * testsuite/ld-elf/pr19719a.c: New file.
1364 * testsuite/ld-elf/pr19719b.c: Likewise.
1365 * testsuite/ld-elf/pr19719c.c: Likewise.
1366 * testsuite/ld-elf/pr19719d.c: Likewise.
1367 * testsuite/ld-i386/pr19636-1.s: Likewise.
1368 * testsuite/ld-i386/pr19636-1a.d: Likewise.
1369 * testsuite/ld-i386/pr19636-1b.d: Likewise.
1370 * testsuite/ld-i386/pr19636-1c.d: Likewise.
1371 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
1372 * testsuite/ld-i386/pr19636-1d.d: Likewise.
1373 * testsuite/ld-i386/pr19636-1e.d: Likewise.
1374 * testsuite/ld-i386/pr19636-1f.d: Likewise.
1375 * testsuite/ld-i386/pr19636-1g.d: Likewise.
1376 * testsuite/ld-i386/pr19636-1h.d: Likewise.
1377 * testsuite/ld-i386/pr19636-1i.d: Likewise.
1378 * testsuite/ld-i386/pr19636-2.s: Likewise.
1379 * testsuite/ld-i386/pr19636-2a.d: Likewise.
1380 * testsuite/ld-i386/pr19636-2b.d: Likewise.
1381 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
1382 * testsuite/ld-i386/pr19636-2c.d: Likewise.
1383 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
1384 * testsuite/ld-i386/pr19636-2d.d: Likewise.
1385 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
1386 * testsuite/ld-i386/pr19636-2e.d: Likewise.
1387 * testsuite/ld-i386/pr19636-3.s: Likewise.
1388 * testsuite/ld-i386/pr19636-3a.d: Likewise.
1389 * testsuite/ld-i386/pr19636-3b.d: Likewise.
1390 * testsuite/ld-i386/pr19636-3c.d: Likewise.
1391 * testsuite/ld-i386/pr19636-3d.d: Likewise.
1392 * testsuite/ld-i386/pr19636-3e.d: Likewise.
1393 * testsuite/ld-i386/pr19636-3f.d: Likewise.
1394 * testsuite/ld-i386/pr19636-3g.d: Likewise.
1395 * testsuite/ld-i386/pr19636-4.s: Likewise.
1396 * testsuite/ld-i386/pr19636-4a.d: Likewise.
1397 * testsuite/ld-i386/pr19636-4b.d: Likewise.
1398 * testsuite/ld-i386/pr19636-4c.d: Likewise.
1399 * testsuite/ld-i386/pr19636-4d.d: Likewise.
1400 * testsuite/ld-i386/pr19704.out: Likewise.
1401 * testsuite/ld-i386/pr19704a.c: Likewise.
1402 * testsuite/ld-i386/pr19704b.c: Likewise.
1403 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
1404 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
1405 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
1406 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
1407 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
1408 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
1409 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
1410 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
1411 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
1412 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
1413 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
1414 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
1415 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
1416 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
1417 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
1418 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
1419 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
1420 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
1421 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
1422 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
1423 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
1424 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
1425 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
1426 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
1427 * testsuite/ld-x86-64/pr19704.out: Likewise.
1428 * testsuite/ld-x86-64/pr19704a.c: Likewise.
1429 * testsuite/ld-x86-64/pr19704b.c: Likewise.
1430 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
1431 Run mix_pic_and_non_pic.
1432 * testsuite/ld-i386/i386.exp (undefined_weak): New.
1433 Run undefined_weak and PR ld/19636 tests.
1434 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1435 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
1436 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
1437
920e4862
NC
14382016-02-25 Nick Clifton <nickc@redhat.com>
1439
1440 * ld.h (struct ld_config_type): Remove specified_data_size field.
1441
0f550b3d
L
14422016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1443
1444 PR ld/19698
1445 * testsuite/ld-elf/pr19698.d: New file.
1446 * testsuite/ld-elf/pr19698.s: Likewise.
1447 * testsuite/ld-elf/pr19698.t: Likewise.
1448
31866b2c
L
14492016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1450
1451 * Makefile.am (ELF_X86_DEPS): New.
1452 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
1453 (eelf_i386_chaos.c): Likewise.
1454 (eelf_i386_fbsd.c): Likewise.
1455 (eelf_i386_ldso.c): Likewise.
1456 (eelf_i386_nacl.c): Likewise.
1457 (eelf_i386_sol2.c): Likewise.
1458 (eelf_iamcu.c): Likewise.
1459 (eelf32_x86_64.c): Likewise.
1460 (eelf32_x86_64_nacl.c): Likewise.
1461 (eelf_l1om.c): Likewise.
1462 (eelf_l1om_fbsd.c): Likewise.
1463 (eelf_k1om.c): Likewise.
1464 (eelf_k1om_fbsd.c): Likewise.
1465 (eelf_x86_64.c): Likewise.
1466 (eelf_x86_64_cloudabi.c): Likewise.
1467 (eelf_x86_64_fbsd.c): Likewise.
1468 (eelf_x86_64_sol2.c): Likewise.
1469 * Makefile.in: Regenerated.
1470
6b3b0ab8
L
14712016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1472
1473 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
1474 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
1475 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
1476 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
1477
de818c22
L
14782016-02-20 H.J. Lu <hongjiu.lu@intel.com>
1479
1480 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
1481
c304e18e
L
14822016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
1485 *-*-gnu* and *-*-solaris*.
1486 * testsuite/ld-elf/pr19617b.d: Likewise.
1487 * testsuite/ld-elf/pr19617c.d: Likewise.
1488
bf89386a
L
14892016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 PR ld/19617
1492 * testsuite/ld-elf/pr19617.s: New file.
1493 * testsuite/ld-elf/pr19617a.d: Likewise.
1494 * testsuite/ld-elf/pr19617b.d: Likewise.
1495 * testsuite/ld-elf/pr19617c.d: Likewise.
1496
06ea285d
NC
14972016-02-18 Nick Clifton <nickc@redhat.com>
1498
1499 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
1500 in-tree xg++ executable after checking for the presence of an
1501 in-tree g++ executable.
1502 * Makefile.in: Regenerate.
1503
b27ab9ad
L
15042016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1505
1506 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1507 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1508 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1509
8f79b794
L
15102016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
1513 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
1514 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
1515 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
1516 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
1517 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
1518 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
1519 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
1520 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
1521 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1522 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1523 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
1524 * testsuite/ld-x86-64/load1c.d: Likewise.
1525 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
1526 * testsuite/ld-x86-64/load1d.d: Likewise.
1527 * testsuite/ld-x86-64/pr14207.d: Likewise.
1528 * testsuite/ld-x86-64/pr19162.d: Likewise.
1529 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1530 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1531 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1532 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1533 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1534 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1535
b3e3e0b7
NC
15362016-02-17 Nick Clifton <nickc@redhat.com>
1537
1538 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
1539
9fb71ee4
NC
15402016-02-15 Nick Clifton <nickc@redhat.com>
1541
1542 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
1543 description of the flags produced by readelf.
1544 * testsuite/ld-i386/pr12921.d: Likewise.
1545 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
1546 * testsuite/ld-i386/tlsbin.rd: Likewise.
1547 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
1548 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
1549 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
1550 * testsuite/ld-i386/tlsdesc.rd: Likewise.
1551 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
1552 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
1553 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
1554 * testsuite/ld-i386/tlsnopic.rd: Likewise.
1555 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
1556 * testsuite/ld-i386/tlspic.rd: Likewise.
1557 * testsuite/ld-s390/tlsbin.rd: Likewise.
1558 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1559 * testsuite/ld-s390/tlspic.rd: Likewise.
1560 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1561 * testsuite/ld-sh/tlsbin-2.d: Likewise.
1562 * testsuite/ld-sh/tlspic-2.d: Likewise.
1563 * testsuite/ld-tic6x/common.d: Likewise.
1564 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
1565 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
1566 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
1567 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
1568 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
1569 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
1570 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
1571 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
1572 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
1573 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
1574 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
1575 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
1576 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
1577 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
1578 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
1579 * testsuite/ld-x86-64/pr12718.d: Likewise.
1580 * testsuite/ld-x86-64/pr12921.d: Likewise.
1581 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
1582 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
1583 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
1584 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
1585 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
1586 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
1587 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
1588 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
1589 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
1590 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
1591 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
1592 * testsuite/ld-x86-64/tlspic.rd: Likewise.
1593 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
1594 * testsuite/ld-xtensa/tlspic.rd: Likewise.
1595
21a90cf1
L
15962016-02-11 H.J. Lu <hongjiu.lu@intel.com>
1597
1598 PR ld/19615
1599 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
1600 PIE.
1601 * lexsup.c (parse_args): Enable -Bsymbolic and
1602 -Bsymbolic-functions for PIE.
ee5db48b 1603 * testsuite/ld-i386/i386.exp: Run pr19615.
21a90cf1
L
1604 * testsuite/ld-i386/pr19615.d: New file.
1605 * testsuite/ld-i386/pr19615.s: Likewise.
1606 * testsuite/ld-x86-64/pr19615.d: Likewise.
1607 * testsuite/ld-x86-64/pr19615.s: Likewise.
1608
027e9c75
NC
16092016-02-09 Nick Clifton <nickc@redhat.com>
1610
1611 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
1612 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
1613 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
1614 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
1615
39306124
NC
16162016-02-04 Nick Clifton <nickc@redhat.com>
1617
1618 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
1619 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
1620 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
1621 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
1622 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
1623 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
1624 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
1625 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
1626 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
1627
0cb4071e
L
16282016-02-03 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 PR gas/19520
1631 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
1632 * testsuite/ld-i386/call1.d: Likewise.
1633 * testsuite/ld-i386/call2.d: Likewise.
1634 * testsuite/ld-i386/call3a.d: Likewise.
1635 * testsuite/ld-i386/call3b.d: Likewise.
1636 * testsuite/ld-i386/call3c.d: Likewise.
1637 * testsuite/ld-i386/call3d.d: Likewise.
1638 * testsuite/ld-i386/call3e.d: Likewise.
1639 * testsuite/ld-i386/call3f.d: Likewise.
1640 * testsuite/ld-i386/call3g.d: Likewise.
1641 * testsuite/ld-i386/call3h.d: Likewise.
1642 * testsuite/ld-i386/jmp1.d: Likewise.
1643 * testsuite/ld-i386/jmp2.d: Likewise.
1644 * testsuite/ld-i386/lea1c.d: Likewise.
1645 * testsuite/ld-i386/load1.d: Likewise.
1646 * testsuite/ld-i386/load2.d: Likewise.
1647 * testsuite/ld-i386/load3.d: Likewise.
1648 * testsuite/ld-i386/load4a.d: Likewise.
1649 * testsuite/ld-i386/load5a.d: Likewise.
1650 * testsuite/ld-i386/mov2b.d: Likewise.
1651 * testsuite/ld-i386/mov3.d: Likewise.
1652 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
1653 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
1654 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
1655 * testsuite/ld-x86-64/call1a.d: Likewise.
1656 * testsuite/ld-x86-64/call1b.d: Likewise.
1657 * testsuite/ld-x86-64/call1c.d: Likewise.
1658 * testsuite/ld-x86-64/call1d.d: Likewise.
1659 * testsuite/ld-x86-64/call1e.d: Likewise.
1660 * testsuite/ld-x86-64/call1f.d: Likewise.
1661 * testsuite/ld-x86-64/call1h.d: Likewise.
1662 * testsuite/ld-x86-64/call1i.d: Likewise.
1663 * testsuite/ld-x86-64/load1a.d: Likewise.
1664 * testsuite/ld-x86-64/load1b.d: Likewise.
1665 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
1666 * testsuite/ld-i386/got1.dd: Updated.
1667 * testsuite/ld-i386/got1d.S (1): Removed.
1668 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
1669 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1670
6ba2af25
L
16712016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1672
1673 PR ld/18591
1674 * testsuite/ld-x86-64/pr18591.d: New file.
1675 * testsuite/ld-x86-64/pr18591.s: Likewise.
1676 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
1677
aef28989
L
16782016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1679
1680 PR ld/19553
1681 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
1682 * testsuite/ld-elf/pr19553.map: New file.
1683 * testsuite/ld-elf/pr19553.map: Likewise.
1684 * testsuite/ld-elf/pr19553a.c: Likewise.
1685 * testsuite/ld-elf/pr19553b.c: Likewise.
1686 * testsuite/ld-elf/pr19553b.out: Likewise.
1687 * testsuite/ld-elf/pr19553c.c: Likewise.
1688 * testsuite/ld-elf/pr19553c.out: Likewise.
1689 * testsuite/ld-elf/pr19553d.c: Likewise.
1690 * testsuite/ld-elf/pr19553d.out: Likewise.
1691
d9e3b590
L
16922016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1693
1694 PR ld/19539
1695 * testsuite/ld-elf/pr19539.d: New file.
1696 * testsuite/ld-elf/pr19539.s: Likewise.
1697 * testsuite/ld-elf/pr19539.t: Likewise.
1698
621ff761
L
16992016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1700
1701 PR ld/19533
1702 * configure.ac (compressed_debug_sections): Replace == with =.
1703 * configure: Regenerated.
1704
7585b2b8
DC
17052016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
1706
1707 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
1708 * scripttempl/avrtiny.sc (.noinit): Likewise.
1709
aebf9be7
NC
17102016-01-21 Nick Clifton <nickc@redhat.com>
1711
dfc43940
NC
1712 PR ld/19453
1713 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
1714 the arm-netbsdelf target.
1715
aebf9be7
NC
1716 PR ld/19455
1717 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
1718 disassmebler output.
1719 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
1720 * testsuite/ld-arm/vxworks1.dd: Likewise.
1721 * testsuite/ld-arm/vxworks1.rd: Likewise.
1722 * testsuite/ld-arm/vxworks1.ld: Set the output format.
1723
2f340668
JW
17242016-01-20 Jiong Wang <jiong.wang@arm.com>
1725
1726 * testsuite/ld-aarch64/farcall-section.d: Delete.
1727 * testsuite/ld-aarch64/farcall-section.s: Delete.
1728 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
1729 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
1730 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
1731 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
1732 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
1733
fdbd3e95
NC
17342016-01-20 Nick Clifton <nickc@redhat.com>
1735
1736 PR 19457
1737 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
1738 early for PE based targets.
1739 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
1740 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
1741
91f68a68
MG
17422016-01-20 Mickael Guene <mickael.guene@st.com>
1743
1744 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
1745 Add 'y' attribute usage.
1746 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
1747 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
1748 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
1749
a4af960a
NC
17502016-01-19 Nick Clifton <nickc@redhat.com>
1751
1752 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
1753 foo@FOO and bar@@FOO.
1754
3d961d0d
AM
17552016-01-18 Alan Modra <amodra@gmail.com>
1756
1757 * configure: Regenerate.
1758
760f6ee8
NC
17592016-01-18 Nick Clifton <nickc@redhat.com>
1760
1761 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
1762 is not configured to support plugins.
1763
24f03d4e
NC
1764 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
1765 but with 16 byte section alignment.
1766 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
1767 test for MIPS targets.
1768
5c14705f
AM
17692016-01-17 Alan Modra <amodra@gmail.com>
1770
1771 * configure: Regenerate.
1772
b3066ae8
AM
17732016-01-17 Alan Modra <amodra@gmail.com>
1774
1775 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
1776 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
1777 * testsuite/ld-elf/pr14156a.d: Likewise.
1778 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
1779 * testsuite/ld-elf/sec64k.exp: Likewise.
1780
4c4ac964
TP
17812016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1782
1783 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
1784 Set address of .foo section when linking.
1785 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
1786 in .foo section.
1787 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
1788 output to the above changes.
1789
1bce3adf
NC
17902016-01-13 Nick Clifton <nickc@redhat.com>
1791
84054199
NC
1792 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
1793 for MIPS targets.
1794
13ce3603
NC
1795 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
1796 fail for MIPS targets.
1797
1bce3adf
NC
1798 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
1799 MIPS targets.
1800
ac06903d
YU
18012016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1802
1803 * testsuite/ld-arm/arm-elf.exp: New test.
1804 * testsuite/ld-arm/unwind-mix.d: New file.
1805 * testsuite/ld-arm/unwind-mix1.s: New file.
1806 * testsuite/ld-arm/unwind-mix2.s: New file.
1807
109575d7
JW
18082016-01-08 Jiong Wang <jiong.wang@arm.com>
1809
1810 PR ld/19368
1811 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
1812 * testsuite/ld-arm/ifunc-4.rd: Likewise.
1813 * testsuite/ld-arm/ifunc-9.rd: Likewise.
1814 * testsuite/ld-arm/ifunc-10.rd: Likewise.
1815 * testsuite/ld-arm/ifunc-12.rd: Likewise.
1816 * testsuite/ld-arm/ifunc-13.rd: Likewise.
1817
296ebfbb
NC
18182016-01-05 Nick Clifton <nickc@redhat.com>
1819
1820 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
1821 MSP430 hardware multiply address range.
1822 * scripttempl/elf32msp430.sc (__romdatastart): Define.
1823 (__romdatacopysize): Define.
1824 * scripttempl/elf32msp430_3.sc: Likewise.
1825
2f2da8fd
MR
18262016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1827
1828 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
1829 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
1830
d537eeb5
MR
18312016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1832
1833 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
1834 messages expected according to MIPS BFD private data merge
1835 changes.
1836 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
1837 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
1838 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
1839 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
1840 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
1841 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
1842 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
1843 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
1844 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
1845 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
1846 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
1847 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
1848 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
1849
6f2750fe
AM
18502016-01-01 Alan Modra <amodra@gmail.com>
1851
1852 Update year range in copyright notice of all files.
1853
3499769a
AM
1854For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
1855\f
1856Copyright (C) 2016 Free Software Foundation, Inc.
1857
1858Copying and distribution of this file, with or without modification,
1859are permitted in any medium without royalty provided the copyright
1860notice and this notice are preserved.
1861
1862Local Variables:
1863mode: change-log
1864left-margin: 8
1865fill-column: 74
1866version-control: never
1867End:
This page took 0.120637 seconds and 4 git commands to generate.