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