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