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