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