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