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