]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/ChangeLog
34d324082358e9e7a726f84e757579bde222d2bb
[thirdparty/binutils-gdb.git] / ld / ChangeLog
1 2019-08-16 Christophe Lyon <christophe.lyon@linaro.org>
2
3 * emulparams/armelf.sh (OTHER_SECTIONS): Add support for noinit
4 section.
5
6 2019-08-16 Alan Modra <amodra@gmail.com>
7
8 * emultempl/ppc32elf.em (ppc_before_allocation): Force running
9 prelim_size_sections before deciding whether branch trampolines
10 might be needed.
11
12 2019-08-15 Jim Wilson <jimw@sifive.com>
13
14 * testsuite/ld-riscv-elf/c-lui-2.d: New.
15 * testsuite/ld-riscv-elf/c-lui-2.ld: New.
16 * testsuite/ld-riscv-elf/c-lui-2.s: New.
17 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the c-lui-2 test.
18
19 2019-08-10 Alan Modra <amodra@gmail.com>
20
21 * ldlang.h (enum statement_enum): Sort.
22 (union lang_statement_union): Sort.
23
24 2019-08-10 Alan Modra <amodra@gmail.com>
25
26 * ldlang.h (lang_common_statement_type): Delete.
27 (lang_object_symbols_statement_type): Delete.
28 (union lang_statement_union): Remove common_statement and
29 object_symbols_statement.
30
31 2019-08-10 Alan Modra <amodra@gmail.com>
32
33 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop, exp_trinop),
34 (exp_unop, exp_nameop, exp_assop, exp_assert): Remove casts of
35 stat_alloc return value.
36 * ldlang.c (new_statement, new_afile, sort_def_symbol),
37 (lang_memory_region_lookup, lang_memory_region_alias),
38 (ldlang_add_undef, ldlang_add_require_defined, insert_pad),
39 (lang_add_gc_name, lang_new_phdr): Likewise.
40 * lexsup.c (set_segment_start): Likewise.
41
42 2019-08-10 Alan Modra <amodra@gmail.com>
43
44 * ldlang.h (lang_input_statement_type): Make next
45 and next_real_file a lang_input_statement_type pointer.
46 (lang_statement_append): Delete prototype.
47 (LANG_FOR_EACH_INPUT_STATEMENT): Update for lang_input_statement_type
48 change.
49 * ldmain.c (add_archive_element): Likewise.
50 * ldlang.c: Likewise throughout.
51 (lang_statement_append): Make static. Make element and field
52 void pointers. Remove casts in calls.
53 (lang_check): Use a lang_input_statement_type pointer for "file".
54 (find_rescan_insertion): Similarly for "iter" and return value.
55 (lang_process): Similarly for "insert", "iter" and "temp".
56 * emultempl/spuelf.em (embedded_spu_file): Likewise.
57 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Expand
58 lang_statment_append call.
59
60 2019-08-09 Mihailo Stojanovic <mihailo.stojanovic@rt-rk.com>
61
62 * emulparams/elf32bmip.sh: Add .MIPS.xhash section.
63 * emulparams/elf32bmipn32-defs.sh: Add .MIPS.xhash section.
64 * emulparams/elf64bmip-defs.sh: Add .MIPS.xhash section.
65 * emultempl/mipself.em: Remove mips_after_parse function.
66 * testsuite/ld-elf/hash.d: Update comment.
67 * testsuite/ld-mips-elf/hash1.d: New test.
68 * testsuite/ld-mips-elf/hash1.s: Ditto.
69 * testsuite/ld-mips-elf/hash1a.d: Remove.
70 * testsuite/ld-mips-elf/hash1b.d: Ditto.
71 * testsuite/ld-mips-elf/hash1c.d: Ditto
72 * testsuite/ld-mips-elf/hash2.d: New test.
73 * testsuite/ld-mips-elf/mips-elf.exp: New tests.
74 * testsuite/ld-mips-elf/start.s: New test.
75
76 2019-08-08 Nick Clifton <nickc@redhat.com>
77
78 PR 24887
79 * testsuite/ld-aarch64/bti-plt-2.d: Adjust for new output format
80 from readelf.
81 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
82 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
83 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
84 * testsuite/ld-aarch64/bti-warn.d: Likewise.
85 * testsuite/ld-aarch64/property-bti-pac1.d: Likewise.
86 * testsuite/ld-aarch64/property-bti-pac2.d: Likewise.
87 * testsuite/ld-aarch64/property-bti-pac3.d: Likewise.
88 * testsuite/ld-elf/x86-feature-1a.rd: Likewise.
89 * testsuite/ld-elf/x86-feature-1b.rd: Likewise.
90 * testsuite/ld-elf/x86-feature-1c.rd: Likewise.
91 * testsuite/ld-elf/x86-feature-1d.rd: Likewise.
92 * testsuite/ld-elf/x86-feature-1e.rd: Likewise.
93 * testsuite/ld-i386/ibt-plt-2d.d: Likewise.
94 * testsuite/ld-i386/ibt-plt-3d.d: Likewise.
95 * testsuite/ld-i386/pr23372a.d: Likewise.
96 * testsuite/ld-i386/pr23372c.d: Likewise.
97 * testsuite/ld-i386/pr23486a.d: Likewise.
98 * testsuite/ld-i386/pr23486b.d: Likewise.
99 * testsuite/ld-i386/pr23486c.d: Likewise.
100 * testsuite/ld-i386/pr23486d.d: Likewise.
101 * testsuite/ld-i386/pr24322a.d: Likewise.
102 * testsuite/ld-i386/pr24322b.d: Likewise.
103 * testsuite/ld-i386/property-x86-3.d: Likewise.
104 * testsuite/ld-i386/property-x86-4a.d: Likewise.
105 * testsuite/ld-i386/property-x86-5.d: Likewise.
106 * testsuite/ld-i386/property-x86-cet1.d: Likewise.
107 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
108 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
109 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
110 * testsuite/ld-i386/property-x86-ibt1a.d: Likewise.
111 * testsuite/ld-i386/property-x86-ibt1b.d: Likewise.
112 * testsuite/ld-i386/property-x86-ibt2.d: Likewise.
113 * testsuite/ld-i386/property-x86-ibt3a.d: Likewise.
114 * testsuite/ld-i386/property-x86-ibt3b.d: Likewise.
115 * testsuite/ld-i386/property-x86-ibt4.d: Likewise.
116 * testsuite/ld-i386/property-x86-ibt5.d: Likewise.
117 * testsuite/ld-i386/property-x86-shstk1a.d: Likewise.
118 * testsuite/ld-i386/property-x86-shstk1b.d: Likewise.
119 * testsuite/ld-i386/property-x86-shstk2.d: Likewise.
120 * testsuite/ld-i386/property-x86-shstk3a.d: Likewise.
121 * testsuite/ld-i386/property-x86-shstk3b.d: Likewise.
122 * testsuite/ld-i386/property-x86-shstk4.d: Likewise.
123 * testsuite/ld-i386/property-x86-shstk5.d: Likewise.
124 * testsuite/ld-x86-64/ibt-plt-2d-x32.d: Likewise.
125 * testsuite/ld-x86-64/ibt-plt-2d.d: Likewise.
126 * testsuite/ld-x86-64/ibt-plt-3d-x32.d: Likewise.
127 * testsuite/ld-x86-64/ibt-plt-3d.d: Likewise.
128 * testsuite/ld-x86-64/pr23372a-x32.d: Likewise.
129 * testsuite/ld-x86-64/pr23372a.d: Likewise.
130 * testsuite/ld-x86-64/pr23372c-x32.d: Likewise.
131 * testsuite/ld-x86-64/pr23372c.d: Likewise.
132 * testsuite/ld-x86-64/pr23486a-x32.d: Likewise.
133 * testsuite/ld-x86-64/pr23486a.d: Likewise.
134 * testsuite/ld-x86-64/pr23486b-x32.d: Likewise.
135 * testsuite/ld-x86-64/pr23486b.d: Likewise.
136 * testsuite/ld-x86-64/pr23486c-x32.d: Likewise.
137 * testsuite/ld-x86-64/pr23486c.d: Likewise.
138 * testsuite/ld-x86-64/pr23486d-x32.d: Likewise.
139 * testsuite/ld-x86-64/pr23486d.d: Likewise.
140 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
141 * testsuite/ld-x86-64/pr24322a.d: Likewise.
142 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
143 * testsuite/ld-x86-64/pr24322b.d: Likewise.
144 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
145 * testsuite/ld-x86-64/pr24458a.d: Likewise.
146 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
147 * testsuite/ld-x86-64/pr24458b.d: Likewise.
148 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
149 * testsuite/ld-x86-64/pr24458c.d: Likewise.
150 * testsuite/ld-x86-64/property-1.r: Likewise.
151 * testsuite/ld-x86-64/property-1a.r: Likewise.
152 * testsuite/ld-x86-64/property-2.r: Likewise.
153 * testsuite/ld-x86-64/property-2a.r: Likewise.
154 * testsuite/ld-x86-64/property-3.r: Likewise.
155 * testsuite/ld-x86-64/property-3a.r: Likewise.
156 * testsuite/ld-x86-64/property-4.r: Likewise.
157 * testsuite/ld-x86-64/property-4a.r: Likewise.
158 * testsuite/ld-x86-64/property-5.r: Likewise.
159 * testsuite/ld-x86-64/property-5a.r: Likewise.
160 * testsuite/ld-x86-64/property-6.r: Likewise.
161 * testsuite/ld-x86-64/property-7.r: Likewise.
162 * testsuite/ld-x86-64/property-7a.r: Likewise.
163 * testsuite/ld-x86-64/property-x86-3-x32.d: Likewise.
164 * testsuite/ld-x86-64/property-x86-3.d: Likewise.
165 * testsuite/ld-x86-64/property-x86-4a-x32.d: Likewise.
166 * testsuite/ld-x86-64/property-x86-4a.d: Likewise.
167 * testsuite/ld-x86-64/property-x86-5-x32.d: Likewise.
168 * testsuite/ld-x86-64/property-x86-5.d: Likewise.
169 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
170 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
171 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
172 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
173 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
174 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
175 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
176 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
177 * testsuite/ld-x86-64/property-x86-ibt1a-x32.d: Likewise.
178 * testsuite/ld-x86-64/property-x86-ibt1a.d: Likewise.
179 * testsuite/ld-x86-64/property-x86-ibt1b-x32.d: Likewise.
180 * testsuite/ld-x86-64/property-x86-ibt1b.d: Likewise.
181 * testsuite/ld-x86-64/property-x86-ibt2-x32.d: Likewise.
182 * testsuite/ld-x86-64/property-x86-ibt2.d: Likewise.
183 * testsuite/ld-x86-64/property-x86-ibt3a-x32.d: Likewise.
184 * testsuite/ld-x86-64/property-x86-ibt3a.d: Likewise.
185 * testsuite/ld-x86-64/property-x86-ibt3b-x32.d: Likewise.
186 * testsuite/ld-x86-64/property-x86-ibt3b.d: Likewise.
187 * testsuite/ld-x86-64/property-x86-ibt4-x32.d: Likewise.
188 * testsuite/ld-x86-64/property-x86-ibt4.d: Likewise.
189 * testsuite/ld-x86-64/property-x86-ibt5-x32.d: Likewise.
190 * testsuite/ld-x86-64/property-x86-ibt5.d: Likewise.
191 * testsuite/ld-x86-64/property-x86-shstk1a-x32.d: Likewise.
192 * testsuite/ld-x86-64/property-x86-shstk1a.d: Likewise.
193 * testsuite/ld-x86-64/property-x86-shstk1b-x32.d: Likewise.
194 * testsuite/ld-x86-64/property-x86-shstk1b.d: Likewise.
195 * testsuite/ld-x86-64/property-x86-shstk2-x32.d: Likewise.
196 * testsuite/ld-x86-64/property-x86-shstk2.d: Likewise.
197 * testsuite/ld-x86-64/property-x86-shstk3a-x32.d: Likewise.
198 * testsuite/ld-x86-64/property-x86-shstk3a.d: Likewise.
199 * testsuite/ld-x86-64/property-x86-shstk3b-x32.d: Likewise.
200 * testsuite/ld-x86-64/property-x86-shstk3b.d: Likewise.
201 * testsuite/ld-x86-64/property-x86-shstk4-x32.d: Likewise.
202 * testsuite/ld-x86-64/property-x86-shstk4.d: Likewise.
203 * testsuite/ld-x86-64/property-x86-shstk5-x32.d: Likewise.
204 * testsuite/ld-x86-64/property-x86-shstk5.d: Likewise.
205
206 2019-08-07 Jose E. Marchesi <jose.marchesi@oracle.com>
207
208 * scripttempl/elf64bpf.sc: Adapted from elf.sc.
209 * emulparams/elf64bpf.sh (SCRIPT_NAME): Use elf64bpf.
210 (EMBEDDED): Define.
211 * testsuite/ld-bpf/call-1.d: Do not expect a warning regarding an
212 undefined entry symbol.
213 * testsuite/ld-bpf/jump-1.d: Likewise.
214 * testsuite/ld-undefined/undefined.exp: Do not pass '-e entry' to
215 ld in BPF targets, and do not expect line number information.
216 * testsuite/ld-srec/srec.exp (run_srec_test): xfail s-record tests
217 in BPF targets.
218
219 2019-08-06 Alan Modra <amodra@gmail.com>
220
221 PR 24873
222 * ldlang.c (find_replacements_insert_point): Return "before" flag.
223 (find_next_input_statement): New function.
224 (lang_process): When placing recompiled LTO objects before a
225 claimed archive, place them immediately before in the statement
226 list.
227
228 2019-08-06 Alan Modra <amodra@gmail.com>
229
230 PR 24873
231 * ldlang.c (plugin_undefs): New static var.
232 (open_input_bfds <lang_group_statement_enum>): Loop on
233 plugin_undefs and hitting plugin_insert point.
234 (lang_process <lto_plugin_active>): Set plugin_undefs.
235
236 2019-08-02 Alan Modra <amodra@gmail.com>
237
238 * testsuite/ld-powerpc/tlsie.s: Correct medium model ELF sequence.
239
240 2019-08-01 Alan Modra <amodra@gmail.com>
241
242 PR 24806
243 * ldlang.c (process_insert_statements): Add start of list
244 parameter. Use rather than lang_os_list.head. Process insert
245 statements inside group statements with a recursive call.
246 (lang_process): Adjust process_insert_statements call.
247 * lexsup.c (parse_args): Warn when adding missing --end-group.
248
249 2019-08-01 Alan Modra <amodra@gmail.com>
250
251 * ldlang.h (lang_os_list): Rename from lang_output_section_statement.
252 * ldlang.c: Likewise throughout file.
253 * emultempl/alphaelf.em: Likewise.
254 * emultempl/elf32.em: Likewise.
255 * emultempl/mmo.em: Likewise.
256 * emultempl/pe.em: Likewise.
257 * emultempl/pep.em: Likewise.
258 * emultempl/ppc32elf.em: Likewise.
259 * emultempl/spuelf.em: Likewise.
260
261 2019-07-26 Alan Modra <amodra@gmail.com>
262
263 * testsuite/ld-plugin/lto-3r.d: Accept D for powerpc64 descriptors.
264 * testsuite/ld-plugin/lto-5r.d: Likewise.
265
266 2019-07-24 H.J. Lu <hongjiu.lu@intel.com>
267
268 * testsuite/ld-plugin/lto-3r.d: Restored. Check foo instead
269 of __gnu_lto_v.*.
270 * testsuite/ld-plugin/lto-5r.d: Likewise.
271 * testsuite/ld-plugin/lto.exp: Run lto-3r and lto-5r tests.
272
273 2019-07-24 Claudiu Zissulescu <claziss@synopsys.com>
274
275 * ld-arc/relax-local-pic.d: New test.
276 * ld-arc/relax-local-pic.s: New file.
277
278 2019-07-22 Martin Liska <mliska@suse.cz>
279
280 * testsuite/ld-plugin/lto-3r.d: Remove.
281 * testsuite/ld-plugin/lto-5r.d: Remove.
282 * testsuite/ld-plugin/lto.exp: Do not run lto-3r and lto-5r
283 tests.
284
285 2019-07-23 Alan Modra <amodra@gmail.com>
286
287 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Condition
288 SHF_GNU_MBIND on osabi. Set output elf_gnu_osabi_mbind.
289
290 2019-07-23 Alan Modra <amodra@gmail.com>
291
292 * testsuite/ld-elf/size-1.d,
293 * testsuite/ld-elf/size-1.s,
294 * testsuite/ld-elf/size-1.t: New test.
295 * testsuite/ld-elf/size-2.d,
296 * testsuite/ld-elf/size-2.s,
297 * testsuite/ld-elf/size-2.t: New test.
298 * testsuite/ld-scripts/size-1.d,
299 * testsuite/ld-scripts/size-1.s,
300 * testsuite/ld-scripts/size-1.t,
301 * testsuite/ld-scripts/size-2.s,
302 * testsuite/ld-scripts/size-2.d,
303 * testsuite/ld-scripts/size-2.t,
304 * testsuite/ld-scripts/size.exp: Delete.
305
306 2019-07-22 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
307
308 * ld/testsuite/ld-arm/cmse_main_sec_debug.d: Modify regexps to
309 allow for output from a arm-none-linux-gnueabihf target.
310
311 2019-07-20 Alan Modra <amodra@gmail.com>
312
313 PR 24827
314 * ldlex.l (comment): Check for 0 return from YY_INPUT, not EOF.
315
316 2019-07-19 Alan Modra <amodra@gmail.com>
317
318 * testsuite/ld-powerpc/tlsgd.d,
319 * testsuite/ld-powerpc/tlsgd.s,
320 * testsuite/ld-powerpc/tlsie.d,
321 * testsuite/ld-powerpc/tlsie.s,
322 * testsuite/ld-powerpc/tlsld.d,
323 * testsuite/ld-powerpc/tlsld.s: New tests.
324 * testsuite/ld-powerpc/powerpc.exp: Run them.
325
326 2019-07-19 Alan Modra <amodra@gmail.com>
327
328 * testsuite/ld-powerpc/tlsldopt.d: Rename from tlsld.d.
329 * testsuite/ld-powerpc/tlsldopt.s: Rename from tlsld.s.
330 * testsuite/ld-powerpc/tlsldopt32.d: Rename from tlsld32.d.
331 * testsuite/ld-powerpc/tlsldopt32.s: Rename from tlsld32.s.
332 * testsuite/ld-powerpc/powerpc.exp: Update.
333
334 2019-07-19 Alan Modra <amodra@gmail.com>
335
336 PR 24819
337 * testsuite/ld-elf/pr24819.d: xfail for genelf targets.
338
339 2019-07-18 H.J. Lu <hongjiu.lu@intel.com>
340
341 PR ld/24819
342 * emultempl/elf32.em (elf_orphan_compatible): Return FALSE for
343 member of output section group when doing a relocatable link.
344 * testsuite/ld-elf/pr24819.d: New file.
345 * testsuite/ld-elf/pr24819.s: Likewise.
346
347 2019-07-13 Alan Modra <amodra@gmail.com>
348
349 * testsuite/ld-powerpc/tlsso.r: Update.
350 * testsuite/ld-powerpc/tlsso32.g: Update.
351 * testsuite/ld-powerpc/tlsso32.r: Update.
352 * testsuite/ld-powerpc/tlstocso.r: Update.
353 * testsuite/ld-cris/tls-dso-dtpoffd2.d: Update.
354 * testsuite/ld-cris/tls-dso-dtpoffd4.d: Update.
355 * testsuite/ld-cris/tls-dso-tpoffgotcomm1.d: Update.
356 * testsuite/ld-cris/tls-gd-1.d: Update.
357 * testsuite/ld-cris/tls-gd-1h.d: Update.
358 * testsuite/ld-cris/tls-gd-2.d: Update.
359 * testsuite/ld-cris/tls-gd-2h.d: Update.
360 * testsuite/ld-cris/tls-ie-10.d: Update.
361 * testsuite/ld-cris/tls-ie-11.d: Update.
362 * testsuite/ld-cris/tls-ie-8.d: Update.
363 * testsuite/ld-cris/tls-ie-9.d: Update.
364 * testsuite/ld-cris/tls-js1.d: Update.
365 * testsuite/ld-cris/tls-ld-4.d: Update.
366 * testsuite/ld-cris/tls-ld-5.d: Update.
367 * testsuite/ld-cris/tls-ld-6.d: Update.
368 * testsuite/ld-cris/tls-ld-7.d: Update.
369 * testsuite/ld-cris/tls-ldgd-14.d: Update.
370 * testsuite/ld-cris/tls-ldgd-15.d: Update.
371 * testsuite/ld-cris/tls-ldgdx-14.d: Update.
372 * testsuite/ld-cris/tls-ldgdx-15.d: Update.
373 * testsuite/ld-cris/tls-local-54.d: Update.
374 * testsuite/ld-cris/tls-local-60.d: Update.
375 * testsuite/ld-cris/tls-local-61.d: Update.
376 * testsuite/ld-cris/tls-local-63.d: Update.
377 * testsuite/ld-cris/tls-local-64.d: Update.
378 * testsuite/ld-cris/tls-ok-30.d: Update.
379 * testsuite/ld-cris/tls-ok-32.d: Update.
380 * testsuite/ld-cris/tls-ok-34.d: Update.
381 * testsuite/ld-mips-elf/tls-multi-got-1.got: Update.
382 * testsuite/ld-mips-elf/tls-multi-got-1.r: Update.
383 * testsuite/ld-mips-elf/tlsdyn-pie-o32.d: Update.
384 * testsuite/ld-mips-elf/tlsdyn-pie-o32.got: Update.
385 * testsuite/ld-mips-elf/tlslib-o32-hidden.got: Update.
386 * testsuite/ld-mips-elf/tlslib-o32-ver.got: Update.
387 * testsuite/ld-mips-elf/tlslib-o32.got: Update.
388 * testsuite/ld-s390/tlspic.rd: Update.
389 * testsuite/ld-s390/tlspic_64.rd: Update.
390 * testsuite/ld-sparc/tlssunnopic32.rd: Update.
391 * testsuite/ld-sparc/tlssunnopic64.rd: Update.
392 * testsuite/ld-sparc/tlssunpic32.rd: Update.
393 * testsuite/ld-sparc/tlssunpic64.rd: Update.
394
395 2019-07-13 Alan Modra <amodra@gmail.com>
396
397 PR 24786
398 * ldlang.h (enum section_type): Add first_overlay_section.
399 * ldlang.c (lang_add_section): Adjust switch statement.
400 (map_input_to_output_sections): Likewise.
401 (lang_size_sections_1): Always set last_os for first overlay section.
402 (lang_leave_overlay): Set sectype to first_overlay_section.
403
404 2019-07-08 Alan Modra <amodra@gmail.com>
405
406 * testsuite/ld-powerpc/callstub-1.d: Pass -melf64ppc to ld.
407 * testsuite/ld-powerpc/callstub-2.d: Likewise.
408
409 2019-07-04 Jan Beulich <jbeulich@suse.com>
410
411 * testsuite/ld-elf/group9.s: Correct argument of .type.
412
413 2019-07-02 Nick Clifton <nickc@redhat.com>
414
415 PR 24753
416 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
417 LINKER_CREATED section flag when creating the stub section.
418
419 2019-07-02 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
420
421 * testsuite/ld-arm/arm-elf.exp: Add tests.
422 * testsuite/ld-arm/cmse_main.s: New test.
423 * testsuite/ld-arm/cmse_main_sec_debug.d: Likewise.
424 * testsuite/ld-arm/cmse_sec_debug.s: Likewise.
425
426 2019-07-01 Nick Clifton <nickc@redhat.com>
427
428 PR 23839
429 * testsuite/ld-arm/unwind-4.d: Adjust for corrected calculation of
430 exidx relocs.
431
432 2019-06-28 Alan Modra <amodra@gmail.com>
433
434 * testsuite/ld-powerpc/callstub-1.d,
435 * testsuite/ld-powerpc/callstub-1.s: New test.
436 * testsuite/ld-powerpc/callstub-2.d,
437 * testsuite/ld-powerpc/callstub-2.s: New test.
438 * testsuite/ld-powerpc/powerpc.exp: Run them.
439
440 2019-06-25 Jan Beulich <jbeulich@suse.com>
441
442 * plugin.c (get_lto_kind, get_lto_resolution,
443 get_lto_visibility): Rename "index" to "idx".
444
445 2019-06-24 H.J. Lu <hongjiu.lu@intel.com>
446
447 PR ld/24721
448 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24721 tests.
449 * testsuite/ld-x86-64/pr24721-x32.d: New file.
450 * testsuite/ld-x86-64/pr24721.d: Likewise.
451 * testsuite/ld-x86-64/pr24721.map: Likewise.
452 * testsuite/ld-x86-64/pr24721a.s: Likewise.
453 * testsuite/ld-x86-64/pr24721b.s: Likewise.
454
455 2019-06-23 Alan Modra <amodra@gmail.com>
456
457 PR 24704
458 * testsuite/ld-powerpc/elfv2exe.d: Update.
459 * testsuite/ld-powerpc/elfv2so.d: Update.
460
461 2019-06-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
462
463 * testsuite/ld-aarch64/aarch64-elf.exp: Add emit-relocs-22 and -23.
464 * testsuite/ld-aarch64/emit-relocs-22.d: New test.
465 * testsuite/ld-aarch64/emit-relocs-22.s: New test.
466 * testsuite/ld-aarch64/emit-relocs-23.d: New test.
467 * testsuite/ld-aarch64/emit-relocs-23.s: New test.
468
469 2019-06-14 Alan Modra <amodra@gmail.com>
470
471 * Makefile.in: Regenerate.
472 * configure: Regenerate.
473
474 2019-06-14 Alan Modra <amodra@gmail.com>
475
476 PR 24662
477 * testsuite/ld-alpha/tlsbin.rd: Update.
478 * testsuite/ld-alpha/tlsbinr.rd: Update.
479 * testsuite/ld-alpha/tlspic.rd: Update.
480
481 2019-06-07 Maciej W. Rozycki <macro@wdc.com>
482
483 * ld.texi (Options): Also document `-rpath' option restrictions
484 in the description of the option itself.
485
486 2019-06-06 Sudakshina Das <sudi.das@arm.com>
487
488 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
489 * testsuite/ld-aarch64/property-bti-pac4-a.d: New test.
490 * testsuite/ld-aarch64/property-bti-pac4-b.d: New test.
491 * testsuite/ld-aarch64/property-bti-pac4.s: New test.
492
493 2019-06-06 Sudakshina Das <sudi.das@arm.com>
494
495 * NEWS: Update options names.
496 * emultempl/aarch64elf.em (OPTION_FORCE_BTI, OPTION_PAC_PLT): Remove.
497 (PARSE_AND_LIST_LONGOPTS): Remove force-bti and pac-plt.
498 (PARSE_AND_LIST_OPTIONS): Update to -z.
499 (PARSE_AND_LIST_ARGS_CASE_Z_AARCH64): New.
500 (PARSE_AND_LIST_ARGS_CASE_Z): Add PARSE_AND_LIST_ARGS_CASE_Z_AARCH64.
501 (PARSE_AND_LIST_ARGS_CASES): Move cases for these options.
502 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update option.
503 * testsuite/ld-aarch64/bti-pac-plt-2.d: Likewise.
504 * testsuite/ld-aarch64/bti-plt-1.d: Likewise.
505 * testsuite/ld-aarch64/bti-plt-2.d: Likewise.
506 * testsuite/ld-aarch64/bti-plt-3.d: Likewise.
507 * testsuite/ld-aarch64/bti-plt-4.d: Likewise.
508 * testsuite/ld-aarch64/bti-plt-6.d: Likewise.
509 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
510 * testsuite/ld-aarch64/bti-warn.d: Likewise.
511 * testsuite/ld-aarch64/pac-plt-1.d: Likewise.
512 * testsuite/ld-aarch64/pac-plt-2.d: Likewise.
513
514 2019-05-30 Nick Clifton <nickc@redhat.com>
515
516 PR 24627
517 * testsuite/ld-elf/ver_def.vd: Update expected output.
518
519 2019-05-30 Alan Modra <amodra@gmail.com>
520
521 PR 24596
522 * emulparams/m9s12zelf.sh (TEMPLATE_NAME): Set to generic.
523 (EXTRA_EM_FILE): Define to genelf.
524 * testsuite/lib/ld-lib.exp (uses_genelf): Add s12z.
525
526 2019-05-30 Alan Modra <amodra@gmail.com>
527
528 * testsuite/lib/ld-lib.exp (run_ld_link_tests): Support procedure
529 calls in optional "xfail" args.
530 (run_ld_link_exec_tests): Likewise.
531 (is_generic): New.
532 (uses_genelf): Rename from is_generic_elf. Delete bogus semicolons.
533 * testsuite/ld-scripts/align.exp: Rename is_generic_elf call.
534 * testsuite/ld-elf/elf.exp: Use is_generic and uses_genelf. Delete
535 xfail_implib var.
536 * testsuite/ld-elf/sec64k.exp: Use is_generic.
537 * testsuite/ld-elf/shared.exp: Likewise.
538 * testsuite/ld-discard/extern.d: Use is_generic in xfail.
539 * testsuite/ld-discard/start.d: Likewise.
540 * testsuite/ld-discard/static.d: Likewise.
541 * testsuite/ld-elf/attributes.d: Likewise.
542 * testsuite/ld-elf/group1.d: Likewise.
543 * testsuite/ld-elf/group3b.d: Likewise.
544 * testsuite/ld-elf/group8a.d: Likewise.
545 * testsuite/ld-elf/group8b.d: Likewise.
546 * testsuite/ld-elf/group9a.d: Likewise.
547 * testsuite/ld-elf/group9b.d: Likewise.
548 * testsuite/ld-elf/linkonce2.d: Likewise.
549 * testsuite/ld-elf/merge2.d: Likewise.
550 * testsuite/ld-elf/merge3.d: Likewise.
551 * testsuite/ld-elf/pr12851.d: Likewise.
552 * testsuite/ld-elf/pr12975.d: Likewise.
553 * testsuite/ld-elf/pr13177.d: Likewise.
554 * testsuite/ld-elf/pr13195.d: Likewise.
555 * testsuite/ld-elf/pr17550c.d: Likewise.
556 * testsuite/ld-elf/pr17550d.d: Likewise.
557 * testsuite/ld-elf/pr17615.d: Likewise.
558 * testsuite/ld-elf/pr21562a.d: Likewise.
559 * testsuite/ld-elf/pr21562b.d: Likewise.
560 * testsuite/ld-elf/pr21562c.d: Likewise.
561 * testsuite/ld-elf/pr21562d.d: Likewise.
562 * testsuite/ld-elf/pr21562i.d: Likewise.
563 * testsuite/ld-elf/pr21562j.d: Likewise.
564 * testsuite/ld-elf/pr21562k.d: Likewise.
565 * testsuite/ld-elf/pr21562l.d: Likewise.
566 * testsuite/ld-elf/pr21562m.d: Likewise.
567 * testsuite/ld-elf/pr21562n.d: Likewise.
568 * testsuite/ld-elf/pr22677.d: Likewise.
569 * testsuite/ld-elf/pr22836-1a.d: Likewise.
570 * testsuite/ld-elf/pr22836-1b.d: Likewise.
571 * testsuite/ld-elf/warn3.d: Likewise.
572 * testsuite/ld-elf/warn1.d: Likewise and xfail sparc solaris
573 targets rather than notarget.
574 * testsuite/ld-elf/compressed1d.d: Use uses_genelf in xfail.
575 * testsuite/ld-elf/orphan-10.d: Likewise.
576 * testsuite/ld-elf/orphan-9.d: Likewise.
577 * testsuite/ld-elf/orphan-region.d: Likewise.
578 * testsuite/ld-elf/orphan.d: Likewise.
579 * testsuite/ld-elf/orphan3.d: Likewise.
580 * testsuite/ld-elf/pr20528a.d: Likewise.
581 * testsuite/ld-elf/pr20528b.d: Likewise.
582 * testsuite/ld-elf/pr23658-1a.d: Likewise.
583 * testsuite/ld-elf/pr23658-1b.d: Likewise.
584 * testsuite/ld-elf/pr349.d: Likewise.
585 * testsuite/ld-elf/warn2.d: Likewise and xfail sparc solaris
586 targets rather than notarget.
587 * testsuite/ld-elf/merge.d: Correct ms1-*-* to mt-*-*.
588
589 2019-05-28 Faraz Shahbazker <fshahbazker@wavecomp.com>
590
591 * testsuite/ld-mips-elf/undefweak-overflow.s: Remove test case
592 for pcrel_hi/pcrel_lo.
593 * testsuite/ld-mips-elf/undefweak-overflow.d: Update to match.
594 * testsuite/ld-mips-elf/reloc-pcrel-r6.s: New test source.
595 * testsuite/ld-mips-elf/reloc-pcrel-r6.d: New test linker script.
596 * testsuite/ld-mips-elf/reloc-pcrel-r6.ld: New test.
597 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test.
598
599 2019-05-28 Alan Modra <amodra@gmail.com>
600
601 PR 24596
602 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Check that
603 the output is coff before accessing coff tdata.
604 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
605
606 2019-05-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
607
608 * testsuite/ld-aarch64/variant_pcs-now.d: Use --hash-style=sysv.
609 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise.
610
611 2019-05-27 Alan Modra <amodra@gmail.com>
612
613 PR 24596
614 * emultempl/genelf.em (gld${EMULATION_NAME}_after_open): Set
615 BFS_KEEP on group signature symbol.
616
617 2019-04-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
618
619 * testsuite/ld-aarch64/aarch64-elf.exp: Add new tests.
620 * testsuite/ld-aarch64/variant_pcs-1.s: New asm for tests.
621 * testsuite/ld-aarch64/variant_pcs-2.s: New asm for tests.
622 * testsuite/ld-aarch64/variant_pcs-now.d: New test.
623 * testsuite/ld-aarch64/variant_pcs-r.d: New test.
624 * testsuite/ld-aarch64/variant_pcs-shared.d: New test.
625 * testsuite/ld-aarch64/variant_pcs.ld: New linker script for tests.
626
627 2019-05-24 Alan Modra <amodra@gmail.com>
628
629 * po/BLD-POTFILES.in: Regenerate.
630
631 2019-05-24 Alan Modra <amodra@gmail.com>
632
633 * testsuite/ld-powerpc/notoc2.d,
634 * testsuite/ld-powerpc/notoc2.s: New test.
635 * testsuite/ld-powerpc/powerpc.exp: Run it.
636
637 2019-05-24 Alan Modra <amodra@gmail.com>
638
639 * testsuite/ld-powerpc/pcrelopt.s,
640 * testsuite/ld-powerpc/pcrelopt.d,
641 * testsuite/ld-powerpc/pcrelopt.sec: New test.
642 * testsuite/ld-powerpc/powerpc.exp: Run it.
643
644 2019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
645
646 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64bpf.c.
647 * Makefile.in (prefix): Regenerate.
648 * configure.tgt (targ_extra_ofiles): Add case for bpf-*-* targets.
649 * emulparams/elf64bpf.sh: New file.
650 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
651 bpf-*-* to the list of targets not supporting gc-sections.
652 * testsuite/ld-bpf/bar.s: New file.
653 * testsuite/ld-bpf/jump-1.d: Likewise.
654 * testsuite/ld-bpf/foo.s: Likewise.
655 * testsuite/ld-bpf/call-1.d: Likewise.
656 * testsuite/ld-bpf/bpf.exp: Likewise.
657 * testsuite/ld-bpf/baz.s: Likewise.
658
659 2019-05-23 Alan Modra <amodra@gmail.com>
660
661 PR 24576
662 * ldfile.c (enum script_open_style): New.
663 (struct script_name_list): New.
664 (ldfile_open_command_file_1): Take a script_open_style param
665 rather than booleans. Adjust callers. Only fail when -T or
666 default -T script is invoked twice.
667 (ldfile_try_open_bfd): Revert last change.
668
669 2019-05-22 Julius Werner <jwerner@chromium.org>
670 Nick Clifton <nickc@redhat.com>
671
672 PR 24576
673 * ld/ldfile.c: (ldfile_open_command_file_1): Add new parameter -
674 is_script. If true check that the file has not already been
675 parsed as a linker script.
676 (ldfile_open_script_file): New function.
677 (ldfile_try_open_bfd): Use the new function in place of
678 ldfile_open_command_line.
679 * ldmain.c (main): Likewise.
680 * lexsup.c (parse_args): Use the new function for opening linker
681 scripts with the -T option.
682 * ldfile.h (ldfile_open_script_file): Add prototype.
683
684 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
685
686 * testsuite/ld-mips-elf/pic-reloc-5.s: Add tests for
687 %tprel_hi and %tprel_lo relocations.
688 * testsuite/ld-mips-elf/pic-reloc-6.s: Likewise.
689 * testsuite/ld-mips-elf/pic-reloc-5.d: Update accordingly.
690 * testsuite/ld-mips-elf/pic-reloc-6.d: Likewise.
691 * testsuite/ld-mips-elf/pic-reloc-tls.ld: New test linker
692 script file.
693
694 2019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
695
696 * testsuite/ld-mips-elf/pic-reloc-5.d: New test.
697 * testsuite/ld-mips-elf/pic-reloc-6.d: New test.
698 * testsuite/ld-mips-elf/pic-reloc-7.d: New test.
699 * testsuite/ld-mips-elf/pic-reloc-5.s: New test source.
700 * testsuite/ld-mips-elf/pic-reloc-6.s: New test source.
701 * testsuite/ld-mips-elf/pic-reloc-7.s: New test source.
702 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
703
704 2019-05-21 Matthew Fortune <matthew.fortune@mips.com>
705 Faraz Shahbazker <fshahbazker@wavecomp.com>
706
707 * emultempl/mipself.em (compact_branches): New static variable.
708 (mips_create_output_section_statements): Call
709 _bfd_mips_elf_compact_branches.
710 (PARSE_AND_LIST_PROLOGUE): Add OPTION_COMPACT_BRANCHES and
711 OPTION_NO_COMPACT_BRANCHES.
712 (PARSE_AND_LIST_LONGOPTS): Add compact-branches,
713 no-compact-branches.
714 (PARSE_AND_LIST_OPTIONS): Add --compact-branches,
715 --no-compact-branches.
716 (PARSE_AND_LIST_ARGS_CASES): Handle the above.
717 * ld.texinfo: Document --compact-branches, --no-compact-branches.
718 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.dd: New test.
719 * testsuite/ld-mips-elf/pic-and-nonpic-1-r6.nd: New test.
720 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.dd: New test.
721 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.gd: New test.
722 * testsuite/ld-mips-elf/pic-and-nonpic-1a-r6.s: New test source.
723 * testsuite/ld-mips-elf/pic-and-nonpic-3a-r6.s: New test source.
724 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests.
725
726 2019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
727
728 * testsuite/ld-arm/arm-elf.exp: Add tests
729 * testsuite/ld-arm/bfs-0.s: New test.
730 * testsuite/ld-arm/bfs-1.s: New test.
731 * testsuite/ld-arm/branch-futures.d: New test.
732
733 2019-05-21 Tamar Christina <tamar.christina@arm.com>
734
735 PR ld/24373
736 * emultempl/aarch64elf.em (PARSE_AND_LIST_LONGOPTS): Add optional args
737 to flags.
738 * NEWS: Add changes to flag.
739 (PARSE_AND_LIST_OPTIONS): Update help descriptions.
740 (PARSE_AND_LIST_ARGS_CASES): Add new options to parser.
741 * testsuite/ld-aarch64/aarch64-elf.exp: Add new run_dump_tests.
742 * testsuite/ld-aarch64/erratum843419-adr.d: New test.
743 * testsuite/ld-aarch64/erratum843419-adrp.d: New test.
744 * testsuite/ld-aarch64/erratum843419-far-adr.d: New test.
745 * testsuite/ld-aarch64/erratum843419-far-full.d: New test.
746 * testsuite/ld-aarch64/erratum843419-far.s: New test.
747 * testsuite/ld-aarch64/erratum843419-full.d: New test.
748 * testsuite/ld-aarch64/erratum843419-near.s: New test.
749 * testsuite/ld-aarch64/erratum843419-no-args.d: New test.
750
751 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
752
753 PR ld/24571
754 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.d: New test.
755 * ld/testsuite/ld-avr/relax-insn-at-range-boundary.s: New test.
756
757 2019-05-21 Senthil Kumar Selvaraj <senthilkumar.selvaraj@microchip.com>
758
759 PR ld/24564
760 * testsuite/ld-avr/wraparound-range-boundary.d: New test.
761 * testsuite/ld-avr/wraparound-range-boundary.s: New test.
762
763 2019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
764
765 PR 14798
766 * testsuite/ld-mips-elf/reloc-6a.s: Specify .text section for
767 global code symbols.
768 * testsuite/ld-mips-elf/reloc-6b.s: Likewise.
769
770 2019-05-17 Alan Modra <amodra@gmail.com>
771
772 PR 24567
773 * plugin.c (plugin_notice): Do not let a common symbol override
774 a non-common definition in IR.
775
776 2019-05-09 Dimitar Dimitrov <dimitar@dinux.eu>
777
778 * scripttempl/pru.sc (__init_array_begin, __init_array_begin):
779 Rename.
780
781 2019-05-08 Pekka Seppänen <pexu@sourceware.mail.kapsi.fi>
782
783 PR 24536
784 * ldbuildid.c (generate_build_id): Cast return value from
785 GetProcAddress in order to avoid a compile time warning.
786
787 2019-05-06 Alan Modra <amodra@gmail.com>
788
789 * testsuite/ld-undefined/weak-undef.exp: Don't xfail pj.
790
791 2019-05-04 Alan Modra <amodra@gmail.com>
792
793 * testsuite/ld-scripts/fill.d: Don't xfail m32c
794 * testsuite/ld-scripts/fill16.d: Likewise.
795
796 2019-05-04 Alan Modra <amodra@gmail.com>
797
798 PR 24511
799 * testsuite/ld-elf/pr14156a.d: Allow for .init/.fini being a
800 data section on hppa64.
801 * testsuite/ld-elf/pr14156b.d: Likewise.
802 * testsuite/ld-scripts/pr18963.t: Map standard sections to set
803 output section flags.
804 * testsuite/ld-scripts/sane1.t: Likewise.
805 * testsuite/ld-elf/init-fini-arrays.s: Reference __init_array_start
806 and __fini_array_start. Define __start et al.
807 * testsuite/ld-elf/pr24511.d: New test.
808
809 2019-04-30 Alan Modra <amodra@gmail.com>
810
811 * testsuite/ld-powerpc/elfv2exe.d: Update.
812 * testsuite/ld-powerpc/elfv2so.d: Update.
813 * testsuite/ld-powerpc/tocopt.d: Update.
814 * testsuite/ld-powerpc/tocopt.s: Update.
815 * testsuite/ld-powerpc/tocopt5.d: Update.
816 * testsuite/ld-powerpc/tocopt5.s: Update.
817 * testsuite/ld-powerpc/tocopt7.d: Update.
818 * testsuite/ld-powerpc/tocopt7.s: Update.
819 * testsuite/ld-powerpc/tocopt8.d: Update.
820 * testsuite/ld-powerpc/tocopt8.s: Update.
821
822 2019-04-30 Alan Modra <amodra@gmail.com>
823
824 * ld.texi (How GNU properties are merged): Avoid pod2man error.
825 Correct example.
826
827 2019-04-26 H.J. Lu <hongjiu.lu@intel.com>
828
829 PR ld/24486
830 * testsuite/ld-plugin/lto.exp: Run PR ld/24486 tests.
831 * testsuite/ld-plugin/pr24486a.c: New file.
832 * testsuite/ld-plugin/pr24486b.c: Likewise.
833 * testsuite/ld-plugin/pr24486c.c: Likewise.
834
835 2019-04-26 Nick Clifton <nickc@redhat.com>
836
837 * po/ru.po: Updated Russian translation.
838
839 2019-04-26 Christopher Yeleighton <giecrilj@stegny.2a.pl>
840
841 * ld.texi: Properly hyphenate the word "specific".
842
843 2019-04-25 H.J. Lu <hongjiu.lu@intel.com>
844
845 PR ld/24406
846 * ld.texi: Remove LTO warning from --wrap.
847 * plugin.c (get_symbols): Update resolution for wrapper and
848 wrapped symbols.
849 * testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
850 * testsuite/ld-plugin/pr24406-1.c: New file.
851 * testsuite/ld-plugin/pr24406-2a.c: Likewise.
852 * testsuite/ld-plugin/pr24406-2b.c: Likewise.
853
854 2019-04-25 Sudakshina Das <sudi.das@arm.com>
855
856 * testsuite/ld-aarch64/bti-pac-plt-1.d: Update.
857 * testsuite/ld-aarch64/bti-pac-plt-2.d: Update.
858 * testsuite/ld-aarch64/bti-plt-1.d: Update.
859 * testsuite/ld-aarch64/bti-plt-3.d: Update.
860 * testsuite/ld-aarch64/bti-plt-5.d: Update.
861 * testsuite/ld-aarch64/pac-plt-1.d: Update.
862 * testsuite/ld-aarch64/pac-plt-2.d: Update.
863
864 2019-04-24 Sandra Loosemore <sandra@codesourcery.com>
865
866 * testsuite/config/default.exp: Use [check_compiler_available]
867 instead of [which $CC].
868 * testsuite/ld-auto-import/auto-import.exp: Likewise.
869 * testsuite/ld-cygwin/exe-export.exp: Likewise.
870 * testsuite/ld-elf/audit.exp: Likewise.
871 * testsuite/ld-elf/compress.exp: Likewise.
872 * testsuite/ld-elf/dwarf.exp: Likewise.
873 * testsuite/ld-elf/elf.exp: Likewise.
874 * testsuite/ld-elf/indirect.exp: Likewise.
875 * testsuite/ld-elf/linux-x86.exp: Likewise.
876 * testsuite/ld-elf/shared.exp: Likewise.
877 * testsuite/ld-elf/tls.exp: Likewise.
878 * testsuite/ld-elf/wrap.exp: Likewise.
879 * testsuite/ld-elfcomm/elfcomm.exp: Likewise.
880 * testsuite/ld-elfvers/vers.exp: Likewise.
881 * testsuite/ld-elfvsb/elfvsb.exp: Likewise.
882 * testsuite/ld-elfweak/elfweak.exp: Likewise.
883 * testsuite/ld-gc/gc.exp: Likewise.
884 * testsuite/ld-i386/i386.exp: Likewise.
885 * testsuite/ld-i386/no-plt.exp: Likewise.
886 * testsuite/ld-i386/tls.exp: Likewise.
887 * testsuite/ld-ifunc/ifunc.exp: Likewise.
888 * testsuite/ld-mn10300/mn10300.exp: Likewise.
889 * testsuite/ld-pe/pe-compile.exp: Likewise.
890 * testsuite/ld-pe/pe-run.exp: Likewise.
891 * testsuite/ld-pe/pe-run2.exp: Likewise.
892 * testsuite/ld-pie/pie.exp: Likewise.
893 * testsuite/ld-plugin/lto.exp: Likewise.
894 * testsuite/ld-plugin/plugin.exp: Likewise.
895 * testsuite/ld-scripts/crossref.exp: Likewise.
896 * testsuite/ld-sh/sh.exp: Likewise.
897 * testsuite/ld-shared/shared.exp: Likewise.
898 * testsuite/ld-size/size.exp: Likewise.
899 * testsuite/ld-srec/srec.exp: Likewise.
900 * testsuite/ld-undefined/undefined.exp: Likewise.
901 * testsuite/ld-unique/unique.exp: Likewise.
902 * testsuite/ld-x86-64/mpx.exp: Likewise.
903 * testsuite/ld-x86-64/no-plt.exp: Likewise.
904 * testsuite/ld-x86-64/tls.exp: Likewise.
905 * testsuite/ld-x86-64/x86-64.exp: Likewise.
906 * testsuite/lib/ld-lib.exp (run_ld_link_exec_tests): Call
907 check_compiler_available before trying to use the compiler.
908 (run_cc_link_tests): Likewise.
909 (check_compiler_available): New. Use it instead of [which $CC].
910
911 2019-04-23 Alan Modra <amodra@gmail.com>
912
913 * Makefile.am (GENDEPDIR): New var, used..
914 (GENSCRIPTS): ..here.
915 * Makefile.in: Regenerate.
916 * genscripts.sh: Test for $DEPDIR set before every use.
917
918 2019-04-22 Matthew Fortune <matthew.fortune@mips.com>
919
920 * testsuite/ld-mips-elf/mips-elf-flags.exp: Fix expected ASEs
921 for M5100.
922
923 2019-04-19 Alan Modra <amodra@gmail.com>
924
925 * testsuite/ld-gc/skip-map-discarded.s: Add section attributes.
926 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Add
927 s12z to list of targets not supporting --gc-sections.
928
929 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
930
931 * testsuite/ld-i386/i386.exp: Run pr18801a and pr18801b instead
932 of pr18801.
933 * testsuite/ld-x86-64/x86-64.exp: Likewise.
934 * testsuite/ld-i386/pr18801.d: Removed.
935 * testsuite/ld-x86-64/pr18801.d: Likewise.
936 * testsuite/ld-i386/pr18801a.d: New file.
937 * testsuite/ld-i386/pr18801b.d: Likewise.
938 * testsuite/ld-x86-64/pr18801a.d: Likewise.
939 * testsuite/ld-x86-64/pr18801b.d: Likewise.
940 * testsuite/ld-x86-64/pie2.d: Suggest -fPIE instead of -fPIC.
941 * testsuite/ld-x86-64/pie2.d: Likewise.
942 * testsuite/ld-x86-64/pr19719.d: Likewise.
943 * testsuite/ld-x86-64/pr19807-2a.d: Likewise.
944 * testsuite/ld-x86-64/pr19969.d: Likewise.
945 * testsuite/ld-x86-64/pr21997-1a.err: Likewise.
946 * testsuite/ld-x86-64/pr21997-1b.err: Likewise.
947 * testsuite/ld-x86-64/pr22001-1a.err: Likewise.
948 * testsuite/ld-x86-64/pr22001-1b.err: Likewise.
949 * testsuite/ld-x86-64/pr22791-1.err: Likewise.
950
951 2019-04-17 H.J. Lu <hongjiu.lu@intel.com>
952
953 PR ld/24458
954 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/24458 tests.
955 * testsuite/ld-x86-64/pr24458.s: New file.
956 * testsuite/ld-x86-64/pr24458a-x32.d: Likewise.
957 * testsuite/ld-x86-64/pr24458a.d: Likewise.
958 * testsuite/ld-x86-64/pr24458b-x32.d: Likewise.
959 * testsuite/ld-x86-64/pr24458b.d: Likewise.
960 * testsuite/ld-x86-64/pr24458c-x32.d: Likewise.
961 * testsuite/ld-x86-64/pr24458c.d: Likewise.
962
963 2019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
964
965 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
966 symbol when .lower.bss or .either.bss sections exist.
967 Define __crt0_movedata when .lower.data or .either.data sections exist.
968 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
969 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
970 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
971 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
972 * testsuite/gas/msp430/msp430.exp: Run new tests.
973 Enable large code model when running -mdata-region={upper,either}
974 tests.
975
976 2019-04-16 Alan Modra <amodra@gmail.com>
977
978 * testsuite/ld-scripts/pr20302.d: Don't run for ns32k-*-*.
979 * testsuite/ld-scripts/section-match-1.d: Likewise.
980 * testsuite/ld-undefined/require-defined.exp: Likewise.
981
982 2019-04-15 Faraz Shahbazker <fshahbazker@wavecomp.com>
983
984 * testsuite/ld-gc/gc.exp: Skip print-map-discarded test for non-ELF
985 targets.
986
987 2019-04-15 Sudakshina Das <sudi.das@arm.com>
988
989 * testsuite/ld-arm/bfcsel.s: New.
990 * testsuite/ld-arm/bfcsel.d: New.
991 * testsuite/ld-arm/arm-elf.exp: Add above test.
992
993 2019-04-15 Sudakshina Das <sudi.das@arm.com>
994
995 * testsuite/ld-arm/bfl.s: New.
996 * testsuite/ld-arm/bfl.d: New.
997 * testsuite/ld-arm/arm-elf.exp: Add above test.
998
999 2019-04-15 Sudakshina Das <sudi.das@arm.com>
1000
1001 * testsuite/ld-arm/bf.s: New.
1002 * testsuite/ld-arm/bf.d: New.
1003 * testsuite/ld-arm/arm-elf.exp: Add above test.
1004
1005 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1006
1007 * testsuite/ld-arm/attr-merge-13.attr: New test.
1008 * testsuite/ld-arm/attr-merge-13a.s: New test.
1009 * testsuite/ld-arm/attr-merge-13b.s: New test.
1010
1011 2019-04-13 Alan Modra <amodra@gmail.com>
1012
1013 * Makefile.am (GENSCRIPTS): Pass LIB_PATH as a parameter. Add
1014 DEPDIR parameter.
1015 (ELF_DEPS, ELF_GEN_DEPS, ELF_X86_DEPS): Delete.
1016 (ALL_EMULATION_SOURCES, ALL_64_EMULATION_SOURCES): Depend on
1017 $GEN_DEPENDS.
1018 (e*.c): Delete all dependencies, instead include dependencies
1019 from $DEPDIR/*.Pc.
1020 * Makefile.in: Regenerate.
1021 * configure.ac (source_sh): Define and use function.
1022 * configure: Regenerate.
1023 * emulparams/aarch64cloudabib.sh, * emulparams/aarch64elf32b.sh,
1024 * emulparams/aarch64elfb.sh, * emulparams/aarch64fbsdb.sh,
1025 * emulparams/aarch64linux32b.sh, * emulparams/aarch64linuxb.sh,
1026 * emulparams/arcelf.sh, * emulparams/arcelf_prof.sh,
1027 * emulparams/arclinux.sh, * emulparams/arclinux_nps.sh,
1028 * emulparams/arclinux_prof.sh, * emulparams/arcv2elf.sh,
1029 * emulparams/arcv2elfx.sh, * emulparams/armelf_fbsd.sh,
1030 * emulparams/armelf_linux_eabi.sh,
1031 * emulparams/armelf_linux_fdpiceabi.sh,
1032 * emulparams/armelf_nacl.sh, * emulparams/armelf_nbsd.sh,
1033 * emulparams/armelf_vxworks.sh, * emulparams/armelfb.sh,
1034 * emulparams/armelfb_fbsd.sh, * emulparams/armelfb_fuchsia.sh,
1035 * emulparams/armelfb_linux.sh, * emulparams/armelfb_linux_eabi.sh,
1036 * emulparams/armelfb_linux_fdpiceabi.sh,
1037 * emulparams/armelfb_nacl.sh, * emulparams/armelfb_nbsd.sh,
1038 * emulparams/armsymbian.sh, * emulparams/cskyelf_linux.sh,
1039 * emulparams/elf32_sparc_sol2.sh,
1040 * emulparams/elf32_sparc_vxworks.sh, * emulparams/elf32_tic6x_be.sh,
1041 * emulparams/elf32_tic6x_elf_be.sh,
1042 * emulparams/elf32_tic6x_elf_le.sh,
1043 * emulparams/elf32_tic6x_linux_be.sh,
1044 * emulparams/elf32_tic6x_linux_le.sh,
1045 * emulparams/elf32_x86_64.sh, * emulparams/elf32_x86_64_nacl.sh,
1046 * emulparams/elf32b4300.sh, * emulparams/elf32bfinfd.sh,
1047 * emulparams/elf32bmipn32.sh, * emulparams/elf32bsmip.sh,
1048 * emulparams/elf32btsmip.sh, * emulparams/elf32btsmip_fbsd.sh,
1049 * emulparams/elf32btsmipn32.sh, * emulparams/elf32btsmipn32_fbsd.sh,
1050 * emulparams/elf32ebmip.sh, * emulparams/elf32ebmipvxworks.sh,
1051 * emulparams/elf32elmip.sh, * emulparams/elf32elmipvxworks.sh,
1052 * emulparams/elf32frvfd.sh, * emulparams/elf32l4300.sh,
1053 * emulparams/elf32lm32fd.sh, * emulparams/elf32lmip.sh,
1054 * emulparams/elf32lppc.sh, * emulparams/elf32lppclinux.sh,
1055 * emulparams/elf32lppcnto.sh, * emulparams/elf32lppcsim.sh,
1056 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh,
1057 * emulparams/elf32lriscv.sh, * emulparams/elf32lriscv_ilp32.sh,
1058 * emulparams/elf32lriscv_ilp32f.sh, * emulparams/elf32lsmip.sh,
1059 * emulparams/elf32ltsmip.sh, * emulparams/elf32ltsmip_fbsd.sh,
1060 * emulparams/elf32ltsmipn32.sh, * emulparams/elf32ltsmipn32_fbsd.sh,
1061 * emulparams/elf32microblazeel.sh, * emulparams/elf32or1k_linux.sh,
1062 * emulparams/elf32ppc.sh, * emulparams/elf32ppc_fbsd.sh,
1063 * emulparams/elf32ppccommon.sh, * emulparams/elf32ppclinux.sh,
1064 * emulparams/elf32ppcnto.sh, * emulparams/elf32ppcsim.sh,
1065 * emulparams/elf32ppcvxworks.sh, * emulparams/elf32ppcwindiss.sh,
1066 * emulparams/elf32tilegx_be.sh, * emulparams/elf64_ia64_fbsd.sh,
1067 * emulparams/elf64_sparc_fbsd.sh, * emulparams/elf64_sparc_sol2.sh,
1068 * emulparams/elf64alpha_fbsd.sh, * emulparams/elf64alpha_nbsd.sh,
1069 * emulparams/elf64bmip-defs.sh, * emulparams/elf64bmip.sh,
1070 * emulparams/elf64btsmip.sh, * emulparams/elf64btsmip_fbsd.sh,
1071 * emulparams/elf64lppc.sh, * emulparams/elf64lriscv-defs.sh,
1072 * emulparams/elf64lriscv.sh, * emulparams/elf64lriscv_lp64.sh,
1073 * emulparams/elf64lriscv_lp64f.sh, * emulparams/elf64ltsmip.sh,
1074 * emulparams/elf64ltsmip_fbsd.sh, * emulparams/elf64ppc.sh,
1075 * emulparams/elf64ppc_fbsd.sh, * emulparams/elf64rdos.sh,
1076 * emulparams/elf64tilegx_be.sh, * emulparams/elf_i386.sh,
1077 * emulparams/elf_i386_be.sh, * emulparams/elf_i386_fbsd.sh,
1078 * emulparams/elf_i386_ldso.sh, * emulparams/elf_i386_nacl.sh,
1079 * emulparams/elf_i386_sol2.sh, * emulparams/elf_i386_vxworks.sh,
1080 * emulparams/elf_iamcu.sh, * emulparams/elf_k1om.sh,
1081 * emulparams/elf_k1om_fbsd.sh, * emulparams/elf_l1om.sh,
1082 * emulparams/elf_l1om_fbsd.sh, * emulparams/elf_x86_64.sh,
1083 * emulparams/elf_x86_64_cloudabi.sh,
1084 * emulparams/elf_x86_64_fbsd.sh, * emulparams/elf_x86_64_nacl.sh,
1085 * emulparams/elf_x86_64_sol2.sh, * emulparams/h8300helf.sh,
1086 * emulparams/h8300helf_linux.sh, * emulparams/h8300hnelf.sh,
1087 * emulparams/h8300self.sh, * emulparams/h8300self_linux.sh,
1088 * emulparams/h8300snelf.sh, * emulparams/h8300sxelf.sh,
1089 * emulparams/h8300sxelf_linux.sh, * emulparams/h8300sxnelf.sh,
1090 * emulparams/hppanbsd.sh, * emulparams/hppaobsd.sh,
1091 * emulparams/m32rlelf.sh, * emulparams/m32rlelf_linux.sh,
1092 * emulparams/m68kelfnbsd.sh, * emulparams/mn10300.sh,
1093 * emulparams/msp430X.sh, * emulparams/nds32belf.sh,
1094 * emulparams/nds32belf16m.sh, * emulparams/nds32belf_linux.sh,
1095 * emulparams/pjlelf.sh, * emulparams/ppclynx.sh,
1096 * emulparams/score7_elf.sh, * emulparams/shelf_fd.sh,
1097 * emulparams/shelf_linux.sh, * emulparams/shelf_nbsd.sh,
1098 * emulparams/shelf_uclinux.sh, * emulparams/shelf_vxworks.sh,
1099 * emulparams/shl.sh, * emulparams/shlelf.sh,
1100 * emulparams/shlelf_fd.sh, * emulparams/shlelf_nbsd.sh,
1101 * emulparams/shlelf_vxworks.sh: Use source_sh.
1102 * genscripts.sh: Adjust for changed parameters. Emit dependencies
1103 for e*.c to .deps/*.Pc.
1104 (source_sh): New function, use it throughout to source scripts.
1105 * genscrba.sh (source_em): Use source_sh.
1106
1107 2019-04-13 Alan Modra <amodra@gmail.com>
1108
1109 * configure.ac (TDIRS): Build up tdirs in this variable and
1110 AC_SUBST, also using AM_SUBST_NOTMAKE.
1111 * configure: Regenerate.
1112 * Makefile.am (DISTCLEANFILES): Remove tdirs.
1113 * Makefile.in: Regenerate.
1114
1115 2019-04-12 Nick Clifton <nickc@redhat.com>
1116
1117 PR 24450
1118 * ld.texi (Output Section Attributes): Add ALIGN_WITH_INPUT to
1119 example of section attributes.
1120
1121 2019-04-11 Faraz Shahbazker <fshahbazker@wavecomp.com>
1122
1123 * NEWS: Mention new option --no-print-map-discarded.
1124 * ld.h (ld_config_type) <print_map_discarded>: New field.
1125 * ldlang.c (lang_map): Conditionally output discarded sections
1126 in map files based on configuration option.
1127 * ldlex.h (option_values) <OPTION_PRINT_MAP_DISCARDED,
1128 OPTION_NO_PRINT_MAP_DISCARDED>: New.
1129 * ldmain.c (main): Enabled print_map_discarded by default.
1130 * lexsup.c (ld_options): Add new command-line options.
1131 (parse_args) <OPTION_NO_PRINT_MAP_DISCARDED,
1132 OPTION_PRINT_MAP_DISCARDED>: New cases.
1133 * ld.texi: Document new options.
1134 * testsuite/ld-gc/gc.exp: Add new test.
1135 * testsuite/ld-gc/skip-map-discarded.s: New file.
1136 * testsuite/ld-gc/skip-map-discarded.d: New file.
1137 * testsuite/ld-gc/skip-map-discarded.map: New file.
1138
1139 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * ld.texi: Document -z cet-report=[none|warning|error].
1142 * emulparams/cet.sh: Add -z cet-report=[none|warning|error].
1143 * testsuite/ld-i386/i386.exp: Run -z cet-report=[warning|error]
1144 tests.
1145 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1146 * testsuite/ld-i386/property-x86-cet1.d: New file.
1147 * testsuite/ld-i386/property-x86-cet2a.d: Likewise.
1148 * testsuite/ld-i386/property-x86-cet2b.d: Likewise.
1149 * testsuite/ld-i386/property-x86-cet3a.d: Likewise.
1150 * testsuite/ld-i386/property-x86-cet3b.d: Likewise.
1151 * testsuite/ld-i386/property-x86-cet4a.d: Likewise.
1152 * testsuite/ld-i386/property-x86-cet4b.d: Likewise.
1153 * testsuite/ld-i386/property-x86-cet5a.d: Likewise.
1154 * testsuite/ld-i386/property-x86-cet5b.d: Likewise.
1155 * testsuite/ld-i386/property-x86-cet6.d: Likewise.
1156 * testsuite/ld-x86-64/property-x86-cet.s: Likewise.
1157 * testsuite/ld-x86-64/property-x86-cet1-x32.d: Likewise.
1158 * testsuite/ld-x86-64/property-x86-cet1.d: Likewise.
1159 * testsuite/ld-x86-64/property-x86-cet2a-x32.d: Likewise.
1160 * testsuite/ld-x86-64/property-x86-cet2a.d: Likewise.
1161 * testsuite/ld-x86-64/property-x86-cet2b-x32.d: Likewise.
1162 * testsuite/ld-x86-64/property-x86-cet2b.d: Likewise.
1163 * testsuite/ld-x86-64/property-x86-cet3a-x32.d: Likewise.
1164 * testsuite/ld-x86-64/property-x86-cet3a.d: Likewise.
1165 * testsuite/ld-x86-64/property-x86-cet3b-x32.d: Likewise.
1166 * testsuite/ld-x86-64/property-x86-cet3b.d: Likewise.
1167 * testsuite/ld-x86-64/property-x86-cet4a-x32.d: Likewise.
1168 * testsuite/ld-x86-64/property-x86-cet4a.d: Likewise.
1169 * testsuite/ld-x86-64/property-x86-cet4b-x32.d: Likewise.
1170 * testsuite/ld-x86-64/property-x86-cet4b.d: Likewise.
1171 * testsuite/ld-x86-64/property-x86-cet5a-x32.d: Likewise.
1172 * testsuite/ld-x86-64/property-x86-cet5a.d: Likewise.
1173 * testsuite/ld-x86-64/property-x86-cet5b-x32.d: Likewise.
1174 * testsuite/ld-x86-64/property-x86-cet5b.d: Likewise.
1175 * testsuite/ld-x86-64/property-x86-cet6-x32.d: Likewise.
1176 * testsuite/ld-x86-64/property-x86-cet6.d: Likewise.
1177
1178 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
1179
1180 * testsuite/config/default.exp (STATIC_PIE_LDFLAGS): New. Set
1181 to "-static-pie" if target compiler supports it.
1182 * testsuite/ld-elf/elf.exp: Run -static-pie tests if
1183 $STATIC_PIE_LDFLAGS isn't empty.
1184 * testsuite/ld-ifunc/ifunc.exp: Likewise.
1185
1186 2019-04-11 Tamar Christina <tamar.christina@arm.com>
1187
1188 PR ld/24302
1189 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1190 * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: New test.
1191
1192 2019-04-10 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * scripttempl/elf.sc (CREATE_PIC): New. Set for CREATE_SHLIB or
1195 CREATE_PIE.
1196 (__rel_iplt_start): Don't define for CREATE_PIC.
1197 (__rel_iplt_end): Likewise.
1198 (__rela_iplt_start): Likewise.
1199 (__rela_iplt_end): Likewise.
1200
1201 2019-04-10 Alan Modra <amodra@gmail.com>
1202
1203 * testsuite/ld-elf/shared.exp: Don't xfail PR ld/20995 for
1204 powerpc-nto.
1205
1206 2019-04-10 Alan Modra <amodra@gmail.com>
1207
1208 * emultempl/cskyelf.em (csk_elf_before_parse): New function,
1209 setting use_branch_stub false for linux.
1210 (csky_elf_create_output_section_statements): Do emit this
1211 function and all others in the file for linux, plus the branch
1212 option control. Disable branch stubs when non-ELF.
1213
1214 2019-04-10 Alan Modra <amodra@gmail.com>
1215
1216 * Makefile.am (eskyelf.c, eskyelf_linux.c): Depend on cskyelf.em.
1217 (ecskyelf_linux.c): Depend on cskyelf.sh.
1218 (eelf32microblazeel.c): Depend on elf32microblaze.sh.
1219 * Makefile.in: Regenerate.
1220 * emulparams/cskyelf.sh: Comment regarding cskelf_linux.sh.
1221 (PAGE_SIZE): Don't define.
1222 * emulparams/cskyelf_linux.sh: Source sckyelf.sh, leaving just
1223 the differing variable defs/undefs.
1224 * emulparams/elf32mcore.sh (PAGE_SIZE): Don't define.
1225 * emulparams/elf32microblaze.sh: Comment re. elf32microblazeel.sh.
1226 (OUTPUT_FORMAT): Use BIG_OUTPUT_FORMAT.
1227 (PAGE_SIZE): Don't define.
1228 * emulparams/elf32microblazeel.sh: Source elf32microblaze.sh,
1229 leaving just the differing OUTPUT_FORMAT.
1230
1231 2019-04-10 Alan Modra <amodra@gmail.com>
1232
1233 * po/BLD-POTFILES.in: Regenerate.
1234
1235 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1236
1237 * testsuite/ld-elf/shared.exp: XFAIL PR ld/20995 tests for
1238 lynxos and nto targets.
1239
1240 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1241
1242 * Makefile.am (ALL_EMULATION_SOURCES): Remove eelf_i386_chaos.c.
1243 (eelf_i386_chaos.c): Removed.
1244 * Makefile.in: Regenerated.
1245 * configure.tgt: Remove i[3-7]86-*-kaos*.
1246 * emulparams/elf_i386_chaos.sh: Removed.
1247
1248 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1249
1250 * emulparams/elf_i386_be.sh (EXTRA_EM_FILE): New.
1251 * emulparams/i386moss.sh (EXTRA_EM_FILE): Likewise.
1252
1253 2019-04-08 Alan Modra <amodra@gmail.com>
1254
1255 * emulparams/elf64rdos.sh (EXTRA_EM_FILE): Define.
1256 * emulparams/i386lynx.sh (EXTRA_EM_FILE): Define.
1257 * emulparams/i386nto.sh (EXTRA_EM_FILE): Define.
1258
1259 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
1260
1261 * Makefile.am (ELF_X86_DEPS): Add $(srcdir)/emultempl/elf-x86.em.
1262 (eelf_i386_sol2.c): Also depend on
1263 $(srcdir)/emultempl/solaris2-x86.em.
1264 (eelf_x86_64_sol2.c): Likewise.
1265 * Makefile.in: Regenerated.
1266 * emulparams/call_nop.sh: Set x86-specific linker options via
1267 params.
1268 * emulparams/cet.sh: Likewise.
1269 * emulparams/reloc_overflow.sh: Likewise.
1270 * emulparams/elf32_x86_64.sh (EXTRA_EM_FILE): New. Set to
1271 "elf-x86".
1272 * emulparams/elf_i386.sh: Likewise.
1273 * emulparams/elf_i386_be.sh: Likewise.
1274 * emulparams/elf_i386_chaos.sh: Likewise.
1275 * emulparams/elf_i386_ldso.sh: Likewise.
1276 * emulparams/elf_i386_vxworks.sh: Likewise.
1277 * emulparams/elf_iamcu.sh: Likewise.
1278 * emulparams/elf_k1om.sh: Likewise.
1279 * emulparams/elf_l1om.sh: Likewise.
1280 * emulparams/elf_x86_64.sh: Likewise.
1281 * emulparams/elf_i386_sol2.sh (EXTRA_EM_FILE): Changed to
1282 "solaris2-x86".
1283 * emulparams/elf_x86_64_sol2.sh: Likewise.
1284 * emultempl/elf-x86.em: New file.
1285 * emultempl/solaris2-x86.em: Likewise.
1286 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't
1287 set link_info.call_nop_byte.
1288
1289 2019-04-05 Alan Modra <amodra@gmail.com>
1290
1291 * testsuite/ld-powerpc/tlsexe32.d: Remove trailing spaces.
1292 * testsuite/ld-powerpc/tlsopt5.d: Likewise.
1293 * testsuite/ld-powerpc/tlsopt5_32.d: Likewise.
1294
1295 2019-04-03 Alan Modra <amodra@gmail.com>
1296
1297 PR 24411
1298 ldlex.l (SYMBOLNAMECHAR1): Don't match '/'.
1299 (<EXPRESSION>"/DISCARD/"): New.
1300
1301 2019-04-03 Alan Modra <amodra@gmail.com>
1302
1303 * ldlex.l: Formatting.
1304 (CMDFILENAMECHAR, CMDFILENAMECHAR1): Delete.
1305 (FILENAMECHAR1, SYMBOLNAMECHAR1, FILENAMECHAR, WILDCHAR),
1306 (NOCFILENAMECHAR): Remove duplicate chars. Reorder.
1307 (SYMBOLCHARN): Likewise. Rename to SYMBOLNAMECHAR.
1308 (<INPUTLIST>"$SYSROOT"..): Delete rule.
1309
1310 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
1311
1312 * testsuite/ld-xtensa/relax-undef-weak-pie-export-dynamic.d: New
1313 test definition.
1314 * testsuite/ld-xtensa/xtensa.exp
1315 (relax-undef-weak-pie-export-dynamic): Add new test.
1316
1317 2019-03-26 Martin Liska <mliska@suse.cz>
1318
1319 * plugin.c (get_symbols): Add lto_kind_str, lto_resolution_str,
1320 lto_visibility_str and use then to inform about plugin-symbols.
1321 * testsuite/ld-plugin/plugin-12.d: Adjust expected pattern.
1322
1323 2019-03-25 Tamar Christina <tamar.christina@arm.com>
1324
1325 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Update disassembly.
1326 * testsuite/ld-arm/jump-reloc-veneers-long.d: Update disassembly.
1327
1328 2019-03-21 Sudakshina Das <sudi.das@arm.com>
1329
1330 * testsuite/ld-aarch64/aarch64-elf.exp: Add new test.
1331 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifdef for PAC note section.
1332 * testsuite/ld-aarch64/bti-plt-6.d: Update warning.
1333 * testsuite/ld-aarch64/bti-plt-7.d: Likewise.
1334 * testsuite/ld-aarch64/bti-warn.d: New test.
1335
1336 2019-03-21 Alan Modra <amodra@gmail.com>
1337
1338 * testsuite/ld-elf/fini2.s: Reduce alignment.
1339 * testsuite/ld-elf/fini3.s: Likewise.
1340 * testsuite/ld-elf/finin.s: Likewise.
1341 * testsuite/ld-elf/init2.s: Likewise.
1342 * testsuite/ld-elf/init3.s: Likewise.
1343 * testsuite/ld-elf/initn.s: Likewise.
1344 * testsuite/ld-elf/pr14156a.d: Don't xfail m68hc1*-* or xgate-*.
1345 * testsuite/ld-elf/pr14156b.d: Don't xfail xgate-*.
1346
1347 2019-03-21 Alan Modra <amodra@gmail.com>
1348
1349 * scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
1350 * scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
1351 * scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
1352 * scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
1353 * scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
1354 * scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
1355 * scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
1356 * scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
1357 * scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
1358 * scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
1359 * scripttempl/ft32.sc, * scripttempl/i386beos.sc,
1360 * scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
1361 * scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
1362 * scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
1363 * scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
1364 * scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
1365 * scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
1366 SORT_NONE to .init and .fini wildcards.
1367 * scripttempl/elf32xc16x.sc,
1368 * scripttempl/elf32xc16xl.sc,
1369 * scripttempl/elf32xc16xs.sc: Add .fini wildcard.
1370 * scripttempl/elf_chaos.sc: Add .init output section.
1371 * scripttempl/elfd30v.sc: Remove duplicate .init.
1372 * scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
1373 * scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
1374 duplicate .init, and add .fini wildcard.
1375 * scripttempl/ppcpe.sc (INIT, FINI): Delete.
1376 * ldlang.c (update_wild_statements): Special case .init and
1377 .fini in the wildcard, not the output section.
1378
1379 2019-03-21 Alan Modra <amodra@gmail.com>
1380
1381 * emulparams/elf32lm32fd.sh (DYNAMIC_LINK): Undef.
1382
1383 2019-03-21 Alan Modra <amodra@gmail.com>
1384
1385 * ldlang.c (lang_size_sections_1): Set SEC_KEEP on
1386 create_object_symbols_section.
1387 * testsuite/ld-elf/pr22319.d: Don't xfail dlx.
1388
1389 2019-03-18 Alan Modra <amodra@gmail.com>
1390
1391 * testsuite/ld-elf/merge.d: Remove csky from xfails, add moxie.
1392 * testsuite/ld-elf/pr21884.d: Remove csky from xfails.
1393 * testsuite/ld-elf/shared.exp: Add csky to list not xfailing pr22374.
1394 * testsuite/ld-unique/pr21529.d: Remove csky from xfails
1395
1396 2019-03-15 Nick Clifton <nickc@redhat.com>
1397
1398 PR 24262
1399 * ld.texi (-plugin): Correct the path used to locate linker
1400 plugins.
1401
1402 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1403
1404 * NEWS: Document --pac-plt.
1405 * emultempl/aarch64elf.em (OPTION_PAC_PLT): New.
1406 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add pac-plt.
1407 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_PAC_PLT.
1408 * testsuite/ld-aarch64/aarch64-elf.exp: Add the following tests.
1409 * testsuite/ld-aarch64/bti-pac-plt-1.d: New test.
1410 * testsuite/ld-aarch64/bti-pac-plt-2.d: New test.
1411 * testsuite/ld-aarch64/pac-plt-1.d: New test.
1412 * testsuite/ld-aarch64/pac-plt-2.d: New test.
1413 * testsuite/ld-aarch64/bti-plt-1.s: Add .ifndef directive.
1414
1415 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1416 Szabolcs Nagy <szabolcs.nagy@arm.com>
1417
1418 * NEWS: Document --force-bti.
1419 * emultempl/aarch64elf.em (plt_type, bti_type, OPTION_FORCE_BTI): New.
1420 (PARSE_AND_LIST_SHORTOPTS, PARSE_AND_LIST_OPTIONS): Add force-bti.
1421 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_FORCE_BTI.
1422 * testsuite/ld-aarch64/aarch64-elf.exp: Add all the tests below.
1423 * testsuite/ld-aarch64/bti-plt-1.d: New test.
1424 * testsuite/ld-aarch64/bti-plt-1.s: New test.
1425 * testsuite/ld-aarch64/bti-plt-2.d: New test.
1426 * testsuite/ld-aarch64/bti-plt-3.d: New test.
1427 * testsuite/ld-aarch64/bti-plt-4.d: New test.
1428 * testsuite/ld-aarch64/bti-plt-5.d: New test.
1429 * testsuite/ld-aarch64/bti-plt-6.d: New test.
1430 * testsuite/ld-aarch64/bti-plt-7.d: New test.
1431 * testsuite/ld-aarch64/bti-plt-so.s: New test.
1432 * testsuite/ld-aarch64/bti-plt.ld: New test.
1433
1434 2019-03-13 Sudakshina Das <sudi.das@arm.com>
1435
1436 * NEWS: Document GNU_PROPERTY_AARCH64_FEATURE_1_BTI and
1437 GNU_PROPERTY_AARCH64_FEATURE_1_PAC.
1438 * testsuite/ld-aarch64/aarch64-elf.exp: Add run commands for new tests.
1439 * testsuite/ld-aarch64/property-bti-pac1.d: New test.
1440 * testsuite/ld-aarch64/property-bti-pac1.s: New test.
1441 * testsuite/ld-aarch64/property-bti-pac2.d: New test.
1442 * testsuite/ld-aarch64/property-bti-pac2.s: New test.
1443 * testsuite/ld-aarch64/property-bti-pac3.d: New test.
1444
1445 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
1446
1447 PR ld/24322
1448 * testsuite/ld-i386/i386.exp: Run PR ld/24322 tests.
1449 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1450 * testsuite/ld-i386/pr24322a.d: New file.
1451 * testsuite/ld-i386/pr24322b.d: Likewise.
1452 * testsuite/ld-x86-64/pr24322a-x32.d: Likewise.
1453 * testsuite/ld-x86-64/pr24322a.d: Likewise.
1454 * testsuite/ld-x86-64/pr24322b-x32.d: Likewise.
1455 * testsuite/ld-x86-64/pr24322b.d: Likewise.
1456 * testsuite/ld-x86-64/pr24322a.s: Likewise.
1457 * testsuite/ld-x86-64/pr24322b.s: Likewise.
1458 * testsuite/ld-x86-64/pr24322c.s: Likewise.
1459
1460 2019-03-06 Nick Bowler <nbowler@draconx.ca>
1461
1462 PR 24289
1463 * ldexp.c (fold_name): Allow lookups of the LENGTH and ORIGIN
1464 attributes during the first phase.
1465
1466 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
1467
1468 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
1469 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1470
1471 PR 20113
1472 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1473 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1474 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1475 * testsuite/ld-s390/tlsbin.dd: Likewise.
1476 * testsuite/ld-s390/tlsbin.rd: Likewise.
1477 * testsuite/ld-s390/tlsbin.sd: Likewise.
1478 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1479 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1480 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1481 * testsuite/ld-s390/tlspic.dd: Likewise.
1482 * testsuite/ld-s390/tlspic.rd: Likewise.
1483 * testsuite/ld-s390/tlspic.sd: Likewise.
1484 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1485 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1486 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1487 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1488
1489 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 PR ld/24276
1492 * testsuite/ld-i386/i386.exp: Run PR ld/24276 test.
1493 * testsuite/ld-x86-64/x86-64.exp: Likewise.
1494 * testsuite/ld-i386/pr24276.dso: New file.
1495 * testsuite/ld-i386/pr24276.warn: Likewise.
1496 * testsuite/ld-x86-64/pr24276.dso: Likewise.
1497 * testsuite/ld-x86-64/pr24276.warn: Likewise.
1498
1499 2019-02-20 Eric Tsai <erictsai@cadence.com>
1500
1501 * testsuite/ld-xtensa/call_overflow.d: New test definition.
1502 * testsuite/ld-xtensa/call_overflow1.s: New test source.
1503 * testsuite/ld-xtensa/call_overflow2.s: New test source.
1504 * testsuite/ld-xtensa/call_overflow3.s: New test source.
1505 * testsuite/ld-xtensa/xtensa.exp: Add call_overflow test.
1506
1507 2019-02-14 Thomas Schwinge <thomas@codesourcery.com>
1508
1509 * testsuite/ld-elf/elf.exp: Remove Hurd XFAILs.
1510
1511 2019-02-12 Nick Clifton <nickc@redhat.com>
1512
1513 * po/fr.po: Updated French translation.
1514
1515 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
1516
1517 * emultempl/arclinux.em: Delete special INIT/FINI handling.
1518
1519 2019-02-07 Nick Clifton <nickc@redhat.com>
1520
1521 PR 24175
1522 * ld.texi (Options): Add missing word to the description of the
1523 --start-group option.
1524
1525 2019-02-06 Alan Modra <amodra@gmail.com>
1526
1527 PR ld/24008
1528 * testsuite/ld-scripts/pr24008.d: Pass with extra target
1529 defined symbols.
1530
1531 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
1532
1533 PR ld/24151
1534 * testsuite/ld-x86-64/pr24151a-x32.d: New file.
1535 * testsuite/ld-x86-64/pr24151a.d: Likewise.
1536 * testsuite/ld-x86-64/pr24151a.s: Likewise.
1537 * testsuite/ld-x86-64/x86-64.exp: Run pr24151a and pr24151a-x32.
1538
1539 2019-01-31 Alan Modra <amodra@gmail.com>
1540
1541 * NEWS: Mention -t change.
1542 * ld.texi (--trace/-t): Expand documentation a little.
1543
1544 2019-01-29 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 PR ld/24008
1547 * testsuite/ld-scripts/defined.exp: Run pr24008.
1548 * testsuite/ld-scripts/pr24008.d: New file.
1549 * testsuite/ld-scripts/pr24008.map: Likewise.
1550 * testsuite/ld-scripts/pr24008.s: Likewise.
1551 * testsuite/ld-scripts/pr24008.t: Likewise.
1552
1553 2019-01-29 Eric Botcazou <ebotcazou@adacore.com>
1554
1555 * testsuite/ld-ifunc/ifunc.exp: Skip pr23169 on SPARC.
1556
1557 2019-01-28 Alan Modra <amodra@gmail.com>
1558
1559 PR 24008
1560 * ldexp.h (lang_phase_type): Add lang_fixed_phase_enum.
1561 * ldexp.c (fold_name): Move expld.assign_name check later to
1562 avoid an extra lookup.
1563 (exp_fold_tree_1): When lang_fixed_phase_enum, don't change symbol
1564 values, and don't clear expld.assign_name.
1565 * ldlang.c (lang_map): Set expld.phase to lang_fixed_phase_enum.
1566 (print_assignment): Resolve entire assignment expression.
1567 Don't access symbol u.def unless symbol is defined.
1568
1569 2019-01-25 Nick Clifton <nickc@redhat.com>
1570
1571 * po/bg.po: Updated Bulgarian translation.
1572
1573 2019-01-23 Sebastian Huber <sebastian.huber@embedded-brains.de>
1574
1575 * ld.texi (--wrap): Add warning that LTO may make this feature
1576 ineffective.
1577
1578 2019-01-21 Nick Clifton <nickc@redhat.com>
1579
1580 * po/uk.po: Updated Ukranian translation.
1581 * po/pr_BR.po: Updated Brazilian Portuguese translation.
1582
1583 2019-01-21 Nick Clifton <nickc@redhat.com>
1584
1585 PR 24108
1586 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Update
1587 expected error message.
1588
1589 2019-01-19 Nick Clifton <nickc@redhat.com>
1590
1591 * configure: Regenerate.
1592 * po/ld.pot: Regenerate.
1593
1594 2018-06-24 Nick Clifton <nickc@redhat.com>
1595
1596 2.32 branch created.
1597
1598 2019-01-16 Kito Cheng <kito@andestech.com>
1599
1600 * testsuite/ld-elf/orphan-region.d: XFAIL for RISC-V, because add new
1601 section.
1602 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Add new tests.
1603 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: New test.
1604 * testsuite/ld-riscv-elf/attr-merge-arch-01a.s: Likewise.
1605 * testsuite/ld-riscv-elf/attr-merge-arch-01b.s: Likewise.
1606 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise.
1607 * testsuite/ld-riscv-elf/attr-merge-arch-02a.s: Likewise.
1608 * testsuite/ld-riscv-elf/attr-merge-arch-02b.s: Likewise.
1609 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise.
1610 * testsuite/ld-riscv-elf/attr-merge-arch-03a.s: Likewise.
1611 * testsuite/ld-riscv-elf/attr-merge-arch-03b.s: Likewise.
1612 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise.
1613 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01a.s: Likewise.
1614 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01b.s: Likewise.
1615 * testsuite/ld-riscv-elf/attr-merge-priv-spec-a.s: Likewise.
1616 * testsuite/ld-riscv-elf/attr-merge-priv-spec-b.s: Likewise.
1617 * testsuite/ld-riscv-elf/attr-merge-priv-spec.d: Likewise.
1618 * testsuite/ld-riscv-elf/attr-merge-stack-align-a.s: Likewise.
1619 * testsuite/ld-riscv-elf/attr-merge-stack-align-b.s: Likewise.
1620 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-a.s: Likewise.
1621 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed-b.s: Likewise.
1622 * testsuite/ld-riscv-elf/attr-merge-stack-align-failed.d: Likewise.
1623 * testsuite/ld-riscv-elf/attr-merge-stack-align.d: Likewise.
1624 * testsuite/ld-riscv-elf/attr-merge-strict-align-01.d: Likewise.
1625 * testsuite/ld-riscv-elf/attr-merge-strict-align-01a.s: Likewise.
1626 * testsuite/ld-riscv-elf/attr-merge-strict-align-01b.s: Likewise.
1627 * testsuite/ld-riscv-elf/attr-merge-strict-align-02.d: Likewise.
1628 * testsuite/ld-riscv-elf/attr-merge-strict-align-02a.s: Likewise.
1629 * testsuite/ld-riscv-elf/attr-merge-strict-align-02b.s: Likewise.
1630 * testsuite/ld-riscv-elf/attr-merge-strict-align-03.d: Likewise.
1631 * testsuite/ld-riscv-elf/attr-merge-strict-align-03a.s: Likewise.
1632 * testsuite/ld-riscv-elf/attr-merge-strict-align-03b.s: Likewise.
1633 * testsuite/ld-riscv-elf/attr-merge-strict-align-04.d: Likewise.
1634 * testsuite/ld-riscv-elf/attr-merge-strict-align-04a.s: Likewise.
1635 * testsuite/ld-riscv-elf/attr-merge-strict-align-04b.s: Likewise.
1636 * testsuite/ld-riscv-elf/attr-merge-strict-align-05.d: Likewise.
1637 * testsuite/ld-riscv-elf/attr-merge-strict-align-05a.s: Likewise.
1638 * testsuite/ld-riscv-elf/attr-merge-strict-align-05b.s: Likewise.
1639
1640 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
1641
1642 PR 20113
1643 * emulparams/elf64_s390.sh (SEPARATE_GOTPLT): Define.
1644 * emulparams/elf_s390.sh (SEPARATE_GOTPLT): Define.
1645 * testsuite/ld-s390/gotreloc_31-1.dd: Update expected output.
1646 * testsuite/ld-s390/tlsbin.dd: Likewise.
1647 * testsuite/ld-s390/tlsbin.rd: Likewise.
1648 * testsuite/ld-s390/tlsbin.sd: Likewise.
1649 * testsuite/ld-s390/tlsbin_64.dd: Likewise.
1650 * testsuite/ld-s390/tlsbin_64.rd: Likewise.
1651 * testsuite/ld-s390/tlsbin_64.sd: Likewise.
1652 * testsuite/ld-s390/tlspic.dd: Likewise.
1653 * testsuite/ld-s390/tlspic.rd: Likewise.
1654 * testsuite/ld-s390/tlspic.sd: Likewise.
1655 * testsuite/ld-s390/tlspic_64.dd: Likewise.
1656 * testsuite/ld-s390/tlspic_64.rd: Likewise.
1657 * testsuite/ld-s390/tlspic_64.sd: Likewise.
1658 * testsuite/ld-s390/s390.exp: Skip s390 tests for tpf targets.
1659
1660 2019-01-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
1661
1662 * ld.texi (--wrap): Add example to emphasise that only undefined
1663 references are replaced by the linker.
1664
1665 2019-01-09 Nick Clifton <nickc@redhat.com>
1666
1667 * po/es.po: Updated Spanish translation.
1668
1669 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
1670
1671 * configure: Regenerate.
1672
1673 2019-01-08 Alan Modra <amodra@gmail.com>
1674
1675 * testsuite/ld-elf/sec64k.exp: Use . rather than $objdir in
1676 generated source file names.
1677 * testsuite/ld-m68k/m68k-got.exp: Likewise.
1678
1679 2019-01-01 Alan Modra <amodra@gmail.com>
1680
1681 Update year range in copyright notice of all files.
1682
1683 For older changes see ChangeLog-2018
1684 \f
1685 Copyright (C) 2019 Free Software Foundation, Inc.
1686
1687 Copying and distribution of this file, with or without modification,
1688 are permitted in any medium without royalty provided the copyright
1689 notice and this notice are preserved.
1690
1691 Local Variables:
1692 mode: change-log
1693 left-margin: 8
1694 fill-column: 74
1695 version-control: never
1696 End: