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