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