cf1d670224a79348a5512022375e9cefebcac573
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2017-01-23 Yury Norov <ynorov@caviumnetworks.com>
2
3 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
4 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
5 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
6 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
7 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
8 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
9 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
10 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
11 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
12 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
13 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
14 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
15 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
16
17 2017-01-23 Nick Clifton <nickc@redhat.com>
18
19 * po/ga.po: Updated Irish translation.
20
21 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
22
23 PR ld/20828
24 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
25
26 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
27
28 PR ld/20828
29 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
30 `fdata' and `edata' respectively.
31 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
32 * testsuite/ld-elf/pr20828-a.sd: Likewise.
33 * testsuite/ld-elf/pr20828-b.sd: Likewise.
34 * testsuite/ld-elf/pr20828-c.sd: Likewise.
35
36 2017-01-23 Maciej W. Rozycki <macro@imgtec.com>
37
38 PR ld/20828
39 * testsuite/ld-elf/pr20828-1.sd: Remove test.
40 * testsuite/ld-elf/pr20828-a.sd: New test.
41 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
42 * testsuite/ld-elf/pr20828-b.sd: ... this.
43 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
44 * testsuite/ld-elf/pr20828-c.sd: ... this.
45 * testsuite/ld-elf/shared.exp: Adjust accordingly.
46
47 2017-01-23 Jiong Wang <jiong.wang@arm.com>
48
49 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
50 board_cflags as gcc is used as linker driver.
51 * testsuite/ld-unique/unique.exp: Likewise
52
53 2017-01-20 Jiong Wang <jiong.wang@arm.com>
54
55 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
56 * testsuite/ld-aarch64/func-in-so.s: New test source file.
57 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
58 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
59
60 2017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
61
62 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
63
64 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
65
66 PR ld/20995
67 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
68 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
69
70 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
71
72 PR ld/20828
73 * testsuite/ld-elf/pr20828-1.sd: New test.
74 * testsuite/ld-elf/pr20828-2a.sd: New test.
75 * testsuite/ld-elf/pr20828-2b.sd: New test.
76 * testsuite/ld-elf/pr20828.ld: New test linker script.
77 * testsuite/ld-elf/pr20828.ver: New test version script.
78 * testsuite/ld-elf/pr20828.s: New test source.
79 * testsuite/ld-elf/shared.exp: Run the new test.
80
81 2017-01-18 Maciej W. Rozycki <macro@imgtec.com>
82
83 PR gas/20649
84 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
85 relocation pairing link test.
86
87 2017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
88
89 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
90 uniqeue.exp, as not all targets have such support.
91
92 2017-01-16 Nick Clifton <nickc@redhat.com>
93
94 * po/sv.po: Updated Swedish translation.
95
96 2017-01-12 H.J. Lu <hongjiu.lu@intel.com>
97
98 PR ld/21038
99 * testsuite/ld-x86-64/pr21038b.d: Updated.
100 * testsuite/ld-x86-64/pr21038c.d: New file.
101 * testsuite/ld-x86-64/pr21038c.s: Likewise.
102 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
103
104 2017-01-11 H.J. Lu <hongjiu.lu@intel.com>
105
106 PR ld/21038
107 * testsuite/ld-x86-64/pr21038a.d: New file.
108 * testsuite/ld-x86-64/pr21038a.s: Likewise.
109 * testsuite/ld-x86-64/pr21038b.d: Likewise.
110 * testsuite/ld-x86-64/pr21038b.s: Likewise.
111 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
112
113 2017-01-11 Jeremy Soller <jackpot51@gmail.com>
114
115 * configure.tgt: Add entries for x86-redox and x86_64-redox.
116
117 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
118
119 * testsuite/ld-x86-64/pr20830b.d: Updated.
120
121 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
122
123 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
124 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
125 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
126 * testsuite/ld-x86-64/pr20830b.d: New file.
127 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
128 Run pr20830b.
129
130 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
131
132 PR ld/20830
133 * testsuite/ld-i386/i386.exp: Run pr20830.
134 * testsuite/ld-x86-64/x86-64.exp: Likewise.
135 * testsuite/ld-i386/pr20830.d: New file.
136 * testsuite/ld-i386/pr20830.s: Likewise.
137 * testsuite/ld-x86-64/pr20830.d: Likewise.
138 * testsuite/ld-x86-64/pr20830.s: Likewise.
139
140 2017-01-10 H.J. Lu <hongjiu.lu@intel.com>
141
142 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
143 -Wl,--as-needed to $CC.
144 * testsuite/ld-i386/tls.exp: Likewise.
145
146 2017-01-10 Nick Clifton <nickc@redhat.com>
147
148 * po/sv.po: Updated Swedish translation.
149
150 2016-12-09 Graham Markall <graham.markall@embecosm.com>
151 Andrew Burgess <andrew.burgess@embecosm.com>
152
153 * Makefile.am: Add earclinux_nps.c target and add to
154 ALL_EMULATION_SOURCES.
155 * Makefile.in: Likewise, regenerated.
156 * configure.tgt: Add arclinux_nps as an extra emulation for
157 arc*-*-elf* and arc*-*-linux*.
158 * emulparams/arc-nps.sh: New file.
159 * emulparams/arclinux_nps.sh: New file.
160 * testsuite/ld-arc/arclinux-nps.d,
161 * testsuite/ld-arc/arclinux-nps.s: New test.
162
163 2017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
164
165 PR 20958
166 * ldlex.l (option): Add noyywrap
167 (yywrap): Delete.
168 * ldlex.h (yywrap): Delete prototype.
169
170 2017-01-04 Alan Modra <amodra@gmail.com>
171
172 * testsuite/ld-elf/audit.exp: Check for shared lib support.
173 * testsuite/ld-elf/compress.exp: Likewise.
174 * testsuite/ld-elf/dwarf.exp: Likewise.
175 * testsuite/ld-elf/shared.exp: Likewise.
176 * testsuite/ld-elf/wrap.exp: Likewise.
177 * testsuite/ld-ifunc/ifunc.exp: Likewise.
178 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
179
180 2017-01-03 Alan Modra <amodra@gmail.com>
181
182 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
183 allow test to continue after compilation errors.
184 (run_cc_link_tests): Likewise.
185
186 2017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
187
188 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
189 (epruelf.c): Remove unneeded dependencies.
190 * Makefile.in: Regenerate
191
192 2017-01-03 Alan Modra <amodra@gmail.com>
193
194 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
195 to various tests.
196 * testsuite/ld-elfweak/elfweak.exp: Likewise.
197 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
198
199 2017-01-03 Alan Modra <amodra@gmail.com>
200
201 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
202 * testsuite/ld-pie/pie.exp: Likewise.
203 * testsuite/ld-plugin/lto.exp: Likewise.
204
205 2017-01-02 Alan Modra <amodra@gmail.com>
206
207 * Makefile.am (bootstrap): Delete rule.
208 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
209 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
210 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
211 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
212 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
213 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
214 * Makefile.in: Regenerate.
215 * configure: Regenerate.
216 * testsuite/config/default.exp (get_link_files): Delete.
217 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
218 define.
219 (ld_simple_link): Delete.
220 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
221 (default_ld_simple_link): Rename to default_ld_link.
222 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
223 (run_ld_link_tests): Use ld_link, not ld_simple_link.
224 (run_cc_link_tests): Likewise.
225 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
226 Don't run exe when not native, and return unsupported.
227 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
228 Link ld1 etc. using $CC.
229 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
230 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
231 * testsuite/ld-cygwin/exe-export.exp: Likewise.
232 * testsuite/ld-elf/binutils.exp: Likewise.
233 * testsuite/ld-elf/eh-group.exp: Likewise.
234 * testsuite/ld-elf/exclude.exp: Likewise.
235 * testsuite/ld-elf/frame.exp: Likewise.
236 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
237 * testsuite/ld-elf/tls_common.exp: Likewise.
238 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
239 * testsuite/ld-fastcall/fastcall.exp: Likewise.
240 * testsuite/ld-gc/gc.exp: Likewise.
241 * testsuite/ld-ifunc/binutils.exp: Likewise.
242 * testsuite/ld-mep/mep.exp: Likewise.
243 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
244 * testsuite/ld-mn10300/mn10300.exp: Likewise.
245 * testsuite/ld-nios2/nios2.exp: Likewise.
246 * testsuite/ld-pe/pe-compile.exp: Likewise.
247 * testsuite/ld-pe/pe-run.exp: Likewise.
248 * testsuite/ld-pe/pe-run2.exp: Likewise.
249 * testsuite/ld-plugin/plugin.exp: Likewise.
250 * testsuite/ld-scripts/align.exp: Likewise.
251 * testsuite/ld-scripts/alignof.exp: Likewise.
252 * testsuite/ld-scripts/assert.exp: Likewise.
253 * testsuite/ld-scripts/defined.exp: Likewise.
254 * testsuite/ld-scripts/extern.exp: Likewise.
255 * testsuite/ld-scripts/log2.exp: Likewise.
256 * testsuite/ld-scripts/map-address.exp: Likewise.
257 * testsuite/ld-scripts/phdrs.exp: Likewise.
258 * testsuite/ld-scripts/phdrs2.exp: Likewise.
259 * testsuite/ld-scripts/script.exp: Likewise.
260 * testsuite/ld-scripts/section-flags.exp: Likewise.
261 * testsuite/ld-scripts/sizeof.exp: Likewise.
262 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
263 * testsuite/ld-scripts/weak.exp: Likewise.
264 * testsuite/ld-selective/selective.exp: Likewise.
265 * testsuite/ld-sh/sh.exp: Likewise.
266 * testsuite/ld-sh/sh64/relax.exp: Likewise.
267 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
268 * testsuite/ld-srec/srec.exp: Likewise.
269 * testsuite/ld-tic6x/tic6x.exp: Likewise.
270 * testsuite/ld-undefined/weak-undef.exp: Likewise.
271 * testsuite/ld-versados/versados.exp: Likewise.
272 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
273 * testsuite/ld-xtensa/coalesce.exp: Likewise.
274 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
275 * testsuite/ld-xtensa/lcall.exp: Likewise.
276 * testsuite/ld-elf/audit.exp: Run non-native too.
277 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
278 gcc -Wl, options.
279 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
280 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
281 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
282 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
283 -Wl,--no-as-needed to most tests.
284 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
285 to simplify quoting. Set run_tests using [list] rather than
286 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
287 to many test. Prefix ld options with -Wl,.
288 (mix_pic_and_non_pic): Don't run exe if not native.
289 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
290 -Wl,--no-as-needed and prefix ld options with -Wl,.
291 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
292 not ld_simple_link.
293 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
294 (visibility_test): Don't run exe if not native.
295 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
296 not ld_simple_link.
297 (build_exec): Don't run exe if not native.
298 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
299 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
300 to some tests and prefix ld options with -Wl,. Expect GNU
301 for hppa-linux even when no ifuncs. Delete cleanup.
302 * testsuite/ld-pie/pie.exp: Run non-native too.
303 * testsuite/ld-plugin/lto.exp: Likewise.
304 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
305 not ld_simple_link.
306 (shared_test): Don't run exe if not native.
307 * testsuite/ld-size/size.exp: Run non-native too. Add
308 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
309 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
310 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
311 to some tests and prefix ld options with -Wl,. Expect GNU
312 for hppa-linux even when no unique syms. Delete cleanup.
313 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
314 tests and prefix ld options with -Wl,.
315 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
316 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
317
318 2017-01-02 Alan Modra <amodra@gmail.com>
319
320 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
321
322 2017-01-02 Alan Modra <amodra@gmail.com>
323
324 PR ld/21000
325 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
326 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
327 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
328 is already defined.
329
330 2017-01-02 Alan Modra <amodra@gmail.com>
331
332 Update year range in copyright notice of all files.
333
334 For older changes see ChangeLog-2016
335 \f
336 Copyright (C) 2017 Free Software Foundation, Inc.
337
338 Copying and distribution of this file, with or without modification,
339 are permitted in any medium without royalty provided the copyright
340 notice and this notice are preserved.
341
342 Local Variables:
343 mode: change-log
344 left-margin: 8
345 fill-column: 74
346 version-control: never
347 End:
This page took 0.03826 seconds and 3 git commands to generate.