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