1 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other
5 input sections for relocatable link.
6 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
7 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
9 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12 * ld/emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
13 merge flags of other input sections for relocatable link.
15 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
17 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6.
19 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
21 * testsuite/ld-elf/pr19162.d: Skip arc target.
23 2016-02-29 H.J. Lu <hongjiu.lu@intel.com>
26 * testsuite/ld-elf/pr19162.d: New file.
27 * testsuite/ld-elf/pr19162a.s: Likwise.
28 * testsuite/ld-elf/pr19162b.s: Likwise.
30 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
32 * testsuite/ld-elf/merge.d: Removed xfail for ARC.
33 * testsuite/ld-elf/merge2.d: Likewise.
34 * testsuite/ld-elf/merge3.d: Likewise.
36 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
38 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be
41 2016-02-26 Renlin Li <renlin.li@arm.com>
43 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases.
44 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary.
45 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise.
46 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise.
47 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New.
48 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New.
49 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New.
50 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New.
51 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New.
52 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New.
54 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
57 * testsuite/ld-i386/got1.dd: Updated.
58 * testsuite/ld-i386/lea1c.d: Likewise.
59 * testsuite/ld-i386/load1-nacl.d: Likewise.
60 * testsuite/ld-i386/load1.d: Likewise.
61 * testsuite/ld-i386/load4b.d: Likewise.
62 * testsuite/ld-i386/load5b.d: Likewise.
63 * testsuite/ld-i386/mov1b.d: Likewise.
64 * testsuite/ld-x86-64/mov1b.d: Likewise.
65 * testsuite/ld-x86-64/mov1d.d: Likewise.
66 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise.
67 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
68 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise.
69 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
70 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise.
71 * testsuite/ld-x86-64/lea1a.d: Likewise.
72 * testsuite/ld-x86-64/lea1b.d: Likewise.
73 * testsuite/ld-x86-64/lea1c.d: Likewise.
74 * testsuite/ld-x86-64/lea1d.d: Likewise.
75 * testsuite/ld-x86-64/lea1e.d: Likewise.
76 * testsuite/ld-x86-64/lea1f.d: Likewise.
77 * testsuite/ld-x86-64/mov1b.d: Likewise.
78 * testsuite/ld-x86-64/mov1d.d: Likewise.
79 * testsuite/ld-x86-64/pr13082-3b.d: Likewise.
80 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
81 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers.
82 * testsuite/ld-i386/pr19609-1.s: New file.
83 * testsuite/ld-i386/pr19609-1a.d: Likewise.
84 * testsuite/ld-i386/pr19609-1b.d: Likewise.
85 * testsuite/ld-i386/pr19609-1c.d: Likewise.
86 * testsuite/ld-i386/pr19609-1d.d: Likewise.
87 * testsuite/ld-i386/pr19609-1e.d: Likewise.
88 * testsuite/ld-i386/pr19609-1f.d: Likewise.
89 * testsuite/ld-i386/pr19609-1g.d: Likewise.
90 * testsuite/ld-i386/pr19609-1h.d: Likewise.
91 * testsuite/ld-i386/pr19609-1i.d: Likewise.
92 * testsuite/ld-i386/pr19609-2.s: Likewise.
93 * testsuite/ld-i386/pr19609-2a.d: Likewise.
94 * testsuite/ld-i386/pr19609-2b.d: Likewise.
95 * testsuite/ld-i386/pr19609-2c.d: Likewise.
96 * testsuite/ld-i386/undefweak.s: Likewise.
97 * testsuite/ld-i386/undefweaka.d: Likewise.
98 * testsuite/ld-i386/undefweakb.d: Likewise.
99 * testsuite/ld-x86-64/pr13082-3c.d: Likewise.
100 * testsuite/ld-x86-64/pr13082-3d.d: Likewise.
101 * testsuite/ld-x86-64/pr19609-1.s: Likewise.
102 * testsuite/ld-x86-64/pr19609-1a.d: Likewise.
103 * testsuite/ld-x86-64/pr19609-1b.d: Likewise.
104 * testsuite/ld-x86-64/pr19609-1c.d: Likewise.
105 * testsuite/ld-x86-64/pr19609-1d.d: Likewise.
106 * testsuite/ld-x86-64/pr19609-1e.d: Likewise.
107 * testsuite/ld-x86-64/pr19609-1f.d: Likewise.
108 * testsuite/ld-x86-64/pr19609-1g.d: Likewise.
109 * testsuite/ld-x86-64/pr19609-1h.d: Likewise.
110 * testsuite/ld-x86-64/pr19609-1i.d: Likewise.
111 * testsuite/ld-x86-64/pr19609-1j.d: Likewise.
112 * testsuite/ld-x86-64/pr19609-1k.d: Likewise.
113 * testsuite/ld-x86-64/pr19609-1l.d: Likewise.
114 * testsuite/ld-x86-64/pr19609-1m.d: Likewise.
115 * testsuite/ld-x86-64/pr19609-2.s: Likewise.
116 * testsuite/ld-x86-64/pr19609-2a.d: Likewise.
117 * testsuite/ld-x86-64/pr19609-2b.d: Likewise.
118 * testsuite/ld-x86-64/pr19609-2c.d: Likewise.
119 * testsuite/ld-x86-64/pr19609-2d.d: Likewise.
120 * testsuite/ld-x86-64/pr19609-3.s: Likewise.
121 * testsuite/ld-x86-64/pr19609-3a.d: Likewise.
122 * testsuite/ld-x86-64/pr19609-3b.d: Likewise.
123 * testsuite/ld-x86-64/pr19609-4.s: Likewise.
124 * testsuite/ld-x86-64/pr19609-4a.d: Likewise.
125 * testsuite/ld-x86-64/pr19609-4b.d: Likewise.
126 * testsuite/ld-x86-64/pr19609-4c.d: Likewise.
127 * testsuite/ld-x86-64/pr19609-4d.d: Likewise.
128 * testsuite/ld-x86-64/pr19609-4e.d: Likewise.
129 * testsuite/ld-x86-64/pr19609-5.s: Likewise.
130 * testsuite/ld-x86-64/pr19609-5a.d: Likewise.
131 * testsuite/ld-x86-64/pr19609-5b.d: Likewise.
132 * testsuite/ld-x86-64/pr19609-5c.d: Likewise.
133 * testsuite/ld-x86-64/pr19609-5d.d: Likewise.
134 * testsuite/ld-x86-64/pr19609-5e.d: Likewise.
135 * testsuite/ld-x86-64/pr19609-6.s: Likewise.
136 * testsuite/ld-x86-64/pr19609-6a.d: Likewise.
137 * testsuite/ld-x86-64/pr19609-6b.d: Likewise.
138 * testsuite/ld-x86-64/pr19609-6c.d: Likewise.
139 * testsuite/ld-x86-64/pr19609-6d.d: Likewise.
140 * testsuite/ld-x86-64/pr19609-7.s: Likewise.
141 * testsuite/ld-x86-64/pr19609-7a.d: Likewise.
142 * testsuite/ld-x86-64/pr19609-7b.d: Likewise.
143 * testsuite/ld-x86-64/pr19609-7c.d: Likewise.
144 * testsuite/ld-x86-64/pr19609-7d.d: Likewise.
145 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for
147 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d
148 and tests for PR ld/19609.
150 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
153 * NEWS: Mention -z common/-z nocommon for ELF targets.
154 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
155 -z common and -z nocommon.
156 * ld.texinfo: Document -z common/-z nocommon.
157 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon.
158 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and
159 --elf-stt-common=yes with assembler.
160 * testsuite/ld-elfcomm/common-1.s: New file.
161 * testsuite/ld-elfcomm/common-1a.d: Likewise.
162 * testsuite/ld-elfcomm/common-1b.d: Likewise.
163 * testsuite/ld-elfcomm/common-1c.d: Likewise.
164 * testsuite/ld-elfcomm/common-1d.d: Likewise.
165 * testsuite/ld-elfcomm/common-1e.d: Likewise.
166 * testsuite/ld-elfcomm/common-1f.d: Likewise.
167 * testsuite/ld-elfcomm/common-2.s: Likewise.
168 * testsuite/ld-elfcomm/common-2a.d: Likewise.
169 * testsuite/ld-elfcomm/common-2b.d: Likewise.
170 * testsuite/ld-elfcomm/common-2c.d: Likewise.
171 * testsuite/ld-elfcomm/common-2d.d: Likewise.
172 * testsuite/ld-elfcomm/common-2e.d: Likewise.
173 * testsuite/ld-elfcomm/common-2f.d: Likewise.
174 * testsuite/ld-elfcomm/common-3a.rd: Likewise.
175 * testsuite/ld-elfcomm/common-3b.rd: Likewise.
176 * testsuite/ld-i386/pr19645.d: Likewise.
177 * testsuite/ld-i386/pr19645.s: Likewise.
178 * testsuite/ld-x86-64/largecomm-1.s: Likewise.
179 * testsuite/ld-x86-64/largecomm-1a.d: Likewise.
180 * testsuite/ld-x86-64/largecomm-1b.d: Likewise.
181 * testsuite/ld-x86-64/largecomm-1c.d: Likewise.
182 * testsuite/ld-x86-64/largecomm-1d.d: Likewise.
183 * testsuite/ld-x86-64/largecomm-1e.d: Likewise.
184 * testsuite/ld-x86-64/largecomm-1f.d: Likewise.
185 * testsuite/ld-x86-64/pr19645.d: Likewise.
186 * testsuite/ld-x86-64/pr19645.s: Likewise.
187 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes
189 (assembler_generates_commons): Removed.
190 Run -z common/-z nocommon tests. Run *.d tests.
191 * testsuite/ld-i386/i386.exp: Run pr19645.
192 * testsuite/ld-x86-64/x86-64.exp: Likewise.
193 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with
194 assembler. Test STT_COMMON with readelf.
196 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
201 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh.
202 * Makefile.in: Regenerated.
203 * NEWS: Mention -z nodynamic-undefined-weak.
204 * ld.texinfo: Document -z nodynamic-undefined-weak.
205 * ldmain.c (main): Initialize dynamic_undefined_weak to -1.
206 * emulparams/dynamic_undefined_weak.sh: New file.
207 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh.
208 * emulparams/elf_i386.sh: Likewise.
209 * emulparams/elf_i386_be.sh: Likewise.
210 * emulparams/elf_i386_chaos.sh: Likewise.
211 * emulparams/elf_i386_ldso.sh: Likewise.
212 * emulparams/elf_i386_vxworks.sh: Likewise.
213 * emulparams/elf_iamcu.sh: Likewise.
214 * emulparams/elf_k1om.sh: Likewise.
215 * emulparams/elf_l1om.sh: Likewise.
216 * emulparams/elf_x86_64.sh: Likewise.
217 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS):
219 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise.
220 * testsuite/ld-elf/pr19719a.c: New file.
221 * testsuite/ld-elf/pr19719b.c: Likewise.
222 * testsuite/ld-elf/pr19719c.c: Likewise.
223 * testsuite/ld-elf/pr19719d.c: Likewise.
224 * testsuite/ld-i386/pr19636-1.s: Likewise.
225 * testsuite/ld-i386/pr19636-1a.d: Likewise.
226 * testsuite/ld-i386/pr19636-1b.d: Likewise.
227 * testsuite/ld-i386/pr19636-1c.d: Likewise.
228 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise.
229 * testsuite/ld-i386/pr19636-1d.d: Likewise.
230 * testsuite/ld-i386/pr19636-1e.d: Likewise.
231 * testsuite/ld-i386/pr19636-1f.d: Likewise.
232 * testsuite/ld-i386/pr19636-1g.d: Likewise.
233 * testsuite/ld-i386/pr19636-1h.d: Likewise.
234 * testsuite/ld-i386/pr19636-1i.d: Likewise.
235 * testsuite/ld-i386/pr19636-2.s: Likewise.
236 * testsuite/ld-i386/pr19636-2a.d: Likewise.
237 * testsuite/ld-i386/pr19636-2b.d: Likewise.
238 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise.
239 * testsuite/ld-i386/pr19636-2c.d: Likewise.
240 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise.
241 * testsuite/ld-i386/pr19636-2d.d: Likewise.
242 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise.
243 * testsuite/ld-i386/pr19636-2e.d: Likewise.
244 * testsuite/ld-i386/pr19636-3.s: Likewise.
245 * testsuite/ld-i386/pr19636-3a.d: Likewise.
246 * testsuite/ld-i386/pr19636-3b.d: Likewise.
247 * testsuite/ld-i386/pr19636-3c.d: Likewise.
248 * testsuite/ld-i386/pr19636-3d.d: Likewise.
249 * testsuite/ld-i386/pr19636-3e.d: Likewise.
250 * testsuite/ld-i386/pr19636-3f.d: Likewise.
251 * testsuite/ld-i386/pr19636-3g.d: Likewise.
252 * testsuite/ld-i386/pr19636-4.s: Likewise.
253 * testsuite/ld-i386/pr19636-4a.d: Likewise.
254 * testsuite/ld-i386/pr19636-4b.d: Likewise.
255 * testsuite/ld-i386/pr19636-4c.d: Likewise.
256 * testsuite/ld-i386/pr19636-4d.d: Likewise.
257 * testsuite/ld-i386/pr19704.out: Likewise.
258 * testsuite/ld-i386/pr19704a.c: Likewise.
259 * testsuite/ld-i386/pr19704b.c: Likewise.
260 * testsuite/ld-x86-64/pr19636-1.s: Likewise.
261 * testsuite/ld-x86-64/pr19636-1a.d: Likewise.
262 * testsuite/ld-x86-64/pr19636-1b.d: Likewise.
263 * testsuite/ld-x86-64/pr19636-1c.d: Likewise.
264 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
265 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
266 * testsuite/ld-x86-64/pr19636-1f.d: Likewise.
267 * testsuite/ld-x86-64/pr19636-1g.d: Likewise.
268 * testsuite/ld-x86-64/pr19636-2.s: Likewise.
269 * testsuite/ld-x86-64/pr19636-2a.d: Likewise.
270 * testsuite/ld-x86-64/pr19636-2b.d: Likewise.
271 * testsuite/ld-x86-64/pr19636-2c.d: Likewise.
272 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
273 * testsuite/ld-x86-64/pr19636-2d.d: Likewise.
274 * testsuite/ld-x86-64/pr19636-2e.d: Likewise.
275 * testsuite/ld-x86-64/pr19636-2f.d: Likewise.
276 * testsuite/ld-x86-64/pr19636-2g.d: Likewise.
277 * testsuite/ld-x86-64/pr19636-2h.d: Likewise.
278 * testsuite/ld-x86-64/pr19636-2i.d: Likewise.
279 * testsuite/ld-x86-64/pr19636-3.s: Likewise.
280 * testsuite/ld-x86-64/pr19636-3a.d: Likewise.
281 * testsuite/ld-x86-64/pr19636-3b.d: Likewise.
282 * testsuite/ld-x86-64/pr19636-3c.d: Likewise.
283 * testsuite/ld-x86-64/pr19636-3d.d: Likewise.
284 * testsuite/ld-x86-64/pr19704.out: Likewise.
285 * testsuite/ld-x86-64/pr19704a.c: Likewise.
286 * testsuite/ld-x86-64/pr19704b.c: Likewise.
287 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New.
288 Run mix_pic_and_non_pic.
289 * testsuite/ld-i386/i386.exp (undefined_weak): New.
290 Run undefined_weak and PR ld/19636 tests.
291 * testsuite/ld-x86-64/x86-64.exp: Likewise.
292 * testsuite/ld-x86-64/pr13082-3b.d: Updated.
293 * testsuite/ld-x86-64/pr13082-4b.d: Likewise.
295 2016-02-25 Nick Clifton <nickc@redhat.com>
297 * ld.h (struct ld_config_type): Remove specified_data_size field.
299 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
302 * testsuite/ld-elf/pr19698.d: New file.
303 * testsuite/ld-elf/pr19698.s: Likewise.
304 * testsuite/ld-elf/pr19698.t: Likewise.
306 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
308 * Makefile.am (ELF_X86_DEPS): New.
309 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS).
310 (eelf_i386_chaos.c): Likewise.
311 (eelf_i386_fbsd.c): Likewise.
312 (eelf_i386_ldso.c): Likewise.
313 (eelf_i386_nacl.c): Likewise.
314 (eelf_i386_sol2.c): Likewise.
315 (eelf_iamcu.c): Likewise.
316 (eelf32_x86_64.c): Likewise.
317 (eelf32_x86_64_nacl.c): Likewise.
318 (eelf_l1om.c): Likewise.
319 (eelf_l1om_fbsd.c): Likewise.
320 (eelf_k1om.c): Likewise.
321 (eelf_k1om_fbsd.c): Likewise.
322 (eelf_x86_64.c): Likewise.
323 (eelf_x86_64_cloudabi.c): Likewise.
324 (eelf_x86_64_fbsd.c): Likewise.
325 (eelf_x86_64_sol2.c): Likewise.
326 * Makefile.in: Regenerated.
328 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
330 * testsuite/ld-frv/fdpic-pie-6.d: Updated.
331 * testsuite/ld-mips-elf/pie-n32.d: Likewise.
332 * testsuite/ld-mips-elf/pie-n64.d: Likewise.
333 * testsuite/ld-mips-elf/pie-o32.d: Likewise.
335 2016-02-20 H.J. Lu <hongjiu.lu@intel.com>
337 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets.
339 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
341 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*,
342 *-*-gnu* and *-*-solaris*.
343 * testsuite/ld-elf/pr19617b.d: Likewise.
344 * testsuite/ld-elf/pr19617c.d: Likewise.
346 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
349 * testsuite/ld-elf/pr19617.s: New file.
350 * testsuite/ld-elf/pr19617a.d: Likewise.
351 * testsuite/ld-elf/pr19617b.d: Likewise.
352 * testsuite/ld-elf/pr19617c.d: Likewise.
354 2016-02-18 Nick Clifton <nickc@redhat.com>
356 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an
357 in-tree xg++ executable after checking for the presence of an
358 in-tree g++ executable.
359 * Makefile.in: Regenerate.
361 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
363 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
364 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
365 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
367 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
369 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated.
370 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
371 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
372 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
373 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
374 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
375 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
376 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
377 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
378 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
379 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
380 * testsuite/ld-x86-64/load1c-nacl.d: Likewise.
381 * testsuite/ld-x86-64/load1c.d: Likewise.
382 * testsuite/ld-x86-64/load1d-nacl.d: Likewise.
383 * testsuite/ld-x86-64/load1d.d: Likewise.
384 * testsuite/ld-x86-64/pr14207.d: Likewise.
385 * testsuite/ld-x86-64/pr19162.d: Likewise.
386 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
387 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
388 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
389 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
390 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
391 * testsuite/ld-x86-64/tlspic.rd: Likewise.
393 2016-02-17 Nick Clifton <nickc@redhat.com>
395 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets.
397 2016-02-15 Nick Clifton <nickc@redhat.com>
399 * testsuite/ld-i386/pr12718.d: Remove dependency upon the
400 description of the flags produced by readelf.
401 * testsuite/ld-i386/pr12921.d: Likewise.
402 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise.
403 * testsuite/ld-i386/tlsbin.rd: Likewise.
404 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise.
405 * testsuite/ld-i386/tlsbindesc.rd: Likewise.
406 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise.
407 * testsuite/ld-i386/tlsdesc.rd: Likewise.
408 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise.
409 * testsuite/ld-i386/tlsgdesc.rd: Likewise.
410 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise.
411 * testsuite/ld-i386/tlsnopic.rd: Likewise.
412 * testsuite/ld-i386/tlspic-nacl.rd: Likewise.
413 * testsuite/ld-i386/tlspic.rd: Likewise.
414 * testsuite/ld-s390/tlsbin.rd: Likewise.
415 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
416 * testsuite/ld-s390/tlspic.rd: Likewise.
417 * testsuite/ld-s390/tlspic_64.rd: Likewise.
418 * testsuite/ld-sh/tlsbin-2.d: Likewise.
419 * testsuite/ld-sh/tlspic-2.d: Likewise.
420 * testsuite/ld-tic6x/common.d: Likewise.
421 * testsuite/ld-tic6x/shlib-1.rd: Likewise.
422 * testsuite/ld-tic6x/shlib-1b.rd: Likewise.
423 * testsuite/ld-tic6x/shlib-1r.rd: Likewise.
424 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise.
425 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise.
426 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise.
427 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise.
428 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise.
429 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise.
430 * testsuite/ld-tic6x/static-app-1.rd: Likewise.
431 * testsuite/ld-tic6x/static-app-1b.rd: Likewise.
432 * testsuite/ld-tic6x/static-app-1r.rd: Likewise.
433 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise.
434 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
435 * testsuite/ld-x86-64/ilp32-4.d: Likewise.
436 * testsuite/ld-x86-64/pr12718.d: Likewise.
437 * testsuite/ld-x86-64/pr12921.d: Likewise.
438 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise.
439 * testsuite/ld-x86-64/split-by-file.rd: Likewise.
440 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise.
441 * testsuite/ld-x86-64/tlsbin.rd: Likewise.
442 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise.
443 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise.
444 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise.
445 * testsuite/ld-x86-64/tlsdesc.rd: Likewise.
446 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise.
447 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise.
448 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise.
449 * testsuite/ld-x86-64/tlspic.rd: Likewise.
450 * testsuite/ld-xtensa/tlsbin.rd: Likewise.
451 * testsuite/ld-xtensa/tlspic.rd: Likewise.
453 2016-02-11 H.J. Lu <hongjiu.lu@intel.com>
456 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
458 * lexsup.c (parse_args): Enable -Bsymbolic and
459 -Bsymbolic-functions for PIE.
460 * testsuite/ld-i386/i386.exp: Run pr19615.
461 * testsuite/ld-i386/pr19615.d: New file.
462 * testsuite/ld-i386/pr19615.s: Likewise.
463 * testsuite/ld-x86-64/pr19615.d: Likewise.
464 * testsuite/ld-x86-64/pr19615.s: Likewise.
466 2016-02-09 Nick Clifton <nickc@redhat.com>
468 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test.
469 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file.
470 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file.
471 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
473 2016-02-04 Nick Clifton <nickc@redhat.com>
475 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests.
476 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete.
477 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete.
478 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete.
479 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete.
480 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete.
481 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete.
482 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete.
483 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete.
485 2016-02-03 H.J. Lu <hongjiu.lu@intel.com>
488 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as.
489 * testsuite/ld-i386/call1.d: Likewise.
490 * testsuite/ld-i386/call2.d: Likewise.
491 * testsuite/ld-i386/call3a.d: Likewise.
492 * testsuite/ld-i386/call3b.d: Likewise.
493 * testsuite/ld-i386/call3c.d: Likewise.
494 * testsuite/ld-i386/call3d.d: Likewise.
495 * testsuite/ld-i386/call3e.d: Likewise.
496 * testsuite/ld-i386/call3f.d: Likewise.
497 * testsuite/ld-i386/call3g.d: Likewise.
498 * testsuite/ld-i386/call3h.d: Likewise.
499 * testsuite/ld-i386/jmp1.d: Likewise.
500 * testsuite/ld-i386/jmp2.d: Likewise.
501 * testsuite/ld-i386/lea1c.d: Likewise.
502 * testsuite/ld-i386/load1.d: Likewise.
503 * testsuite/ld-i386/load2.d: Likewise.
504 * testsuite/ld-i386/load3.d: Likewise.
505 * testsuite/ld-i386/load4a.d: Likewise.
506 * testsuite/ld-i386/load5a.d: Likewise.
507 * testsuite/ld-i386/mov2b.d: Likewise.
508 * testsuite/ld-i386/mov3.d: Likewise.
509 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise.
510 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise.
511 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise.
512 * testsuite/ld-x86-64/call1a.d: Likewise.
513 * testsuite/ld-x86-64/call1b.d: Likewise.
514 * testsuite/ld-x86-64/call1c.d: Likewise.
515 * testsuite/ld-x86-64/call1d.d: Likewise.
516 * testsuite/ld-x86-64/call1e.d: Likewise.
517 * testsuite/ld-x86-64/call1f.d: Likewise.
518 * testsuite/ld-x86-64/call1h.d: Likewise.
519 * testsuite/ld-x86-64/call1i.d: Likewise.
520 * testsuite/ld-x86-64/load1a.d: Likewise.
521 * testsuite/ld-x86-64/load1b.d: Likewise.
522 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it.
523 * testsuite/ld-i386/got1.dd: Updated.
524 * testsuite/ld-i386/got1d.S (1): Removed.
525 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes.
526 * testsuite/ld-x86-64/x86-64.exp: Likewise.
528 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
531 * testsuite/ld-x86-64/pr18591.d: New file.
532 * testsuite/ld-x86-64/pr18591.s: Likewise.
533 * testsuite/ld-x86-64/x86-64.exp: Run pr18591.
535 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
538 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
539 * testsuite/ld-elf/pr19553.map: New file.
540 * testsuite/ld-elf/pr19553.map: Likewise.
541 * testsuite/ld-elf/pr19553a.c: Likewise.
542 * testsuite/ld-elf/pr19553b.c: Likewise.
543 * testsuite/ld-elf/pr19553b.out: Likewise.
544 * testsuite/ld-elf/pr19553c.c: Likewise.
545 * testsuite/ld-elf/pr19553c.out: Likewise.
546 * testsuite/ld-elf/pr19553d.c: Likewise.
547 * testsuite/ld-elf/pr19553d.out: Likewise.
549 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
552 * testsuite/ld-elf/pr19539.d: New file.
553 * testsuite/ld-elf/pr19539.s: Likewise.
554 * testsuite/ld-elf/pr19539.t: Likewise.
556 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
559 * configure.ac (compressed_debug_sections): Replace == with =.
560 * configure: Regenerated.
562 2016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
564 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA.
565 * scripttempl/avrtiny.sc (.noinit): Likewise.
567 2016-01-21 Nick Clifton <nickc@redhat.com>
570 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for
571 the arm-netbsdelf target.
574 * testsuite/ld-arm/vxworks1-lib.dd: Update for current
576 * testsuite/ld-arm/vxworks1-lib.rd: Likewise.
577 * testsuite/ld-arm/vxworks1.dd: Likewise.
578 * testsuite/ld-arm/vxworks1.rd: Likewise.
579 * testsuite/ld-arm/vxworks1.ld: Set the output format.
581 2016-01-20 Jiong Wang <jiong.wang@arm.com>
583 * testsuite/ld-aarch64/farcall-section.d: Delete.
584 * testsuite/ld-aarch64/farcall-section.s: Delete.
585 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file.
586 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
587 * testsuite/ld-aarch64/farcall-b-section.s: New testcase.
588 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise.
589 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise.
591 2016-01-20 Nick Clifton <nickc@redhat.com>
594 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test
595 early for PE based targets.
596 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment.
597 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output.
599 2016-01-20 Mickael Guene <mickael.guene@st.com>
601 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s:
602 Add 'y' attribute usage.
603 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise.
604 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise.
605 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise.
607 2016-01-19 Nick Clifton <nickc@redhat.com>
609 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between
610 foo@FOO and bar@@FOO.
612 2016-01-18 Alan Modra <amodra@gmail.com>
614 * configure: Regenerate.
616 2016-01-18 Nick Clifton <nickc@redhat.com>
618 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker
619 is not configured to support plugins.
621 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s
622 but with 16 byte section alignment.
623 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable
624 test for MIPS targets.
626 2016-01-17 Alan Modra <amodra@gmail.com>
628 * configure: Regenerate.
630 2016-01-17 Alan Modra <amodra@gmail.com>
632 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate.
633 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate.
634 * testsuite/ld-elf/pr14156a.d: Likewise.
635 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate.
636 * testsuite/ld-elf/sec64k.exp: Likewise.
638 2016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
640 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
641 Set address of .foo section when linking.
642 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
644 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
645 output to the above changes.
647 2016-01-13 Nick Clifton <nickc@redhat.com>
649 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail
652 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to
653 fail for MIPS targets.
655 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for
658 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
660 * testsuite/ld-arm/arm-elf.exp: New test.
661 * testsuite/ld-arm/unwind-mix.d: New file.
662 * testsuite/ld-arm/unwind-mix1.s: New file.
663 * testsuite/ld-arm/unwind-mix2.s: New file.
665 2016-01-08 Jiong Wang <jiong.wang@arm.com>
668 * testsuite/ld-arm/ifunc-3.rd: Update expected result.
669 * testsuite/ld-arm/ifunc-4.rd: Likewise.
670 * testsuite/ld-arm/ifunc-9.rd: Likewise.
671 * testsuite/ld-arm/ifunc-10.rd: Likewise.
672 * testsuite/ld-arm/ifunc-12.rd: Likewise.
673 * testsuite/ld-arm/ifunc-13.rd: Likewise.
675 2016-01-05 Nick Clifton <nickc@redhat.com>
677 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the
678 MSP430 hardware multiply address range.
679 * scripttempl/elf32msp430.sc (__romdatastart): Define.
680 (__romdatacopysize): Define.
681 * scripttempl/elf32msp430_3.sc: Likewise.
683 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
685 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert
686 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum.
688 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
690 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of
691 messages expected according to MIPS BFD private data merge
693 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise.
694 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise.
695 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise.
696 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise.
697 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise.
698 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise.
699 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise.
700 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise.
701 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise.
702 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise.
703 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise.
704 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise.
705 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise.
707 2016-01-01 Alan Modra <amodra@gmail.com>
709 Update year range in copyright notice of all files.
711 For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015
713 Copyright (C) 2016 Free Software Foundation, Inc.
715 Copying and distribution of this file, with or without modification,
716 are permitted in any medium without royalty provided the copyright
717 notice and this notice are preserved.
723 version-control: never