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