]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
Fix PTRACE_GETREGSET failure for compat inferiors on arm64
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
c75b4ebd
SH
12017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
2
3 * configure.tgt (arm-*-rtems*): Move to (arm*-*-eabi*).
4 (bfin-*-rtems*): Move to (bfin*-*-elf*).
5 (i[3-7]86-*-rtems*): Move to (i[3-7]86*-*-elf*).
6 (m68*-*-rtems*): Move to (m68*-*-elf*).
7 (mips*-*-rtems*): Move to (mips*-*-elf*).
8 (or1k*-*-rtems*): Move to (or1k*-*-elf*).
9 (powerpc*-*-rtems*): Move to (powerpc*-*-elf*).
10 (sparc*-*-rtems*): Move to (sparc*-*-elf*).
11 (sparc64*-*-rtems*): Move to (sparc64*-*-elf*).
12
850d84f6
SH
132017-01-25 Sebastian Huber <sebastian.huber@embedded-brains.de>
14
15 * configure.tgt (h8300-*-rtemscoff*): Remove.
16 (i960-*-rtems*): Likewise.
17 (m68*-*-rtemscoff*): Likewise.
18 (sh-*-rtemscoff*): Likewise.
19
1a792e1c
MR
202017-01-24 Maciej W. Rozycki <macro@imgtec.com>
21
22 * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
23 add implicit version nodes if an anonymous version tag is being
24 used.
25
077c11e8
JW
262017-01-24 Jiong Wang <jiong.wang@arm.com>
27
28 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Move "Compile 7",
29 "Compile 8a", "Compile 8b"...
30 (lto_compile_elf_tests): ...to here. Always run these tests.
31 (lto_run_elf_tests): Move "LTO 7"...
32 (lto_run_elf_shared_tests): ...to here. Restrict these tests on
33 environment where share library is supported.
34
f0158f44
AM
352017-01-24 Alan Modra <amodra@gmail.com>
36
37 * testsuite/ld-powerpc/tlsexe.r: Update for fewer dynamic relocs
38 and symbols.
39 * testsuite/ld-powerpc/tlsexe.d: Likewise.
40 * testsuite/ld-powerpc/tlsexe.g: Likewise.
41
2d0ca824
YN
422017-01-23 Yury Norov <ynorov@caviumnetworks.com>
43
44 * testsuite/ld-aarch64/aarch64-elf.exp: Run new tests.
45 * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: New test.
46 * testsuite/ld-aarch64/tls-relax-all-ilp32.d: New test.
47 * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: New test.
48 * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: New test.
49 * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: New test.
50 * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: New test.
51 * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: New test.
52 * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: New test.
53 * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: New test.
54 * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: New test.
55 * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: New test.
56 * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: New test.
57
8069955e
NC
582017-01-23 Nick Clifton <nickc@redhat.com>
59
60 * po/ga.po: Updated Irish translation.
61
1e5f45bb
MR
622017-01-23 Maciej W. Rozycki <macro@imgtec.com>
63
64 PR ld/20828
65 * testsuite/ld-elf/pr20828.ld: Add `.plt'.
66
fda46c41
MR
672017-01-23 Maciej W. Rozycki <macro@imgtec.com>
68
69 PR ld/20828
70 * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
71 `fdata' and `edata' respectively.
72 * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
73 * testsuite/ld-elf/pr20828-a.sd: Likewise.
74 * testsuite/ld-elf/pr20828-b.sd: Likewise.
75 * testsuite/ld-elf/pr20828-c.sd: Likewise.
76
adcbdc63
MR
772017-01-23 Maciej W. Rozycki <macro@imgtec.com>
78
79 PR ld/20828
80 * testsuite/ld-elf/pr20828-1.sd: Remove test.
81 * testsuite/ld-elf/pr20828-a.sd: New test.
82 * testsuite/ld-elf/pr20828-2a.sd: Rename test to...
83 * testsuite/ld-elf/pr20828-b.sd: ... this.
84 * testsuite/ld-elf/pr20828-2b.sd: Rename test to...
85 * testsuite/ld-elf/pr20828-c.sd: ... this.
86 * testsuite/ld-elf/shared.exp: Adjust accordingly.
87
9966f7ee
JW
882017-01-23 Jiong Wang <jiong.wang@arm.com>
89
90 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Append
91 board_cflags as gcc is used as linker driver.
92 * testsuite/ld-unique/unique.exp: Likewise
93
7f784814
JW
942017-01-20 Jiong Wang <jiong.wang@arm.com>
95
96 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64elflinktests): New tests.
97 * testsuite/ld-aarch64/func-in-so.s: New test source file.
98 * testsuite/ld-aarch64/func-sym-hash-opt.s: Likewise.
99 * testsuite/ld-aarch64/func-sym-hash-opt.d: New expected test result.
100
1737c640
AB
1012017-01-20 Andrew Burgess <andrew.burgess@embecosm.com>
102
103 * testsuite/ld-elf/eh-frame-hdr.d: Update expected results.
104
6984613a
MR
1052017-01-18 Maciej W. Rozycki <macro@imgtec.com>
106
107 PR ld/20995
108 * testsuite/ld-elf/elf.exp: Set GAS flags correctly for the
109 `mips*-*-*' target and `pr20995' and `pr20995-2' tests.
110
81ff47b3
MR
1112017-01-18 Maciej W. Rozycki <macro@imgtec.com>
112
113 PR ld/20828
114 * testsuite/ld-elf/pr20828-1.sd: New test.
115 * testsuite/ld-elf/pr20828-2a.sd: New test.
116 * testsuite/ld-elf/pr20828-2b.sd: New test.
117 * testsuite/ld-elf/pr20828.ld: New test linker script.
118 * testsuite/ld-elf/pr20828.ver: New test version script.
119 * testsuite/ld-elf/pr20828.s: New test source.
120 * testsuite/ld-elf/shared.exp: Run the new test.
121
9e009953
MR
1222017-01-18 Maciej W. Rozycki <macro@imgtec.com>
123
124 PR gas/20649
125 * testsuite/ld-mips-elf/mips-elf.exp: Add PIC comdat GOT16/LO16
126 relocation pairing link test.
127
319b82e4
DD
1282017-01-17 Dimitar Dimitrov <dimitar@dinux.eu>
129
130 * testsuite/ld-unique/unique.exp: Filter shared lib cases in
131 uniqeue.exp, as not all targets have such support.
132
6aa1df2d
NC
1332017-01-16 Nick Clifton <nickc@redhat.com>
134
135 * po/sv.po: Updated Swedish translation.
136
8361ed4d
L
1372017-01-12 H.J. Lu <hongjiu.lu@intel.com>
138
139 PR ld/21038
140 * testsuite/ld-x86-64/pr21038b.d: Updated.
141 * testsuite/ld-x86-64/pr21038c.d: New file.
142 * testsuite/ld-x86-64/pr21038c.s: Likewise.
143 * testsuite/ld-x86-64/x86-64.exp: Run pr21038c.
144
9e659176
L
1452017-01-11 H.J. Lu <hongjiu.lu@intel.com>
146
147 PR ld/21038
148 * testsuite/ld-x86-64/pr21038a.d: New file.
149 * testsuite/ld-x86-64/pr21038a.s: Likewise.
150 * testsuite/ld-x86-64/pr21038b.d: Likewise.
151 * testsuite/ld-x86-64/pr21038b.s: Likewise.
152 * testsuite/ld-x86-64/x86-64.exp: Run pr21038a and pr21038b.
153
f2e2d2f5
JS
1542017-01-11 Jeremy Soller <jackpot51@gmail.com>
155
156 * configure.tgt: Add entries for x86-redox and x86_64-redox.
157
52b232b3
L
1582017-01-10 H.J. Lu <hongjiu.lu@intel.com>
159
160 * testsuite/ld-x86-64/pr20830b.d: Updated.
161
59a1e29d
L
1622017-01-10 H.J. Lu <hongjiu.lu@intel.com>
163
164 * emulparams/elf32_x86_64.sh (TINY_READONLY_SECTION): New.
165 * testsuite/ld-x86-64/pr20830.d: Renamed to ...
166 * testsuite/ld-x86-64/pr20830a.d: This. Updated.
167 * testsuite/ld-x86-64/pr20830b.d: New file.
168 * testsuite/ld-x86-64/x86-64.exp: Rename pr20830 to pr20830a.
169 Run pr20830b.
170
fff53dae
L
1712017-01-10 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR ld/20830
174 * testsuite/ld-i386/i386.exp: Run pr20830.
175 * testsuite/ld-x86-64/x86-64.exp: Likewise.
176 * testsuite/ld-i386/pr20830.d: New file.
177 * testsuite/ld-i386/pr20830.s: Likewise.
178 * testsuite/ld-x86-64/pr20830.d: Likewise.
179 * testsuite/ld-x86-64/pr20830.s: Likewise.
180
e9237227
L
1812017-01-10 H.J. Lu <hongjiu.lu@intel.com>
182
183 * testsuite/ld-i386/i386.exp: Pass -Wl,-R,tmpdir and
184 -Wl,--as-needed to $CC.
185 * testsuite/ld-i386/tls.exp: Likewise.
186
07e8e623
NC
1872017-01-10 Nick Clifton <nickc@redhat.com>
188
189 * po/sv.po: Updated Swedish translation.
190
07ccf83c
GM
1912016-12-09 Graham Markall <graham.markall@embecosm.com>
192 Andrew Burgess <andrew.burgess@embecosm.com>
193
194 * Makefile.am: Add earclinux_nps.c target and add to
195 ALL_EMULATION_SOURCES.
196 * Makefile.in: Likewise, regenerated.
197 * configure.tgt: Add arclinux_nps as an extra emulation for
198 arc*-*-elf* and arc*-*-linux*.
199 * emulparams/arc-nps.sh: New file.
200 * emulparams/arclinux_nps.sh: New file.
201 * testsuite/ld-arc/arclinux-nps.d,
202 * testsuite/ld-arc/arclinux-nps.s: New test.
203
b0556316
DP
2042017-01-04 Dilan Palauzov <dilyan.palauzov@aegee.org>
205
206 PR 20958
207 * ldlex.l (option): Add noyywrap
208 (yywrap): Delete.
209 * ldlex.h (yywrap): Delete prototype.
210
47523653
AM
2112017-01-04 Alan Modra <amodra@gmail.com>
212
213 * testsuite/ld-elf/audit.exp: Check for shared lib support.
214 * testsuite/ld-elf/compress.exp: Likewise.
215 * testsuite/ld-elf/dwarf.exp: Likewise.
216 * testsuite/ld-elf/shared.exp: Likewise.
217 * testsuite/ld-elf/wrap.exp: Likewise.
218 * testsuite/ld-ifunc/ifunc.exp: Likewise.
219 * testsuite/ld-plugin/lto.exp: Check $CXX exists.
220
a44d0bd7
AM
2212017-01-03 Alan Modra <amodra@gmail.com>
222
223 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Do not
224 allow test to continue after compilation errors.
225 (run_cc_link_tests): Likewise.
226
27c3ce29
DD
2272017-01-03 Dimitar Dimitrov <dimitar@dinux.eu>
228
229 * Makefile.am (ALL_EMULATION_SOURCES): Add epruelf.c.
230 (epruelf.c): Remove unneeded dependencies.
231 * Makefile.in: Regenerate
232
8cfc7cf8
AM
2332017-01-03 Alan Modra <amodra@gmail.com>
234
235 * testsuite/ld-elf/shared.exp: Add -rpath-link and -no-as-needed
236 to various tests.
237 * testsuite/ld-elfweak/elfweak.exp: Likewise.
238 * testsuite/ld-elfvers/vers.exp (vers19): Fix -rpath-link option.
239
4ce6ca2c
AM
2402017-01-03 Alan Modra <amodra@gmail.com>
241
242 * testsuite/ld-elf/elf.exp: Check that $CC exists before C tests.
243 * testsuite/ld-pie/pie.exp: Likewise.
244 * testsuite/ld-plugin/lto.exp: Likewise.
245
d9816402
AM
2462017-01-02 Alan Modra <amodra@gmail.com>
247
248 * Makefile.am (bootstrap): Delete rule.
249 (ld-partial, ld1, ld1-full, ld2, ld3): Likewise.
250 (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
251 (HOSTING_LIBS, HOSTING_SLIBS, HOSTING_EMU): Likewise.
252 * configure.ac (HOSTING_CRT0, HOSTING_SCRT0): Don't define.
253 (HOSTING_LIBS, HOSTING_SLIBS): Likewise.
254 * configure.host (HOSTING_CRT0, HOSTING_LIBS): Don't define.
255 * Makefile.in: Regenerate.
256 * configure: Regenerate.
257 * testsuite/config/default.exp (get_link_files): Delete.
258 (HOSTING_CRT0, HOSTING_SCRT0, HOSTING_LIBS, HOSTING_SLIBS): Don't
259 define.
260 (ld_simple_link): Delete.
261 * testsuite/lib/ld-lib.exp (default_ld_link): Delete
262 (default_ld_simple_link): Rename to default_ld_link.
263 (ld_simple_link_defsyms): Rename to ld_link_defsyms.
264 (run_ld_link_tests): Use ld_link, not ld_simple_link.
265 (run_cc_link_tests): Likewise.
266 (run_ld_link_exec_tests): Use $CC or $CXX to link, not $ld.
267 Don't run exe when not native, and return unsupported.
268 * testsuite/ld-bootstrap/bootstrap.exp: Create gccld1 etc. dirs.
269 Link ld1 etc. using $CC.
270 * testsuite/ld-cdtest/cdtest.exp: Link cdtest using $CC.
271 * testsuite/ld-checks/checks.exp: Use ld_link, not ld_simple_link.
272 * testsuite/ld-cygwin/exe-export.exp: Likewise.
273 * testsuite/ld-elf/binutils.exp: Likewise.
274 * testsuite/ld-elf/eh-group.exp: Likewise.
275 * testsuite/ld-elf/exclude.exp: Likewise.
276 * testsuite/ld-elf/frame.exp: Likewise.
277 * testsuite/ld-elf/sec-to-seg.exp: Likewise.
278 * testsuite/ld-elf/tls_common.exp: Likewise.
279 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
280 * testsuite/ld-fastcall/fastcall.exp: Likewise.
281 * testsuite/ld-gc/gc.exp: Likewise.
282 * testsuite/ld-ifunc/binutils.exp: Likewise.
283 * testsuite/ld-mep/mep.exp: Likewise.
284 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
285 * testsuite/ld-mn10300/mn10300.exp: Likewise.
286 * testsuite/ld-nios2/nios2.exp: Likewise.
287 * testsuite/ld-pe/pe-compile.exp: Likewise.
288 * testsuite/ld-pe/pe-run.exp: Likewise.
289 * testsuite/ld-pe/pe-run2.exp: Likewise.
290 * testsuite/ld-plugin/plugin.exp: Likewise.
291 * testsuite/ld-scripts/align.exp: Likewise.
292 * testsuite/ld-scripts/alignof.exp: Likewise.
293 * testsuite/ld-scripts/assert.exp: Likewise.
294 * testsuite/ld-scripts/defined.exp: Likewise.
295 * testsuite/ld-scripts/extern.exp: Likewise.
296 * testsuite/ld-scripts/log2.exp: Likewise.
297 * testsuite/ld-scripts/map-address.exp: Likewise.
298 * testsuite/ld-scripts/phdrs.exp: Likewise.
299 * testsuite/ld-scripts/phdrs2.exp: Likewise.
300 * testsuite/ld-scripts/script.exp: Likewise.
301 * testsuite/ld-scripts/section-flags.exp: Likewise.
302 * testsuite/ld-scripts/sizeof.exp: Likewise.
303 * testsuite/ld-scripts/sysroot-prefix.exp: Likewise.
304 * testsuite/ld-scripts/weak.exp: Likewise.
305 * testsuite/ld-selective/selective.exp: Likewise.
306 * testsuite/ld-sh/sh.exp: Likewise.
307 * testsuite/ld-sh/sh64/relax.exp: Likewise.
308 * testsuite/ld-sh/sh64/relfail.exp: Likewise.
309 * testsuite/ld-srec/srec.exp: Likewise.
310 * testsuite/ld-tic6x/tic6x.exp: Likewise.
311 * testsuite/ld-undefined/weak-undef.exp: Likewise.
312 * testsuite/ld-versados/versados.exp: Likewise.
313 * testsuite/ld-x86-64/dwarfreloc.exp: Likewise.
314 * testsuite/ld-xtensa/coalesce.exp: Likewise.
315 * testsuite/ld-xtensa/diff_overflow.exp: Likewise.
316 * testsuite/ld-xtensa/lcall.exp: Likewise.
317 * testsuite/ld-elf/audit.exp: Run non-native too.
318 * testsuite/ld-elf/compress.exp: Likewise. Replace ld options with
319 gcc -Wl, options.
320 * testsuite/ld-elf/dwarf.exp: Run non-native too. Use ld_link,
321 not ld_simple_link. Add -Wl,--no-as-needed to some tests.
322 * testsuite/ld-elf/elf.exp: Run non-native too. Formatting.
323 * testsuite/ld-elf/indirect.exp: Run non-native too. Add
324 -Wl,--no-as-needed to most tests.
325 * testsuite/ld-elf/shared.exp: Run non-native too. Use braces
326 to simplify quoting. Set run_tests using [list] rather than
327 brace assignment to expand $extralibs. Add -Wl,--no-as-needed
328 to many test. Prefix ld options with -Wl,.
329 (mix_pic_and_non_pic): Don't run exe if not native.
330 * testsuite/ld-elf/wrap.exp: Run non-native too. Add
331 -Wl,--no-as-needed and prefix ld options with -Wl,.
332 * testsuite/ld-elfvers/vers.exp: Run non-native too. Use ld_link,
333 not ld_simple_link.
334 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
335 (visibility_test): Don't run exe if not native.
336 * testsuite/ld-elfweak/elfweak.exp: Run non-native too. Use ld_link,
337 not ld_simple_link.
338 (build_exec): Don't run exe if not native.
339 * testsuite/ld-ifunc/ifunc.exp: Run non-native too. Use ld_link,
340 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
341 to some tests and prefix ld options with -Wl,. Expect GNU
342 for hppa-linux even when no ifuncs. Delete cleanup.
343 * testsuite/ld-pie/pie.exp: Run non-native too.
344 * testsuite/ld-plugin/lto.exp: Likewise.
345 * testsuite/ld-shared/shared.exp: Likewise. Use ld_link,
346 not ld_simple_link.
347 (shared_test): Don't run exe if not native.
348 * testsuite/ld-size/size.exp: Run non-native too. Add
349 -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
350 * testsuite/ld-unique/unique.exp: Run non-native too. Use ld_link,
351 not ld_simple_link. Link using $CC. Add -Wl,--no-as-needed
352 to some tests and prefix ld options with -Wl,. Expect GNU
353 for hppa-linux even when no unique syms. Delete cleanup.
354 * testsuite/ld-x86-64/tls.exp: Add -Wl,--no-as-needed to some
355 tests and prefix ld options with -Wl,.
356 * testsuite/ld-x86-64/x86-64.exp: Use ld_link, not ld_simple_link.
357 Add -Wl,--no-as-needed to some tests. Prefix ld options with -Wl,.
358
64859e14
AM
3592017-01-02 Alan Modra <amodra@gmail.com>
360
361 * emulparams/elf32metag.sh (COMMONPAGESIZE): Define.
362
f5657270
AM
3632017-01-02 Alan Modra <amodra@gmail.com>
364
365 PR ld/21000
366 * emulparams/hppalinux.sh (DATA_ADDR, SHLIB_DATA_ADDR): Don't define.
367 (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END, DATA_SEGMENT_RELRO_END): Define.
368 * scripttempl/elf.sc: Don't define the above if DATA_SEGMENT_ALIGN
369 is already defined.
370
2571583a
AM
3712017-01-02 Alan Modra <amodra@gmail.com>
372
373 Update year range in copyright notice of all files.
374
5c1ad6b5 375For older changes see ChangeLog-2016
3499769a 376\f
5c1ad6b5 377Copyright (C) 2017 Free Software Foundation, Inc.
3499769a
AM
378
379Copying and distribution of this file, with or without modification,
380are permitted in any medium without royalty provided the copyright
381notice and this notice are preserved.
382
383Local Variables:
384mode: change-log
385left-margin: 8
386fill-column: 74
387version-control: never
388End: