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