i386: Allow "lea foo@GOT, %reg" in PIC
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 PR ld/21168
4 * testsuite/ld-i386/i386.exp: Run pr21168.
5 * testsuite/ld-i386/pr21168a.c: New file.
6 * testsuite/ld-i386/pr21168b.S: Likewise.
7
8 2017-02-15 H.J. Lu <hongjiu.lu@intel.com>
9
10 PR ld/20244
11 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
12 pr20244-4c.
13 * testsuite/ld-i386/pr20244-4.s: New file.
14 * testsuite/ld-i386/pr20244-4a.d: Likewise.
15 * testsuite/ld-i386/pr20244-4b.d: Likewise.
16 * testsuite/ld-i386/pr20244-4c.d: Likewise.
17
18 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
19
20 * ldmisc.c (vfinfo): Don't print the function name again either
21 if no source file name has been found both now and previously.
22 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
23 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
24 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
25 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
26 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
27 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
28 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
29 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
30 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
31 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
32 Likewise.
33 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
34 Likewise.
35 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
36 Likewise.
37 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
38 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
39 Likewise.
40 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
41 Likewise.
42 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
43 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
44 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
45 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
46 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
47 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
48 * testsuite/ld-powerpc/tocopt.out: Likewise.
49 * testsuite/ld-powerpc/tocopt7.out: Likewise.
50
51 2017-02-15 Maciej W. Rozycki <macro@imgtec.com>
52
53 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
54
55 2017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
56
57 * testsuite/ld-scripts/sysroot-prefix.exp
58 (get_base_dir_for_scripts): New function.
59 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
60
61 2017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
62
63 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
64 _gp to __global_pointer$
65
66 2017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
67
68 * configure.tgt (arc*-*-linux*): Change the default linker
69 emulation based on --with-cpu selection.
70 * NEWS: Mention new configuration option.
71
72 2017-02-06 Jiong Wang <jiong.wang@arm.com>
73
74 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
75 "readelf -w".
76
77 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
78
79 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
80
81 2017-02-02 Maciej W. Rozycki <macro@imgtec.com>
82
83 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
84 s/regexp/regex/.
85
86 2017-02-02 Jiong Wang <jiong.wang@arm.com>
87
88 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
89 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
90 dlopen support into "dlopen_run_tests". These tests include dl1*main
91 and dl6*main.
92 (dlopen_run_tests): New and only run it when check_libdl_available
93 returns true. XFAIL on *-*-netbsdelf*.
94
95 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
96
97 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
98 presentation of relocation addends.
99 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
100 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
101 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
102
103 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
104
105 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
106 in `.tdata' section.
107 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
108 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
109
110 2017-02-01 Jiong Wang <jiong.wang@arm.com>
111
112 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
113 Append $board_cflags to link commands.
114
115 2017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
116
117 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
118 check for digit in second decimal place.
119
120 2017-02-01 Maciej W. Rozycki <macro@imgtec.com>
121
122 PR ld/20828
123 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
124 indentation.
125
126 2017-01-31 Nick Clifton <nickc@redhat.com>
127
128 * ldmain.c (add_archive_element): Eliminate string buffer.
129 * ldlang.c (lang_print_asneeded): Likewise.
130
131 2017-01-30 Maciej W. Rozycki <macro@imgtec.com>
132
133 * emultempl/mipself.em (ignore_branch_isa): New variable.
134 (mips_create_output_section_statements): Rename
135 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
136 add `ignore_branch_isa' argument.
137 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
138 OPTION_NO_IGNORE_BRANCH_ISA enum values.
139 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
140 "no-ignore-branch-isa" options.
141 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
142 `--no-ignore-branch-isa'.
143 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
144 OPTION_NO_IGNORE_BRANCH_ISA.
145
146 * ld.texinfo (Options specific to MIPS targets): Add
147 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
148 (ld and the MIPS family): Likewise.
149
150 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
151 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
152 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
153 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
154 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
155 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
156 test.
157 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
158 test.
159 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
160
161 2017-01-29 Hans-Peter Nilsson <hp@axis.com>
162
163 PR binutils/19935
164 Fix long-standing buglet and fallout from now-default initfini-array.
165 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
166 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
167
168 2017-01-27 Jiong Wang <jiong.wang@arm.com>
169
170 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
171 arm*-*-eabi*.
172
173 2017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
174 Nick Clifton <nickc@redhat.com>
175
176 PR 20343
177 * ld.texinfo (Options): Extend documentation of the --plugin
178 option. Include a description of where the plugins should be
179 located.
180
181 2017-01-27 Nick Clifton <nickc@redhat.com>
182
183 * po/sr.po: New Serbian translation.
184 * configure.ac (ALL_LINGUAS): Add sr.
185 * configure: Regenerate.
186
187 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
188
189 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
190 (bfin-*-rtems*): Move to (bfin*-*-elf*).
191 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
192 (m68*-*-rtems*): Move to (m68*-*-elf*).
193 (mips*-*-rtems*): Move to (mips*-*-elf*).
194 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
195 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
196 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
197 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
198
199 2017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
200
201 * configure.tgt (h8300-*-rtemscoff*): Remove.
202 (i960-*-rtems*): Likewise.
203 (m68*-*-rtemscoff*): Likewise.
204 (sh-*-rtemscoff*): Likewise.
205
206 2017-01-24 Maciej W. Rozycki <macro@imgtec.com>
207
208 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
209 add implicit version nodes if an anonymous version tag is being
210 used.
211
212 2017-01-24 Jiong Wang <jiong.wang@arm.com>
213
214 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
215 "Compile 8a", "Compile 8b"...
216 (lto_compile_elf_tests): ...to here. Always run these tests.
217 (lto_run_elf_tests): Move "LTO 7"...
218 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
219 environment where share library is supported.
220
221 2017-01-24 Alan Modra <amodra@gmail.com>
222
223 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
224 and symbols.
225 * testsuite/ld-powerpc/tlsexe.d: Likewise.
226 * testsuite/ld-powerpc/tlsexe.g: Likewise.
227
228 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
229
230 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
231 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
232 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
233 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
234 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
235 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
236 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
237 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
238 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
239 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
240 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
241 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
242 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
243
244 2017-01-23 Nick Clifton <nickc@redhat.com>
245
246 * po/ga.po: Updated Irish translation.
247
248 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
249
250 PR ld/20828
251 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
252
253 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
254
255 PR ld/20828
256 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
257 `fdata' and `edata' respectively.
258 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
259 * testsuite/ld-elf/pr20828-a.sd: Likewise.
260 * testsuite/ld-elf/pr20828-b.sd: Likewise.
261 * testsuite/ld-elf/pr20828-c.sd: Likewise.
262
263 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
264
265 PR ld/20828
266 * testsuite/ld-elf/pr20828-1.sd: Remove test.
267 * testsuite/ld-elf/pr20828-a.sd: New test.
268 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
269 * testsuite/ld-elf/pr20828-b.sd: ... this.
270 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
271 * testsuite/ld-elf/pr20828-c.sd: ... this.
272 * testsuite/ld-elf/shared.exp: Adjust accordingly.
273
274 2017-01-23 Jiong Wang <jiong.wang@arm.com>
275
276 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
277 board_cflags as gcc is used as linker driver.
278 * testsuite/ld-unique/unique.exp: Likewise
279
280 2017-01-20 Jiong Wang <jiong.wang@arm.com>
281
282 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
283 * testsuite/ld-aarch64/func-in-so.s: New test source file.
284 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
285 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
286
287 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
288
289 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
290
291 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
292
293 PR ld/20995
294 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
295 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
296
297 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
298
299 PR ld/20828
300 * testsuite/ld-elf/pr20828-1.sd: New test.
301 * testsuite/ld-elf/pr20828-2a.sd: New test.
302 * testsuite/ld-elf/pr20828-2b.sd: New test.
303 * testsuite/ld-elf/pr20828.ld: New test linker script.
304 * testsuite/ld-elf/pr20828.ver: New test version script.
305 * testsuite/ld-elf/pr20828.s: New test source.
306 * testsuite/ld-elf/shared.exp: Run the new test.
307
308 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
309
310 PR gas/20649
311 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
312 relocation pairing link test.
313
314 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
315
316 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
317 uniqeue.exp, as not all targets have such support.
318
319 2017-01-16 Nick Clifton <nickc@redhat.com>
320
321 * po/sv.po: Updated Swedish translation.
322
323 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
324
325 PR ld/21038
326 * testsuite/ld-x86-64/pr21038b.d: Updated.
327 * testsuite/ld-x86-64/pr21038c.d: New file.
328 * testsuite/ld-x86-64/pr21038c.s: Likewise.
329 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
330
331 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
332
333 PR ld/21038
334 * testsuite/ld-x86-64/pr21038a.d: New file.
335 * testsuite/ld-x86-64/pr21038a.s: Likewise.
336 * testsuite/ld-x86-64/pr21038b.d: Likewise.
337 * testsuite/ld-x86-64/pr21038b.s: Likewise.
338 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
339
340 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
341
342 * configure.tgt: Add entries for x86-redox and x86_64-redox.
343
344 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
345
346 * testsuite/ld-x86-64/pr20830b.d: Updated.
347
348 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
349
350 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
351 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
352 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
353 * testsuite/ld-x86-64/pr20830b.d: New file.
354 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
355 Run pr20830b.
356
357 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
358
359 PR ld/20830
360 * testsuite/ld-i386/i386.exp: Run pr20830.
361 * testsuite/ld-x86-64/x86-64.exp: Likewise.
362 * testsuite/ld-i386/pr20830.d: New file.
363 * testsuite/ld-i386/pr20830.s: Likewise.
364 * testsuite/ld-x86-64/pr20830.d: Likewise.
365 * testsuite/ld-x86-64/pr20830.s: Likewise.
366
367 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
368
369 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
370 -Wl,--as-needed to $CC.
371 * testsuite/ld-i386/tls.exp: Likewise.
372
373 2017-01-10 Nick Clifton <nickc@redhat.com>
374
375 * po/sv.po: Updated Swedish translation.
376
377 2016-12-09 Graham Markall <graham.markall@embecosm.com>
378 Andrew Burgess <andrew.burgess@embecosm.com>
379
380 * Makefile.am: Add earclinux_nps.c target and add to
381 ALL_EMULATION_SOURCES.
382 * Makefile.in: Likewise, regenerated.
383 * configure.tgt: Add arclinux_nps as an extra emulation for
384 arc*-*-elf* and arc*-*-linux*.
385 * emulparams/arc-nps.sh: New file.
386 * emulparams/arclinux_nps.sh: New file.
387 * testsuite/ld-arc/arclinux-nps.d,
388 * testsuite/ld-arc/arclinux-nps.s: New test.
389
390 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
391
392 PR 20958
393 * ldlex.l (option): Add noyywrap
394 (yywrap): Delete.
395 * ldlex.h (yywrap): Delete prototype.
396
397 2017-01-04 Alan Modra <amodra@gmail.com>
398
399 * testsuite/ld-elf/audit.exp: Check for shared lib support.
400 * testsuite/ld-elf/compress.exp: Likewise.
401 * testsuite/ld-elf/dwarf.exp: Likewise.
402 * testsuite/ld-elf/shared.exp: Likewise.
403 * testsuite/ld-elf/wrap.exp: Likewise.
404 * testsuite/ld-ifunc/ifunc.exp: Likewise.
405 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
406
407 2017-01-03 Alan Modra <amodra@gmail.com>
408
409 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
410 allow test to continue after compilation errors.
411 (run_cc_link_tests): Likewise.
412
413 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
414
415 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
416 (epruelf.c): Remove unneeded dependencies.
417 * Makefile.in: Regenerate
418
419 2017-01-03 Alan Modra <amodra@gmail.com>
420
421 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
422 to various tests.
423 * testsuite/ld-elfweak/elfweak.exp: Likewise.
424 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
425
426 2017-01-03 Alan Modra <amodra@gmail.com>
427
428 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
429 * testsuite/ld-pie/pie.exp: Likewise.
430 * testsuite/ld-plugin/lto.exp: Likewise.
431
432 2017-01-02 Alan Modra <amodra@gmail.com>
433
434 * Makefile.am (bootstrap): Delete rule.
435 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
436 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
437 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
438 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
439 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
440 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
441 * Makefile.in: Regenerate.
442 * configure: Regenerate.
443 * testsuite/config/default.exp (get_link_files): Delete.
444 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
445 define.
446 (ld_simple_link): Delete.
447 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
448 (default_ld_simple_link): Rename to default_ld_link.
449 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
450 (run_ld_link_tests): Use ld_link, not ld_simple_link.
451 (run_cc_link_tests): Likewise.
452 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
453 Don't run exe when not native, and return unsupported.
454 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
455 Link ld1 etc. using $CC.
456 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
457 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
458 * testsuite/ld-cygwin/exe-export.exp: Likewise.
459 * testsuite/ld-elf/binutils.exp: Likewise.
460 * testsuite/ld-elf/eh-group.exp: Likewise.
461 * testsuite/ld-elf/exclude.exp: Likewise.
462 * testsuite/ld-elf/frame.exp: Likewise.
463 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
464 * testsuite/ld-elf/tls_common.exp: Likewise.
465 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
466 * testsuite/ld-fastcall/fastcall.exp: Likewise.
467 * testsuite/ld-gc/gc.exp: Likewise.
468 * testsuite/ld-ifunc/binutils.exp: Likewise.
469 * testsuite/ld-mep/mep.exp: Likewise.
470 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
471 * testsuite/ld-mn10300/mn10300.exp: Likewise.
472 * testsuite/ld-nios2/nios2.exp: Likewise.
473 * testsuite/ld-pe/pe-compile.exp: Likewise.
474 * testsuite/ld-pe/pe-run.exp: Likewise.
475 * testsuite/ld-pe/pe-run2.exp: Likewise.
476 * testsuite/ld-plugin/plugin.exp: Likewise.
477 * testsuite/ld-scripts/align.exp: Likewise.
478 * testsuite/ld-scripts/alignof.exp: Likewise.
479 * testsuite/ld-scripts/assert.exp: Likewise.
480 * testsuite/ld-scripts/defined.exp: Likewise.
481 * testsuite/ld-scripts/extern.exp: Likewise.
482 * testsuite/ld-scripts/log2.exp: Likewise.
483 * testsuite/ld-scripts/map-address.exp: Likewise.
484 * testsuite/ld-scripts/phdrs.exp: Likewise.
485 * testsuite/ld-scripts/phdrs2.exp: Likewise.
486 * testsuite/ld-scripts/script.exp: Likewise.
487 * testsuite/ld-scripts/section-flags.exp: Likewise.
488 * testsuite/ld-scripts/sizeof.exp: Likewise.
489 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
490 * testsuite/ld-scripts/weak.exp: Likewise.
491 * testsuite/ld-selective/selective.exp: Likewise.
492 * testsuite/ld-sh/sh.exp: Likewise.
493 * testsuite/ld-sh/sh64/relax.exp: Likewise.
494 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
495 * testsuite/ld-srec/srec.exp: Likewise.
496 * testsuite/ld-tic6x/tic6x.exp: Likewise.
497 * testsuite/ld-undefined/weak-undef.exp: Likewise.
498 * testsuite/ld-versados/versados.exp: Likewise.
499 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
500 * testsuite/ld-xtensa/coalesce.exp: Likewise.
501 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
502 * testsuite/ld-xtensa/lcall.exp: Likewise.
503 * testsuite/ld-elf/audit.exp: Run non-native too.
504 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
505 gcc -Wl, options.
506 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
507 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
508 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
509 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
510 -Wl,--no-as-needed to most tests.
511 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
512 to simplify quoting. Set run_tests using [list] rather than
513 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
514 to many test. Prefix ld options with -Wl,.
515 (mix_pic_and_non_pic): Don't run exe if not native.
516 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
517 -Wl,--no-as-needed and prefix ld options with -Wl,.
518 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
519 not ld_simple_link.
520 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
521 (visibility_test): Don't run exe if not native.
522 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
523 not ld_simple_link.
524 (build_exec): Don't run exe if not native.
525 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
526 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
527 to some tests and prefix ld options with -Wl,. Expect GNU
528 for hppa-linux even when no ifuncs. Delete cleanup.
529 * testsuite/ld-pie/pie.exp: Run non-native too.
530 * testsuite/ld-plugin/lto.exp: Likewise.
531 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
532 not ld_simple_link.
533 (shared_test): Don't run exe if not native.
534 * testsuite/ld-size/size.exp: Run non-native too. Add
535 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
536 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
537 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
538 to some tests and prefix ld options with -Wl,. Expect GNU
539 for hppa-linux even when no unique syms. Delete cleanup.
540 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
541 tests and prefix ld options with -Wl,.
542 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
543 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
544
545 2017-01-02 Alan Modra <amodra@gmail.com>
546
547 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
548
549 2017-01-02 Alan Modra <amodra@gmail.com>
550
551 PR ld/21000
552 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
553 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
554 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
555 is already defined.
556
557 2017-01-02 Alan Modra <amodra@gmail.com>
558
559 Update year range in copyright notice of all files.
560
561 For older changes see ChangeLog-2016
562 \f
563 Copyright (C) 2017 Free Software Foundation, Inc.
564
565 Copying and distribution of this file, with or without modification,
566 are permitted in any medium without royalty provided the copyright
567 notice and this notice are preserved.
568
569 Local Variables:
570 mode: change-log
571 left-margin: 8
572 fill-column: 74
573 version-control: never
574 End:
This page took 0.072836 seconds and 4 git commands to generate.