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