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