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