Clean elfvsb files left over from previous runs
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
37095d07
AM
12017-04-10 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-elfvsb/elfvsb.exp (visibility_run): Delete
4 sh1p.o, sh2p.o, sh1np.o and sh2np.o before compiling. Use
5 remote_file host exists rather than file exists.
6
a7eaf017
L
72017-04-07 H.J. Lu <hongjiu.lu@intel.com>
8
9 PR ld/21090
10 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Use
11 NOPIE_CFLAGS and NOPIE_LDFLAGS to disable PIE for the non-pie
12 version of the test.
13
8170f769
L
142017-04-07 H.J. Lu <hongjiu.lu@intel.com>
15
16 PR ld/19579
17 PR ld/21306
18 * testsuite/ld-elf/pr19579a.c (main): Updated.
19
ae3f8c28
NC
202017-04-07 Nick Clifton <nickc@redhat.com>
21
22 PR 21090
23 * testsuite/ld-x86-64/x86-64.exp (undefined_weak): Explicitly
24 disable PIE for the non-pie version of the test.
25
5c1f54ce
AM
262017-04-07 Alan Modra <amodra@gmail.com>
27
28 * testsuite/ld-elf/mbind2a.s: Don't use @, the ARM comment char.
29
1fd6d111
TG
302017-04-07 gingold <gingold@gingold-Precision-7510>
31
32 * testsuite/ld-pe/pe.exp: New test.
33 * testsuite/ld-pe/weakdef-1.s: New test source.
34 * testsuite/ld-pe/weakdef-1.d: New test.
35
3944e22b
AM
362017-04-07 Alan Modra <amodra@gmail.com>
37
38 * testsuite/ld-elf/mbind1a.d: Remove matches for PT_LOAD segments.
39 * testsuite/ld-elf/mbind1b.d: Likewise.
40 * testsuite/ld-elf/mbind1c.d: Likewise.
41
6ca30fa5
HPN
422017-04-05 Hans-Peter Nilsson <hp@axis.com>
43
44 PR ld/21233
45 * testsuite/ld-elf/shared.exp: Change xfails to kfails and fix
46 indentation issue introduced with last commit.
47
4d5efb85
HPN
482017-04-05 Hans-Peter Nilsson <hp@axis.com>
49
50 PR ld/21233
51 * testsuite/ld-elf/shared.exp: Xfail all PR21233 tests but the
52 first test for cris*-*-*.
53
80070c0d
MR
542017-04-04 Maciej W. Rozycki <macro@imgtec.com>
55
56 PR ld/21233
57 * ldlang.c (insert_undefined): Set `mark' for ELF symbols.
58 * testsuite/ld-elf/pr21233.sd: New test.
59 * testsuite/ld-elf/pr21233-l.sd: New test.
60 * testsuite/ld-elf/pr21233.ld: New test linker script.
61 * testsuite/ld-elf/pr21233-e.ld: New test linker script.
62 * testsuite/ld-elf/pr21233.s: New test source.
63 * testsuite/ld-elf/pr21233-l.s: New test source.
64 * testsuite/ld-elf/shared.exp: Run the new tests.
65
a91e1603
L
662017-04-04 H.J. Lu <hongjiu.lu@intel.com>
67
68 * NEWS: Mention support for ELF SHF_GNU_MBIND and
69 PT_GNU_MBIND_XXX.
70 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place
71 input GNU_MBIND sections with the same type, attributes and
72 sh_info field into a single output GNU_MBIND section.
73 * testsuite/ld-elf/elf.exp: Run mbind2a and mbind2b.
74 * testsuite/ld-elf/mbind1.s: New file.
75 * testsuite/ld-elf/mbind1a.d: Likewise.
76 * testsuite/ld-elf/mbind1b.d: Likewise.
77 * testsuite/ld-elf/mbind1c.d: Likewise.
78 * testsuite/ld-elf/mbind2a.s: Likewise.
79 * testsuite/ld-elf/mbind2b.c: Likewise.
80
46bed679
L
812017-04-03 H.J. Lu <hongjiu.lu@intel.com>
82
2514e33e 83 * NEWS: Mention support for ELF GNU program properties.
46bed679
L
84 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
85 ELF setup_gnu_properties.
86 * testsuite/ld-i386/i386.exp: Run property tests for Linux/i386.
87 * testsuite/ld-i386/pass.c: New file.
88 * testsuite/ld-i386/property-1.r: Likewise.
89 * testsuite/ld-i386/property-2.r: Likewise.
90 * testsuite/ld-i386/property-3.r: Likewise.
91 * testsuite/ld-i386/property-4.r: Likewise.
92 * testsuite/ld-i386/property-5.r: Likewise.
93 * testsuite/ld-i386/property-6.r: Likewise.
94 * testsuite/ld-i386/property-6a.c: Likewise.
95 * testsuite/ld-i386/property-6b.c: Likewise.
96 * testsuite/ld-i386/property-6c.S: Likewise.
97 * testsuite/ld-i386/property-7.r: Likewise.
98 * testsuite/ld-i386/property-no-copy.S: Likewise.
99 * testsuite/ld-i386/property-stack.S: Likewise.
100 * testsuite/ld-i386/property-unsorted-1.S: Likewise.
101 * testsuite/ld-i386/property-unsorted-2.S: Likewise.
102 * testsuite/ld-i386/property-x86-1.S: Likewise.
103 * testsuite/ld-i386/property-x86-2.S: Likewise.
104 * testsuite/ld-x86-64/pass.c: Likewise.
105 * testsuite/ld-x86-64/property-1.r: Likewise.
106 * testsuite/ld-x86-64/property-2.r: Likewise.
107 * testsuite/ld-x86-64/property-3.r: Likewise.
108 * testsuite/ld-x86-64/property-4.r: Likewise.
109 * testsuite/ld-x86-64/property-5.r: Likewise.
110 * testsuite/ld-x86-64/property-6.r: Likewise.
111 * testsuite/ld-x86-64/property-6a.c: Likewise.
112 * testsuite/ld-x86-64/property-6b.c: Likewise.
113 * testsuite/ld-x86-64/property-6c.S: Likewise.
114 * testsuite/ld-x86-64/property-7.r: Likewise.
115 * testsuite/ld-x86-64/property-no-copy.S: Likewise.
116 * testsuite/ld-x86-64/property-stack.S: Likewise.
117 * testsuite/ld-x86-64/property-unsorted-1.S: Likewise.
118 * testsuite/ld-x86-64/property-unsorted-2.S: Likewise.
119 * testsuite/ld-x86-64/property-x86-1.S: Likewise.
120 * testsuite/ld-x86-64/property-x86-2.S: Likewise.
121 * testsuite/ld-x86-64/x86-64.exp: Run property tests for
122 Linux/x86-64.
123
086554e8
HPN
1242017-03-28 Hans-Peter Nilsson <hp@axis.com>
125
126 PR ld/16044
127 * testsuite/ld-cris/pr16044.d, testsuite/ld-cris/dso-1c.s,
128 testsuite/ld-cris/dso-2b.s, testsuite/ld-cris/dso-4.s: New test.
129
4c8798c9
SL
1302017-03-21 Sandra Loosemore <sandra@codesourcery.com>
131
132 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Return
133 false for nios2-*-elf.
134
21701718
TG
1352017-03-21 gingold <gingold@gingold-Precision-7510>
136
137 * ldlang.c (lang_check_section_addresses): Check only for
138 allocated sections.
139
1d3fa25f
AM
1402017-03-17 Alan Modra <amodra@gmail.com>
141
142 * testsuite/ld-elf/sec64k.exp: Don't run on h8300 and ip2k.
143
9494d963
TG
1442017-03-15 Tristan Gingold <gingold@adacore.com>
145
146 * testsuite/ld-checks/checks.exp (overflow_check): Disable for
147 non-elf targets.
148
9216a6f3
L
1492017-03-14 H.J. Lu <hongjiu.lu@intel.com>
150
151 * ldlang.c (lang_check_section_addresses): Use addr_mask to
152 check VMA and LMA.
153
f955cccf
NC
1542017-03-13 Nick Clifton <nickc@redhat.com>
155
156 PR binutils/21202
157 * testsuite/ld-aarch64/ifunc-5r-local.d: Update regexp.
158
d40e34db
TG
1592017-03-13 Tristan Gingold <gingold@adacore.com>
160
161 * ldlang.c (lang_check_section_addresses): Check for address space
162 overflow.
163 * testsuite/ld-checks/checks.exp (overflow_check): New procedure
164 * testsuite/ld-checks/over.s: New test source.
165 * testsuite/ld-checks/over.d: New test.
166 * testsuite/ld-checks/over2.s: New test source.
167 * testsuite/ld-checks/over2.d: New test.
168
4b5900d8
AN
1692017-03-13 Alexey Neyman <stilor@att.net>
170
171 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
172 cpu, not host.
173
118aa6cf
AM
1742017-03-11 Alan Modra <amodra@gmail.com>
175
176 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Add
177 sysroot for -rpath search.
178
316a1245
AM
1792017-03-11 Alan Modra <amodra@gmail.com>
180
181 * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Rewrite.
182 Only prefix absolute paths with sysroot. Handle DOS paths.
183 (gld${EMULATION_NAME}_check_ld_elf_hints): Constify variable.
184 (gld${EMULATION_NAME}_check_ld_so_conf): Likewise.
185 (gld${EMULATION_NAME}_after_open): Short-circuit NULL path
186 searches. Rename variable. Simplify get_runpath search.
187
bb4287c5
AM
1882017-03-11 Alan Modra <amodra@gmail.com>
189
190 * testsuite/ld-elf/shared.exp: Use -Wl,-export-dynamic rather
191 than -rdynamic.
192
e299b355
AM
1932017-03-11 Alan Modra <amodra@gmail.com>
194
195 * ld.texinfo (Orphan Sections): Mention that not all targets
196 handle orphans well.
197 * testsuite/ld-elf/orphan-9.d: Don't run for i860 and i960.
198 * testsuite/ld-elf/orphan-10.d: Likewise.
199
14ea2c1b
AB
2002017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
201
202 * ldlang.c (lang_size_sections_1): Shortcut loop only after
203 tracking changes to the default regions LMA.
204 * testsuite/ld-elf/orphan-9.ld: Extend header comment.
205 * testsuite/ld-elf/orphan-10.d: New file.
206 * testsuite/ld-elf/orphan-10.s: New file.
207 * NEWS: Mention change in behaviour.
208
77f5e65e
AB
2092017-03-09 Andrew Burgess <andrew.burgess@embecosm.com>
210
211 * ldlang.c (lang_leave_output_section_statement): Move lma_region
212 logic to...
213 (lang_propagate_lma_regions): ...this new function.
214 (lang_process): Call new function.
215 * testsuite/ld-elf/orphan-9.d: New file.
216 * testsuite/ld-elf/orphan-9.ld: New file.
217 * testsuite/ld-elf/orphan-9.s: New file.
218 * NEWS: Mention change in behaviour.
219
d933941d
AM
2202017-03-07 Alan Modra <amodra@gmail.com>
221
222 * ldlang.c (open_input_bfds): Check that lang_assignment_statement
223 is not an assert before referencing defsym.
224
2e0ce1c8
AM
2252017-03-05 Alan Modra <amodra@gmail.com>
226
227 * testsuite/ld-elf/eh3.d: Adjust for eh_frame alignment change.
228 * testsuite/ld-elf/eh6.d: Likewise.
229 * testsuite/ld-alpha/tlsbin.dd: Likewise.
230 * testsuite/ld-alpha/tlsbin.td: Likewise.
231 * testsuite/ld-alpha/tlsbinr.dd: Likewise.
232 * testsuite/ld-alpha/tlspic.dd: Likewise.
233 * testsuite/ld-alpha/tlspic.rd: Likewise.
234 * testsuite/ld-alpha/tlspic.sd: Likewise.
235 * testsuite/ld-alpha/tlspic.td: Likewise.
236 * testsuite/ld-mips-elf/eh-frame1-n64.d: Likewise.
237 * testsuite/ld-mips-elf/eh-frame2-n64.d: Likewise.
238 * testsuite/ld-mips-elf/eh-frame3.d: Likewise.
239 * testsuite/ld-x86-64/pr20830a.d: Likewise.
240 * testsuite/ld-x86-64/pr21038a.d: Likewise.
241 * testsuite/ld-x86-64/pr21038b.d: Likewise.
242 * testsuite/ld-x86-64/pr21038c.d: Likewise.
243
611a3ca9
NC
2442017-03-03 Max Bolingbroke <batterseapower@hotmail.com>
245
246 PR 12969
247 * pe-dll.c (generate_edata): Fail if the input file(s) require too
248 many ordinals.
249
199add01
AM
2502017-03-02 Alan Modra <amodra@gmail.com>
251
252 * testsuite/ld-elf/shared.exp: Pass -ansi when compiling new.cc
253 and dl3.cc.
254
4ef97a1b
AM
2552017-02-28 Alan Modra <amodra@gmail.com>
256
257 * testsuite/ld-elf/merge.d: xfail for nios.
258
7ba71655
AM
2592017-02-28 Alan Modra <amodra@gmail.com>
260
261 * testsuite/ld-powerpc/addpcis.d: Define ext1 and ext2 at
262 limits of addpcis range.
263
0e392101
MR
2642017-02-28 Maciej W. Rozycki <macro@imgtec.com>
265
266 * testsuite/ld-mips-elf/jalr4.dd: Adjust for `jalr $0, $25'
267 instructions.
268 * testsuite/ld-mips-elf/jalr4-r6.dd: New test.
269 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
270
fbf25dfd
GJL
2712017-02-27 Georg-Johann Lay <gjl@gcc.gnu.org>
272
273 PR target/20849
274 * scripttempl/avrtiny.sc (__RODATA_PM_OFFSET__): New define.
275 (.rodata): New section.
276 (.data): Remove .rodata*.
277
dd803a24
AM
2782017-02-25 Alan Modra <amodra@gmail.com>
279
280 * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux.
281 Set up HPUX defsym. Run pr14170 tests and build symbol3 objects,
282 defining HPUX where necessary. Define HPUX for implib tests.
283 * testsuite/ld-elf/comm-data4.d: Run for hpux.
284 * testsuite/ld-elf/endsym.d: Likewise.
285 * testsuite/ld-elf/linkoncerdiff.d: Likewise.
286 * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX.
287 * testsuite/ld-elf/comm-data5.s: Likewise.
288 * testsuite/ld-elf/endsym.s: Likewise.
289 * testsuite/ld-elf/pr14170c.s: Likewise.
290 * testsuite/ld-elf/symbol3.s: Likewise.
291 * testsuite/ld-elf/implib.s: Likewise. Don't start directives
292 in first column.
293 * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels.
294 * testsuite/ld-elf/warn3.d: Run for hpux.
295 * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux.
296 * testsuite/ld-scripts/rgn-at11.d: Likewise.
297 * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
298
c9f02c3e
MR
2992017-02-24 Maciej W. Rozycki <macro@imgtec.com>
300
c72cea5a
MR
301 * testsuite/ld-elf/ver_def.vd: New test.
302 * testsuite/ld-elf/ver_def-tic6x.vd: New test.
c9f02c3e
MR
303 * testsuite/ld-elf/ver_def.ld: New test linker script.
304 * testsuite/ld-elf/ver_def.ver: New test version script.
305 * testsuite/ld-elf/ver_def.s: New test source.
306 * testsuite/ld-elf/readelf.exp: New test script.
307
5d58c733
MR
3082017-02-23 Maciej W. Rozycki <macro@imgtec.com>
309
310 * testsuite/ld-mips-elf/relax-jalr-n32.d: Remove `--relax'
311 option.
312 * testsuite/ld-mips-elf/relax-jalr-n32-shared.d: Likewise.
313 * testsuite/ld-mips-elf/relax-jalr-n64.d: Likewise.
314 * testsuite/ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
315
c1556ecd
MR
3162017-02-23 Maciej W. Rozycki <macro@imgtec.com>
317
318 * testsuite/ld-mips-elf/jalr4.dd: New test.
319 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
320
5499c7c7
AM
3212017-02-23 Alan Modra <amodra@gmail.com>
322
323 PR 20744
324 * testsuite/ld-powerpc/vle-reloc-2.s: Use r6 for last insn of
325 each group.
326 * testsuite/ld-powerpc/vle-reloc-2.d: Update for above change
327 and sdarel reloc fix.
328
902e9fc7
MR
3292017-02-22 Maciej W. Rozycki <macro@imgtec.com>
330
331 PR ld/20828
332 * testsuite/ld-elf/pr20828-d.sd: New test.
333 * testsuite/ld-elf/pr20828-e.sd: New test.
334 * testsuite/ld-elf/pr20828-v.od: New test.
335 * testsuite/ld-elf/pr20828-v.ver: New test version script.
336 * testsuite/ld-elf/pr20828-v.ld: New test linker script.
337 * testsuite/ld-elf/pr20828.ld: Add `.gnu.version' and
338 `.gnu.version_d'.
339 * testsuite/ld-elf/shared.exp: Run the new tests.
340
46519784
NC
3412017-02-21 Nick Clifton <nickc@redhat.com>
342
343 * testsuite/ld-ifunc/pr18808b.c (bar): Fix compile time warning
344 about non-void function returning without a result.
345
c48cfedd
AM
3462017-02-17 Alan Modra <amodra@gmail.com>
347
348 PR 15041
349 * scripttempl/pe.sc: Don't combine sections for ld -r.
350 * scripttempl/pep.sc: Likewise.
351
74dc9032
AM
3522017-02-17 Alan Modra <amodra@gmail.com>
353
246b9122 354 PR 21099
74dc9032
AM
355 * emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
356 rather than using OTHER_SECTIONS.
357 * emulparams/elf32mt.sh: Likewise.
358 * emulparams/elf32rx.sh: Likewise.
359 * emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
360 define __rl78_abs__.
361 * emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
362 rather than using OTHER_SECTIONS.
363 * emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
364 * emulparams/shelf64.sh: Unset OTHER_SECTIONS.
365 * emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
366 * emulparams/shelf_uclinux.sh: Likewise.
367 * emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
368 to define _stack, not OTHER_SECTIONS.
369 * scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
370 TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
371 * scripttempl/arclinux.sc: Likewise.
372 * scripttempl/elf64hppa.sc: Likewise.
373 * scripttempl/elfxtensa.sc: Likewise.
374 * scripttempl/nds32elf.sc: Likewise.
375 * scripttempl/armbpabi.sc: Move STACK before debug sections.
376 * scripttempl/elf_chaos.sc: Likewise.
377 * scripttempl/elfarc.sc: Delete STACK.
378 * scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
379 TINY_BSS_SECTION, and .stack before debug sections.
380
67cecaba
NC
3812017-02-17 Nick Clifton <nickc@redhat.com>
382
383 PR ld/20825
384 * ld.texinfo (Options): Add missing @item entry for --pop-state.
385
262a40a5
AM
3862017-02-17 Alan Modra <amodra@gmail.com>
387
388 * testsuite/ld-elf/dwarf2.err: Accept other errors between the
389 multiple definition errors.
390
002a5d4e
AM
3912017-02-17 Alan Modra <amodra@gmail.com>
392
393 * testsuite/ld-elf/dwarf2.err: Add missing newline at end.
394 * testsuite/ld-elf/dwarf3.err: Likewise. Allow match without filename.
395
3239a423
AB
3962017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
397
398 * testsuite/ld-elf/shared.exp: Update expected results.
399 * testsuite/ld-elf/dwarf2.err: Likewise
400
90ed9b8b
AB
4012017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
402
403 * testsuite/ld-elf/dwarf.exp (build_tests): Add new tests.
404 * testsuite/ld-elf/dwarf2.err: New file.
405 * testsuite/ld-elf/dwarf2a.c: New file.
406 * testsuite/ld-elf/dwarf2b.c: New file.
407 * testsuite/ld-elf/dwarf3.c: New file.
408 * testsuite/ld-elf/dwarf3.err: New file.
409
2bd7f877
AB
4102017-02-16 Andrew Burgess <andrew.burgess@embecosm.com>
411
412 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Add warning,
413 error, warning_output, and error_output actions. Remove separate
414 warnings parameter.
415 * testsuite/ld-elf/shared.exp (build_tests): Updated to use
416 'warning' action.
417 * testsuite/ld-plugin/lto.exp (lto_link_tests): Likewise.
418
37d7d56c
AM
4192017-02-16 Alan Modra <amodra@gmail.com>
420
421 * testsuite/ld-elf/check-ptr-eq.c (check_ptr_eq): Change params
422 from void pointers to function pointers.
423 * testsuite/ld-elf/pr18718.c: Update to suit.
424 * testsuite/ld-elf/pr18720a.c: Update to suit.
425
a8c75b76
AM
4262017-02-16 Alan Modra <amodra@gmail.com>
427
428 PR 21000
429 * testsuite/ld-elf/loadaddr1.d: Adjust for hppa file offsets.
430 * testsuite/ld-elf/loadaddr2.d: Likewise.
431 * testsuite/ld-elf/loadaddr3a.d: Likewise.
432 * testsuite/ld-scripts/rgn-at5.d: Likewise.
433
a48cda7f
AM
4342017-02-16 Alan Modra <amodra@gmail.com>
435
436 * testsuite/ld-powerpc/vxworks1-lib.s: Correct addi to addic.
437 * testsuite/ld-powerpc/vxworks1-lib.dd: Adjust to suit.
438
2a568401
L
4392017-02-15 H.J. Lu <hongjiu.lu@intel.com>
440
441 PR ld/21168
442 * testsuite/ld-i386/i386.exp: Run pr21168.
443 * testsuite/ld-i386/pr21168a.c: New file.
444 * testsuite/ld-i386/pr21168b.S: Likewise.
445
a5def14f
L
4462017-02-15 H.J. Lu <hongjiu.lu@intel.com>
447
448 PR ld/20244
449 * testsuite/ld-i386/i386.exp: Run pr20244-4a, pr20244-4b and
450 pr20244-4c.
451 * testsuite/ld-i386/pr20244-4.s: New file.
452 * testsuite/ld-i386/pr20244-4a.d: Likewise.
453 * testsuite/ld-i386/pr20244-4b.d: Likewise.
454 * testsuite/ld-i386/pr20244-4c.d: Likewise.
455
ebf0b03c
MR
4562017-02-15 Maciej W. Rozycki <macro@imgtec.com>
457
458 * ldmisc.c (vfinfo): Don't print the function name again either
459 if no source file name has been found both now and previously.
460 * testsuite/ld-cris/tls-err-20x.d: Adjust accordingly.
461 * testsuite/ld-mips-elf/mode-change-error-1.d: Likewise.
462 * testsuite/ld-mips-elf/unaligned-branch.d: Likewise.
463 * testsuite/ld-mips-elf/unaligned-branch-mips16.d: Likewise.
464 * testsuite/ld-mips-elf/unaligned-branch-micromips.d: Likewise.
465 * testsuite/ld-mips-elf/unaligned-branch-r6-1.d: Likewise.
466 * testsuite/ld-mips-elf/unaligned-branch-2.d: Likewise.
467 * testsuite/ld-mips-elf/unaligned-branch-r6-2.d: Likewise.
468 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: Likewise.
469 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16.d:
470 Likewise.
471 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips.d:
472 Likewise.
473 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1.d:
474 Likewise.
475 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: Likewise.
476 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d:
477 Likewise.
478 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d:
479 Likewise.
480 * testsuite/ld-mips-elf/unaligned-jalx-addend-3.d: Likewise.
481 * testsuite/ld-mips-elf/unaligned-jump.d: Likewise.
482 * testsuite/ld-mips-elf/unaligned-jump-mips16.d: Likewise.
483 * testsuite/ld-mips-elf/unaligned-jump-micromips.d: Likewise.
484 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise.
485 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise.
486 * testsuite/ld-powerpc/tocopt.out: Likewise.
487 * testsuite/ld-powerpc/tocopt7.out: Likewise.
488
befe814d
MR
4892017-02-15 Maciej W. Rozycki <macro@imgtec.com>
490
491 * ldmisc.c (vfinfo) <'H'>: Remove static NULL initializers.
492
defe6f56
IK
4932017-02-15 Igor Kudrin <ikudrin@accesssoftek.com>
494
495 * testsuite/ld-scripts/sysroot-prefix.exp
496 (get_base_dir_for_scripts): New function.
497 (run_sysroot_prefix_test): Use get_base_dir_for_scripts.
498
10ddfe62
PD
4992017-02-13 Palmer Dabbelt <palmer@dabbelt.com>
500
501 * emulparams/elf32lriscv-defs.sh (SDATA_START_SYMBOLS): Change
502 _gp to __global_pointer$
503
d7488716
AB
5042017-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
505
506 * configure.tgt (arc*-*-linux*): Change the default linker
507 emulation based on --with-cpu selection.
508 * NEWS: Mention new configuration option.
509
65f90e82
JW
5102017-02-06 Jiong Wang <jiong.wang@arm.com>
511
512 * testsuite/ld-elf/compress.exp: Don't print to stdout for all
513 "readelf -w".
514
fa93e3d3
MR
5152017-02-02 Maciej W. Rozycki <macro@imgtec.com>
516
517 * testsuite/ld-cris/tls-err-20x.d: Fix a typo, s/n/\n/.
518
2e9af2d0
MR
5192017-02-02 Maciej W. Rozycki <macro@imgtec.com>
520
521 * ld/testsuite/lib/ld-lib.exp (run_dump_test): Fix a typo,
522 s/regexp/regex/.
523
fd121c5c
JW
5242017-02-02 Jiong Wang <jiong.wang@arm.com>
525
526 * testsuite/lib/ld-lib.exp (check_libdl_available): New function.
527 * testsuite/ld-elf/shared.exp (run_tests): Split tests which require
528 dlopen support into "dlopen_run_tests". These tests include dl1*main
529 and dl6*main.
530 (dlopen_run_tests): New and only run it when check_libdl_available
531 returns true. XFAIL on *-*-netbsdelf*.
532
c0c237fc
MR
5332017-02-01 Maciej W. Rozycki <macro@imgtec.com>
534
535 * testsuite/ld-mips-elf/vxworks-forced-local-1.d: Correct the
536 presentation of relocation addends.
537 * testsuite/ld-mips-elf/vxworks1-lib.rd: Likewise.
538 * testsuite/ld-mips-elf/vxworks1.dd: Likewise.
539 * testsuite/ld-mips-elf/vxworks1.rd: Likewise.
540
5139cfdb
MR
5412017-02-01 Maciej W. Rozycki <macro@imgtec.com>
542
543 * testsuite/ld-mips-elf/tls-multi-got-1-1.s: Place `tlsvar_ld'
544 in `.tdata' section.
545 * testsuite/ld-mips-elf/tls-multi-got-1.got: Adjust accordingly.
546 * testsuite/ld-mips-elf/tls-multi-got-1.r: Likewise.
547
ce790370
JW
5482017-02-01 Jiong Wang <jiong.wang@arm.com>
549
550 * testsuite/ld-unique/unique.exp (Could not link a dynamic executable):
551 Append $board_cflags to link commands.
552
067869b6
SKS
5532017-02-01 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
554
555 * testsuite/ld-scripts/print-memory-usage-1.l: Relax
556 check for digit in second decimal place.
557
15a00b13
MR
5582017-02-01 Maciej W. Rozycki <macro@imgtec.com>
559
560 PR ld/20828
561 * testsuite/ld-elf/shared.exp: Correct PR ld/20828 test
562 indentation.
563
1273da04
NC
5642017-01-31 Nick Clifton <nickc@redhat.com>
565
566 * ldmain.c (add_archive_element): Eliminate string buffer.
567 * ldlang.c (lang_print_asneeded): Likewise.
568
8b10b0b3
MR
5692017-01-30 Maciej W. Rozycki <macro@imgtec.com>
570
571 * emultempl/mipself.em (ignore_branch_isa): New variable.
572 (mips_create_output_section_statements): Rename
573 `_bfd_mips_elf_insn32' called to `_bfd_mips_elf_linker_flags',
574 add `ignore_branch_isa' argument.
575 (PARSE_AND_LIST_PROLOGUE): Add OPTION_IGNORE_BRANCH_ISA and
576 OPTION_NO_IGNORE_BRANCH_ISA enum values.
577 (PARSE_AND_LIST_LONGOPTS): Add "ignore-branch-isa" and
578 "no-ignore-branch-isa" options.
579 (PARSE_AND_LIST_OPTIONS): Add `--ignore-branch-isa' and
580 `--no-ignore-branch-isa'.
581 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_IGNORE_BRANCH_ISA and
582 OPTION_NO_IGNORE_BRANCH_ISA.
583
584 * ld.texinfo (Options specific to MIPS targets): Add
585 `--ignore-branch-isa' and `--no-ignore-branch-isa' options.
586 (ld and the MIPS family): Likewise.
587
588 * testsuite/ld-mips-elf/bal-jalx-pic-ignore.d: New test.
589 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n32.d: New test.
590 * testsuite/ld-mips-elf/bal-jalx-pic-ignore-n64.d: New test.
591 * testsuite/ld-mips-elf/unaligned-branch-ignore-2.d: New test.
592 * testsuite/ld-mips-elf/unaligned-branch-ignore-r6-1: New test.
593 * testsuite/ld-mips-elf/unaligned-branch-ignore-mips16: New
594 test.
595 * testsuite/ld-mips-elf/unaligned-branch-ignore-micromips: New
596 test.
597 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
598
bf382b30
HPN
5992017-01-29 Hans-Peter Nilsson <hp@axis.com>
600
c1d45238 601 PR binutils/19935
bf382b30
HPN
602 Fix long-standing buglet and fallout from now-default initfini-array.
603 * emulparams/criself.sh (USER_LABEL_PREFIX): Define.
ce6366f9 604 (OTHER_END_SYMBOLS, ENTRY): Delete now-redundant defines.
bf382b30 605
4471a46f
JW
6062017-01-27 Jiong Wang <jiong.wang@arm.com>
607
608 * testsuite/ld-elf/elf.exp ("pr20995-2", "Build pr20995-2.so"): XFAIL on
609 arm*-*-eabi*.
610
387dd777
DP
6112017-01-27 Dilyan Palauzov <dilyan.palauzov@aegee.org>
612 Nick Clifton <nickc@redhat.com>
613
614 PR 20343
615 * ld.texinfo (Options): Extend documentation of the --plugin
616 option. Include a description of where the plugins should be
617 located.
618
0348d4be
NC
6192017-01-27 Nick Clifton <nickc@redhat.com>
620
621 * po/sr.po: New Serbian translation.
622 * configure.ac (ALL_LINGUAS): Add sr.
623 * configure: Regenerate.
624
c75b4ebd
SH
6252017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
626
627 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
628 (bfin-*-rtems*): Move to (bfin*-*-elf*).
629 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
630 (m68*-*-rtems*): Move to (m68*-*-elf*).
631 (mips*-*-rtems*): Move to (mips*-*-elf*).
632 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
633 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
634 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
635 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
636
850d84f6
SH
6372017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
638
639 * configure.tgt (h8300-*-rtemscoff*): Remove.
640 (i960-*-rtems*): Likewise.
641 (m68*-*-rtemscoff*): Likewise.
642 (sh-*-rtemscoff*): Likewise.
643
1a792e1c
MR
6442017-01-24 Maciej W. Rozycki <macro@imgtec.com>
645
646 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
647 add implicit version nodes if an anonymous version tag is being
648 used.
649
077c11e8
JW
6502017-01-24 Jiong Wang <jiong.wang@arm.com>
651
652 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
653 "Compile 8a", "Compile 8b"...
654 (lto_compile_elf_tests): ...to here. Always run these tests.
655 (lto_run_elf_tests): Move "LTO 7"...
656 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
657 environment where share library is supported.
658
f0158f44
AM
6592017-01-24 Alan Modra <amodra@gmail.com>
660
661 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
662 and symbols.
663 * testsuite/ld-powerpc/tlsexe.d: Likewise.
664 * testsuite/ld-powerpc/tlsexe.g: Likewise.
665
2d0ca824
YN
6662017-01-23 Yury Norov <ynorov@caviumnetworks.com>
667
668 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
669 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
670 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
671 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
672 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
673 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
674 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
675 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
676 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
677 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
678 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
679 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
680 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
681
8069955e
NC
6822017-01-23 Nick Clifton <nickc@redhat.com>
683
684 * po/ga.po: Updated Irish translation.
685
1e5f45bb
MR
6862017-01-23 Maciej W. Rozycki <macro@imgtec.com>
687
688 PR ld/20828
689 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
690
fda46c41
MR
6912017-01-23 Maciej W. Rozycki <macro@imgtec.com>
692
693 PR ld/20828
694 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
695 `fdata' and `edata' respectively.
696 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
697 * testsuite/ld-elf/pr20828-a.sd: Likewise.
698 * testsuite/ld-elf/pr20828-b.sd: Likewise.
699 * testsuite/ld-elf/pr20828-c.sd: Likewise.
700
adcbdc63
MR
7012017-01-23 Maciej W. Rozycki <macro@imgtec.com>
702
703 PR ld/20828
704 * testsuite/ld-elf/pr20828-1.sd: Remove test.
705 * testsuite/ld-elf/pr20828-a.sd: New test.
706 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
707 * testsuite/ld-elf/pr20828-b.sd: ... this.
708 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
709 * testsuite/ld-elf/pr20828-c.sd: ... this.
710 * testsuite/ld-elf/shared.exp: Adjust accordingly.
711
9966f7ee
JW
7122017-01-23 Jiong Wang <jiong.wang@arm.com>
713
714 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
715 board_cflags as gcc is used as linker driver.
716 * testsuite/ld-unique/unique.exp: Likewise
717
7f784814
JW
7182017-01-20 Jiong Wang <jiong.wang@arm.com>
719
720 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
721 * testsuite/ld-aarch64/func-in-so.s: New test source file.
722 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
723 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
724
1737c640
AB
7252017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
726
727 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
728
6984613a
MR
7292017-01-18 Maciej W. Rozycki <macro@imgtec.com>
730
731 PR ld/20995
732 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
733 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
734
81ff47b3
MR
7352017-01-18 Maciej W. Rozycki <macro@imgtec.com>
736
737 PR ld/20828
738 * testsuite/ld-elf/pr20828-1.sd: New test.
739 * testsuite/ld-elf/pr20828-2a.sd: New test.
740 * testsuite/ld-elf/pr20828-2b.sd: New test.
741 * testsuite/ld-elf/pr20828.ld: New test linker script.
742 * testsuite/ld-elf/pr20828.ver: New test version script.
743 * testsuite/ld-elf/pr20828.s: New test source.
744 * testsuite/ld-elf/shared.exp: Run the new test.
745
9e009953
MR
7462017-01-18 Maciej W. Rozycki <macro@imgtec.com>
747
748 PR gas/20649
749 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
750 relocation pairing link test.
751
319b82e4
DD
7522017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
753
754 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
755 uniqeue.exp, as not all targets have such support.
756
6aa1df2d
NC
7572017-01-16 Nick Clifton <nickc@redhat.com>
758
759 * po/sv.po: Updated Swedish translation.
760
8361ed4d
L
7612017-01-12 H.J. Lu <hongjiu.lu@intel.com>
762
763 PR ld/21038
764 * testsuite/ld-x86-64/pr21038b.d: Updated.
765 * testsuite/ld-x86-64/pr21038c.d: New file.
766 * testsuite/ld-x86-64/pr21038c.s: Likewise.
767 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
768
9e659176
L
7692017-01-11 H.J. Lu <hongjiu.lu@intel.com>
770
771 PR ld/21038
772 * testsuite/ld-x86-64/pr21038a.d: New file.
773 * testsuite/ld-x86-64/pr21038a.s: Likewise.
774 * testsuite/ld-x86-64/pr21038b.d: Likewise.
775 * testsuite/ld-x86-64/pr21038b.s: Likewise.
776 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
777
f2e2d2f5
JS
7782017-01-11 Jeremy Soller <jackpot51@gmail.com>
779
780 * configure.tgt: Add entries for x86-redox and x86_64-redox.
781
52b232b3
L
7822017-01-10 H.J. Lu <hongjiu.lu@intel.com>
783
784 * testsuite/ld-x86-64/pr20830b.d: Updated.
785
59a1e29d
L
7862017-01-10 H.J. Lu <hongjiu.lu@intel.com>
787
788 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
789 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
790 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
791 * testsuite/ld-x86-64/pr20830b.d: New file.
792 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
793 Run pr20830b.
794
fff53dae
L
7952017-01-10 H.J. Lu <hongjiu.lu@intel.com>
796
797 PR ld/20830
798 * testsuite/ld-i386/i386.exp: Run pr20830.
799 * testsuite/ld-x86-64/x86-64.exp: Likewise.
800 * testsuite/ld-i386/pr20830.d: New file.
801 * testsuite/ld-i386/pr20830.s: Likewise.
802 * testsuite/ld-x86-64/pr20830.d: Likewise.
803 * testsuite/ld-x86-64/pr20830.s: Likewise.
804
e9237227
L
8052017-01-10 H.J. Lu <hongjiu.lu@intel.com>
806
807 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
808 -Wl,--as-needed to $CC.
809 * testsuite/ld-i386/tls.exp: Likewise.
810
07e8e623
NC
8112017-01-10 Nick Clifton <nickc@redhat.com>
812
813 * po/sv.po: Updated Swedish translation.
814
07ccf83c
GM
8152016-12-09 Graham Markall <graham.markall@embecosm.com>
816 Andrew Burgess <andrew.burgess@embecosm.com>
817
818 * Makefile.am: Add earclinux_nps.c target and add to
819 ALL_EMULATION_SOURCES.
820 * Makefile.in: Likewise, regenerated.
821 * configure.tgt: Add arclinux_nps as an extra emulation for
822 arc*-*-elf* and arc*-*-linux*.
823 * emulparams/arc-nps.sh: New file.
824 * emulparams/arclinux_nps.sh: New file.
825 * testsuite/ld-arc/arclinux-nps.d,
826 * testsuite/ld-arc/arclinux-nps.s: New test.
827
b0556316
DP
8282017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
829
830 PR 20958
831 * ldlex.l (option): Add noyywrap
832 (yywrap): Delete.
833 * ldlex.h (yywrap): Delete prototype.
834
47523653
AM
8352017-01-04 Alan Modra <amodra@gmail.com>
836
837 * testsuite/ld-elf/audit.exp: Check for shared lib support.
838 * testsuite/ld-elf/compress.exp: Likewise.
839 * testsuite/ld-elf/dwarf.exp: Likewise.
840 * testsuite/ld-elf/shared.exp: Likewise.
841 * testsuite/ld-elf/wrap.exp: Likewise.
842 * testsuite/ld-ifunc/ifunc.exp: Likewise.
843 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
844
a44d0bd7
AM
8452017-01-03 Alan Modra <amodra@gmail.com>
846
847 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
848 allow test to continue after compilation errors.
849 (run_cc_link_tests): Likewise.
850
27c3ce29
DD
8512017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
852
853 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
854 (epruelf.c): Remove unneeded dependencies.
855 * Makefile.in: Regenerate
856
8cfc7cf8
AM
8572017-01-03 Alan Modra <amodra@gmail.com>
858
859 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
860 to various tests.
861 * testsuite/ld-elfweak/elfweak.exp: Likewise.
862 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
863
4ce6ca2c
AM
8642017-01-03 Alan Modra <amodra@gmail.com>
865
866 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
867 * testsuite/ld-pie/pie.exp: Likewise.
868 * testsuite/ld-plugin/lto.exp: Likewise.
869
d9816402
AM
8702017-01-02 Alan Modra <amodra@gmail.com>
871
872 * Makefile.am (bootstrap): Delete rule.
873 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
874 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
875 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
876 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
877 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
878 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
879 * Makefile.in: Regenerate.
880 * configure: Regenerate.
881 * testsuite/config/default.exp (get_link_files): Delete.
882 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
883 define.
884 (ld_simple_link): Delete.
885 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
886 (default_ld_simple_link): Rename to default_ld_link.
887 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
888 (run_ld_link_tests): Use ld_link, not ld_simple_link.
889 (run_cc_link_tests): Likewise.
890 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
891 Don't run exe when not native, and return unsupported.
892 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
893 Link ld1 etc. using $CC.
894 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
895 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
896 * testsuite/ld-cygwin/exe-export.exp: Likewise.
897 * testsuite/ld-elf/binutils.exp: Likewise.
898 * testsuite/ld-elf/eh-group.exp: Likewise.
899 * testsuite/ld-elf/exclude.exp: Likewise.
900 * testsuite/ld-elf/frame.exp: Likewise.
901 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
902 * testsuite/ld-elf/tls_common.exp: Likewise.
903 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
904 * testsuite/ld-fastcall/fastcall.exp: Likewise.
905 * testsuite/ld-gc/gc.exp: Likewise.
906 * testsuite/ld-ifunc/binutils.exp: Likewise.
907 * testsuite/ld-mep/mep.exp: Likewise.
908 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
909 * testsuite/ld-mn10300/mn10300.exp: Likewise.
910 * testsuite/ld-nios2/nios2.exp: Likewise.
911 * testsuite/ld-pe/pe-compile.exp: Likewise.
912 * testsuite/ld-pe/pe-run.exp: Likewise.
913 * testsuite/ld-pe/pe-run2.exp: Likewise.
914 * testsuite/ld-plugin/plugin.exp: Likewise.
915 * testsuite/ld-scripts/align.exp: Likewise.
916 * testsuite/ld-scripts/alignof.exp: Likewise.
917 * testsuite/ld-scripts/assert.exp: Likewise.
918 * testsuite/ld-scripts/defined.exp: Likewise.
919 * testsuite/ld-scripts/extern.exp: Likewise.
920 * testsuite/ld-scripts/log2.exp: Likewise.
921 * testsuite/ld-scripts/map-address.exp: Likewise.
922 * testsuite/ld-scripts/phdrs.exp: Likewise.
923 * testsuite/ld-scripts/phdrs2.exp: Likewise.
924 * testsuite/ld-scripts/script.exp: Likewise.
925 * testsuite/ld-scripts/section-flags.exp: Likewise.
926 * testsuite/ld-scripts/sizeof.exp: Likewise.
927 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
928 * testsuite/ld-scripts/weak.exp: Likewise.
929 * testsuite/ld-selective/selective.exp: Likewise.
930 * testsuite/ld-sh/sh.exp: Likewise.
931 * testsuite/ld-sh/sh64/relax.exp: Likewise.
932 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
933 * testsuite/ld-srec/srec.exp: Likewise.
934 * testsuite/ld-tic6x/tic6x.exp: Likewise.
935 * testsuite/ld-undefined/weak-undef.exp: Likewise.
936 * testsuite/ld-versados/versados.exp: Likewise.
937 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
938 * testsuite/ld-xtensa/coalesce.exp: Likewise.
939 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
940 * testsuite/ld-xtensa/lcall.exp: Likewise.
941 * testsuite/ld-elf/audit.exp: Run non-native too.
942 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
943 gcc -Wl, options.
944 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
945 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
946 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
947 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
948 -Wl,--no-as-needed to most tests.
949 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
950 to simplify quoting. Set run_tests using [list] rather than
951 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
952 to many test. Prefix ld options with -Wl,.
953 (mix_pic_and_non_pic): Don't run exe if not native.
954 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
955 -Wl,--no-as-needed and prefix ld options with -Wl,.
956 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
957 not ld_simple_link.
958 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
959 (visibility_test): Don't run exe if not native.
960 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
961 not ld_simple_link.
962 (build_exec): Don't run exe if not native.
963 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
964 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
965 to some tests and prefix ld options with -Wl,. Expect GNU
966 for hppa-linux even when no ifuncs. Delete cleanup.
967 * testsuite/ld-pie/pie.exp: Run non-native too.
968 * testsuite/ld-plugin/lto.exp: Likewise.
969 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
970 not ld_simple_link.
971 (shared_test): Don't run exe if not native.
972 * testsuite/ld-size/size.exp: Run non-native too. Add
973 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
974 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
975 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
976 to some tests and prefix ld options with -Wl,. Expect GNU
977 for hppa-linux even when no unique syms. Delete cleanup.
978 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
979 tests and prefix ld options with -Wl,.
980 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
981 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
982
64859e14
AM
9832017-01-02 Alan Modra <amodra@gmail.com>
984
985 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
986
f5657270
AM
9872017-01-02 Alan Modra <amodra@gmail.com>
988
989 PR ld/21000
990 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
991 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
992 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
993 is already defined.
994
2571583a
AM
9952017-01-02 Alan Modra <amodra@gmail.com>
996
997 Update year range in copyright notice of all files.
998
5c1ad6b5 999For older changes see ChangeLog-2016
3499769a 1000\f
5c1ad6b5 1001Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
1002
1003Copying and distribution of this file, with or without modification,
1004are permitted in any medium without royalty provided the copyright
1005notice and this notice are preserved.
1006
1007Local Variables:
1008mode: change-log
1009left-margin: 8
1010fill-column: 74
1011version-control: never
1012End:
This page took 0.127824 seconds and 4 git commands to generate.