PR26103, Assertion failure with symbols defined in link-once sections
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
cda58d5f
AM
12020-06-15 Alan Modra <amodra@gmail.com>
2
3 * testsuite/ld-linkonce/zeroeh_x.s: Rename from x.s.
4 * testsuite/ld-linkonce/zeroeh_y.s: Rename from y.s.
5 * testsuite/ld-linkonce/zeroehl32.d: Adjust for renaming. Support
6 big-endian output. Run for powerpc.
7
38226418
AM
82020-06-11 Alan Modra <amodra@gmail.com>
9
10 * testsuite/ld-plugin/lto.exp (lto_link_tests): Move lto-6,
11 pr12760, pr23818 and pr23958 tests to..
12 (lto_link_elf_tests): ..here.
13
928055a3
NC
142020-06-11 Nick Clifton <nickc@redhat.com>
15
16 * testsuite/ld-elf/pr26094-1b.c (main): Change return type to
17 int.
18
84df1f9d
AM
192020-06-10 Alan Modra <amodra@gmail.com>
20
21 * testsuite/ld-elf/linux-x86.exp: Build tests when non-native.
22 (check_pr25749b): Add optional args. Set expected pass file
23 from args. Run -1b and -2a tests with passall.out.
24 * testsuite/ld-elf/passall.out: New file.
25 * testsuite/ld-elf/pr25749-1.c: Adjust to pass with older glibc.
26 * testsuite/ld-elf/pr25749-2.c: Likewise.
27 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Use
28 regexp_diff to compare expected output from running binary.
29
e1b5d517
L
302020-06-10 H.J. Lu <hongjiu.lu@intel.com>
31
32 PR ld/26094
33 * testsuite/ld-elf/pr26094-1.ver: New fike.
34 * testsuite/ld-elf/pr26094-1a.c: Likewise.
35 * testsuite/ld-elf/pr26094-1a.rd: Likewise.
36 * testsuite/ld-elf/pr26094-1b.c: Likewise.
37 * testsuite/ld-elf/pr26094-1b.rd: Likewise.
38 * testsuite/ld-elf/pr26094-1c.c: Likewise.
39 * testsuite/ld-elf/shared.exp: Run ld/26094 tests.
40
cebd6b8a
L
412020-06-09 H.J. Lu <hongjiu.lu@intel.com>
42
43 PR ld/18801
44 * testsuite/ld-i386/i386.exp: Run ifunc-textrel-1a,
45 ifunc-textrel-1b, ifunc-textrel-2a and ifunc-textrel-2b.
46 * testsuite/ld-x86-64/x86-64.exp: Likewise.
47 * testsuite/ld-i386/ifunc-textrel-1a.d: Likewise.
48 * testsuite/ld-i386/ifunc-textrel-1b.d: Likewise.
49 * testsuite/ld-i386/ifunc-textrel-2a.d: Likewise.
50 * testsuite/ld-i386/ifunc-textrel-2b.d: Likewise.
51 * testsuite/ld-x86-64/ifunc-textrel-1.s: Likewise.
52 * testsuite/ld-x86-64/ifunc-textrel-1a.d: Likewise.
53 * testsuite/ld-x86-64/ifunc-textrel-1b.d: Likewise.
54 * testsuite/ld-x86-64/ifunc-textrel-2.s: Likewise.
55 * testsuite/ld-x86-64/ifunc-textrel-2a.d: Likewise.
56 * testsuite/ld-x86-64/ifunc-textrel-2b.d: Likewise.
57 * testsuite/ld-i386/pr18801a.d: Expect warning for IFUNC
58 resolvers.
59 * testsuite/ld-i386/pr18801b.d: Likewise.
60 * estsuite/ld-x86-64/pr18801a.d: Likewise.
61 * estsuite/ld-x86-64/pr18801b.d: Likewise.
62
a61e3060
AM
632020-06-09 Alan Modra <amodra@gmail.com>
64
65 PR 26065
66 * testsuite/ld-elf/shared.exp: Compile dl4main.c -fPIC.
67 (dl4e, dl4f): Expect dl4a.out.
68 * testsuite/ld-elf/dl4e.out: Delete.
69
597344c9
L
702020-06-07 H.J. Lu <hongjiu.lu@intel.com>
71
72 * testsuite/ld-elf/shared.exp: Pass $LFLAGS to PR ld/21703
73 shared test.
74
656e4a22
L
752020-06-07 H.J. Lu <hongjiu.lu@intel.com>
76
77 * testsuite/ld-elf/shared.exp: Xfail pr20995/pr20995-2 for
78 tic6x-*-*.
79
0fd91d25
L
802020-06-07 H.J. Lu <hongjiu.lu@intel.com>
81
82 * testsuite/ld-elf/pr11304.d: Skip tic6x-*-elf.
83
1fc47f80
AM
842020-06-06 Alan Modra <amodra@gmail.com>
85
86 * testsuite/ld-elf/comm-data.exp: Don't xfail arm or bfin-linux.
87
070558eb
AM
882020-06-06 Alan Modra <amodra@gmail.com>
89
90 * lexsup.c (ld_options): Accept -plugin and -plugin-opt when
91 !ENABLE_PLUGINS.
92 * testsuite/lib/ld-lib.exp (check_plugin_api_available): Adjust.
93
41285764
NC
942020-06-05 Nelson Chu <nelson.chu@sifive.com>
95
96 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Rename to
97 attr-merge-priv-spec-01.d.
98 * testsuite/ld-riscv-elf/attr-merge-priv-spec-c.s: Set spec to 1.11.
99 * testsuite/ld-riscv-elf/attr-merge-priv-spec-d.s: Empty priv spec set.
100 * testsuite/ld-riscv-elf/attr-merge-priv-spec-02.d: New testcase.
101 * testsuite/ld-riscv-elf/attr-merge-priv-spec-03.d: Likewise.
102 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise.
103 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise.
104 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise.
105 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise.
106 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise.
107 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated.
108
3fc6c3dc
NC
1092020-06-05 Nelson Chu <nelson.chu@sifive.com>
110
111 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: The CSR isn't used,
112 so ignore the -mpriv-spec setting.
113 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
114 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
115 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
116 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
117 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
118 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
119 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
120 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
121 * testsuite/ld-riscv-elf/call-relax.d: Add -mno-arch-attr.
122
c4b126b8
L
1232020-06-04 H.J. Lu <hongjiu.lu@intel.com>
124
125 PR ld/26080
126 * testsuite/ld-elf/comm-data.exp: Remove copy_reloc.
127 * testsuite/ld-elf/comm-data2r.rd: Removed.
128 * testsuite/ld-elf/comm-data2r.sd: Likewise.
129 * testsuite/ld-elf/comm-data2r.xd: Likewise.
130
e2c8dab6
AM
1312020-06-04 Alan Modra <amodra@gmail.com>
132
133 * testsuite/config/default.exp: Remove global directive outside
134 proc body.
135 * testsuite/ld-bootstrap/bootstrap.exp: Likewise.
136 * testsuite/ld-elf/compress.exp: Likewise.
137 * testsuite/ld-elf/elf.exp: Likewise.
138 * testsuite/ld-elf/exclude.exp: Likewise.
139 * testsuite/ld-elf/frame.exp: Likewise.
140 * testsuite/ld-elf/indirect.exp: Likewise.
141 * testsuite/ld-elf/linux-x86.exp: Likewise.
142 * testsuite/ld-elf/shared.exp: Likewise.
143 * testsuite/ld-elf/tls.exp: Likewise.
144 * testsuite/ld-elf/tls_common.exp: Likewise.
145 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
146 * testsuite/ld-elfweak/elfweak.exp: Likewise.
147 * testsuite/ld-frv/fdpic.exp: Likewise.
148 * testsuite/ld-frv/tls.exp: Likewise.
149 * testsuite/ld-gc/gc.exp: Likewise.
150 * testsuite/ld-i386/i386.exp: Likewise.
151 * testsuite/ld-i386/no-plt.exp: Likewise.
152 * testsuite/ld-ifunc/ifunc.exp: Likewise.
153 * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise.
154 * testsuite/ld-nios2/nios2.exp: Likewise.
155 * testsuite/ld-plugin/lto.exp: Likewise.
156 * testsuite/ld-plugin/plugin.exp: Likewise.
157 * testsuite/ld-powerpc/export-class.exp: Likewise.
158 * testsuite/ld-scripts/align.exp: Likewise.
159 * testsuite/ld-scripts/crossref.exp: Likewise.
160 * testsuite/ld-scripts/defined.exp: Likewise.
161 * testsuite/ld-scripts/overlay-size.exp: Likewise.
162 * testsuite/ld-scripts/provide.exp: Likewise.
163 * testsuite/ld-scripts/weak.exp: Likewise.
164 * testsuite/ld-selective/selective.exp: Likewise.
165 * testsuite/ld-sh/rd-sh.exp: Likewise.
166 * testsuite/ld-size/size.exp: Likewise.
167 * testsuite/ld-srec/srec.exp: Likewise.
168 * testsuite/ld-x86-64/mpx.exp: Likewise.
169 * testsuite/ld-x86-64/no-plt.exp: Likewise.
170 * testsuite/ld-x86-64/x86-64.exp: Likewise.
171
a0c0ad56
AM
1722020-06-04 Alan Modra <amodra@gmail.com>
173
174 * testsuite/ld-dynamic/export-dynamic-symbol-2.d: Match output for
175 mips-sgi-irix6.
176 * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: Likewise.
177 * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: Likewise.
178 * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: Likewise.
179 * testsuite/ld-dynamic/export-dynamic-symbol.exp: Exclude targets
180 with poor PIE support.
181
60f207b4
AM
1822020-06-04 Alan Modra <amodra@gmail.com>
183
184 * testsuite/ld-plugin/lto.exp (pr12758.exe): Add NOPIE_LDFLAGS.
185 * testsuite/ld-unique/unique.exp: Add NOPIE_LDFLAGS to unique
186 executable and dynamic executable tests.
187
1949ad04
L
1882020-06-03 H.J. Lu <hongjiu.lu@intel.com>
189
190 * testsuite/config/default.exp (NOSANTIZE_CFLAGS): New.
191 * testsuite/ld-elf/linux-x86.exp: Add $NOSANTIZE_CFLAGS to
192 tests with run_ld_link_exec_tests.
193 * testsuite/ld-elf/shared.exp: Add $NOSANTIZE_CFLAGS to tests
194 with run_ld_link_tests.
195 * testsuite/ld-elf/tls.exp: Likewise.
196 * testsuite/ld-elfweak/elfweak.exp: Add $NOSANTIZE_CFLAGS to
197 tests with ld_link.
198 * testsuite/ld-gc/gc.exp: Add $NOSANTIZE_CFLAGS to cflags.
199 * testsuite/ld-plugin/lto.exp: Add $NOSANTIZE_CFLAGS to tests
200 with run_ld_link_tests.a
201 * testsuite/ld-plugin/plugin.exp: Append $NOSANTIZE_CFLAGS to
202 CFLAGS.
203 * testsuite/ld-selective/selective.exp: Add $NOSANTIZE_CFLAGS
204 to cflags and cxxflags.
205 * testsuite/ld-srec/srec.exp: Append $NOSANTIZE_CFLAGS to CC
206 and CXX.
207 * testsuite/ld-x86-64/plt-main-ibt-x32.dd: Updated for
208 -fsanitize=undefined.
209 * testsuite/ld-x86-64/plt-main-ibt.dd: Likewise.
210 * testsuite/ld-x86-64/x86-64.exp: Add $NOSANTIZE_CFLAGS to
211 tests with run_cc_link_tests and run_ld_link_tests.
212
37a141bf
FS
2132020-06-03 Fangrui Song <maskray@google.com>
214 H.J. Lu <hongjiu.lu@intel.com>
215
216 PR ld/25910
217 * NEWS: Mention --export-dynamic-symbol[-list].
218 * ld.texi: Document --export-dynamic-symbol[-list].
219 * ldgram.y: Pass current_dynamic_list_p to
220 lang_append_dynamic_list.
221 * ldlang.c (current_dynamic_list_p): New.
222 (ang_append_dynamic_list): Updated to take a pointer to
223 struct bfd_elf_dynamic_list * argument instead of using
224 link_info.dynamic_list.
225 (lang_append_dynamic_list_cpp_typeinfo): Pass
226 &link_info.dynamic_list to ang_append_dynamic_list.
227 (lang_append_dynamic_list_cpp_new): Likewise.
228 * ldlang.h (current_dynamic_list_p): New.
229 (lang_append_dynamic_list): Add a pointer to
230 struct bfd_elf_dynamic_list * argument.
231 * ldlex.h (option_values): Add OPTION_EXPORT_DYNAMIC_SYMBOL and
232 OPTION_EXPORT_DYNAMIC_SYMBOL_LIST.
233 * lexsup.c (ld_options): Add entries for
234 OPTION_EXPORT_DYNAMIC_SYMBOL and
235 OPTION_EXPORT_DYNAMIC_SYMBOL_LIST.
236 (parse_args): Handle --export-dynamic-symbol and
237 --export-dynamic-symbol-list.
238 * testsuite/ld-dynamic/export-dynamic-symbol-1.d: New.
239 * testsuite/ld-dynamic/export-dynamic-symbol-2.d: New.
240 * testsuite/ld-dynamic/export-dynamic-symbol-glob.d: New.
241 * testsuite/ld-dynamic/export-dynamic-symbol-list-1.d: New.
242 * testsuite/ld-dynamic/export-dynamic-symbol-list-2.d: New.
243 * testsuite/ld-dynamic/export-dynamic-symbol-list-glob.d: New.
244 * testsuite/ld-dynamic/export-dynamic-symbol.exp: New.
245 * testsuite/ld-dynamic/export-dynamic-symbol.s: New.
246 * testsuite/ld-dynamic/foo-bar.list: New.
247 * testsuite/ld-dynamic/foo.list: New.
248 * testsuite/ld-dynamic/foo.s: New.
249 * testsuite/ld-dynamic/fstar.list: New.
250 * testsuite/ld-elf/dlempty.list: New.
251 * testsuite/ld-elf/shared.exp: Add tests for
252 --export-dynamic-symbol and --export-dynamic-symbol-list.
253
bbd2d6bf
JB
2542020-06-03 Jan Beulich <jbeulich@suse.com>
255
256 * testsuite/ld-elf/linux-x86.exp: Make copied source files
257 writeable.
258
a3fc9418
NC
2592020-05-28 Nick Clifton <nickc@redhat.com>
260
261 PR 26047
262 * ldelf.c (ldelf_after_open): Fail if attempting to link one
a87e1817
NC
263 executable into another. Ensure that the test is made for all
264 forms of linking.
a3fc9418 265
fa6ecf94
L
2662020-05-28 H.J. Lu <hongjiu.lu@intel.com>
267
6f028f3c
L
268 * NEWS: Mention --enable-textrel-check=yes is default for
269 Linux/x86 targets.
270 * configure.tgt (ac_default_ld_textrel_check): Set to yes if
271 unset for Linux/x86 targets.
fa6ecf94 272
b32632c4
L
2732020-05-28 H.J. Lu <hongjiu.lu@intel.com>
274
275 PR ld/20824
276 * NEWS: Mention --enable-textrel-check=[no|yes|warning|error].
277 * configure.ac: Add --enable-textrel-check=[no|yes|warning|error].
278 (DEFAULT_LD_TEXTREL_CHECK): New AC_DEFINE_UNQUOTED.
279 (DEFAULT_LD_TEXTREL_CHECK_WARNING): Likewise.
280 * ldmain.c (main): Initialize link_info.textrel_check to
281 DEFAULT_LD_TEXTREL_CHECK.
282 * lexsup.c (ld_options): Check DEFAULT_LD_TEXTREL_CHECK_WARNING.
283 * config.in: Regenerated.
284 * configure: Likewise.
285
72a3b182
NC
2862020-05-28 Nick Clifton <nickc@redhat.com>
287
288 * lexsup.c (parse_args): Generate an error if a name is not
289 provided to the -Map option.
290 (ld_options): Mention that the -Map option supports a directory
291 name as an argument.
292 * NEWS: Remove mention of support for an empty string as an
293 argument to -Map.
294 * ld.texi: Likewise.
295
2a37823b
HPN
2962020-05-27 Hans-Peter Nilsson <hp@axis.com>
297
298 PR ld/22909
299 * testsuite/ld-elf/pr19539.d: Don't xfail for cris*-*-*.
300
198204a7
NC
3012020-05-27 Rasmus Villemoes <rv@rasmusvillemoes.dk>
302 Nick Clifton <nickc@redhat.com>
303
304 * lexsup.c (parse_args): If the map filename is defined but empty
305 create a name based upon the output file name. If the name is
306 defined but refers to a directory create a file inside the
307 directory based on the output file name.
308 * ld.texi: Document the new feature.
309 * testsuite/ld-script/map-address.exp: Add test of new feature.
310 * NEWS: Mention the new feature.
311
a6dbf402
L
3122020-05-27 H.J. Lu <hongjiu.lu@intel.com>
313
314 PR ld/22909
315 * NEWS: Mention --warn-textrel.
316 * ld.texi: Update -z text/notext/textoff. Add --warn-textrel.
317 Remove --warn-shared-textrel.
318 * ldlex.h (option_values): Rename OPTION_WARN_SHARED_TEXTREL to
319 OPTION_WARN_TEXTREL.
320 * lexsup.c (ld_options): Add --warn-textrel. Obsolete
321 --warn-shared-textrel.
322 (parse_args): Updated.
323 (elf_shlib_list_options): Check link_info.textrel_check.
324 * emultempl/elf.em: Updated.
325 * testsuite/ld-elf/pr19539.d: Replace -z notext with
326 --warn-textrel. Expect a warning.
327 * testsuite/ld-i386/warn1.d: Update expected warning.
328
368584aa
L
3292020-05-26 H.J. Lu <hongjiu.lu@intel.com>
330
331 * testsuite/ld-ifunc/ifunc-23a-x86.d: Skip *-*-lynxos *-*-nto*.
332 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
333 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
334
07e0bb0f
L
3352020-05-25 H.J. Lu <hongjiu.lu@intel.com>
336
337 * testsuite/ld-x86-64/x86-64.exp: Pass -z notext to linker.
338
af2c48d8
L
3392020-05-25 H.J. Lu <hongjiu.lu@intel.com>
340
341 * testsuite/ld-elf/eh6.d: Pass -z notext to linker.
342 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
343 * testsuite/ld-elf/pr19539.d: Likewise.
344 * testsuite/ld-elfvers/vers.exp: Likewise.
345 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
346 * testsuite/ld-i386/i386.exp: Likewise.
347 * testsuite/ld-i386/nogot1.d: Likewise.
348 * testsuite/ld-i386/pr19539.d: Likewise.
349 * testsuite/ld-i386/pr19636-2a.d: Likewise.
350 * testsuite/ld-i386/pr19636-2b.d: Likewise.
351 * testsuite/ld-i386/pr19636-2c.d: Likewise.
352 * testsuite/ld-i386/pr19636-2d.d: Likewise.
353 * testsuite/ld-i386/pr19636-2e.d: Likewise.
354 * testsuite/ld-i386/pr19636-3d.d: Likewise.
355 * testsuite/ld-i386/pr19636-3e.d: Likewise.
356 * testsuite/ld-i386/pr19939b.d: Likewise.
357 * testsuite/ld-i386/undefweaka.d: Likewise.
358 * testsuite/ld-i386/undefweakb.d: Likewise.
359 * testsuite/ld-shared/shared.exp: Likewise.
360 * testsuite/ld-size/size.exp: Likewise.
361 * testsuite/ld-unique/unique.exp: Likewise.
362 * testsuite/ld-x86-64/pie1.d: Likewise.
363 * testsuite/ld-x86-64/pr19539a.d: Likewise.
364 * testsuite/ld-x86-64/pr19539b.d: Likewise.
365 * testsuite/ld-x86-64/pr19636-1d.d: Likewise.
366 * testsuite/ld-x86-64/pr19636-1e.d: Likewise.
367 * testsuite/ld-x86-64/pr19807-1a.d: Likewise.
368 * testsuite/ld-x86-64/pr19807-1b.d: Likewise.
369 * testsuite/ld-x86-64/pr19807-2b.d: Likewise.
370 * testsuite/ld-x86-64/pr19807-2c.d: Likewise.
371 * testsuite/ld-x86-64/pr19807-2d.d: Likewise.
372 * testsuite/ld-x86-64/pr19807-2e.d: Likewise.
373 * testsuite/ld-x86-64/pr19939b.d: Likewise.
374 * testsuite/ld-x86-64/x86-64.exp: Likewise.
375
bb68f22c
FS
3762020-05-24 Fangrui Song <maskray@google.com>
377
378 PR ld/26018
379 * lexsup.c (parse_args): Simplify.
380 * testsuite/ld-elf/dl4e.out: New.
381 * testsuite/ld-elf/shared.exp: Updated for PR ld/26018 tests.
382
309cae1f
L
3832020-05-23 H.J. Lu <hongjiu.lu@intel.com>
384
385 PR ld/26018
386 * testsuite/ld-i386/i386.exp: Add a -Bsymbolic-functions test.
387 * testsuite/ld-x86-64/x86-64.exp: Likewise.
388 * testsuite/ld-i386/pr26018.d: New file.
389 * testsuite/ld-x86-64/pr26018.d: Likewise.
390 * testsuite/ld-x86-64/pr26018.s: Likewise.
391
5e2ab612
AM
3922020-05-21 Alan Modra <amodra@gmail.com>
393
394 * deffilep.y: Replace "if (x) free (x)" with "free (x)" thoughout.
395 * emultempl/elf.em: Likewise.
396 * emultempl/msp430.em: Likewise.
397 * emultempl/pe.em: Likewise.
398 * emultempl/pep.em: Likewise.
399 * emultempl/ppc64elf.em: Likewise.
400 * emultempl/xtensaelf.em: Likewise.
401 * ldelf.c: Likewise.
402 * ldfile.c: Likewise.
403 * ldmain.c: Likewise.
404 * ldmisc.c: Likewise.
405 * lexsup.c: Likewise.
406 * pe-dll.c: Likewise.
407
8f595e9b
NC
4082020-05-20 Nelson Chu <nelson.chu@sifive.com>
409
410 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Updated
411 priv attributes according to the -mpriv-spec option.
412 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
413 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
414 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
415 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
416 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
417 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
418 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
419 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
420 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
421 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
422 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
423
7b958a48
AM
4242020-05-20 Alan Modra <amodra@gmail.com>
425
426 PR 25993
427 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't copy
428 other_bfd_filename for bfd_set_filename, and test result of
429 bfd_set_filename call. Don't create a new is->filename, simply
430 copy from bfd filename. Free new_name after bfd_set_filename.
431 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
432
7e057737
SP
4332020-05-19 Siddhesh Poyarekar <siddesh.poyarekar@arm.com>
434
435 * testsuite/ld-aarch64/aarch64-elf.exp: New test
436 emit-relocs-560.
437 * testsuite/ld-aarch64/emit-relocs-560.d: New file.
438 * testsuite/ld-aarch64/emit-relocs-560.s: New file.
439
607b4833
AM
4402020-05-19 Alan Modra <amodra@gmail.com>
441
442 * emultempl/beos.em (sort_by_file_name): Use bfd_get_filename
443 rather than accessing bfd->filename directly.
444 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
445 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
446 * emultempl/spuelf.em (embedded_spu_file): Likewise.
447 * ldlang.c (input_statement_is_archive_path, wild_sort),
448 (check_excluded_libs): Likewise.
449 * ldmain.c (add_archive_element): Likewise.
450 * ldmisc.c (vfinfo): Likewise.
451 * pe-dll.c (auto_export, generate_edata, pe_create_import_fixup),
452 (pe_dll_generate_implib, pe_process_import_defs): Likewise.
453 * plugin.c (plugin_object_p): Likewise.
454
3edf7b9f
DR
4552020-05-18 Douglas B Rupp <rupp@adacore.com>
456
457 * ldemul.h (ldemul_print_symbol): New.
458 (ld_emulation_xfer_type) <print_symbol): Likewise.
459 * ldemul.c (ldemul_print_symbol): New.
460 * ldlang.c (SECTION_NAME_MAP_LANGTH): Move to ...
461 (print_one_symbol): Make global and move declaration to ...
462 (print_all_symbols): Rename print_one_symbol to ldemul_print_symbol
463 (print_input_section): Likewise
464 * ldlang.h: ... here.
465 * emultempl/aix.em (gld${EMULATION_NAME}_print_symbol): New.
466 (ld_emulation_xfer_struct): Use it.
467 * emultempl/armcoff.em (ld_emulation_xfer_struct): Add print_symbol
468 and default to NULL.
469 * emultempl/beos.em (ld_emulation_xfer_struct): Likewise
470 * emultempl/elf.em (ld_emulation_xfer_struct): Likewise
471 * emultempl/generic.em (ld_emulation_xfer_struct): Likewise
472 * emultempl/linux.em (ld_emulation_xfer_struct): Likewise
473 * emultempl/msp430.em (ld_emulation_xfer_struct): Likewise
474 * emultempl/pe.em (ld_emulation_xfer_struct): Likewise
475 * emultempl/pep.em (ld_emulation_xfer_struct): Likewise
476 * emultempl/ticoff.em (ld_emulation_xfer_struct): Likewise
477 * emultempl/vanilla.em (ld_emulation_xfer_struct): Likewise
478
6e0c75f7
ST
4792020-05-18 Sergei Trofimovich <siarheit@google.com>
480
481 * ldmain.c (add_archive_element): Fix s/claimi/claim/ typo
482 in info message.
483
e6ddf2af
NC
4842020-05-18 Nick Clifton <nickc@redhat.com>
485
486 * po/sv.po: Update Swedish translation.
487
5e365e47
NC
4882020-05-18 Nick Clifton <nickc@redhat.com>
489
490 PR 25993
491 * emultempl/pe.em (_after_open): Check for duplicate filename
492 pointers before renaming the dll.
493 * emultempl/pep.em (_after_open): Likewise.
494
ba311c5b
NC
4952020-05-13 Nick Clifton <nickc@redhat.com>
496
497 PR 25979
498 * lexsup.c (elf_shlib_list_options): Include the default value for
499 the hash style in the output text.
500
94ba9882
AM
5012020-05-11 Alan Modra <amodra@gmail.com>
502
503 * testsuite/ld-powerpc/pcrelopt.s: Add lxvp and stxvp.
504 * testsuite/ld-powerpc/pcrelopt.d: Update.
505
7c1f4227
AM
5062020-05-11 Alan Modra <amodra@gmail.com>
507
508 * testsuite/ld-powerpc/callstub-1.d: Use -mpower10/-Mpower10 in
509 place of -mfuture/-Mfuture.
510 * testsuite/ld-powerpc/notoc2.d: Likewise.
511 * testsuite/ld-powerpc/powerpc.exp: Likewise.
512 * testsuite/ld-powerpc/tlsgd.d: Likewise.
513 * testsuite/ld-powerpc/tlsie.d: Likewise.
514 * testsuite/ld-powerpc/tlsld.d: Likewise.
515
73199c2b
NC
5162020-05-11 Nick Clifton <nickc@redhat.com>
517
518 * po/es.po: Updated Spanish translation.
519
cff69cf4
WD
5202020-05-01 Wilco Dijkstra <wdijkstr@arm.com>
521
522 PR ld/25665
523 * testsuite/ld-aarch64/farcall-group.s: New large group test.
524 * testsuite/ld-aarch64/farcall-group.d: New test driver.
525 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test.
526
a8acd6ee
AM
5272020-05-01 Alan Modra <amodra@gmail.com>
528
529 PR 25882
530 * ldlang.c (lang_check): Call bfd_merge_private_bfd_data for
531 shared libraries.
532
94a8e7b0
AM
5332020-05-01 Alan Modra <amodra@gmail.com>
534
535 * po/BLD-POTFILES.in: Regenerate.
536
09c1e68a
AC
5372020-04-30 Alex Coplan <alex.coplan@arm.com>
538
539 * testsuite/ld-aarch64/erratum843419_tls_ie.d: Use udf in disassembly.
540 * testsuite/ld-aarch64/farcall-b-section.d: Likewise.
541 * testsuite/ld-aarch64/farcall-back.d: Likewise.
542 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise.
543
8a8a1171
NC
5442020-04-30 Nick Clifton <nickc@redhat.com>
545
546 * testsuite/ld-elf/compress1c.d: XFAIL if thet target linker does
547 not support the -shared command line option.
548 * /ld-elf/compressed1c.d: Likewise.
549 * /ld-elf/compressed1e.d: Likewise.
550 * /ld-elf/dynamic1.d: Likewise.
551 * /ld-elf/dynsym1.d: Likewise.
552 * /ld-elf/ehdr_start-shared.d: Likewise.
553 * /ld-elf/exclude3b.d: Likewise.
554 * /ld-elf/global1.d: Likewise.
555 * /ld-elf/hash.d: Likewise.
556 * /ld-elf/local1.d: Likewise.
557 * /ld-elf/mbind1b.d: Likewise.
558 * /ld-elf/now-1.d: Likewise.
559 * /ld-elf/now-2.d: Likewise.
560 * /ld-elf/now-3.d: Likewise.
561 * /ld-elf/now-4.d: Likewise.
562 * /ld-elf/pr12975.d: Likewise.
563 * /ld-elf/pr13177.d: Likewise.
564 * /ld-elf/pr13195.d: Likewise.
565 * /ld-elf/pr16322.d: Likewise.
566 * /ld-elf/pr16498a.d: Likewise.
567 * /ld-elf/pr16498b.d: Likewise.
568 * /ld-elf/pr17615.d: Likewise.
569 * /ld-elf/pr19162.d: Likewise.
570 * /ld-elf/pr19698.d: Likewise.
571 * /ld-elf/pr20513c.d: Likewise.
572 * /ld-elf/pr20513d.d: Likewise.
573 * /ld-elf/pr21389a.d: Likewise.
574 * /ld-elf/pr21389b.d: Likewise.
575 * /ld-elf/pr21389c.d: Likewise.
576 * /ld-elf/pr21562a.d: Likewise.
577 * /ld-elf/pr21562b.d: Likewise.
578 * /ld-elf/pr21562c.d: Likewise.
579 * /ld-elf/pr21562d.d: Likewise.
580 * /ld-elf/pr21562e.d: Likewise.
581 * /ld-elf/pr21562f.d: Likewise.
582 * /ld-elf/pr21562g.d: Likewise.
583 * /ld-elf/pr21562h.d: Likewise.
584 * /ld-elf/pr21562i.d: Likewise.
585 * /ld-elf/pr21562j.d: Likewise.
586 * /ld-elf/pr21562k.d: Likewise.
587 * /ld-elf/pr21562l.d: Likewise.
588 * /ld-elf/pr21562m.d: Likewise.
589 * /ld-elf/pr21562n.d: Likewise.
590 * /ld-elf/pr21903a.d: Likewise.
591 * /ld-elf/pr21903b.d: Likewise.
592 * /ld-elf/pr22269b.d: Likewise.
593 * /ld-elf/pr22393-1a.d: Likewise.
594 * /ld-elf/pr22393-1b.d: Likewise.
595 * /ld-elf/pr23658-1c.d: Likewise.
596 * /ld-elf/pr25708.d: Likewise.
597 * /ld-elf/rpath-1.d: Likewise.
598 * /ld-elf/rpath-2.d: Likewise.
599 * /ld-elf/runpath-1.d: Likewise.
600 * /ld-elf/runpath-2.d: Likewise.
601 * /ld-elf/sizeofb.d: Likewise.
602 * /ld-elf/startofb.d: Likewise.
603 * /ld-elf/strtab.d: Likewise.
604 * /ld-elf/textaddr2.d: Likewise.
605 * /ld-elf/textaddr5.d: Likewise.
606 * /ld-elf/textaddr6.d: Likewise.
607 * /ld-elf/unknown2.d: Likewise.
608 * /ld-undefined/entry-3.d: Likewise.
609 * /ld-undefined/entry-4.d: Likewise.
610 * /ld-elf/mbind1c.d: XFAIL if the target linker does not support
611 the -pie option.
612 * /ld-elf/pie.d: Likewise.
613 * /ld-elf/pr19539.d: Likewise.
614 * /ld-elf/pr21903d.d: Likewise.
615 * /ld-elf/pr22269a.d: Likewise.
616 * /ld-elf/pr22393-1c.d: Likewise.
617 * /ld-elf/pr22393-1d.d: Likewise.
618 * /ld-elf/pr22423.d: Likewise.
619 * /ld-elf/loadaddr1.d: Expect to fail on the rx-linux target.
620 * /ld-elf/loadaddr2.d: Likewise.
621 * /ld-elf/pr22393-1e.d: Likewise.
622 * /ld-elf/pr22393-1f.d: Likewise.
623 * /ld-elf/textaddr1.d: Likewise.
624 * /ld-elf/textaddr4.d: Likewise.
625
c578f16e
YS
6262020-04-30 Yoshinori Sato <ysato@users.sourceforge.jp>
627
628 * emulparams/elf32rx_linux.sh: New rx-linux emulation.
629 * emultempl/rxlinux.em: New.
630 * configure.tgt: Add rx-linux.
631 * Makefile.am: Add eelf32rx_linux.c
632 * Makefile.in: Regenerate.
633
d548f47d
MF
6342020-04-29 Max Filippov <jcmvbkbc@gmail.com>
635
636 * testsuite/ld-xtensa/relax-diff1.d: New test definition.
637 * testsuite/ld-xtensa/relax-diff1.s: New test source.
638 * testsuite/ld-xtensa/relax-ndiff.d: New test definition.
639 * testsuite/ld-xtensa/relax-ndiff.s: New test source.
640 * testsuite/ld-xtensa/xtensa.exp: (relax-diff1)
641 (relax-ndiff): New tests.
642
4849fabc
SC
6432020-04-29 Stephen Casner <casner@acm.org>
644
645 PR 25829
646 * testsuite/ld-scripts/default-script.exp: Add --image-base=0 to
647 LDFLAGS for targets *-*-mingw64 x86_64-*-cygwin.
648 * testsuite/ld-scripts/default-script1.d: No longer have to skip
649 test for those targets.
650 * testsuite/ld-scripts/default-script2.d: Likewise.
651 * testsuite/ld-scripts/default-script3.d: Likewise.
652 * testsuite/ld-scripts/default-script4.d: Likewise.
653
251dae91
TC
6542020-04-27 Tamar Christina <tamar.christina@arm.com>
655
656 * pe-dll.c (pe_detail_list): Add pe-bigobj-i386.
657
30ce8e47
MF
6582020-04-22 Max Filippov <jcmvbkbc@gmail.com>
659
660 PR ld/25861
661 * testsuite/ld-xtensa/relax-loc.d: New test definition.
662 * testsuite/ld-xtensa/relax-loc.s: New test source.
663 * testsuite/ld-xtensa/xtensa.exp (relax-loc): New test.
664
16171946
FS
6652020-04-22 Fangrui Song <maskray@google.com>
666
667 PR ld/25806
668 * ldlang.h (struct lang_input_statement_struct): Add extra_search_path.
669 * ldlang.c (current_input_file): New.
670 (ldirname): New.
671 (new_afile): Add from_filename parameter. Set extra_search_path.
672 (lang_add_input_file): Pass current_input_file to new_afile.
673 (load_symbols): Set current_input_file.
674 * ldfile.c (ldfile_open_file): If extra_search_path has been set
675 then scan it for the file that needs to be opened.
676 * ld.texi: Document the new behaviour.
677 * NEWS: Mention the new feature.
678
1d934d76
AM
6792020-04-22 Alan Modra <amodra@gmail.com>
680
681 * testsuite/ld-scripts/default-script1.d: Correct mingw skip.
682 * testsuite/ld-scripts/default-script2.d: Likewise.
683 * testsuite/ld-scripts/default-script3.d: Likewise.
684 * testsuite/ld-scripts/default-script4.d: Likewise.
685
39a7b38f
SC
6862020-04-21 Stephen Casner <casner@acm.org>
687
688 PR 25829
689 * testsuite/ld-scripts/script.exp (check_script)
690 (extract_symbol_test): Make test addresses fit in 16 bits.
691 * testsuite/ld-scripts/memory.t: Likewise.
692 * testsuite/ld-scripts/memory_sym.t (TXT_LENGTH): Likewise.
693 * testsuite/ld-scripts/default-script.t (_START): Likewise.
694 * testsuite/ld-scripts/default-script1.d: Likewise.
695 * testsuite/ld-scripts/default-script2.d: Likewise.
696 * testsuite/ld-scripts/default-script3.d: Likewise.
697 * testsuite/ld-scripts/default-script4.d: Likewise.
698 * testsuite/ld-scripts/empty-address-1.t: Likewise.
699 * testsuite/ld-scripts/empty-address-1.d: Likewise.
700 * testsuite/ld-scripts/empty-address-2a.d: Likewise.
701 * testsuite/ld-scripts/empty-address-2b.d: Likewise.
702 * testsuite/ld-misc/start.s: .long -> .dc.a to allow relocation to
703 fit target address size.
1d934d76 704 * testsuite/ld-scripts/empty-address-1.s: Likewise.
39a7b38f
SC
705 * testsuite/ld-scripts/empty-address-2.s: Likewise.
706
6f6fd151
L
7072020-04-21 H.J. Lu <hongjiu.lu@intel.com>
708
709 PR ld/25849
710 * ldelfgen.c (ldelf_map_segments): Call
711 elf_backend_strip_zero_sized_dynamic_sections.
712 * testsuite/ld-alpha/tlsbinr.rd: Updated.
713
2efec98b
AM
7142020-04-20 Alan Modra <amodra@gmail.com>
715
716 * testsuite/ld-powerpc/tlsopt5.s: Rename foo to aaaaa.
717 * testsuite/ld-powerpc/tlsopt5.d: Adjust to suit.
718 * testsuite/ld-powerpc/tlsopt6.d: Likewise.
719
dbe23755
RO
7202020-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
721
722 * testsuite/ld-elf/warn1.d: Don't xfail on 64-bit Solaris/SPARC.
723 * testsuite/ld-elf/warn2.d: Likewise.
724
54975ae9
L
7252020-04-18 H.J. Lu <hongjiu.lu@intel.com>
726
727 * testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
728 alpha target.
729 * testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
730
0203cad2
SC
7312020-04-16 Stephen Casner <casner@acm.org>
732
733 PR 18963
734 * testsuite/ld-scripts/pr18963.t: Reduce section sizes to fit in
735 16-bit address space.
736 * testsuite/ld-scripts/pr18963.d: Likewise.
737
0fe0f2d6
JMG
7382020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
739 Jan W. Jagersma <jwjagersma@gmail.com>
740
741 * scripttempl/i386go32.sc: Provide symbol _environ. Link in
742 .ctors and .dtors. Discard LTO sections.
743
49c16254
NC
7442020-04-17 Nick Clifton <nickc@redhat.com>
745
746 * testsuite/config/default.exp: If not already set then create the
747 CCC_OVERRIDE_OPTIONS environment variable to help when running the
748 testsuite with clang.
749 * testsuite/ld-elf/pr22269-1.c: Add a missing return statement.
750 * testsuite/ld-elfvers/vers.exp: Add checks to detect if files
751 were built before attempting to copy them.
752
95a51568
FS
7532020-04-15 Fangrui Song <maskray@google.com>
754
755 PR binutils/24613
756 * lexsup.c (parse_args): Change RM_GENERATE_WARNING and
757 RM_GENERATE_ERROR to RM_DIAGNOSE.
758 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Change
759 RM_GENERATE_ERROR to RM_DIAGNOSE.
760 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Likewise.
761
fa1477dc
SC
7622020-04-14 Stephen Casner <casner@acm.org>
763
764 PR ld/25677
765 * emulparams/pdp11.sh (SCRIPT_NAME): Change to pdp11.
766 (EXTRA_EM_FILE): New, add emulation file pdp11.
767 * scripttempl/pdp11.sc: New, derived from aout.sc without
768 irrelevant input sections.
769 * emultempl/pdp11.em (_add_options, _handle_option)
770 (_list_options): New. Add options -z, --imagic for pdp11-aout.
771 (_before_parse): Make --omagic be default instead of --nmagic.
772 (_get_script): Modify special-case linker script for --imagic.
773 * lexsup.c (parse_args): Explictly set config.text_read_only for -n.
774 * ld.texi (Options): Add documentation of PDP11-specific options.
775 (Options): Fix unrelated typo to --no-compact-branches.
776 * gen-doc.texi: @set PDP11.
777 * testsuite/ld-pdp11/pdp11.exp: New, start pdp11 testing.
778 * testsuite/ld-pdp11/sections.s: New, source for options tests.
779 * testsuite/ld-pdp11/imagic.d: New, test --imagic format.
780 * testsuite/ld-pdp11/imagicz.d: New, test -z (imagic) format.
781 * testsuite/ld-pdp11/nmagic.d: New, test --nmagic format.
782 * testsuite/ld-pdp11/omagic.d: New, test --omagic format.
783
10ca4b04
L
7842020-04-14 H.J. Lu <hongjiu.lu@intel.com>
785
786 PR binutils/25707
787 * testsuite/ld-arm/armthumb-lib.sym: Updated.
788 * testsuite/ld-arm/farcall-mixed-app.sym: Likewise.
789 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise.
790 * testsuite/ld-arm/fdpic-main-m.sym: Likewise.
791 * testsuite/ld-arm/fdpic-main.sym: Likewise.
792 * testsuite/ld-arm/fdpic-shared-m.sym: Likewise.
793 * testsuite/ld-arm/fdpic-shared.sym: Likewise.
794 * testsuite/ld-arm/mixed-app.sym: Likewise.
795 * testsuite/ld-arm/mixed-lib.sym: Likewise.
796 * testsuite/ld-arm/preempt-app.sym: Likewise.
797 * testsuite/ld-elf/hash.d: Likewise.
798 * testsuite/ld-elf/pr13195.d: Likewise.
799 * testsuite/ld-elfvsb/hidden2.d: Likewise.
800 * testsuite/ld-mips-elf/hash2.d: Likewise.
801
a5d21497
RO
8022020-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
803
804 * testsuite/ld-shared/shared.exp: Remove dangling comments.
805 xfail shared non PIC tests on Solaris.
806
ae4b1d73
RO
8072020-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
808
809 * testsuite/ld-elf/shared.exp: Add -Av9 to AFLAGS_PIC on sparc*-*-*.
810
aa350065
L
8112020-04-02 H.J. Lu <hongjiu.lu@intel.com>
812
813 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): Replace
814 nopie with available.
815
8be5def6
L
8162020-04-02 H.J. Lu <hongjiu.lu@intel.com>
817
818 * testsuite/config/default.exp (NOCF_PROTECTION_CFLAGS): New.
819 Set to "-fcf-protection=none" if target compiler supports it.
820 * testsuite/ld-srec/srec.exp: Add $NOCF_PROTECTION_CFLAGS to
821 CC and CXX.
822 * testsuite/ld-x86-64/x86-64.exp: Add $NOCF_PROTECTION_CFLAGS
823 to PLT BND tests.
824
516231b7
L
8252020-04-02 H.J. Lu <hongjiu.lu@intel.com>
826
827 * testsuite/ld-elf/linux-x86.exp (check_pr25749a): Compile with
828 -I../bfd.
829 (check_pr25749b): Likewise.
830
bb897477
RO
8312020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
832
833 * testsuite/ld-ifunc/ifunc-10-i386.d: Remove *-*-solaris2* from
834 notarget.
835 * ifunc-11-i386.d: Likewise.
836 * ifunc-12-i386.d: Likewise.
837 * ifunc-13-i386.d: Likewise.
838 * ifunc-14a-i386.d: Likewise.
839 * ifunc-14b-i386.d: Likewise.
840 * ifunc-14c-i386.d: Likewise.
841 * ifunc-14d-i386.d: Likewise.
842 * ifunc-14e-i386.d: Likewise.
843 * ifunc-14f-i386.d: Likewise.
844 * ifunc-15-i386.d: Likewise.
845 * ifunc-16-i386-now.d: Likewise.
846 * ifunc-16-i386.d: Likewise.
847 * ifunc-17a-i386.d: Likewise.
848 * ifunc-17b-i386.d: Likewise.
849 * ifunc-18a-i386.d: Likewise.
850 * ifunc-18b-i386.d: Likewise.
851 * ifunc-19a-i386.d: Likewise.
852 * ifunc-19b-i386.d: Likewise.
853 * ifunc-2-i386-now.d: Likewise.
854 * ifunc-2-i386.d: Likewise.
855 * ifunc-2-local-i386-now.d: Likewise.
856 * ifunc-2-local-i386.d: Likewise.
857 * ifunc-20-i386.d: Likewise.
858 * ifunc-21-i386.d: Likewise.
859 * ifunc-22-i386.d: Likewise.
860 * ifunc-5a-i386.d: Likewise.
861 * ifunc-5a-local-i386.d: Likewise.
862 * ifunc-5b-i386.d: Likewise.
863 * ifunc-5b-local-i386.d: Likewise.
864 * ifunc-5r-local-i386.d: Likewise.
865 * ifunc-6a-i386.d: Likewise.
866 * ifunc-6b-i386.d: Likewise.
867 * ifunc-7a-i386.d: Likewise.
868 * ifunc-7b-i386.d: Likewise.
869 * ifunc-8-i386.d: Likewise.
870 * ifunc-9-i386.d: Likewise.
871 * pr17154-i386-now.d: Likewise.
872 * pr17154-i386.d: Likewise.
873
874 * ifunc-23a-x86.d: Remove notarget.
875 * ifunc-24a-x86.d: Likewise.
876 * ifunc-25a-x86.d: Likewise.
877
4f5bd885
NC
8782020-04-02 Nick Clifton <nickc@redhat.com>
879
880 PR ld/25747
881 * ldfile.c (ldfile_open_file): Fix typo in warning message.
882
382aae06
L
8832020-04-01 H.J. Lu <hongjiu.lu@intel.com>
884
885 PR ld/25749
886 PR ld/25754
887 * testsuite/ld-elf/linux-x86.exp: Run ld/25749 tests.
888 * testsuite/ld-elf/pr25749-1.c: New file.
889 * testsuite/ld-elf/pr25749-1a.c: Likewise.
890 * testsuite/ld-elf/pr25749-1b.c: Likewise.
891 * testsuite/ld-elf/pr25749-1b.err: Likewise.
892 * testsuite/ld-elf/pr25749-1c.c: Likewise.
893 * testsuite/ld-elf/pr25749-1d.c: Likewise.
894 * testsuite/ld-elf/pr25749-2.c: Likewise.
895 * testsuite/ld-elf/pr25749-2a.s: Likewise.
896 * testsuite/ld-elf/pr25749-2b.s: Likewise.
897 * testsuite/ld-elf/pr25749.rd: Likewise.
898 * testsuite/ld-elf/pr25754-1a.c: Likewise.
899 * testsuite/ld-elf/pr25754-1b.s: Likewise.
900 * testsuite/ld-elf/pr25754-2a.c: Likewise.
901 * testsuite/ld-elf/pr25754-2b.err: Likewise.
902 * testsuite/ld-elf/pr25754-2b.s: Likewise.
903 * testsuite/ld-elf/pr25754-3a.c: Likewise.
904 * testsuite/ld-elf/pr25754-3b.s: Likewise.
905 * testsuite/ld-elf/pr25754-4a.c: Likewise.
906 * testsuite/ld-elf/pr25754-4b.s: Likewise.
907 * testsuite/ld-elf/pr25754-4c.s: Likewise.
908 * testsuite/ld-elf/pr25754-5a.c: Likewise.
909 * testsuite/ld-elf/pr25754-5b.s: Likewise.
910 * testsuite/ld-elf/pr25754-5c.s: Likewise.
911 * testsuite/ld-elf/pr25754-6a.c: Likewise.
912 * testsuite/ld-elf/pr25754-6b.s: Likewise.
913 * testsuite/ld-x86-64/pr19609-6a.d: Don't expect linker error.
914
3ce23ca1
TC
9152020-04-01 Tamar Christina <tamar.christina@arm.com>
916
917 PR ld/16017
918 * testsuite/ld-arm/arm-elf.exp (thumb-plt, thumb-plt-got): Skip for NaCL.
919
77bf7b53
NC
9202020-04-01 Nick Clifton <nickc@redhat.com>
921
922 PR ld/25747
923 * ldfile.c (ldfile_open_file): If a search for a library fails,
924 but there is a file that would match if it had a "lib" prefix to
925 its name, then tell the user.
926
a7618269
TC
9272020-04-01 Tamar Christina <tamar.christina@arm.com>
928
929 PR ld/16017
930 * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New.
931 * testsuite/ld-arm/thumb-plt-got.d: New test.
932
15ccbdd7
TC
9332020-04-01 Tamar Christina <tamar.christina@arm.com>
934
935 * testsuite/ld-arm/arm-elf.exp (thumb-plt): New.
936 * testsuite/ld-arm/thumb-plt.d: New test.
937 * testsuite/ld-arm/thumb-plt.s: New test.
938
41ff29bf
HPN
9392020-04-01 Hans-Peter Nilsson <hp@bitrange.com>
940
941 * testsuite/ld-scripts/defined4.d: Don't xfail mmix-*-*.
942
00386881
NC
9432020-03-30 Nick Clifton <nickc@redhat.com>
944
945 PR binutils/25662
946 * emultempl/pe.em (after_open): Replace initialisation of the
947 insert_timestamp field in the pe_data structure with an
948 initialisation of the timestamp field.
949 * emultemp/pep.em: Likewise.
950 * pe-dll.c (fill_edata): Use the timestamp field in the pe_data
951 structure instead of the insert_timestamp field.
952
767be9d9
L
9532020-03-28 H.J. Lu <hongjiu.lu@intel.com>
954
955 PR 25732
956 * emulparams/elf_i386_ldso.sh (COMMONPAGESIZE): New.
957 * testsuite/ld-elf/shared.exp:Don't xfail pr20995-2 tests for
958 Solaris.
959
258e8844
L
9602020-03-27 H.J. Lu <hongjiu.lu@intel.com>
961
962 PR 25732
963 * testsuite/ld-elf/shared.exp: Xfail pr20995-2 tests for Solaris.
964
cacb9d87
L
9652020-03-27 H.J. Lu <hongjiu.lu@intel.com>
966
967 PR 25732
968 * testsuite/ld-ifunc/ifunc-23a-x86.d: Add notarget for Solaris.
969 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise.
970 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise.
971
86fd7e2e
AM
9722020-03-25 Alan Modra <amodra@gmail.com>
973
974 * testsuite/ld-elf/compress1c.d: xfail h8300.
975 * testsuite/ld-elf/compressed1c.d: Likewise.
976 * testsuite/ld-elf/compressed1e.d: Likewise.
977 * testsuite/ld-elf/dynamic1.d: Likewise.
978 * testsuite/ld-elf/dynsym1.d: Likewise.
979 * testsuite/ld-elf/ehdr_start-shared.d: Likewise.
980 * testsuite/ld-elf/exclude3b.d: Likewise.
981 * testsuite/ld-elf/export-class.exp: Don't run without -shared support.
982 * testsuite/ld-elf/global1.d: xfail h8300.
983 * testsuite/ld-elf/hash.d: Likewise.
984 * testsuite/ld-elf/loadaddr1.d: Likewise.
985 * testsuite/ld-elf/loadaddr2.d: Likewise.
986 * testsuite/ld-elf/local1.d: Likewise.
987 * testsuite/ld-elf/mbind1b.d: Likewise.
988 * testsuite/ld-elf/mbind1c.d: Likewise.
989 * testsuite/ld-elf/now-1.d: Likewise.
990 * testsuite/ld-elf/now-2.d: Likewise.
991 * testsuite/ld-elf/now-3.d: Likewise.
992 * testsuite/ld-elf/now-4.d: Likewise.
993 * testsuite/ld-elf/pie.d: Likewise.
994 * testsuite/ld-elf/pr12975.d: Likewise.
995 * testsuite/ld-elf/pr13177.d: Likewise.
996 * testsuite/ld-elf/pr13195.d: Likewise.
997 * testsuite/ld-elf/pr16322.d: Likewise.
998 * testsuite/ld-elf/pr16498a.d: Likewise.
999 * testsuite/ld-elf/pr16498b.d: Likewise.
1000 * testsuite/ld-elf/pr17615.d: Likewise.
1001 * testsuite/ld-elf/pr19162.d: Likewise.
1002 * testsuite/ld-elf/pr19539.d: Likewise.
1003 * testsuite/ld-elf/pr19617a.d: Likewise.
1004 * testsuite/ld-elf/pr19698.d: Likewise.
1005 * testsuite/ld-elf/pr20513c.d: Likewise.
1006 * testsuite/ld-elf/pr20513d.d: Likewise.
1007 * testsuite/ld-elf/pr21389a.d: Likewise.
1008 * testsuite/ld-elf/pr21389b.d: Likewise.
1009 * testsuite/ld-elf/pr21389c.d: Likewise.
1010 * testsuite/ld-elf/pr21562a.d: Likewise.
1011 * testsuite/ld-elf/pr21562b.d: Likewise.
1012 * testsuite/ld-elf/pr21562c.d: Likewise.
1013 * testsuite/ld-elf/pr21562d.d: Likewise.
1014 * testsuite/ld-elf/pr21562e.d: Likewise.
1015 * testsuite/ld-elf/pr21562f.d: Likewise.
1016 * testsuite/ld-elf/pr21562g.d: Likewise.
1017 * testsuite/ld-elf/pr21562h.d: Likewise.
1018 * testsuite/ld-elf/pr21562i.d: Likewise.
1019 * testsuite/ld-elf/pr21562j.d: Likewise.
1020 * testsuite/ld-elf/pr21562k.d: Likewise.
1021 * testsuite/ld-elf/pr21562l.d: Likewise.
1022 * testsuite/ld-elf/pr21562m.d: Likewise.
1023 * testsuite/ld-elf/pr21562n.d: Likewise.
1024 * testsuite/ld-elf/pr21903a.d: Likewise.
1025 * testsuite/ld-elf/pr21903b.d: Likewise.
1026 * testsuite/ld-elf/pr21903d.d: Likewise.
1027 * testsuite/ld-elf/pr22269a.d: Likewise.
1028 * testsuite/ld-elf/pr22269b.d: Likewise.
1029 * testsuite/ld-elf/pr22393-1a.d: Likewise.
1030 * testsuite/ld-elf/pr22393-1b.d: Likewise.
1031 * testsuite/ld-elf/pr22393-1c.d: Likewise.
1032 * testsuite/ld-elf/pr22393-1d.d: Likewise.
1033 * testsuite/ld-elf/pr22393-1e.d: Likewise.
1034 * testsuite/ld-elf/pr22393-1f.d: Likewise.
1035 * testsuite/ld-elf/pr22423.d: Likewise.
1036 * testsuite/ld-elf/pr22450.d: xfail avr, crx, h8300, ip2k, m68hc11,
1037 and xc16x.
1038 * testsuite/ld-elf/pr23658-1c.d: xfail h8300.
1039 * testsuite/ld-elf/pr25708.d: xfail h8300 and hppa64.
1040 * testsuite/ld-elf/rpath-1.d: xfail h8300.
1041 * testsuite/ld-elf/rpath-2.d: Likewise.
1042 * testsuite/ld-elf/runpath-1.d: Likewise.
1043 * testsuite/ld-elf/runpath-2.d: Likewise.
1044 * testsuite/ld-elf/sizeofb.d: Likewise.
1045 * testsuite/ld-elf/startofb.d: Likewise.
1046 * testsuite/ld-elf/strtab.d: Likewise.
1047 * testsuite/ld-elf/textaddr1.d: Likewise.
1048 * testsuite/ld-elf/textaddr2.d: Likewise.
1049 * testsuite/ld-elf/textaddr4.d: Likewise.
1050 * testsuite/ld-elf/textaddr5.d: Likewise.
1051 * testsuite/ld-elf/textaddr6.d: Likewise.
1052 * testsuite/ld-elf/unknown2.d: Likewise.
1053 * testsuite/ld-undefined/entry-3.d: Likewise.
1054 * testsuite/ld-undefined/entry-4.d: Likewise.
1055 * testsuite/ld-h8300/h8300.exp: Pass appropriate ld -m option.
1056 * testsuite/ld-h8300/gcsection.d: Remove ld -m option and relax
1057 file format match.
1058 * testsuite/ld-h8300/relax-2.d: Likewise.
1059 * testsuite/ld-h8300/relax-3.d: Likewise.
1060 * testsuite/ld-h8300/relax-4.d: Likewise.
1061 * testsuite/ld-h8300/relax-5.d: Likewise.
1062 * testsuite/ld-h8300/relax-6.d: Likewise.
1063 * testsuite/ld-h8300/relax-7.d: Likewise.
1064 * testsuite/ld-h8300/relax.d: Relax file format match.
1065
7e6e972f
L
10662020-03-24 H.J. Lu <hongjiu.lu@intel.com>
1067
1068 PR binutils/25708
1069 * testsuite/ld-elf/pr25708.d: New file.
1070
5e737279
AM
10712020-03-23 Alan Modra <amodra@gmail.com>
1072
1073 * Makefile.am (ALL_EMULATION_SOURCES): Reinstate ei386aout.c.
1074 Include ei386aout dep file.
1075 * Makefile.in: Regenerate.
1076 * po/BLD-POTFILES.in: Regenerate.
1077
3d98c460
L
10782020-03-20 H.J. Lu <hongjiu.lu@intel.com>
1079
1080 * testsuite/ld-plugin/lto.exp (lto_link_tests): Run PR ld/25355
1081 test only for GCC 10 or newer.
1082
c02d6661
AM
10832020-03-20 Alan Modra <amodra@gmail.com>
1084
1085 * testplug.c (parse_symdefstr): Use %hhi to read sym->def, and
1086 clear new fields.
1087 * testplug2.c (parse_symdefstr): Likewise.
1088 * testplug3.c (parse_symdefstr): Likewise.
1089 * testplug4.c (parse_symdefstr): Likewise.
1090
aef397a1
CL
10912020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
1092
1093 * testsuite/ld-arm/non-contiguous-arm4.d: Fix expected output.
1094 * testsuite/ld-powerpc/non-contiguous-powerpc.d: Likewise.
1095
53215f21
CL
10962020-03-18 Christophe Lyon <christophe.lyon@linaro.org>
1097
1098 * emultempl/xtensaelf.em: Emit a fatal error message
1099 instead of calling abort.
1100 * ldlang.c: Likewise.
1101
02a8180e
AM
11022020-03-14 Alan Modra <amodra@gmail.com>
1103
1104 * testsuite/ld-elf/non-contiguous.d: Don't xfail generic ELF
1105 targets. Don't skip xtensa, xfail instead.
1106
abf874aa
CL
11072020-03-13 Christophe Lyon <christophe.lyon@linaro.org>
1108
1109 * ldlang.c (lang_add_section): Add support for
1110 non_contiguous_regions.
1111 (size_input_section): Likewise.
1112 (lang_size_sections_1): Likewise.
1113 (process_insert_statements): Likewise.
1114 * ldlex.h (option_values): Add OPTION_NON_CONTIGUOUS_REGIONS and
1115 OPTION_NON_CONTIGUOUS_REGIONS_WARNINGS.
1116 * lexsup.c (ld_options): Add entries for
1117 --enable-non-contiguous-regions and
1118 --enable-non-contiguous-regions-warnings.
1119 (parse_args): Handle it.
1120 * NEWS: Add --enable-non-contiguous-regions and
1121 --enable-non-contiguous-regions-warnings.
1122 * ld.texi: Add --enable-non-contiguous-regions and
1123 --enable-non-contiguous-regions-warnings documentation.
1124 * emultempl/armelf.em (elf32_arm_add_stub_section): Add
1125 SEC_LINKER_CREATED flag.
1126 * emultempl/xtensaelf.em (ld_build_required_section_dependence):
1127 Emit an error when --enable-non-contiguous-regions is used.
1128 * testsuite/ld-elf/non-contiguous.d: New.
1129 * testsuite/ld-elf/non-contiguous.ld: New.
1130 * testsuite/ld-elf/non-contiguous.s: New.
1131 * testsuite/ld-arm/arm-elf.exp: Run the new tests.
1132 * testsuite/ld-arm/arm-elf/non-contiguous-arm.s: New.
1133 * testsuite/ld-arm/arm-elf/non-contiguous-arm.d: New.
1134 * testsuite/ld-arm/arm-elf/non-contiguous-arm.ld: New.
1135 * testsuite/ld-arm/arm-elf/non-contiguous-arm2.d: New.
1136 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
1137 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.d: New.
1138 * testsuite/ld-arm/arm-elf/non-contiguous-arm3.ld: New.
1139 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.d: New.
1140 * testsuite/ld-arm/arm-elf/non-contiguous-arm4.ld: New.
1141 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.d: New.
1142 * testsuite/ld-arm/arm-elf/non-contiguous-arm5.ld: New.
1143 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.d: New.
1144 * testsuite/ld-arm/arm-elf/non-contiguous-arm6.ld: New.
1145 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1146 * testsuite/ld-powerpc/non-contiguous-powerpc.d: New.
1147 * testsuite/ld-powerpc/non-contiguous-powerpc.ld: New.
1148 * testsuite/ld-powerpc/non-contiguous-powerpc.sd: New.
1149 * testsuite/ld-powerpc/non-contiguous-powerpc64.d: New.
1150
74e10d17
L
11512020-03-13 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 PR ld/24920
1154 * emulparams/elf32_x86_64.sh: Use static.sh.
1155 * emulparams/elf_i386.sh: Likewise.
1156 * emulparams/elf_x86_64.sh: Likewise.
1157 * emulparams/static.sh: New file.
1158 * emultempl/elf-x86.em: Include "ldlex.h".
1159 * testsuite/ld-elf/pr24920.err: New file.
1160 * testsuite/ld-elf/linux-x86.exp: Run ld/24920 tests.
1161
502794d4
CE
11622020-03-13 Christian Eggers <ceggers@gmx.de>
1163
1164 * ldexp.c (fold_name): Return SIZEOF_HEADERS in bytes.
1165
1db6f990
AM
11662020-03-11 Alan Modra <amodra@gmail.com>
1167
1168 * ldelf.c (elf_orphan_compatible): Return false when two sections
1169 have differing SHF_MASKPROC or SHF_MASKOS flags.
1170
92d4b13b
AM
11712020-03-05 Alan Modra <amodra@gmail.com>
1172
1173 PR 25570
1174 * ldlang.c (lang_size_sections_1): Don't report changes on
1175 second and subsequent iterations that make no change in
1176 alignment from that already reported.
1177
baf09cba
AM
11782020-03-05 Alan Modra <amodra@gmail.com>
1179
1180 PR 25570
1181 * ldlang.c (lang_sizing_iteration): New static var.
1182 (lang_size_sections_1): Warn about no memory region only on first
1183 iteration. Warn about changing start address on first iteration
1184 then any delta from that on subsequent iterations. Report a signed
1185 delta.
1186 (one_lang_size_sections_pass): Increment lang_sizing_iteration.
1187
d8e4137b
NC
11882020-03-03 Nick Clifton <nickc@redhat.com>
1189
1190 PR 25588
1191 * ld.texi (Options): Update the description of the --rpath-link
1192 option.
1193
cb001c0d
AM
11942020-03-02 Alan Modra <amodra@gmail.com>
1195
1196 * plugin.c (plugin_object_p): Return a bfd_cleanup.
1197 (plugin_cleanup): New function.
1198
2aa90762
L
11992020-03-01 H.J. Lu <hongjiu.lu@intel.com>
1200
1201 PR ld/25618
1202 * plugin.c (plugin_object_p): Copy the no_export field to the IR
1203 dummy object.
1204 * testsuite/ld-plugin/lto.exp (lto_link_elf_tests): Add
1205 PR ld/25618 tests.
1206 * testsuite/ld-plugin/pr25618.d: New file.
1207 * testsuite/ld-plugin/pr25618a.cc: Likewise.
1208 * testsuite/ld-plugin/pr25618a.h: Likewise.
1209 * testsuite/ld-plugin/pr25618b.cc: Likewise.
1210 * testsuite/ld-plugin/pr25618b.h: Likewise.
1211
5f602802
AM
12122020-02-27 Alan Modra <amodra@gmail.com>
1213
1214 PR 24511
1215 * testsuite/ld-mmix/b-fixo2.d: Adjust for .data change.
1216 * testsuite/ld-mmix/sec-2.d: Likewise.
1217 * testsuite/ld-mmix/sec-3.d: Likewise.
1218 * testsuite/ld-mmix/sec-4.d: Likewise.
1219 * testsuite/ld-mmix/spec802.d: Likewise.
1220 * testsuite/ld-mmix/spec803.d: Likewise.
1221 * testsuite/ld-mmix/spec804.d: Likewise.
1222 * testsuite/ld-mmix/spec805.d: Likewise.
1223 * testsuite/ld-mmix/spec806.d: Likewise.
1224 * testsuite/ld-mmix/spec807.d: Likewise.
1225 * testsuite/ld-mmix/spec808.d: Likewise.
1226
3312f67c
L
12272020-02-26 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 PR ld/25593
1230 * testsuite/ld-plugin/lto.exp: Run PR ld/25593 tests.
1231 * testsuite/ld-plugin/pr25593.d: New file.
1232 * testsuite/ld-plugin/pr25593a-1.c: Likewise.
1233 * testsuite/ld-plugin/pr25593a-2.c: Likewise.
1234 * testsuite/ld-plugin/pr25593b.c: Likewise.
1235 * testsuite/ld-plugin/pr25593c.c: Likewise.
1236 * testsuite/ld-plugin/pr25593d.c: Likewise.
1237 * testsuite/ld-plugin/pr25593e.c: Likewise.
1238
dc1e8a47
AM
12392020-02-26 Alan Modra <amodra@gmail.com>
1240
1241 * emultempl/cskyelf.em: Indent labels correctly.
1242 * ldfile.c: Likewise.
1243 * ldlang.c: Likewise.
1244 * plugin.c: Likewise.
1245
e310298c
AM
12462020-02-26 Alan Modra <amodra@gmail.com>
1247
1248 PR 25593
1249 * ldelf.c (ldelf_try_needed): Add DT_NEEDED lib to input_bfds.
1250 (ldelf_after_open): Save state of input_bfds list before loading
1251 DT_NEEDED libs. Traverse input_bfds list adding DT_NEEDED tags.
1252 Restore input_bfds list.
1253 * testsuite/ld-cris/gotplt1.d: Adjust for changed .dynstr order.
1254
45c63c0f
NC
12552020-02-24 Nick Clifton <nickc@redhat.com>
1256
1257 * po/fr.po: Update French translation.
1258
7b3c2715
AM
12592020-02-22 Alan Modra <amodra@gmail.com>
1260
1261 PR 25585
1262 * NEWS: Mention better "PHDR segment not covered by LOAD segment"
1263 checking.
1264
fcaaac0a
SB
12652020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
1266
1267 PR 25537
1268 * emultempl/z80.em: Remove machine compatability checking.
1269
12702020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
1271
1272 PR 25517
1273 * testsuite/ld-z80/arch_ez80_adl.d: Update command line.
1274 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1275 * testsuite/ld-z80/arch_r800.d: Likewise.
1276 * testsuite/ld-z80/arch_z180.d: Likewise.
1277 * testsuite/ld-z80/arch_z80n.d: Likewise.
1278 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1279 * testsuite/ld-z80/comb_arch_z180_z80.d: Likewise.
1280 * testsuite/ld-z80/comb_arch_z80_ez80.d: Likewise.
1281 * testsuite/ld-z80/comb_arch_z80_z180.d: Likewise.
1282 * testsuite/ld-z80/comb_arch_z80_z80n.d: Likewise.
1283 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1284 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1285 * testsuite/ld-z80/relocs_f_ez80.d: Likewise.
1286 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1287 * testsuite/ld-z80/relocs_f_z80n.d: Likewise.
1288
2e3cd5d0
AM
12892020-02-19 Alan Modra <amodra@gmail.com>
1290
1291 * testsuite/ld-plugin/pr25355.d: Allow alpha-linux nm result.
1292
0aa99dcd
L
12932020-02-10 H.J. Lu <hongjiu.lu@intel.com>
1294
1295 PR binutils/25355
1296 * testsuite/ld-plugin/lto.exp: Run PR binutils/25355 test.
1297 * testsuite/ld-plugin/pr25355.c: New file.
1298 * testsuite/ld-plugin/pr25355.d: Likewise.
1299 * testsuite/lib/ld-lib.exp (run_cc_link_tests): Support compile
1300 only dump.
1301
6e569656
L
13022020-02-07 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 * testsuite/ld-unique/unique.exp (contains_unique_symbol): Updated.
1305
9fc0b501
SB
13062020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
1307
1308 PR 25469
1309 * emulparams/elf32z80.sh: Use z80 emulation.
1310 * emultempl/z80.em: Make generic to both COFF and ELF Z80 emulations.
1311 * emultempl/z80elf.em: Delete.
1312 * testsuite/ld-elf/pr22450.d: Expect to fail for the Z80.
1313 * testsuite/ld-elf/sec64k.exp: Fix Z80 assembly.
1314 * testsuite/ld-unique/pr21529.s: Avoid register name conflict.
1315 * testsuite/ld-unique/unique.s: Likewise.
1316 * testsuite/ld-unique/unique_empty.s: Likewise.
1317 * testsuite/ld-unique/unique_shared.s: Likewise.
1318 * testsuite/ld-unique/unique.d: Updated expected output.
1319 * testsuite/ld-z80/arch_z80n.d: New file.
1320 * testsuite/ld-z80/comb_arch_z80_z80n.d: New file.
1321 * testsuite/ld-z80/labels.s: Add more labels.
1322 * testsuite/ld-z80/relocs.s: Add more reloc tests.
1323 * testsuite/ld-z80/relocs_f_z80n.d: New file
1324
adb8754e
L
13252020-02-07 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 PR ld/25022
1328 * testsuite/ld-elf/pr25022.d: Xfail more targets which don't use
1329 ldelf_before_place_orphans.
1330
9b538ba7
L
13312020-02-06 H.J. Lu <hongjiu.lu@intel.com>
1332
1333 PR ld/25022
1334 * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Add
1335 before_place_orphans_default.
1336 * emultempl/armcoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
1337 * emultempl/beos.em (ld_${EMULATION_NAME}_emulation): Likewise.
1338 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Likewise.
1339 * emultempl/linux.em (ld_${EMULATION_NAME}_emulation): Likewise.
1340 * emultempl/msp430.em (ld_${EMULATION_NAME}_emulation): Likewise.
1341 * emultempl/pe.em (ld_${EMULATION_NAME}_emulation): Likewise.
1342 * emultempl/pep.em (ld_${EMULATION_NAME}_emulation): Likewise.
1343 * emultempl/ticoff.em (ld_${EMULATION_NAME}_emulation): Likewise.
1344 * emultempl/vanilla.em (ld_${EMULATION_NAME}_emulation): Likewise.
1345 * emultempl/elf.em (ld_${EMULATION_NAME}_emulation): Use
1346 ldelf_before_place_orphans.
1347 * ldelf.c (ldelf_before_place_orphans): New.
1348 * ldelf.h (ldelf_before_place_orphans): Likewise.
1349 * ldemul.c (ldemul_before_place_orphans): Likewise.
1350 (before_place_orphans_default): Likewise.
1351 * ldemul.h (ldemul_before_place_orphans): Likewise.
1352 (before_place_orphans_default): Likewise.
1353 (ld_emulation_xfer_struct): Add before_place_orphans.
1354 * ldlang.c (lang_process): Call ldemul_before_place_orphans
1355 before lang_place_orphans.
1356 * testsuite/ld-elf/pr25022.d: New file.
1357 * testsuite/ld-elf/pr25022.s: Likewise.
1358 * testsuite/ld-elf/pr25022.t: Likewise.
1359
5242a0a0
L
13602020-02-06 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 PR ld/25490
1363 * testsuite/ld-elf/pr25490-1.d: New file.
1364 * testsuite/ld-elf/pr25490-1.s: Likewise.
1365
b7d07216
L
13662020-02-06 H.J. Lu <hongjiu.lu@intel.com>
1367
1368 PR ld/24526
1369 PR ld/25021
1370 PR ld/25490
1371 * testsuite/ld-elf/elf.exp: Run PR ld/25490 tests.
1372 * testsuite/ld-elf/pr24526.d: New file.
1373 * testsuite/ld-elf/pr24526.s: Likewise.
1374 * testsuite/ld-elf/pr25021.d: Likewise.
1375 * testsuite/ld-elf/pr25021.s: Likewise.
1376 * testsuite/ld-elf/pr25490-2-16.rd: Likewise.
1377 * testsuite/ld-elf/pr25490-2-32.rd: Likewise.
1378 * testsuite/ld-elf/pr25490-2-64.rd: Likewise.
1379 * testsuite/ld-elf/pr25490-2.s: Likewise.
1380 * testsuite/ld-elf/pr25490-3-16.rd: Likewise.
1381 * testsuite/ld-elf/pr25490-3-32.rd: Likewise.
1382 * testsuite/ld-elf/pr25490-3-64.rd: Likewise.
1383 * testsuite/ld-elf/pr25490-3.s: Likewise.
1384 * testsuite/ld-elf/pr25490-4-16.rd: Likewise.
1385 * testsuite/ld-elf/pr25490-4-32.rd: Likewise.
1386 * testsuite/ld-elf/pr25490-4-64.rd: Likewise.
1387 * testsuite/ld-elf/pr25490-4.s: Likewise.
1388 * testsuite/ld-elf/pr25490-5-16.rd: Likewise.
1389 * testsuite/ld-elf/pr25490-5-32.rd: Likewise.
1390 * testsuite/ld-elf/pr25490-5-64.rd: Likewise.
1391 * testsuite/ld-elf/pr25490-5.s: Likewise.
1392 * testsuite/ld-elf/pr25490-6-16.rd: Likewise.
1393 * testsuite/ld-elf/pr25490-6-32.rd: Likewise.
1394 * testsuite/ld-elf/pr25490-6-64.rd: Likewise.
1395 * testsuite/ld-elf/pr25490-6.s: Likewise.
1396
13972020-02-06 H.J. Lu <hongjiu.lu@intel.com>
9e4d08bb
L
1398
1399 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark
1400 z80 as not supported.
1401
bb4e012c
AM
14022020-02-06 Alan Modra <amodra@gmail.com>
1403
1404 * testsuite/ld-ifunc/ifunc.exp: Enable for more targets, specifying
1405 targets that don't support ifunc rather than ones that do.
1406 (contains_irelative_reloc): Match R_PARISC_IPLT.
1407 * testsuite/ld-ifunc/lib.c: Don't use .set in asm.
1408 * testsuite/ld-ifunc/ifunc-23-x86.s,
1409 * testsuite/ld-ifunc/ifunc-24-x86.s,
1410 * testsuite/ld-ifunc/ifunc-25-x86.s,
1411 * testsuite/ld-ifunc/ifunc-4-local-x86.s,
1412 * testsuite/ld-ifunc/ifunc-4-x86.s: Define _main.
1413 * testsuite/ld-ifunc/ifunc-10-i386.d,
1414 * testsuite/ld-ifunc/ifunc-11-i386.d,
1415 * testsuite/ld-ifunc/ifunc-12-i386.d,
1416 * testsuite/ld-ifunc/ifunc-13-i386.d,
1417 * testsuite/ld-ifunc/ifunc-14a-i386.d,
1418 * testsuite/ld-ifunc/ifunc-14b-i386.d,
1419 * testsuite/ld-ifunc/ifunc-14c-i386.d,
1420 * testsuite/ld-ifunc/ifunc-14d-i386.d,
1421 * testsuite/ld-ifunc/ifunc-14e-i386.d,
1422 * testsuite/ld-ifunc/ifunc-14f-i386.d,
1423 * testsuite/ld-ifunc/ifunc-15-i386.d,
1424 * testsuite/ld-ifunc/ifunc-16-i386-now.d,
1425 * testsuite/ld-ifunc/ifunc-16-i386.d,
1426 * testsuite/ld-ifunc/ifunc-17a-i386.d,
1427 * testsuite/ld-ifunc/ifunc-17b-i386.d,
1428 * testsuite/ld-ifunc/ifunc-18a-i386.d,
1429 * testsuite/ld-ifunc/ifunc-18b-i386.d,
1430 * testsuite/ld-ifunc/ifunc-19a-i386.d,
1431 * testsuite/ld-ifunc/ifunc-19b-i386.d,
1432 * testsuite/ld-ifunc/ifunc-2-i386-now.d,
1433 * testsuite/ld-ifunc/ifunc-2-i386.d,
1434 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
1435 * testsuite/ld-ifunc/ifunc-2-local-i386.d,
1436 * testsuite/ld-ifunc/ifunc-20-i386.d,
1437 * testsuite/ld-ifunc/ifunc-21-i386.d,
1438 * testsuite/ld-ifunc/ifunc-22-i386.d,
1439 * testsuite/ld-ifunc/ifunc-26.d,
1440 * testsuite/ld-ifunc/ifunc-5a-i386.d,
1441 * testsuite/ld-ifunc/ifunc-5a-local-i386.d,
1442 * testsuite/ld-ifunc/ifunc-5b-i386.d,
1443 * testsuite/ld-ifunc/ifunc-5b-local-i386.d,
1444 * testsuite/ld-ifunc/ifunc-5r-local-i386.d,
1445 * testsuite/ld-ifunc/ifunc-6a-i386.d,
1446 * testsuite/ld-ifunc/ifunc-6b-i386.d,
1447 * testsuite/ld-ifunc/ifunc-7a-i386.d,
1448 * testsuite/ld-ifunc/ifunc-7b-i386.d,
1449 * testsuite/ld-ifunc/ifunc-8-i386.d,
1450 * testsuite/ld-ifunc/ifunc-9-i386.d,
1451 * testsuite/ld-ifunc/pr17154-i386-now.d,
1452 * testsuite/ld-ifunc/pr17154-i386.d: xfail lynxos, nto, and solaris.
1453
02e0be69
AM
14542020-02-06 Alan Modra <amodra@gmail.com>
1455
1456 * testsuite/lib/ld-lib.exp (is_generic): Delete.
1457 * testsuite/ld-unique/unique.exp: Exclude tic6x.
1458
b88237bc
AM
14592020-02-06 Alan Modra <amodra@gmail.com>
1460
1461 * configure.tgt (i[3-7]86-*-moss*): Don't clear targ_extra_ofiles.
1462 (i[3-7]86-*-openbsd*, x86_64-*-openbsd*): Add.
1463
a8c4d40b
L
14642020-02-02 H.J. Lu <hongjiu.lu@intel.com>
1465
1466 PR gas/25380
1467 * testsuite/ld-i386/pr22001-1c.S: Use "unique,N" in .section
1468 directives.
1469 * testsuite/ld-i386/tls-gd1.S: Likewise.
1470 * testsuite/ld-x86-64/pr21481b.S: Likewise.
1471
5cebc931
JB
14722020-01-30 Jan Beulich <jbeulich@suse.com>
1473
1474 * ld.texi: Remove space between @option and brace.
1475
ef8f08ca
AM
14762020-01-29 Alan Modra <amodra@gmail.com>
1477
1478 PR 25477
1479 * ldelf.c (ldelf_check_ld_so_conf): Add prefix parameter and
1480 correct concat.
1481 (ldelf_after_open): Add prefix parameter.
1482 * ldelf.h (ldelf_after_open): Update prototype.
1483 * emultempl/elf.em (gld${EMULATION_NAME}_after_open): Pass $prefix
1484 to ldelf_after_open.
1485 * Makefile.am: Correct z80 dependencies.
1486 * Makefile.in: Regenerate.
1487
738174e1
AM
14882020-01-28 Alan Modra <amodra@gmail.com>
1489
1490 * ldexp.c (fold_name): Don't print bfd_link_hash_lookup failed
1491 in first phase.
1492
e3696f67
AM
14932020-01-27 Alan Modra <amodra@gmail.com>
1494
1495 * testsuite/ld-elfvers/vers.exp: Replace case statements with
1496 switch statements.
1497 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1498 * testsuite/ld-unique/unique.exp: Likewise.
1499
3024a17a
AM
15002020-01-27 H.J. Lu <hongjiu.lu@intel.com>
1501 Alan Modra <amodra@gmail.com>
1502
1503 PR ld/25458
1504 * testsuite/ld-elf/pr25458.map: New file.
1505 * testsuite/ld-elf/pr25458.rd: Likewise.
1506 * testsuite/ld-elf/pr25458a.s: Likewise.
1507 * testsuite/ld-elf/pr25458b.s: Likewise.
1508 * testsuite/ld-elf/shared.exp: Run PR ld/25458 test.
1509
6a462ad4
L
15102020-01-22 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 PR ld/25416
1513 * testsuite/ld-x86-64/tls.exp: Skip GNU2 TLS tests only without
1514 compiler support.
1515
a804e476
AM
15162020-01-22 Alan Modra <amodra@gmail.com>
1517
1518 * testsuite/ld-powerpc/tlsdesc3.d,
1519 * testsuite/ld-powerpc/tlsdesc3.wf,
1520 * testsuite/ld-powerpc/tlsdesc4.d,
1521 * testsuite/ld-powerpc/tlsdesc4.s,
1522 * testsuite/ld-powerpc/tlsdesc4.wf: New tests.
1523 * testsuite/ld-powerpc/powerpc.exp: Run them.
1524
9e7028aa
AM
15252020-01-22 Alan Modra <amodra@gmail.com>
1526
1527 * emultempl/ppc64elf.em (ppc64_opt, PARSE_AND_LIST_LONGOPTS),
1528 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Support
1529 --tls-get-addr-regsave and --no-tls-get-addr-regsave.
1530 (params): Init new field.
1531 * ld.texi (--tls-get-addr-regsave, --no-tls-get-addr-regsave):
1532 Document.
1533 * testsuite/ld-powerpc/tlsdesc.s,
1534 * testsuite/ld-powerpc/tlsdesc.d,
1535 * testsuite/ld-powerpc/tlsdesc.wf,
1536 * testsuite/ld-powerpc/tlsdesc2.d,
1537 * testsuite/ld-powerpc/tlsdesc2.wf,
1538 * testsuite/ld-powerpc/tlsexenors.d,
1539 * testsuite/ld-powerpc/tlsexenors.r,
1540 * testsuite/ld-powerpc/tlsexers.d,
1541 * testsuite/ld-powerpc/tlsexers.r,
1542 * testsuite/ld-powerpc/tlsexetocnors.d,
1543 * testsuite/ld-powerpc/tlsexetocrs.d,
1544 * testsuite/ld-powerpc/tlsexetocrs.r,
1545 * testsuite/ld-powerpc/tlsopt6.d,
1546 * testsuite/ld-powerpc/tlsopt6.wf: New.
1547 * testsuite/ld-powerpc/powerpc.exp: Run new tests.
1548
c48acf6f
YC
15492020-01-22 Yuri Chornoivan <yurchor@mageia.org>
1550
1551 PR 25417
1552 * ldlang.c (ldlang_open_ctf): Fix error message typo.
1553 * emultempl/z80elf.em (z80_elf_after_open): Likewise.
1554
1e161364
L
15552020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 * testsuite/ld-elf/pr23900-1.d: Adjusted.
1558
b4654b10
L
15592020-01-21 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 * testsuite/ld-elf/pr23900-1.d: Also pass -l to readelf.
1562
26916852
NC
15632020-01-20 Nick Clifton <nickc@redhat.com>
1564
1565 * po/pt_BR.po: Updated Brazilian Portuguese translation.
1566 * po/uk.po: Updated Ukranian translation.
1567
14470f07
L
15682020-01-20 H.J. Lu <hongjiu.lu@intel.com>
1569
1570 PR ld/25416
1571 * testsuite/ld-x86-64/pr25416-1.s: New file
1572 * testsuite/ld-x86-64/pr25416-1a.d: Likewise.
1573 * testsuite/ld-x86-64/pr25416-1b.d: Likewise.
1574 * testsuite/ld-x86-64/pr25416-1.s: Likewise.
1575 * testsuite/ld-x86-64/pr25416-2.s: Likewise.
1576 * testsuite/ld-x86-64/pr25416-2a.d: Likewise.
1577 * testsuite/ld-x86-64/pr25416-2b.d: Likewise.
1578 * testsuite/ld-x86-64/pr25416-3.d: Likewise.
1579 * testsuite/ld-x86-64/pr25416-3.s: Likewise.
1580 * testsuite/ld-x86-64/pr25416-4.d: Likewise.
1581 * testsuite/ld-x86-64/pr25416-4.s: Likewise.
1582 * testsuite/ld-x86-64/pr25416-5a.c: Likewise.
1583 * testsuite/ld-x86-64/pr25416-5b.s: Likewise.
1584 * testsuite/ld-x86-64/pr25416-5c.s: Likewise.
1585 * testsuite/ld-x86-64/pr25416-5d.s: Likewise.
1586 * testsuite/ld-x86-64/pr25416-5e.s: Likewise.
1587 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/25416 tests.
1588
b9ca1af6
AM
15892020-01-20 Alan Modra <amodra@gmail.com>
1590
1591 * testsuite/ld-powerpc/tlsexe.d: Match new __tls_get_addr stub.
1592 * testsuite/ld-powerpc/tlsexeno.d: Likewise.
1593 * testsuite/ld-powerpc/tlsexetoc.d: Likewise.
1594 * testsuite/ld-powerpc/tlsexetocno.d: Likewise.
1595 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1596
69d24618
RM
15972020-01-18 Roland McGrath <mcgrathr@google.com>
1598
1599 * testsuite/ld-x86-64/align-branch-1.d: Loosen instruction regexps
1600 to admit whatever absolute address. The label-relative address is
1601 what the test needs to verify.
1602
1b1bb2c6
NC
16032020-01-18 Nick Clifton <nickc@redhat.com>
1604
1605 * configure: Regenerate.
1606 * po/ld.pot: Regenerate.
1607
ae774686
NC
16082020-01-18 Nick Clifton <nickc@redhat.com>
1609
1610 Binutils 2.34 branch created.
1611
6d0be74b
JL
16122020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1613
1614 * scripttempl/elf32msp430_3.sc: Remove.
1615
0c3d9485
JL
16162020-01-16 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1617
1618 * scripttempl/elf32msp430.sc: Add input section rules for
1619 .upper.{text,data,rodata,bss}.
1620 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1621 * testsuite/ld-msp430-elf/upper-input-sections.s: New test.
1622
0d1cc75d
LB
16232020-01-15 Lars Brinkhoff <lars@nocrew.org>
1624
1625 PR 20694
1626 * temulparams/pdp11.sh (TARGET_PAGE_SIZE): Set to 8192.
1627
131cb553
JL
16282020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1629
1630 * testsuite/ld-msp430-elf/msp430-elf.exp: Run new test.
1631 * testsuite/ld-msp430-elf/reloc-lo-430x.s: New test.
1632
e1c6cf61
AM
16332020-01-15 Alan Modra <amodra@gmail.com>
1634
1635 * testsuite/ld-powerpc/ambiguousv1b.d: Adjust expected output.
1636 * testsuite/ld-powerpc/funref.s: Align func_tab.
1637 * testsuite/ld-powerpc/funref2.s: Likewise.
1638 * testsuite/ld-powerpc/funv1.s: Add dot symbols.
1639
e44925ae
LC
16402020-01-14 Lili Cui <lili.cui@intel.com>
1641
1642 * testsuite/ld-i386/align-branch-1.d: Updated for i686-pc-elf.
1643
8c7e1c04
AM
16442020-01-13 Alan Modra <amodra@gmail.com>
1645
1646 * po/BLD-POTFILES.in: Regenerate.
1647
4f18d742
CZ
16482020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1649
1650 * testsuite/ld-arc/relax-local-pic.d: Improve matching patterns.
1651
5e4f7e05
CZ
16522020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1653
1654 * Makefile.am: Remove earcelf_prof.c and earclinux_prof.c
1655 emulations.
1656 * configure.tgt: Likewise.
1657 * Makefile.in: Regenerate.
1658 * emulparams/arcelf_prof.sh: Remove file.
1659 * emulparams/arclinux_prof.sh: Likewise.
1660
8cb31bad
CZ
16612020-01-13 Claudiu Zissulescu <claziss@gmail.com>
1662
1663 * scripttempl/elfarcv2.sc : Allow interrupt vector table to be
1664 located at an arbitrary address. Use DWARF.sc file.
1665 * scripttempl/elfarc.sc: Use DWARF.sc file.
1666
85e290dc
AM
16672020-01-07 Alan Modra <amodra@gmail.com>
1668
1669 * testsuite/ld-mips-elf/eh-frame5.s,
1670 * testsuite/ld-mips-elf/ehdr_start-new.s,
1671 * testsuite/ld-mips-elf/ehdr_start-o32.s,
1672 * testsuite/ld-mips-elf/mips16-call-global-1.s,
1673 * testsuite/ld-mips-elf/mips16-intermix-1.s,
1674 * testsuite/ld-mips-elf/mips16-pic-1b.s,
1675 * testsuite/ld-mips-elf/mips16-pic-4c.s,
1676 * testsuite/ld-mips-elf/no-shared-1-n64.s,
1677 * testsuite/ld-mips-elf/no-shared-1-o32.s,
1678 * testsuite/ld-mips-elf/pic-and-nonpic-1b-micromips.s,
1679 * testsuite/ld-mips-elf/pic-and-nonpic-1b.s,
1680 * testsuite/ld-mips-elf/pic-and-nonpic-2a.s,
1681 * testsuite/ld-mips-elf/pic-and-nonpic-3b.s,
1682 * testsuite/ld-mips-elf/pic-and-nonpic-4b.s,
1683 * testsuite/ld-mips-elf/pic-and-nonpic-5a.s,
1684 * testsuite/ld-mips-elf/pic-and-nonpic-6-n32c.s,
1685 * testsuite/ld-mips-elf/pic-and-nonpic-6-n64c.s,
1686 * testsuite/ld-mips-elf/pic-and-nonpic-6-o32c.s,
1687 * testsuite/ld-mips-elf/pie.s,
1688 * testsuite/ld-mips-elf/relax-jalr.s: Revert 2019-12-17 change.
1689
0e1f1593
NC
16902020-01-06 Nick Clifton <nickc@redhat.com>
1691
1692 PR 25327
1693 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1694 command line when building libcomm1.o and pr13250 tests.
1695 * testsuite/ld-plugin/lto.exp: Likewise for pr20267 tests.
1696
d2dbcb18
NC
16972020-01-06 Nick Clifton <nickc@redhat.com>
1698
1699 PR 25326
1700 * testsuite/ld-elf/shared.exp: Add -fcommon option to compiler
1701 command line when building pr19579 binaries.
1702
dc9bd8c9
HD
17032020-01-03 Hannes Domani <ssbssa@yahoo.de>
1704
1705 * emultempl/pe.em: Add new option --enable-reloc-section.
1706 * emultempl/pep.em: Likewise.
1707 * ld.texi: Document --enable-reloc-section.
1708 * pe-dll.c (pe_dll_build_sections): Use pe_dll_enable_reloc_section.
1709 (pe_dll_fill_sections): Simplify by calling pe_exe_fill_sections.
1710 * pe-dll.h: Add extern declaration of option flag.
1711 * pep-dll.c (pe_dll_enable_reloc_section):
1712 Add alias define for pep_dll_enable_reloc_section.
1713 * pep-dll.h: Add extern declaration of option flag.
1714
6655dba2
SB
17152020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
1716
1717 * Makefile.am: Add new target z80-elf
1718 * configure.tgt: Likewise.
1719 * Makefile.in: Regenerate.
1720 * emultempl/z80.em: Add support for eZ80 and Z180 architectures.
1721 * emulparams/elf32z80.sh: New file.
1722 * emultempl/z80elf.em: Likewise.
1723 * testsuite/ld-elf/comm-data4.s: Fix for Z80.
1724 * testsuite/ld-elf/comm-data5.s: Fix for Z80.
1725 * testsuite/ld-scripts/fill16.d: Fix for Z80.
1726 * testsuite/ld-z80/arch_ez80_adl.d: Likewise.
1727 * testsuite/ld-z80/arch_ez80_z80.d: Likewise.
1728 * testsuite/ld-z80/arch_r800.d: Likewise.
1729 * testsuite/ld-z80/arch_z180.d: Likewise.
1730 * testsuite/ld-z80/arch_z80.d: Likewise.
1731 * testsuite/ld-z80/comb_arch_ez80_z80.d: Likewise.
1732 * testsuite/ld-z80/comb_arch_z180.d: Likewise.
1733 * testsuite/ld-z80/labels.s: Likewise.
1734 * testsuite/ld-z80/relocs.s: Likewise.
1735 * testsuite/ld-z80/relocs_b_ez80.d: Likewise.
1736 * testsuite/ld-z80/relocs_b_z80.d: Likewise.
1737 * testsuite/ld-z80/relocs_f_z80.d: Likewise.
1738 * testsuite/ld-z80/z80.exp: Likewise.
1739 * NEWS: Mention the new support.
1740
0db131fb
TC
17412020-01-02 Tamar Christina <tamar.christina@arm.com>
1742
1743 PR 25210
1744 PR 24753
1745 * emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
1746 Remove SEC_LINKER_CREATED.
1747 * testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
1748 * testsuite/ld-aarch64/erratum835769-843419.d: New test.
1749
b14ce8bf
AM
17502020-01-01 Alan Modra <amodra@gmail.com>
1751
1752 Update year range in copyright notice of all files.
1753
0b114740 1754For older changes see ChangeLog-2019
3499769a 1755\f
0b114740 1756Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
1757
1758Copying and distribution of this file, with or without modification,
1759are permitted in any medium without royalty provided the copyright
1760notice and this notice are preserved.
1761
1762Local Variables:
1763mode: change-log
1764left-margin: 8
1765fill-column: 74
1766version-control: never
1767End:
This page took 0.342882 seconds and 4 git commands to generate.