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