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