Relax dwarf3 expected error match
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
002a5d4e
AM
12017-02-17 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
4 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
5
3239a423
AB
62017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * testsuite/ld-elf/shared.exp: Update expected results.
9 * testsuite/ld-elf/dwarf2.err: Likewise
10
90ed9b8b
AB
112017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
12
13 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
14 * testsuite/ld-elf/dwarf2.err: New file.
15 * testsuite/ld-elf/dwarf2a.c: New file.
16 * testsuite/ld-elf/dwarf2b.c: New file.
17 * testsuite/ld-elf/dwarf3.c: New file.
18 * testsuite/ld-elf/dwarf3.err: New file.
19
2bd7f877
AB
202017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
21
22 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
23 error, warning_output, and error_output actions. Remove separate
24 warnings parameter.
25 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
26 'warning' action.
27 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
28
37d7d56c
AM
292017-02-16 Alan Modra <amodra@gmail.com>
30
31 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
32 from void pointers to function pointers.
33 * testsuite/ld-elf/pr18718.c: Update to suit.
34 * testsuite/ld-elf/pr18720a.c: Update to suit.
35
a8c75b76
AM
362017-02-16 Alan Modra <amodra@gmail.com>
37
38 PR 21000
39 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
40 * testsuite/ld-elf/loadaddr2.d: Likewise.
41 * testsuite/ld-elf/loadaddr3a.d: Likewise.
42 * testsuite/ld-scripts/rgn-at5.d: Likewise.
43
a48cda7f
AM
442017-02-16 Alan Modra <amodra@gmail.com>
45
46 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
47 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
48
2a568401
L
492017-02-15 H.J. Lu <hongjiu.lu@intel.com>
50
51 PR ld/21168
52 * testsuite/ld-i386/i386.exp: Run pr21168.
53 * testsuite/ld-i386/pr21168a.c: New file.
54 * testsuite/ld-i386/pr21168b.S: Likewise.
55
a5def14f
L
562017-02-15 H.J. Lu <hongjiu.lu@intel.com>
57
58 PR ld/20244
59 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
60 pr20244-4c.
61 * testsuite/ld-i386/pr20244-4.s: New file.
62 * testsuite/ld-i386/pr20244-4a.d: Likewise.
63 * testsuite/ld-i386/pr20244-4b.d: Likewise.
64 * testsuite/ld-i386/pr20244-4c.d: Likewise.
65
ebf0b03c
MR
662017-02-15 Maciej W. Rozycki <macro@imgtec.com>
67
68 * ldmisc.c (vfinfo): Don't print the function name again either
69 if no source file name has been found both now and previously.
70 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
71 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
72 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
73 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
74 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
75 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
76 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
77 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
78 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
79 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
80 Likewise.
81 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
82 Likewise.
83 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
84 Likewise.
85 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
86 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
87 Likewise.
88 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
89 Likewise.
90 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
91 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
92 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
93 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
94 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
95 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
96 * testsuite/ld-powerpc/tocopt.out: Likewise.
97 * testsuite/ld-powerpc/tocopt7.out: Likewise.
98
befe814d
MR
992017-02-15 Maciej W. Rozycki <macro@imgtec.com>
100
101 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
102
defe6f56
IK
1032017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
104
105 * testsuite/ld-scripts/sysroot-prefix.exp
106 (get_base_dir_for_scripts): New function.
107 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
108
10ddfe62
PD
1092017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
110
111 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
112 _gp to __global_pointer$
113
d7488716
AB
1142017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
115
116 * configure.tgt (arc*-*-linux*): Change the default linker
117 emulation based on --with-cpu selection.
118 * NEWS: Mention new configuration option.
119
65f90e82
JW
1202017-02-06 Jiong Wang <jiong.wang@arm.com>
121
122 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
123 "readelf -w".
124
fa93e3d3
MR
1252017-02-02 Maciej W. Rozycki <macro@imgtec.com>
126
127 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
128
2e9af2d0
MR
1292017-02-02 Maciej W. Rozycki <macro@imgtec.com>
130
131 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
132 s/regexp/regex/.
133
fd121c5c
JW
1342017-02-02 Jiong Wang <jiong.wang@arm.com>
135
136 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
137 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
138 dlopen support into "dlopen_run_tests". These tests include dl1*main
139 and dl6*main.
140 (dlopen_run_tests): New and only run it when check_libdl_available
141 returns true. XFAIL on *-*-netbsdelf*.
142
c0c237fc
MR
1432017-02-01 Maciej W. Rozycki <macro@imgtec.com>
144
145 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
146 presentation of relocation addends.
147 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
148 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
149 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
150
5139cfdb
MR
1512017-02-01 Maciej W. Rozycki <macro@imgtec.com>
152
153 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
154 in `.tdata' section.
155 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
156 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
157
ce790370
JW
1582017-02-01 Jiong Wang <jiong.wang@arm.com>
159
160 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
161 Append $board_cflags to link commands.
162
067869b6
SKS
1632017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
164
165 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
166 check for digit in second decimal place.
167
15a00b13
MR
1682017-02-01 Maciej W. Rozycki <macro@imgtec.com>
169
170 PR ld/20828
171 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
172 indentation.
173
1273da04
NC
1742017-01-31 Nick Clifton <nickc@redhat.com>
175
176 * ldmain.c (add_archive_element): Eliminate string buffer.
177 * ldlang.c (lang_print_asneeded): Likewise.
178
8b10b0b3
MR
1792017-01-30 Maciej W. Rozycki <macro@imgtec.com>
180
181 * emultempl/mipself.em (ignore_branch_isa): New variable.
182 (mips_create_output_section_statements): Rename
183 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
184 add `ignore_branch_isa' argument.
185 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
186 OPTION_NO_IGNORE_BRANCH_ISA enum values.
187 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
188 "no-ignore-branch-isa" options.
189 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
190 `--no-ignore-branch-isa'.
191 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
192 OPTION_NO_IGNORE_BRANCH_ISA.
193
194 * ld.texinfo (Options specific to MIPS targets): Add
195 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
196 (ld and the MIPS family): Likewise.
197
198 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
199 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
200 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
201 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
202 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
203 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
204 test.
205 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
206 test.
207 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
208
bf382b30
HPN
2092017-01-29 Hans-Peter Nilsson <hp@axis.com>
210
c1d45238 211 PR binutils/19935
bf382b30
HPN
212 Fix long-standing buglet and fallout from now-default initfini-array.
213 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
ce6366f9 214 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
bf382b30 215
4471a46f
JW
2162017-01-27 Jiong Wang <jiong.wang@arm.com>
217
218 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
219 arm*-*-eabi*.
220
387dd777
DP
2212017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
222 Nick Clifton <nickc@redhat.com>
223
224 PR 20343
225 * ld.texinfo (Options): Extend documentation of the --plugin
226 option. Include a description of where the plugins should be
227 located.
228
0348d4be
NC
2292017-01-27 Nick Clifton <nickc@redhat.com>
230
231 * po/sr.po: New Serbian translation.
232 * configure.ac (ALL_LINGUAS): Add sr.
233 * configure: Regenerate.
234
c75b4ebd
SH
2352017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
236
237 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
238 (bfin-*-rtems*): Move to (bfin*-*-elf*).
239 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
240 (m68*-*-rtems*): Move to (m68*-*-elf*).
241 (mips*-*-rtems*): Move to (mips*-*-elf*).
242 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
243 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
244 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
245 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
246
850d84f6
SH
2472017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
248
249 * configure.tgt (h8300-*-rtemscoff*): Remove.
250 (i960-*-rtems*): Likewise.
251 (m68*-*-rtemscoff*): Likewise.
252 (sh-*-rtemscoff*): Likewise.
253
1a792e1c
MR
2542017-01-24 Maciej W. Rozycki <macro@imgtec.com>
255
256 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
257 add implicit version nodes if an anonymous version tag is being
258 used.
259
077c11e8
JW
2602017-01-24 Jiong Wang <jiong.wang@arm.com>
261
262 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
263 "Compile 8a", "Compile 8b"...
264 (lto_compile_elf_tests): ...to here. Always run these tests.
265 (lto_run_elf_tests): Move "LTO 7"...
266 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
267 environment where share library is supported.
268
f0158f44
AM
2692017-01-24 Alan Modra <amodra@gmail.com>
270
271 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
272 and symbols.
273 * testsuite/ld-powerpc/tlsexe.d: Likewise.
274 * testsuite/ld-powerpc/tlsexe.g: Likewise.
275
2d0ca824
YN
2762017-01-23 Yury Norov <ynorov@caviumnetworks.com>
277
278 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
279 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
280 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
281 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
282 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
283 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
284 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
285 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
286 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
287 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
288 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
289 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
290 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
291
8069955e
NC
2922017-01-23 Nick Clifton <nickc@redhat.com>
293
294 * po/ga.po: Updated Irish translation.
295
1e5f45bb
MR
2962017-01-23 Maciej W. Rozycki <macro@imgtec.com>
297
298 PR ld/20828
299 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
300
fda46c41
MR
3012017-01-23 Maciej W. Rozycki <macro@imgtec.com>
302
303 PR ld/20828
304 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
305 `fdata' and `edata' respectively.
306 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
307 * testsuite/ld-elf/pr20828-a.sd: Likewise.
308 * testsuite/ld-elf/pr20828-b.sd: Likewise.
309 * testsuite/ld-elf/pr20828-c.sd: Likewise.
310
adcbdc63
MR
3112017-01-23 Maciej W. Rozycki <macro@imgtec.com>
312
313 PR ld/20828
314 * testsuite/ld-elf/pr20828-1.sd: Remove test.
315 * testsuite/ld-elf/pr20828-a.sd: New test.
316 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
317 * testsuite/ld-elf/pr20828-b.sd: ... this.
318 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
319 * testsuite/ld-elf/pr20828-c.sd: ... this.
320 * testsuite/ld-elf/shared.exp: Adjust accordingly.
321
9966f7ee
JW
3222017-01-23 Jiong Wang <jiong.wang@arm.com>
323
324 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
325 board_cflags as gcc is used as linker driver.
326 * testsuite/ld-unique/unique.exp: Likewise
327
7f784814
JW
3282017-01-20 Jiong Wang <jiong.wang@arm.com>
329
330 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
331 * testsuite/ld-aarch64/func-in-so.s: New test source file.
332 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
333 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
334
1737c640
AB
3352017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
336
337 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
338
6984613a
MR
3392017-01-18 Maciej W. Rozycki <macro@imgtec.com>
340
341 PR ld/20995
342 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
343 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
344
81ff47b3
MR
3452017-01-18 Maciej W. Rozycki <macro@imgtec.com>
346
347 PR ld/20828
348 * testsuite/ld-elf/pr20828-1.sd: New test.
349 * testsuite/ld-elf/pr20828-2a.sd: New test.
350 * testsuite/ld-elf/pr20828-2b.sd: New test.
351 * testsuite/ld-elf/pr20828.ld: New test linker script.
352 * testsuite/ld-elf/pr20828.ver: New test version script.
353 * testsuite/ld-elf/pr20828.s: New test source.
354 * testsuite/ld-elf/shared.exp: Run the new test.
355
9e009953
MR
3562017-01-18 Maciej W. Rozycki <macro@imgtec.com>
357
358 PR gas/20649
359 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
360 relocation pairing link test.
361
319b82e4
DD
3622017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
363
364 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
365 uniqeue.exp, as not all targets have such support.
366
6aa1df2d
NC
3672017-01-16 Nick Clifton <nickc@redhat.com>
368
369 * po/sv.po: Updated Swedish translation.
370
8361ed4d
L
3712017-01-12 H.J. Lu <hongjiu.lu@intel.com>
372
373 PR ld/21038
374 * testsuite/ld-x86-64/pr21038b.d: Updated.
375 * testsuite/ld-x86-64/pr21038c.d: New file.
376 * testsuite/ld-x86-64/pr21038c.s: Likewise.
377 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
378
9e659176
L
3792017-01-11 H.J. Lu <hongjiu.lu@intel.com>
380
381 PR ld/21038
382 * testsuite/ld-x86-64/pr21038a.d: New file.
383 * testsuite/ld-x86-64/pr21038a.s: Likewise.
384 * testsuite/ld-x86-64/pr21038b.d: Likewise.
385 * testsuite/ld-x86-64/pr21038b.s: Likewise.
386 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
387
f2e2d2f5
JS
3882017-01-11 Jeremy Soller <jackpot51@gmail.com>
389
390 * configure.tgt: Add entries for x86-redox and x86_64-redox.
391
52b232b3
L
3922017-01-10 H.J. Lu <hongjiu.lu@intel.com>
393
394 * testsuite/ld-x86-64/pr20830b.d: Updated.
395
59a1e29d
L
3962017-01-10 H.J. Lu <hongjiu.lu@intel.com>
397
398 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
399 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
400 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
401 * testsuite/ld-x86-64/pr20830b.d: New file.
402 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
403 Run pr20830b.
404
fff53dae
L
4052017-01-10 H.J. Lu <hongjiu.lu@intel.com>
406
407 PR ld/20830
408 * testsuite/ld-i386/i386.exp: Run pr20830.
409 * testsuite/ld-x86-64/x86-64.exp: Likewise.
410 * testsuite/ld-i386/pr20830.d: New file.
411 * testsuite/ld-i386/pr20830.s: Likewise.
412 * testsuite/ld-x86-64/pr20830.d: Likewise.
413 * testsuite/ld-x86-64/pr20830.s: Likewise.
414
e9237227
L
4152017-01-10 H.J. Lu <hongjiu.lu@intel.com>
416
417 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
418 -Wl,--as-needed to $CC.
419 * testsuite/ld-i386/tls.exp: Likewise.
420
07e8e623
NC
4212017-01-10 Nick Clifton <nickc@redhat.com>
422
423 * po/sv.po: Updated Swedish translation.
424
07ccf83c
GM
4252016-12-09 Graham Markall <graham.markall@embecosm.com>
426 Andrew Burgess <andrew.burgess@embecosm.com>
427
428 * Makefile.am: Add earclinux_nps.c target and add to
429 ALL_EMULATION_SOURCES.
430 * Makefile.in: Likewise, regenerated.
431 * configure.tgt: Add arclinux_nps as an extra emulation for
432 arc*-*-elf* and arc*-*-linux*.
433 * emulparams/arc-nps.sh: New file.
434 * emulparams/arclinux_nps.sh: New file.
435 * testsuite/ld-arc/arclinux-nps.d,
436 * testsuite/ld-arc/arclinux-nps.s: New test.
437
b0556316
DP
4382017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
439
440 PR 20958
441 * ldlex.l (option): Add noyywrap
442 (yywrap): Delete.
443 * ldlex.h (yywrap): Delete prototype.
444
47523653
AM
4452017-01-04 Alan Modra <amodra@gmail.com>
446
447 * testsuite/ld-elf/audit.exp: Check for shared lib support.
448 * testsuite/ld-elf/compress.exp: Likewise.
449 * testsuite/ld-elf/dwarf.exp: Likewise.
450 * testsuite/ld-elf/shared.exp: Likewise.
451 * testsuite/ld-elf/wrap.exp: Likewise.
452 * testsuite/ld-ifunc/ifunc.exp: Likewise.
453 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
454
a44d0bd7
AM
4552017-01-03 Alan Modra <amodra@gmail.com>
456
457 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
458 allow test to continue after compilation errors.
459 (run_cc_link_tests): Likewise.
460
27c3ce29
DD
4612017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
462
463 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
464 (epruelf.c): Remove unneeded dependencies.
465 * Makefile.in: Regenerate
466
8cfc7cf8
AM
4672017-01-03 Alan Modra <amodra@gmail.com>
468
469 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
470 to various tests.
471 * testsuite/ld-elfweak/elfweak.exp: Likewise.
472 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
473
4ce6ca2c
AM
4742017-01-03 Alan Modra <amodra@gmail.com>
475
476 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
477 * testsuite/ld-pie/pie.exp: Likewise.
478 * testsuite/ld-plugin/lto.exp: Likewise.
479
d9816402
AM
4802017-01-02 Alan Modra <amodra@gmail.com>
481
482 * Makefile.am (bootstrap): Delete rule.
483 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
484 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
485 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
486 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
487 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
488 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
489 * Makefile.in: Regenerate.
490 * configure: Regenerate.
491 * testsuite/config/default.exp (get_link_files): Delete.
492 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
493 define.
494 (ld_simple_link): Delete.
495 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
496 (default_ld_simple_link): Rename to default_ld_link.
497 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
498 (run_ld_link_tests): Use ld_link, not ld_simple_link.
499 (run_cc_link_tests): Likewise.
500 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
501 Don't run exe when not native, and return unsupported.
502 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
503 Link ld1 etc. using $CC.
504 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
505 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
506 * testsuite/ld-cygwin/exe-export.exp: Likewise.
507 * testsuite/ld-elf/binutils.exp: Likewise.
508 * testsuite/ld-elf/eh-group.exp: Likewise.
509 * testsuite/ld-elf/exclude.exp: Likewise.
510 * testsuite/ld-elf/frame.exp: Likewise.
511 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
512 * testsuite/ld-elf/tls_common.exp: Likewise.
513 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
514 * testsuite/ld-fastcall/fastcall.exp: Likewise.
515 * testsuite/ld-gc/gc.exp: Likewise.
516 * testsuite/ld-ifunc/binutils.exp: Likewise.
517 * testsuite/ld-mep/mep.exp: Likewise.
518 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
519 * testsuite/ld-mn10300/mn10300.exp: Likewise.
520 * testsuite/ld-nios2/nios2.exp: Likewise.
521 * testsuite/ld-pe/pe-compile.exp: Likewise.
522 * testsuite/ld-pe/pe-run.exp: Likewise.
523 * testsuite/ld-pe/pe-run2.exp: Likewise.
524 * testsuite/ld-plugin/plugin.exp: Likewise.
525 * testsuite/ld-scripts/align.exp: Likewise.
526 * testsuite/ld-scripts/alignof.exp: Likewise.
527 * testsuite/ld-scripts/assert.exp: Likewise.
528 * testsuite/ld-scripts/defined.exp: Likewise.
529 * testsuite/ld-scripts/extern.exp: Likewise.
530 * testsuite/ld-scripts/log2.exp: Likewise.
531 * testsuite/ld-scripts/map-address.exp: Likewise.
532 * testsuite/ld-scripts/phdrs.exp: Likewise.
533 * testsuite/ld-scripts/phdrs2.exp: Likewise.
534 * testsuite/ld-scripts/script.exp: Likewise.
535 * testsuite/ld-scripts/section-flags.exp: Likewise.
536 * testsuite/ld-scripts/sizeof.exp: Likewise.
537 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
538 * testsuite/ld-scripts/weak.exp: Likewise.
539 * testsuite/ld-selective/selective.exp: Likewise.
540 * testsuite/ld-sh/sh.exp: Likewise.
541 * testsuite/ld-sh/sh64/relax.exp: Likewise.
542 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
543 * testsuite/ld-srec/srec.exp: Likewise.
544 * testsuite/ld-tic6x/tic6x.exp: Likewise.
545 * testsuite/ld-undefined/weak-undef.exp: Likewise.
546 * testsuite/ld-versados/versados.exp: Likewise.
547 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
548 * testsuite/ld-xtensa/coalesce.exp: Likewise.
549 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
550 * testsuite/ld-xtensa/lcall.exp: Likewise.
551 * testsuite/ld-elf/audit.exp: Run non-native too.
552 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
553 gcc -Wl, options.
554 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
555 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
556 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
557 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
558 -Wl,--no-as-needed to most tests.
559 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
560 to simplify quoting. Set run_tests using [list] rather than
561 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
562 to many test. Prefix ld options with -Wl,.
563 (mix_pic_and_non_pic): Don't run exe if not native.
564 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
565 -Wl,--no-as-needed and prefix ld options with -Wl,.
566 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
567 not ld_simple_link.
568 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
569 (visibility_test): Don't run exe if not native.
570 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
571 not ld_simple_link.
572 (build_exec): Don't run exe if not native.
573 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
574 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
575 to some tests and prefix ld options with -Wl,. Expect GNU
576 for hppa-linux even when no ifuncs. Delete cleanup.
577 * testsuite/ld-pie/pie.exp: Run non-native too.
578 * testsuite/ld-plugin/lto.exp: Likewise.
579 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
580 not ld_simple_link.
581 (shared_test): Don't run exe if not native.
582 * testsuite/ld-size/size.exp: Run non-native too. Add
583 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
584 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
585 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
586 to some tests and prefix ld options with -Wl,. Expect GNU
587 for hppa-linux even when no unique syms. Delete cleanup.
588 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
589 tests and prefix ld options with -Wl,.
590 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
591 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
592
64859e14
AM
5932017-01-02 Alan Modra <amodra@gmail.com>
594
595 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
596
f5657270
AM
5972017-01-02 Alan Modra <amodra@gmail.com>
598
599 PR ld/21000
600 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
601 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
602 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
603 is already defined.
604
2571583a
AM
6052017-01-02 Alan Modra <amodra@gmail.com>
606
607 Update year range in copyright notice of all files.
608
5c1ad6b5 609For older changes see ChangeLog-2016
3499769a 610\f
5c1ad6b5 611Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
612
613Copying and distribution of this file, with or without modification,
614are permitted in any medium without royalty provided the copyright
615notice and this notice are preserved.
616
617Local Variables:
618mode: change-log
619left-margin: 8
620fill-column: 74
621version-control: never
622End:
This page took 0.102191 seconds and 4 git commands to generate.