1 2014-08-29 Alan Modra <amodra@gmail.com>
3 * lib/ld-lib.exp (ld_simple_link_defsyms): Provide both __main
4 and ___main for windows targets.
6 2014-08-27 H.J. Lu <hongjiu.lu@intel.com>
9 * ld-i386/i386.exp (i386tests): Add tests for PR ld/17306.
10 * ld-x86-64/x86-64.exp (x86_64tests): Likewise.
12 * ld-i386/pr17306a.s: New file.
13 * ld-i386/pr17306b.s: Likewise.
14 * ld-x86-64/pr17306a.s: Likewise.
15 * ld-x86-64/pr17306b.s: Likewise.
17 2014-08-27 H.J. Lu <hongjiu.lu@intel.com>
20 * ld-i386/i386.exp (i386tests): Add tests for PR ld/17313.
21 * ld-x86-64/x86-64.exp (x86_64tests): Likewise.
23 2014-08-26 Jiong Wang <jiong.wang@arm.com>
25 * ld-aarch64/copy-relocs-so.s: New test file.
26 * ld-aarch64/copy-relocs-exe.s: Likewise.
27 * ld-aarch64/copy-relocs.d: New expectation file.
28 * ld-aarch64/emit-relocs-264-bad.d: New test file.
29 * ld-aarch64/emit-relocs-266-bad.d: Likewise.
30 * ld-aarch64/emit-relocs-268-bad.d: Likewise.
31 * ld-aarch64/emit-relocs-269-bad.d: Likewise.
32 * ld-aarch64/aarch64-elf.exp: Run new added test.
34 2014-08-26 Nick Clifton <nickc@redhat.com>
36 * ld-aarch64/eh-frame-foo.s: Use 8-byte offset for X30.
37 * ld-aarch64/eh-frame-bar.s: Likewise.
38 * ld-aarch64/eh-frame.d: Updated to match current readelf output.
39 * ld-elf/eh5.d: Allow any register names.
41 2014-08-22 Maciej W. Rozycki <macro@codesourcery.com>
43 * ld-powerpc/apuinfo-vle.rd: New test.
44 * ld-powerpc/apuinfo-vle.s: New test source.
45 * ld-powerpc/apuinfo.rd: Adjust according to GAS PPC_APUINFO_VLE
47 * ld-powerpc/powerpc.exp: Run the new test.
49 2014-08-21 Tony Wang <tony.wang@arm.com>
51 * ld-arm/jump-reloc-veneers-cond.s: New test.
52 * ld-arm/farcall-cond-thumb-arm.s: Ditto.
53 * ld-arm/jump-reloc-veneers-cond-short.d: Expected output
54 for target without a veneer generation.
55 * ld-arm/jump-reloc-veneers-cond-long.d: Expected output
56 for target with a veneer generation.
57 * ld-arm/farcall-cond-thumb-arm.d: Expected output for
58 inter working veneer generation.
59 * ld-arm/arm-elf.exp: Add tests for conditional branch veneer.
61 2014-08-20 Roland McGrath <mcgrathr@google.com>
64 * ld-arm/pcrel-shared.s: New file.
65 * ld-arm/pcrel-shared.rd: New file.
66 * ld-arm/arm-elf.exp (armelftests_common): Add it.
68 2014-08-18 Alan Modra <amodra@gmail.com>
70 * ld-plugin/lto.exp: Use gcc -print-file-name to find lto plugin.
72 2014-08-18 Alan Modra <amodra@gmail.com>
74 * ld-plugin/needed3.c: New file.
75 * ld-elf/shared.exp: Add needed3 test.
77 2014-08-12 Alan Modra <amodra@gmail.com>
79 * lib/ld-lib.exp (check_plugin_api_available): Match "-plugin PLUGIN".
81 2014-08-07 H.J. Lu <hongjiu.lu@intel.com>
84 * ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
85 * ld-plugin/pr16746a.c: New file.
86 * ld-plugin/pr16746b.c: Likewise.
87 * ld-plugin/pr16746c.c: Likewise.
88 * ld-plugin/pr16746d.c: Likewise.
90 2014-08-06 Alan Modra <amodra@gmail.com>
92 * lib/ld-lib.exp (check_lto_fat_available): New.
93 (check_lto_available): Remove -ffat-lto-objects test.
94 * ld-plugin/lto.exp: Use [list ] rather than { } to set up list
95 variables, allowing substition of vars. Set lto_fat and plug_opt
96 and add to various tests.
98 2014-08-01 Takashi Yoshii <yoshii.takashi@renesas.com>
101 * ld-sh/sh1.s: Add jmp relaxing test.
102 * ld-sh/sh.exp: Likewise.
104 2014-08-01 Takashi Yoshii <yoshii.takashi@renesas.com>
107 * ld-sh/adjsw8.s: New.
108 * ld-sh/sh.exp: Add switch8 adjustment test.
110 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
112 * ld-mips-elf/abiflags-strip1-ph.d: New.
113 * ld-mips-elf/abiflags-strip2-ph.d: Likewise.
114 * ld-mips-elf/abiflags-strip3-ph.d: Likewise.
115 * ld-mips-elf/abiflags-strip4-ph.d: Likewise.
116 * ld-mips-elf/abiflags-strip5-ph.d: Likewise.
117 * ld-mips-elf/abiflags-strip6-ph.d: Likewise.
118 * ld-mips-elf/abiflags-strip7-ph.d: Likewise.
119 * ld-mips-elf/abiflags-strip8-ph.d: Likewise.
120 * ld-mips-elf/abiflags-strip9-ph.d: Likewise.
121 * ld-mips-elf/attr-gnu-4-0-n32-ph.d: Likewise.
122 * ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
123 * ld-mips-elf/attr-gnu-4-0-ph.d: Likewise.
124 * ld-mips-elf/attr-gnu-4-06.d: Likewise.
125 * ld-mips-elf/attr-gnu-4-07.d: Likewise.
126 * ld-mips-elf/attr-gnu-4-08.d: Likewise.
127 * ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
128 * ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
129 * ld-mips-elf/attr-gnu-4-1-ph.d: Likewise.
130 * ld-mips-elf/attr-gnu-4-16.d: Likewise.
131 * ld-mips-elf/attr-gnu-4-17.d: Likewise.
132 * ld-mips-elf/attr-gnu-4-18.d: Likewise.
133 * ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
134 * ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
135 * ld-mips-elf/attr-gnu-4-2-ph.d: Likewise.
136 * ld-mips-elf/attr-gnu-4-26.d: Likewise.
137 * ld-mips-elf/attr-gnu-4-27.d: Likewise.
138 * ld-mips-elf/attr-gnu-4-28.d: Likewise.
139 * ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
140 * ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
141 * ld-mips-elf/attr-gnu-4-3-ph.d: Likewise.
142 * ld-mips-elf/attr-gnu-4-36.d: Likewise.
143 * ld-mips-elf/attr-gnu-4-37.d: Likewise.
144 * ld-mips-elf/attr-gnu-4-38.d: Likewise.
145 * ld-mips-elf/attr-gnu-4-4-ph.d: Likewise.
146 * ld-mips-elf/attr-gnu-4-46.d: Likewise.
147 * ld-mips-elf/attr-gnu-4-47.d: Likewise.
148 * ld-mips-elf/attr-gnu-4-48.d: Likewise.
149 * ld-mips-elf/attr-gnu-4-5-ph.d: Likewise.
150 * ld-mips-elf/attr-gnu-4-50.d: Likewise.
151 * ld-mips-elf/attr-gnu-4-52.d: Likewise.
152 * ld-mips-elf/attr-gnu-4-53.d: Likewise.
153 * ld-mips-elf/attr-gnu-4-54.d: Likewise.
154 * ld-mips-elf/attr-gnu-4-55.d: Likewise.
155 * ld-mips-elf/attr-gnu-4-56.d: Likewise.
156 * ld-mips-elf/attr-gnu-4-57.d: Likewise.
157 * ld-mips-elf/attr-gnu-4-58.d: Likewise.
158 * ld-mips-elf/attr-gnu-4-6-ph.d: Likewise.
159 * ld-mips-elf/attr-gnu-4-6.s: Likewise.
160 * ld-mips-elf/attr-gnu-4-60.d: Likewise.
161 * ld-mips-elf/attr-gnu-4-61.d: Likewise.
162 * ld-mips-elf/attr-gnu-4-62.d: Likewise.
163 * ld-mips-elf/attr-gnu-4-63.d: Likewise.
164 * ld-mips-elf/attr-gnu-4-64.d: Likewise.
165 * ld-mips-elf/attr-gnu-4-65.d: Likewise.
166 * ld-mips-elf/attr-gnu-4-66.d: Likewise.
167 * ld-mips-elf/attr-gnu-4-67.d: Likewise.
168 * ld-mips-elf/attr-gnu-4-68.d: Likewise.
169 * ld-mips-elf/attr-gnu-4-7-ph.d: Likewise.
170 * ld-mips-elf/attr-gnu-4-7.s: Likewise.
171 * ld-mips-elf/attr-gnu-4-70.d: Likewise.
172 * ld-mips-elf/attr-gnu-4-71.d: Likewise.
173 * ld-mips-elf/attr-gnu-4-72.d: Likewise.
174 * ld-mips-elf/attr-gnu-4-73.d: Likewise.
175 * ld-mips-elf/attr-gnu-4-74.d: Likewise.
176 * ld-mips-elf/attr-gnu-4-75.d: Likewise.
177 * ld-mips-elf/attr-gnu-4-76.d: Likewise.
178 * ld-mips-elf/attr-gnu-4-77.d: Likewise.
179 * ld-mips-elf/attr-gnu-4-78.d: Likewise.
180 * ld-mips-elf/attr-gnu-4-8.s: Likewise.
181 * ld-mips-elf/attr-gnu-4-81.d: Likewise.
182 * ld-mips-elf/empty.s: Likewise.
183 * ld-mips-elf/attr-gnu-4-00.d: Adjust expected output.
184 * ld-mips-elf/attr-gnu-4-01.d: Likewise.
185 * ld-mips-elf/attr-gnu-4-02.d: Likewise.
186 * ld-mips-elf/attr-gnu-4-03.d: Likewise.
187 * ld-mips-elf/attr-gnu-4-04.d: Likewise.
188 * ld-mips-elf/attr-gnu-4-05.d: Likewise.
189 * ld-mips-elf/attr-gnu-4-10.d: Likewise.
190 * ld-mips-elf/attr-gnu-4-11.d: Likewise.
191 * ld-mips-elf/attr-gnu-4-14.d: Likewise.
192 * ld-mips-elf/attr-gnu-4-15.d: Likewise.
193 * ld-mips-elf/attr-gnu-4-2.s: Likewise.
194 * ld-mips-elf/attr-gnu-4-20.d: Likewise.
195 * ld-mips-elf/attr-gnu-4-22.d: Likewise.
196 * ld-mips-elf/attr-gnu-4-24.d: Likewise.
197 * ld-mips-elf/attr-gnu-4-25.d: Likewise.
198 * ld-mips-elf/attr-gnu-4-3.s: Likewise.
199 * ld-mips-elf/attr-gnu-4-30.d: Likewise.
200 * ld-mips-elf/attr-gnu-4-33.d: Likewise.
201 * ld-mips-elf/attr-gnu-4-34.d: Likewise.
202 * ld-mips-elf/attr-gnu-4-35.d: Likewise.
203 * ld-mips-elf/attr-gnu-4-40.d: Likewise.
204 * ld-mips-elf/attr-gnu-4-41.d: Likewise.
205 * ld-mips-elf/attr-gnu-4-42.d: Likewise.
206 * ld-mips-elf/attr-gnu-4-43.d: Likewise.
207 * ld-mips-elf/attr-gnu-4-44.d: Likewise.
208 * ld-mips-elf/attr-gnu-4-45.d: Likewise.
209 * ld-mips-elf/attr-gnu-4-5.s: Likewise.
210 * ld-mips-elf/attr-gnu-4-51.d: Likewise.
211 * ld-mips-elf/attr-gnu-8-00.d: Likewise.
212 * ld-mips-elf/attr-gnu-8-01.d: Likewise.
213 * ld-mips-elf/attr-gnu-8-02.d: Likewise.
214 * ld-mips-elf/attr-gnu-8-10.d: Likewise.
215 * ld-mips-elf/attr-gnu-8-11.d: Likewise.
216 * ld-mips-elf/attr-gnu-8-20.d: Likewise.
217 * ld-mips-elf/attr-gnu-8-22.d: Likewise.
218 * ld-mips-elf/jalx-2.dd: Likewise.
219 * ld-mips-elf/mips16-pic-1.gd: Likewise.
220 * ld-mips-elf/mips16-pic-2.gd: Likewise.
221 * ld-mips-elf/mips16-pic-3.gd: Likewise.
222 * ld-mips-elf/mips16-pic-4a.gd: Likewise.
223 * ld-mips-elf/multi-got-no-shared.d: Likewise.
224 * ld-mips-elf/nan-2008.d: Likewise.
225 * ld-mips-elf/nan-legacy.d: Rework test.
226 * ld-mips-elf/pic-and-nonpic-3a.gd: Likewise.
227 * ld-mips-elf/pic-and-nonpic-3b.gd: Likewise.
228 * ld-mips-elf/pic-and-nonpic-5b.gd: Likewise.
229 * ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
230 * ld-mips-elf/rel32-n32.d: Likewise.
231 * ld-mips-elf/rel32-o32.d: Likewise.
232 * ld-mips-elf/rel64.d: Likewise.
233 * ld-mips-elf/tls-multi-got-1.r: Likewise.
234 * ld-elf/group.ld: Discard .MIPS.abiflags and .gnu.attributes.
235 * ld-elf/orphan-region.ld: Likewise.
236 * ld-elf/orphan.ld: Likewise.
237 * ld-mips-elf/compressed-plt-1.ld: Likewise.
238 * ld-mips-elf/dyn-sec64.ld: Likewise.
239 * ld-mips-elf/got-dump-1.ld: Likewise.
240 * ld-mips-elf/got-dump-2.ld: Likewise.
241 * ld-mips-elf/got-page-1.ld: Likewise.
242 * ld-mips-elf/mips-dyn.ld: Likewise.
243 * ld-mips-elf/mips-lib.ld: Likewise.
244 * ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
245 * ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
246 * ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
247 * ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
248 * ld-mips-elf/region1.t: Likewise.
249 * ld-mips-elf/stub-dynsym-1.ld: Likewise.
250 * ld-mips-elf/tls-hidden3.ld: Likewise.
251 * ld-mips-elf/vxworks1.ld: Likewise.
252 * ld-scripts/overlay-size.t: Likewise.
253 * ld-mips-elf/elf-rel-got-n32-embed.d: Remove .MIPS.abiflags from
255 * ld-mips-elf/elf-rel-got-n32.d: Likewise.
256 * ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
257 * ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
258 * ld-mips-elf/elf-rel-got-n64.d: Likewise.
259 * ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
260 * ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
261 * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
262 * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
263 * ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
264 * ld-mips-elf/mips-elf.exp: Add new tests.
266 2014-07-16 H.J. Lu <hongjiu.lu@intel.com>
269 * ld-ifunc/pr17154-i386.d: New file.
270 * ld-ifunc/pr17154-x86-64.d: Likewise.
271 * ld-ifunc/pr17154-x86.s: Likewise.
272 * ld-x86-64/bnd-ifunc-2.d: Likewise.
273 * ld-x86-64/bnd-ifunc-2.s: Likewise.
274 * ld-x86-64/mpx.exp: Run bnd-ifunc-2.
275 * ld-x86-64/tlsdesc-nacl.pd: Updated.
276 * ld-x86-64/tlsdesc.pd: Likewise.
278 2014-07-15 H.J. Lu <hongjiu.lu@intel.com>
281 * ld-i386/i386.exp: Run pr17057.
282 * ld-i386/pr17057.d: New file.
283 * ld-i386/pr17057.s: Likewise.
285 2014-07-15 Jiong Wang <jiong.wang@arm.com>
287 * ld-aarch64/emit-relocs-local-addend.d: Use target linker script.
289 2014-07-10 Will Newton <will.newton@linaro.org>
291 * ld-arm/arm-elf.exp (armelftests_nonacl): Move Cortex-A8 fix
292 tests, IFUNC tests and other EABI requiring tests to...
293 (armeabitests_nonacl): ...here.
294 * ld-arm/arm-app-abs32.d: Loosen regex for architecture type
295 to allow test to pass on configurations without an attributes
297 * ld-arm/arm-app.d: Likewise.
298 * ld-arm/arm-lib-plt32.d: Likewise.
299 * ld-arm/arm-lib.d: Likewise.
300 * ld-arm/arm-static-app.d: Likewise.
301 * ld-arm/armthumb-lib.d: Likewise.
302 * ld-arm/cortex-a8-far.d: Likewise.
303 * ld-arm/farcall-mixed-app.d: Likewise.
304 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
305 * ld-arm/farcall-mixed-lib.d: Likewise.
306 * ld-arm/mixed-app-v5.d: Likewise.
307 * ld-arm/mixed-app.d: Likewise.
308 * ld-arm/mixed-lib.d: Likewise.
309 * ld-arm/tls-app.d: Likewise.
310 * ld-arm/tls-descrelax-be32.d: Likewise.
311 * ld-arm/tls-descrelax.d: Likewise.
312 * ld-arm/tls-descseq.d: Likewise.
313 * ld-arm/tls-gdesc-got.d: Likewise.
314 * ld-arm/tls-gdesc.d: Likewise.
315 * ld-arm/tls-gdierelax.d: Likewise.
316 * ld-arm/tls-gdierelax2.d: Likewise.
317 * ld-arm/tls-gdlerelax.d: Likewise.
318 * ld-arm/tls-lib-loc.d: Likewise.
319 * ld-arm/tls-lib.d: Likewise.
320 * ld-arm/tls-thumb1.d: Likewise.
322 * ld-elfvers/vers.exp: Set pic to yes for ARM targets.
324 2014-07-08 Will Newton <will.newton@linaro.org>
326 * ld-arm/arm-lib.ld: Increase MAXPAGESIZE value to
328 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Update offsets to
329 take into account increased segment alignment.
330 * ld-arm/ifunc-gdesc.r: Likewise.
331 * ld-arm/tls-lib.d: Likewise.
333 2014-07-08 Jiong Wang <jiong.wang@arm.com>
335 * ld-aarch64/emit-relocs-local-addend-bar.s: New source file.
336 * ld-aarch64/emit-relocs-local-addend-foo.s: Likewise.
337 * ld-aarch64/emit-relocs-local-addend.d: New testcase.
338 * ld-aarch64/local-addend-r.d: Likewise.
340 2014-07-08 Alan Modra <amodra@gmail.com>
342 * ld-powerpc/defsym.s, * ld-powerpc/defsym.d: New test.
343 * ld-powerpc/powerpc.exp: Run it.
345 2014-07-08 Alan Modra <amodra@gmail.com>
348 * ld-plugin/lto.exp: When building liblti-11.a, pass
349 --plugin path_to_gcc/liblto_plugin.so to ar.
351 2014-07-07 Alan Modra <amodra@gmail.com>
353 * lib/ld-lib.exp (check_lto_shared_available): Reinstate compiler
356 2014-07-07 Nick Clifton <nickc@redhat.com>
358 * lib/ld-lib.exp (check_lto_available): Check that a compiler is
359 available before testing for LTO support.
361 2014-07-07 Alan Modra <amodra@gmail.com>
363 * config/default.exp: Don't make tmpdir/gas. Put as symlink into
365 (gcc_gas_flag, gcc_ld_flag): Delete.
366 (gcc_B_opt, ld_L_opt): New globals.
367 ld-elf/shared.exp: Remove all refs to gcc_gas_flag and gcc_ld_flag.
368 ld-plugin/lto.exp: Likewise.
369 lib/ld-lib.exp (run_host_cmd): Add gcc_B_opt and ld_L_opt here.
370 (ld_simple_link): Remove -B handling now that this is done in
371 run_host_cmd. Simplify.
372 (default_ld_compile): Simplify.
373 (check_lto_available): Use run_host_cmd_yesno.
374 (check_lto_shared_available): Likewise.
376 2014-07-05 Alan Modra <amodra@gmail.com>
378 * lib/ld-lib.exp (run_ld_link_tests): Stop after assembling objects
380 (run_ld_link_exec_tests, run_cc_link_tests): Likewise. Tidy
382 * ld-plugin/lto.exp: Don't use libdummy.a trick to compile objects.
383 Instead use an empty output file.
385 2014-07-03 Alan Modra <amodra@gmail.com>
387 * ld-elf/pr17068.s: New.
388 * ld-elf/pr17068a.s: New.
389 * ld-elf/pr17068b.s: New.
390 * ld-elf/pr17068c.s: New.
391 * ld-elf/pr17068d.s: New.
392 * ld-elf/pr17068e.s: New.
393 * ld-elf/pr17068ez.s: New.
394 * ld-elf/elf.exp: Run new test.
396 2014-07-02 Alan Modra <amodra@gmail.com>
398 * ld-powerpc/ambiguousv1.d: Match symbol table too.
399 * ld-powerpc/ambiguousv2.d: Likewise.
400 * ld-powerpc/ambiguousv1b.d: New.
401 * ld-powerpc/ambiguousv2b.d: New.
402 * ld-powerpc/powerpc.exp: Run new tests.
404 2014-06-25 Kyle McMartin <kyle@redhat.com>
406 * ld-arm/tls-gdierelax2.d: Fix expected offsets.
408 2014-06-16 Will Newton <will.newton@linaro.org>
410 * ld-arm/arm-elf.exp: Add ifunc-gdesc test.
411 * ld-arm/ifunc-gdesc.r: New file.
412 * ld-arm/ifunc-gdesc.s: Likewise.
413 * ld-arm/ifunc-gdesc.ver: Likewise.
415 2014-06-09 Ryan Mansfield <rmansfield@qnx.com>
417 * config/default.exp (GASP): Remove.
419 2014-06-03 Alan Modra <amodra@gmail.com>
421 * ld-powerpc/elfv2exe.d: Update for changed plt call stubs.
423 2014-05-28 Matthew Fortune <matthew.fortune@imgtec.com>
425 * lib/ld-lib.exp: Add objcopy_objects command to run_dump_test.
426 This allows each input object to be optionally run through
427 objcopy before linking.
429 2014-05-20 Will Newton <will.newton@linaro.org>
431 * ld-shared/shared.exp: Mark non-PIC shared object tests
434 2014-05-19 Andreas Tobler <andreast@fgznet.ch>
436 * ld-elf/shared.exp: Introduce the extralibs variable to control
437 the libraries to be linked. Don't link -ldl on *-*-freebsd*.
439 * ld-bootstrap/bootstrap.exp: Do not add -ldl to the extralibs on
442 2014-05-10 Hans-Peter Nilsson <hp@bitrange.com>
444 * ld-mmix/wrap1.d, ld-mmix/wrap1a.s, ld-mmix/wrap1b.s,
445 ld-mmix/wrap1c.s, ld-mmix/wrap2.d, ld-mmix/wrap3.d,
446 ld-mmix/wrap3a.s, ld-mmix/wrap3b.s, ld-mmix/wrap4.d: New
449 2014-05-09 H.J. Lu <hongjiu.lu@intel.com>
451 * ld-x86-64/tlsbin.dd: Replace data32 with data16.
452 * ld-x86-64/tlsdesc-nacl.pd: Likewise.
453 * ld-x86-64/tlsgdesc.dd: Likewise.
454 * ld-x86-64/tlsld1.dd: Likewise.
455 * ld-x86-64/tlsld3.dd: Likewise.
456 * ld-x86-64/tlspic.dd: Likewise.
458 2014-05-02 Max Filippov <jcmvbkbc@gmail.com>
460 * ld-xtensa/diff_overflow.exp, * ld-xtensa/diff_overflow1.s,
461 * ld-xtensa/diff_overflow2.s: Add test for DIFF* relocation
462 signedness and overflow checking.
464 2014-05-01 Hans-Peter Nilsson <hp@bitrange.com>
466 * ld-mmix/sec-11.d, ld-mmix/sec-11.ld, ld-mmix/sec-10.s,
467 ld-mmix/sec-10.d, ld-mmix/b-offlocmis.s, ld-mmix/sec-12.d: New
469 * ld-mmix/b-offloc.s: Correct address in comment.
471 2014-04-23 Will Newton <will.newton@linaro.org>
473 * ld-arm/arm-no-rel-plt.ld: Remove OUTPUT_FORMAT and
475 * ld-arm/arm-rel32.d: Update regexps to allow test to
476 pass on armeb-linux-eabi configuration.
477 * ld-arm/data-only-map.d: Likewise.
478 * ld-arm/fix-arm1176-off.d: Likewise.
479 * ld-arm/fix-arm1176-on.d: Likewise.
480 * ld-arm/ifunc-1.gd: Likewise.
481 * ld-arm/ifunc-10.gd: Likewise.
482 * ld-arm/ifunc-11.gd: Likewise.
483 * ld-arm/ifunc-12.gd: Likewise.
484 * ld-arm/ifunc-13.gd: Likewise.
485 * ld-arm/ifunc-14.gd: Likewise.
486 * ld-arm/ifunc-15.gd: Likewise.
487 * ld-arm/ifunc-16.gd: Likewise.
488 * ld-arm/ifunc-17.gd: Likewise.
489 * ld-arm/ifunc-2.gd: Likewise.
490 * ld-arm/ifunc-3.gd: Likewise.
491 * ld-arm/ifunc-4.gd: Likewise.
492 * ld-arm/ifunc-5.gd: Likewise.
493 * ld-arm/ifunc-6.gd: Likewise.
494 * ld-arm/ifunc-7.gd: Likewise.
495 * ld-arm/ifunc-8.gd: Likewise.
496 * ld-arm/ifunc-9.gd: Likewise.
497 * ld-arm/jump-reloc-veneers-long.d: Likewise.
498 * ld-arm/reloc-boundaries.d: Likewise.
500 2014-04-22 H.J. Lu <hongjiu.lu@intel.com>
503 * ld-plugin/lto.exp (lto_link_tests): Add tests for PR ld/16846.
504 * ld-plugin/pr16846a.c: New file.
505 * ld-plugin/pr16846b.c: Likewise.
506 * ld-plugin/pr16846c.c: Likewise.
508 2014-04-22 Christian Svensson <blue@cmd.nu>
510 * ld-discard/extern.d: Remove openrisc and or32 support. Add
512 * ld-discard/start.d: Likewise.
513 * ld-discard/static.d: Likewise.
514 * ld-elf/group1.d: Likewise.
515 * ld-elf/group3b.d: Likewise.
516 * ld-elf/group8a.d: Likewise.
517 * ld-elf/group8b.d: Likewise.
518 * ld-elf/group9a.d: Likewise.
519 * ld-elf/group9b.d: Likewise.
520 * ld-elf/linkonce2.d: Likewise.
521 * ld-elf/merge.d: Likewise.
522 * ld-elf/merge2.d: Likewise.
523 * ld-elf/orphan-region.d: Likewise.
524 * ld-elf/orphan.d: Likewise.
525 * ld-elf/orphan3.d: Likewise.
526 * ld-elf/pr12851.d: Likewise.
527 * ld-elf/pr12975.d: Likewise.
528 * ld-elf/pr13177.d: Likewise.
529 * ld-elf/pr13195.d: Likewise.
530 * ld-elf/pr349.d: Likewise.
531 * ld-elf/sec64k.exp: Likewise.
532 * ld-elf/warn1.d: Likewise.
533 * ld-elf/warn2.d: Likewise.
534 * ld-elf/warn3.d: Likewise.
535 * ld-scripts/weak.exp: Likewise.
536 * lib/ld-lib.exp: Likewise.
538 2014-04-17 Kwok Cheung Yeung <kcy@codesourcery.com>
540 * ld-mips-elf/elf-rel-xgot-n32.d: Update for new GOT layout.
541 * ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
542 * ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
543 * ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
544 * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
546 2014-04-15 Marcus Shawcroft <marcus.shawcroft@arm.com>
548 * ld-aarch64/tls-relax-gdesc-ie.s (var): Adjust test case
549 to include all 5 bits of LDR destination register.
551 2014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
553 * ld-avr/norelax_diff.d: New testcase.
554 * ld-avr/relax_diff.d: Likewise.
555 * ld-avr/relax.s: Likewise.
557 2014-04-05 Andreas Schwab <schwab@linux-m68k.org>
559 * ld-plugin/lto.exp: Make "-Wp," prefix optional when filtering
561 ("Build libdummy.a 9", "PR ld/12696"): Mark as c++.
563 2014-04-04 Alan Modra <amodra@gmail.com>
565 * ld-scripts/fill.d, * ld-scripts/fill.t, * ld-scripts/fill_0.s,
566 * ld-scripts/fill_1.s, * ld-scripts/fill_2.s: New test.
567 * ld-scripts/data.exp: Run it.
569 2014-03-31 Marcus Shawcroft <marcus.shawcroft@arm.com>
571 * ld-aarch64/eh-frame.d: Adjust FDE pc address.
573 2014-03-27 H.J. Lu <hongjiu.lu@intel.com>
576 * ld-plugin/lto.exp: Expect filename and line number for PR
579 2014-03-27 Yury Gribov <y.gribov@samsung.com>
580 Pavel Fedin <p.fedin@samsung.com>
582 * ld-arm/arm-app-abs32.d: Update expected disassembly, taking into
583 account the pretty printing of PLT entries.
584 * ld-arm/arm-app.d: Likewise.
585 * ld-arm/arm-lib-plt32.d: Likewise.
586 * ld-arm/arm-lib.d: Likewise.
587 * ld-arm/armthumb-lib.d: Likewise.
588 * ld-arm/cortex-a8-fix-b-plt.d: Likewise.
589 * ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
590 * ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
591 * ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
592 * ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
593 * ld-arm/farcall-mixed-app-v5.d: Likewise.
594 * ld-arm/farcall-mixed-app.d: Likewise.
595 * ld-arm/farcall-mixed-lib-v4t.d: Likewise.
596 * ld-arm/farcall-mixed-lib.d: Likewise.
597 * ld-arm/ifunc-10.dd: Likewise.
598 * ld-arm/ifunc-14.dd: Likewise.
599 * ld-arm/ifunc-15.dd: Likewise.
600 * ld-arm/ifunc-3.dd: Likewise.
601 * ld-arm/ifunc-4.dd: Likewise.
602 * ld-arm/ifunc-7.dd: Likewise.
603 * ld-arm/ifunc-8.dd: Likewise.
604 * ld-arm/ifunc-9.dd: Likewise.
605 * ld-arm/long-plt-format.d: Likewise.
606 * ld-arm/mixed-app-v5.d: Likewise.
607 * ld-arm/mixed-app.d: Likewise.
608 * ld-arm/mixed-lib.d: Likewise.
609 * ld-arm/thumb2-bl-undefweak.d: Likewise.
610 * ld-arm/thumb2-bl-undefweak1.d: Likewise.
612 2014-03-26 Alan Modra <amodra@gmail.com>
614 * ld-powerpc/startv1.s, * ld-powerpc/startv2.s, * ld-powerpc/funref.s,
615 * ld-powerpc/funv1.s, * ld-powerpc/funv2.s,
616 * ld-powerpc/ambiguousv1.d, * ld-powerpc/ambiguousv2.d: New test files.
617 * ld-powerpc/powerpc.exp: Run new tests.
619 2014-03-25 Will Newton <will.newton@linaro.org>
621 * ld-aarch64/aarch64-elf.exp: Add relasz dump test.
622 * ld-aarch64/relasz.d: New file.
623 * ld-aarch64/relasz.s: Likewise.
625 2014-03-20 Richard Sandiford <rdsandiford@googlemail.com>
627 * ld-elf/merge.d: Remove MIPS XFAIL.
629 2014-03-20 Will Newton <will.newton@linaro.org>
631 * ld-arm/ifunc-14.rd: Update symbol values.
633 2014-03-19 Nick Clifton <nickc@redhat.com>
635 * config/default.exp (ASFLAGS): For the RX target add:
636 -muse-conventional-section-names.
638 2014-03-15 Alan Modra <amodra@gmail.com>
640 * ld-powerpc/vle-reloc-3.d: Remove addresses.
642 2014-03-14 Alan Modra <amodra@gmail.com>
644 * ld-powerpc/vle.ld: Place .PPC.EMB.sdata0 within 32k of 0.
645 * ld-powerpc/vle-reloc-3.d: Update.
647 2014-03-06 Roland McGrath <mcgrathr@google.com>
649 * ld-arm/gc-hidden-1.d: Remove target, add not-target to match
650 other ELF-only tests in this directory. Loosen regexps so they
651 don't care what the exact addresses are.
653 2014-03-06 Roland McGrath <mcgrathr@google.com>
655 * ld-arm/arm-elf.exp (armelftests_common): Move long-plt case ...
656 (armelftests_nonacl): ... here.
658 2014-03-05 Alan Modra <amodra@gmail.com>
660 Update copyright years.
662 2014-03-05 Alan Modra <amodra@gmail.com>
664 * ld-powerpc/elfv2-2a.s, ld-powerpc/elfv2-2b.s: New files.
665 * ld-powerpc/elfv2-2exe.d, ld-powerpc/elfv2-2so.d: New files.
666 * ld-powerpc/powerpc.exp: Run new test.
668 2014-03-03 Alan Modra <amodra@gmail.com>
670 * ld-scripts/phdrs2.exp: Correct copyright punctuation.
671 * ld-v850/v850.exp: Correct copyright typo.
673 2014-03-01 Yuri Gribov <y.gribov@samsung.com>
675 * ld-arm/long-plt-format.d, ld-arm/arm-elf.exp: Adjust for arm-eabi.
677 2014-02-27 Yuri Gribov <y.gribov@samsung.com>
679 * ld-arm/long-plt-format.s: New test case.
680 * ld-arm/long-plt-format.d: Expected disassembly.
681 * ld-arm/arm-elf.exp: Run the new test.
683 2014-02-27 Nick Clifton <nickc@redhat.com>
685 * ld-pe/longsecn-1.d: Allow for extra sections.
686 * ld-pe/longsecn-2.d: Likewise.
687 * ld-pe/longsecn.d: Likewise.
688 * ld-pe/secrel.d: Likewise.
690 2014-02-21 Alan Modra <amodra@gmail.com>
692 * ld-bootstrap/bootstrap.exp: Add ppc476 workaround test.
693 * ld-bootstrap/ppc476.t: New file.
695 2014-02-19 Igor Zamyatin <igor.zamyatin@intel.com>
696 H.J. Lu <hongjiu.lu@intel.com>
698 * ld-x86-64/mpx.exp: Run bnd-ifunc-1 and bnd-plt-1.
699 * ld-x86-64/bnd-ifunc-1.d: New file.
700 * ld-x86-64/bnd-ifunc-1.s: Likewise.
701 * ld-x86-64/bnd-plt-1.d: Likewise.
703 2014-02-18 Jack Carter <jack.carter@imgtec.com>
705 * ld-mips-elf/pic-and-nonpic-3a.sd: Check DYNAMIC segment flags.
707 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
709 * ld-elfweak/elfweak.exp (setup_xfail_gnu_hurd): Remove function
712 2014-02-10 H.J. Lu <hongjiu.lu@intel.com>
715 * ld-elf/dynamic-1.c: New file.
716 * ld-elf/dynamic-1.rd: Likewise.
717 * ld-elf/dynamic-1.syms: Likewise.
719 * ld-elf/shared.exp (build_tests): Add dynamic-1.
721 2014-02-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
723 * ld-scripts/rgn-at9.d: New file.
724 * ld-scripts/rgn-at9.t: Likewise.
725 * ld-scripts/rgn-at10.d: Likewise.
726 * ld-scripts/rgn-at10.s: Likewise.
727 * ld-scripts/rgn-at10.t: Likewise.
728 * ld-scripts/rgn-at11.d: Likewise.
729 * ld-scripts/rgn-at11.t: Likewise.
731 2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
733 * ld-nios2/relax_call26.s: New.
734 * ld-nios2/relax_call26_boundary.ld: New.
735 * ld-nios2/relax_call26_boundary.s: New.
736 * ld-nios2/relax_call26_boundary_c8.d: New.
737 * ld-nios2/relax_call26_boundary_cc.d: New.
738 * ld-nios2/relax_call26_boundary_d0.d: New.
739 * ld-nios2/relax_call26_boundary_d4.d: New.
740 * ld-nios2/relax_call26_boundary_d8.d: New.
741 * ld-nios2/relax_call26_boundary_dc.d: New.
742 * ld-nios2/relax_call26_boundary_f0.d: New.
743 * ld-nios2/relax_call26_boundary_f4.d: New.
744 * ld-nios2/relax_call26_boundary_f8.d: New.
745 * ld-nios2/relax_call26_boundary_fc.d: New.
746 * ld-nios2/relax_call26_cache.d: New.
747 * ld-nios2/relax_call26_cache.ld: New.
748 * ld-nios2/relax_call26_cache.s: New.
749 * ld-nios2/relax_call26_multi.d: New.
750 * ld-nios2/relax_call26_multi.ld: New.
751 * ld-nios2/relax_call26_norelax.d: New.
752 * ld-nios2/relax_call26_shared.d: New.
753 * ld-nios2/relax_call26_shared.ld: New.
755 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
757 * ld-elf/rdynamic-1.c: New file.
758 * ld-elf/rdynamic-1.rd: Likewise.
760 * ld-elf/shared.exp (build_tests): Add rdynamic-1.
762 2014-01-28 Nick Clifton <nickc@redhat.com>
765 * ld-tic6x/shlib-1.rd: Expect I attribute with RELA sections.
766 * ld-tic6x/shlib-1b.rd: Likewise.
767 * ld-tic6x/shlib-1r.rd: Likewise.
768 * ld-tic6x/shlib-1rb.rd: Likewise.
769 * ld-tic6x/shlib-app-1rd: Likewise.
770 * ld-tic6x/shlib-app-1b.rd: Likewise.
771 * ld-tic6x/shlib-app-1r.rd: Likewise.
772 * ld-tic6x/shlib-app-1rb.rd: Likewise.
773 * ld-tic6x/shlib-noindex.rd: Likewise.
774 * ld-tic6x/static-app-1.rd: Likewise.
775 * ld-tic6x/static-app-1b.rd: Likewise.
776 * ld-tic6x/static-app-1r.rd: Likewise.
777 * ld-tic6x/static-app-1rb.rd: Likewise.
779 * ld-tic6x/tic6x.exp: Expect C6000 osabi value in relocatable
782 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
784 * ld-elf/pr16498a.s: Replace .align with .p2align.
786 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
789 * ld-elf/pr16498b.d: New file.
790 * ld-elf/pr16498b.t: Likewise.
792 2014-01-24 H.J. Lu <hongjiu.lu@intel.com>
795 * ld-elf/pr16498a.d: New file.
796 * ld-elf/pr16498a.s: Likewise.
797 * ld-elf/pr16498a.t: Likewise.
799 2014-01-22 Alan Modra <amodra@gmail.com>
801 * ld-scripts/pr14962-2.d: Correct target triple.
803 2014-01-22 Alan Modra <amodra@gmail.com>
805 * ld-shared/elf-offset.ld: Align end of .bss with canonical form
806 of ALIGN that allows an empty .bss to be removed.
807 * ld-arm/arm-dyn.ld: Likewise.
808 * ld-arm/arm-lib.ld: Likewise.
809 * ld-elfvsb/elf-offset.ld: Likewise.
810 * ld-mips-elf/mips-dyn.ld: Likewise.
811 * ld-mips-elf/mips-lib.ld: Likewise.
812 * ld-arm/arm-no-rel-plt.ld: Remove duplicate ALIGN.
813 * ld-powerpc/vle-multiseg-1.ld: Remove ALIGN at start of section.
814 ALIGN address of section instead.
815 * ld-powerpc/vle-multiseg-2.ld: Likewise.
816 * ld-powerpc/vle-multiseg-3.ld: Likewise.
817 * ld-powerpc/vle-multiseg-4.ld: Likewise.
818 * ld-powerpc/vle-multiseg-6.ld: Likewise.
819 * ld-scripts/empty-aligned.d: Check section headers not program
820 headers. Remove xfail and notarget.
821 * ld-scripts/empty-aligned.t: Use canonical ALIGN for end of .text2.
823 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
826 * ld-ifunc/dummy.c: New file.
827 * ld-ifunc/pr16467.out: Likewise.
828 * ld-ifunc/pr16467a.c: Likewise.
829 * ld-ifunc/pr16467a.map: Likewise.
830 * ld-ifunc/pr16467b.c: Likewise.
831 * ld-ifunc/pr16467b.map: Likewise.
832 * ld-ifunc/pr16467c.c: Likewise.
834 * ld-ifunc/ifunc.exp (run_cc_link_tests): New.
835 (run_ld_link_exec_tests): Run pr16467.
837 2014-01-21 H.J. Lu <hongjiu.lu@intel.com>
840 * ld-elf/shared.exp: Add a PIE test for PR ld/2404.
842 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
845 * ld-elf/pr2404.out: New file.
846 * ld-elf/pr2404a.c: Likewise.
847 * ld-elf/pr2404b.c: Likewise.
849 * ld-elf/shared.exp (build_tests): Build libpr2404a.so and
851 (run_tests): Run pr2404.
853 2014-01-20 Alan Modra <amodra@gmail.com>
855 * ld-scripts/pr14962-2.d,
856 * ld-scripts/pr14962-2.t: New test.
857 * ld-scripts/expr.exp: Run it.
859 2014-01-15 Alan Modra <amodra@gmail.com>
861 * ld-elf/ehdr_start-shared.d: New.
862 * ld-elf/ehdr_start-userdef.d: xfail frv.
863 * ld-elf/ehdr_start-weak.d: Likewise.
864 * ld-elf/ehdr_start.d: Likewise.
866 2014-01-14 Vidya Praveen <vidyapraveen@arm.com>
868 * lib/ld-lib.exp (default_ld_link): Remove support for ldflags.
869 (default_ld_simple_link): Likewise.
871 2014-01-10 Alan Modra <amodra@gmail.com>
873 * ld-x86-64/pr14207.d: Adjust.
875 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
877 * ld-elf/binutils.exp (binutils_test): Check if GNU_RELRO segment
880 2014-01-09 Vidya Praveen <vidyapraveen@arm.com>
882 * lib/ld-lib.exp (check_lto_shared_available): New check.
883 * ld-plugin/lto.exp: Use check_lto_shared_available.
885 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
890 * ld-elf/pr16322.d: New file.
891 * ld-elf/pr16322.s: Likewise.
893 * ld-x86-64/pr14207.d: Expect PT_GNU_RELRO segment.
895 For older changes see ChangeLog-2013
897 Copyright (C) 2014 Free Software Foundation, Inc.
899 Copying and distribution of this file, with or without modification,
900 are permitted in any medium without royalty provided the copyright
901 notice and this notice are preserved.
907 version-control: never