]>
Commit | Line | Data |
---|---|---|
87485f53 NC |
1 | 2023-07-03 Nick Clifton <nickc@redhat.com> |
2 | ||
3 | * configure: Regenerate. | |
4 | ||
d501d384 NC |
5 | 2023-07-03 Nick Clifton <nickc@redhat.com> |
6 | ||
7 | 2.41 Branch Point. | |
8 | ||
b25c1a15 NC |
9 | 2023-06-28 Nikita Popov <npopov@redhat.com> |
10 | Nick Clifton <nickc@redhat.com> | |
11 | ||
12 | PR 30568 | |
13 | * ldfile.c (ldfile_try_open_bfd): Do not track lto generated | |
14 | temporary files. | |
15 | ||
0ab70050 NC |
16 | 2023-06-21 Nick Clifton <nickc@redhat.com> |
17 | ||
18 | PR 29072 | |
19 | * testsuite/ld-elf/elf.exp (target_defaults_to_execstack): Always | |
20 | return false for linkers configured with the --enable-default-execstack=no | |
21 | option. | |
22 | ||
fb221fba NC |
23 | 2023-06-14 Nick Clifton <nickc@redhat.com> |
24 | ||
25 | PR 30374 | |
26 | * ldfile.c (struct input_remap): New structure. | |
27 | (ldfile_add_remap): New function. | |
28 | (ldfile_remap_input_free): New function. | |
29 | (ldfile_add_remap_file): New function. | |
30 | (ldfile_possibly_remap_input): New function. | |
31 | (ldfile_print_input_remaps): New function. | |
32 | * ldfile.h: Add prototypes for new functions. | |
33 | * ldlang.c (new_afile): Call ldfile_possibly_remap_input. | |
34 | (lang_finish): Call ldfile_remap_input_free. | |
35 | (lang_map): Call ldfile_print_input_remaps. | |
36 | * ldlex.h (OPTION_REMAP_INPUTS, OPTION_REMAP_INPUTS_FILE): Define. | |
37 | * lexsup.c (ld_options): Add --remap-inputs-file and --remap-inputs. | |
38 | (parse_args): Handle new options. | |
39 | * NEWS: Mention the new feature. | |
40 | * ld.texi: Document the new options. | |
41 | * testsuite/ld-misc/input-remap.exp: New test driver. | |
42 | * testsuite/ld-misc/remaps.r: New file: Expected linker output. | |
43 | * testsuite/ld-misc/remaps.txt: New file. Input remaps file. | |
44 | ||
064ad3ea NC |
45 | 2023-06-07 Nick Clifton <nickc@redhat.com> |
46 | ||
47 | PR 30499 | |
48 | * testsuite/ld-elfcomm/elfcomm.exp: Update regexps to match new | |
49 | output from the linker. | |
50 | ||
80d4e113 LB |
51 | 2023-05-17 Luca Bacci <luca.bacci@outlook.com> |
52 | ||
53 | PR 30421 | |
54 | * emultempl/pe.em (set_decoration): New function. | |
55 | (pe_fixup_stdcalls): Call the new function. | |
56 | * emultempl/pep.em (set_decoration): New function. | |
57 | (pep_fixup_stdcalls): Call the new function. | |
58 | * pe-dll.c (make_one): Check for decoated symbols. | |
59 | ||
d1792f72 NC |
60 | 2023-05-16 Nick Clifton <nickc@redhat.com> |
61 | ||
62 | PR 30359 | |
63 | * ld.texi (WIN32): Document how to create a resource only DLL. | |
64 | ||
0a7dda4f NC |
65 | 2023-05-16 Nick Clifton <nickc@redhat.com> |
66 | ||
67 | * ld.texi (-Ur): Clarify the actions of this option. | |
68 | ||
496917ce NC |
69 | 2023-05-10 Nick Clifton <nickc@redhat.com> |
70 | ||
71 | PR 16566 | |
72 | * ldlang.c (ld_is_local_symbol): New function. | |
73 | (print_input_section): Add code to display local symbols in the | |
74 | section. | |
75 | * ldlex.h (enum option_values): Add OPTION_PRINT_MAP_LOCALS and | |
76 | OPTION_PRINT_MAP_LOCALS. | |
77 | * lexsup.c (ld_options[]): Add entries for --print-map-locals | |
78 | and --no-print-map-locals. | |
79 | * NEWS: Mention the new feature. | |
80 | * ld.h (struct ld_config_type): Add print_map_locals field. | |
81 | * ld.texi: Document the new command line option. | |
82 | * testsuite/ld-scripts/sizeof.s: Add a local symbol. | |
83 | * testsuite/ld-scripts/map-locals.d: New test control file. | |
84 | * testsuite/ld-scripts/map-address.exp: Run the new test. | |
85 | ||
35394145 NC |
86 | 2023-05-04 Nick Clifton <nickc@redhat.com> |
87 | ||
88 | PR 30300 | |
89 | * emultempl/pep.em (set_entry_point): Add an undefined reference | |
90 | to the entry point if it has been constructed heuristically. | |
91 | * emultempl/pe.em (set_entry_point): Likewise. | |
92 | ||
35130e73 DD |
93 | 2023-05-04 Dimitar Dimitrov <dimitar@dinux.eu> |
94 | ||
95 | * scripttempl/pru.sc (OUTPUT_SECTION_ALIGN): New helper variable | |
96 | to place at end of DMEM output sections. | |
97 | (.data): Use the helper variable. | |
98 | (.eh_frame): New output section. | |
99 | (.gnu_extab): Ditto. | |
100 | (.gcc_except_table): Ditto. | |
101 | (.resource_table): Use the helper variable. | |
102 | ||
c386bf4d NC |
103 | 2023-04-27 Nick Clifton <nickc@redhat.com> |
104 | ||
105 | * ldmisc.c (vfinfo): Add support for %x and %lx. | |
106 | ||
a02676b7 | 107 | 2023-04-18 mengqinggang <mengqinggang@loongson.cn> |
108 | ||
109 | * testsuite/ld-loongarch-elf/macro_op.d: Regenerated. | |
110 | ||
b29f2fda NC |
111 | 2023-04-17 Nick Clifton <nickc@redhat.com> |
112 | ||
113 | PR 30354 | |
114 | * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to | |
115 | handle the .gnu.sgstubs section. | |
116 | ||
546c7898 CZ |
117 | 2023-04-13 Claudiu Zissulescu <claziss@synopsys.com> |
118 | ||
119 | * testsuite/ld-arc/arc.exp: Update execution predicate. | |
120 | * testsuite/ld-arc/nps-1a.d: Add linker script option. | |
121 | * testsuite/ld-arc/nps-1b.d: Likewise. | |
122 | * testsuite/ld-arc/relax-local-pic.d: Update matching patterns. | |
123 | ||
93cda40b NC |
124 | 2023-04-12 Nick Clifton <nickc@redhat.com> |
125 | ||
126 | * ld.texi (--enable-non-contiguous-regions): Fix typos in script | |
127 | example. | |
128 | ||
2d5783fa NC |
129 | 2023-03-15 Nick Clifton <nickc@redhat.com> |
130 | ||
131 | PR 30187 | |
132 | * NEWS: Mention the new feature. | |
133 | * ld.texi: Document the new feature. | |
134 | * ldgram.y: Handle LINKER_VERSION token. | |
135 | * ldlang.c (lang_add_version): New function. | |
136 | (enable_linker_version): New global variable. | |
137 | * ldlang.h (land_add_version): Prototype. | |
138 | (enable_linker_version): Export. | |
139 | * ldlex.h (OPTION_ENABLE_LINKER_VERSION): Define. | |
140 | (OPTION_DISABLE_LINKER_VERSION): Define. | |
141 | * ldlex.l (LINKER_VERSION): Add token. | |
142 | * lexsup.c (ld_options): Add --enable-linker-version and | |
143 | --disable-linker-version. | |
144 | (parse_args): Handle the new options. | |
145 | * scripttempl/arclinux.sc: Remove stabs and comment sections and | |
146 | replace with inclusion of misc-sections.sc | |
147 | * scripttempl/avr.sc: Likewise. | |
148 | * scripttempl/dlx.sc: Likewise. | |
149 | * scripttempl/elf.sc: Likewise. | |
150 | * scripttempl/elf32cr16.sc: Likewise. | |
151 | * scripttempl/elf32crx.sc: Likewise. | |
152 | * scripttempl/elf32msp430.sc: Likewise. | |
153 | * scripttempl/elf64bpf.sc: Likewise. | |
154 | * scripttempl/elf64hppa.sc: Likewise. | |
155 | * scripttempl/elf_chaos.sc: Likewise. | |
156 | * scripttempl/elfarc.sc: Likewise. | |
157 | * scripttempl/elfarcv2.sc: Likewise. | |
158 | * scripttempl/elfd10v.sc: Likewise. | |
159 | * scripttempl/elfd30v.sc: Likewise. | |
160 | * scripttempl/elfm68hc11.sc: Likewise. | |
161 | * scripttempl/elfm68hc12.sc: Likewise. | |
162 | * scripttempl/elfm9s12z.sc: Likewise. | |
163 | * scripttempl/elfmicroblaze.sc: Likewise. | |
164 | * scripttempl/elfxgate.sc: Likewise. | |
165 | * scripttempl/elfxtensa.sc: Likewise. | |
166 | * scripttempl/epiphany_4x4.sc: Likewise. | |
167 | * scripttempl/ft32.sc: Likewise. | |
168 | * scripttempl/ip2k.sc: Likewise. | |
169 | * scripttempl/iq2000.sc: Likewise. | |
170 | * scripttempl/mep.sc: Likewise. | |
171 | * scripttempl/nds32elf.sc: Likewise. | |
172 | * scripttempl/pru.sc: Likewise. | |
173 | * scripttempl/v850.sc: Likewise. | |
174 | * scripttempl/v850_rh850.sc: Likewise. | |
175 | * scripttempl/visium.sc: Likewise. | |
176 | * scripttempl/xstormy16.sc: Likewise. | |
177 | * scripttempl/z80.sc: Likewise. | |
178 | * testsuite/ld-scripts/script.exp: Run new tests. | |
179 | * scripttempl/misc-sections.sc: New file. | |
180 | * testsuite/ld-scripts/ld-version-2.d: New file. | |
181 | * testsuite/ld-scripts/ld-version.d: New file. | |
182 | * testsuite/ld-scripts/ld-version.t: New file. | |
183 | ||
50980ba3 FS |
184 | 2023-02-23 Fangrui Song <i@maskray.me> |
185 | ||
186 | * emultempl/riscvelf.em: Add option parsing. | |
187 | * testsuite/ld-riscv-elf/code-model-relax-medlow-01-norelaxgp.d: New. | |
188 | * testsuite/ld-riscv-elf/pcgp-relax-01-norelaxgp.d: New. | |
189 | * testsuite/ld-riscv-elf/pcgp-relax-02.d: Test --relax --relax-gp can be | |
190 | used together. | |
191 | ||
c9802aca NC |
192 | 2023-02-20 Nick Clifton <nickc@redhat.com> |
193 | ||
194 | PR 30004 | |
195 | * pe-dll.c (pe_dll_build_sections): Do not build an edata section | |
196 | if all symbols are being excluded. | |
197 | ||
2b56cd91 NC |
198 | 2023-02-15 Nick Clifton <nickc@redhat.com> |
199 | ||
200 | PR 30078 | |
201 | * testsuite/ld-elf/merge4b.s: Use .asciz instead of .string in | |
202 | order to avoid the special behaviour of the .string directive on | |
203 | HPPA architectures. | |
204 | ||
9b38b85e NC |
205 | 2023-02-14 Nick Clifton <nickc@redhat.com> |
206 | ||
207 | * ld.texi (Plugins): Mention that the -plugin command line option | |
208 | is used to load plugins. | |
209 | ||
1c66b8a0 NC |
210 | 2023-01-27 Nick Clifton <nickc@redhat.com> |
211 | ||
212 | PR 29998 | |
213 | * pe-dll.c (build_filler_bfd): Initialise the next field of the | |
214 | filler input statement, so that it does not break the file chain. | |
215 | ||
f3d8ae90 NC |
216 | 2023-01-24 Nick Clifton <nickc@redhat.com> |
217 | ||
218 | PR 29998 | |
219 | * pe-dll.c (generate_reloc): Handle sections with no assigned | |
220 | output section. Terminate early of there are no relocs to put in | |
221 | the .reloc section. | |
222 | (pe_exe_fill_sections): Do not emit an empty .reloc section. | |
223 | ||
59e1f50f NC |
224 | 2023-01-06 Nick Clifton <nickc@redhat.com> |
225 | ||
226 | * po/bg.po: Updated Bulgarian translation. | |
227 | ||
beb6b61d NC |
228 | 2023-01-05 Nick Clifton <nickc@redhat.com> |
229 | ||
230 | * configure.tgt: Add arm64pe as an extra emulation for aarch64pe. | |
231 | * Makefile.am (ALL_64_EMULATION_SOURCES): Add earm64pe.c | |
232 | * emultempl/pep.em: Add suppport for arm64pe emulation. | |
233 | * Makefile.in: Regenerate. | |
234 | * po/BLD-POTFILES.in: Regenerate. | |
235 | * po/ld.pot: Regenerate. | |
236 | ||
b26c8438 AH |
237 | 2023-01-05 Andreas K. Huettel <dilfridge@gentoo.org> |
238 | ||
239 | * testsuite/ld-elf/shared.exp: un-xfail the PR19710 test for the | |
240 | AArch64 architecture. | |
241 | ||
502c7218 AH |
242 | 2023-01-04 Andreas K. Huettel <dilfridge@gentoo.org> |
243 | ||
244 | PR 29843 | |
245 | * testsuite/ld-aarch64/bti-plt-5.d: Relax regxps slightly to allow | |
246 | for differences in build environments. | |
247 | * testsuite/ld-aarch64/tls-relax-gdesc-le-now.d: Likewise. | |
248 | ||
11982f9f NC |
249 | 2023-01-03 Nick Clifton <nickc@redhat.com> |
250 | ||
251 | * po/uk.po: Updated Ukrainian translation. | |
252 | ||
a72b0718 NC |
253 | 2022-12-31 Nick Clifton <nickc@redhat.com> |
254 | ||
255 | * 2.40 branch created. | |
256 | ||
a7a32d58 NC |
257 | 2022-12-21 Nick Clifton <nickc@redhat.com> |
258 | ||
259 | PR 29900 | |
260 | * scripttempl/pe.sc: Keep the .drectve section when performing a | |
261 | relocateable link. | |
262 | * scripttempl/pep.sc: Likewise. | |
263 | ||
dcb53d93 NC |
264 | 2022-12-08 Nick Clifton <nickc@redhat.com> |
265 | ||
266 | PR 29861 | |
267 | * ld.texi (Output Section Type): Note that setting the output | |
268 | section type only works if the section contains untyped data. | |
269 | ||
3bf5bf54 NC |
270 | 2022-12-05 Nick Clifton <nickc@redhat.com> |
271 | ||
272 | PR 29849 | |
273 | * ldlang.c (spec_match): Check that there is sufficient length in | |
274 | the target name to match the spec's prefix. | |
275 | ||
e26943f9 NC |
276 | 2022-11-03 Nick Clifton <nickc@redhat.com> |
277 | ||
278 | PR 29748 | |
279 | * configure.tgt (ac_default_ld_warn_rwx_segments): Set to 0 for | |
280 | the V850. | |
281 | ||
fa6895ad NC |
282 | 2022-11-03 Nick Clifton <nickc@redhat.com> |
283 | ||
78cd9188 | 284 | PR 29741 |
fa6895ad NC |
285 | * scripttempl/avr.sc (__DATA_REGION_ORIGIN__): Define. If a value |
286 | has not been provided on the command line then use DATA_ORIGIN. | |
287 | (MEMORY): Use __DATA_REGION_ORIGIN__ as the start of the data region. | |
288 | ||
4b2e7a57 NC |
289 | 2022-10-21 Nick Clifton <nickc@redhat.com> |
290 | ||
291 | PR 29654 | |
292 | * ld.h (struct ld_config_type): Add no_warnings field. | |
293 | * ldlex.h (enum option_values): Add OPTION_NO_WARNINGS. | |
294 | * lexsup.c (ld_options): Add --no-warnings. | |
295 | (parse_args): Add support for -w and --no-warnings. | |
296 | * ldmisc.c (vfinfo): Return early if the message is a warning and | |
297 | -w has been enabled. | |
298 | * ld.texi (options): Document new command line option. | |
299 | * NEWS: Mention the new feature. | |
300 | ||
37833b96 NC |
301 | 2022-08-30 Nick Clifton <nickc@redhat.com> |
302 | ||
303 | PR 29529 | |
304 | * testsuite/ld-x86-64/pr27587.err: Update expected output. | |
305 | ||
f0821653 RH |
306 | 2022-08-18 Ralf Habacker <ralf.habacker@freenet.de> |
307 | ||
308 | PR 28362 | |
309 | * testsuite/ld-pe/pe-run2-def.exp: New file. | |
310 | ||
a6ad7914 AM |
311 | 2022-08-03 Alan Modra <amodra@gmail.com> |
312 | ||
313 | PR 29389 | |
314 | * ldlang.h (lang_input_statement_struct): Add sort_key field. | |
315 | * emultempl/pe.em (after_open): If multiple import libraries refer | |
316 | to the same bfd, store their names in the sort_key field. | |
317 | * emultempl/pep.em (after_open): Likewise. | |
318 | * ldlang.c (sort_filename): New function. Returns the filename to | |
319 | be used when sorting input files. | |
320 | (wild_sort): Use the sort_filename function. | |
321 | ||
b80b72c0 RO |
322 | 2022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
323 | ||
324 | PR ld/29411 | |
325 | * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all | |
326 | sparc targets. Expand comment. | |
327 | ||
91896b4d NC |
328 | 2022-07-26 Nick Clifton <nickc@redhat.com> |
329 | ||
330 | PR 29411 | |
331 | * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for | |
332 | sparc-solaris configurations. | |
333 | ||
0bd09323 NC |
334 | 2022-07-08 Nick Clifton <nickc@redhat.com> |
335 | ||
336 | * 2.39 branch created. | |
337 | ||
ed1c7ad8 NC |
338 | 2022-06-27 Nick Clifton <nickc@redhat.com> |
339 | ||
340 | PR 29263 | |
341 | * configure.ac: Move HPPA specific code from here... | |
342 | * configure.tgt: ... to here. Add similar code for MIPS. | |
343 | Move code for CRIS, MIPS and HPPA to block at start of file. | |
344 | * configure: Regenerate. | |
345 | ||
acd65fa6 NC |
346 | 2022-06-21 Nick Clifton <nickc@redhat.com> |
347 | ||
348 | PR 29263 | |
349 | * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for | |
350 | HPPA targets. | |
351 | (ac_default_ld_warn_rwx_segments): Likewise. | |
352 | * configure: Regenerate. | |
353 | * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line | |
354 | option to the command line when running execstack tests for the | |
355 | HPPA target. | |
356 | ||
678dc756 AM |
357 | 2022-05-12 Alan Modra <amodra@gmail.com> |
358 | ||
359 | PR 29006 | |
360 | * pe-dll.c (dll_name): Delete, replacing with.. | |
361 | (dll_filename): ..this, moved earlier in file. | |
362 | (generate_edata): Delete parameters. Don't set up dll_name here.. | |
363 | (pe_process_import_defs): ..instead set up dll_filename and | |
364 | dll_symname here before returning. | |
365 | (dll_symname_len): Delete write-only variable. | |
366 | (pe_dll_generate_implib): Don't set up dll_symname here. | |
367 | ||
46465574 NC |
368 | 2022-05-03 Nick Clifton <nickc@redhat.com> |
369 | ||
370 | PR 29101 | |
371 | * libdep_plugin.c (get_libdeps): Check for overflow when computing | |
372 | amount of memory to allocate. | |
373 | ||
639d467b NC |
374 | 2022-04-27 Nick Clifton <nickc@redhat.com> |
375 | ||
376 | PR 29006 | |
377 | * pe-dll.c (make_head): Use asprintf to allocate and populate a | |
378 | buffer containing the temporary name. | |
379 | (make_tail, make_one, make_singleton_name_thunk): Likewise. | |
380 | (make_import_fixup_mark, make_import_fixup_entry): Likewise. | |
381 | (make_runtime_pseudo_reloc): Likewise. | |
382 | (pe_create_runtime_relocator_reference): Likewise. | |
383 | ||
0d38576a NC |
384 | 2022-04-25 Nick Clifton <nickc@redhat.com> |
385 | ||
386 | PR 29072 | |
387 | * testsuite/ld-elf/pr29072.b.warn: Update to include the note | |
388 | about the linker's behaviour being depreccated. | |
389 | ||
2d23f965 CC |
390 | 2022-04-20 Clément Chigot <clement.chigot@atos.net> |
391 | ||
392 | * emultempl/aix.em (params): New variable. | |
393 | (stub_file): New variable. | |
394 | (xcoff_add_stub_section): New function. | |
395 | (xcoff_layout_sections_again): New function | |
396 | (hook_in_stub): New function. | |
397 | (_after_allocation): Add stub creation. | |
398 | (_create_output_section_statements): Allocate stub file and | |
399 | pass params to backend. | |
400 | ||
1876a542 CC |
401 | 2022-04-20 Clément Chigot <clement.chigot@atos.net> |
402 | ||
403 | * emultempl/aix.em (_after_allocation): New function. | |
404 | ||
145667f8 MH |
405 | 2022-04-07 Mark Harmstone <mark@harmstone.com> |
406 | ||
407 | * testsuite/ld-pe/secidx1.s: New test source file. | |
408 | * testsuite/ld-pe/secidx2.s: New test source file. | |
409 | * testsuite/ld-pe/secidx.d: New test driver file. | |
410 | * testsuite/ld-pe/secidx_64.d: New test driver file. | |
411 | * testsuite/ld-pe/pe.exp: Add new tests. | |
412 | ||
95e96e05 NC |
413 | 2022-03-01 Nick Clifton <nickc@redhat.com> |
414 | ||
415 | PR 21964 | |
416 | * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons. | |
417 | * testsuite/ld-elf/pr21964-1b.c: Likewise. | |
418 | * testsuite/ld-elf/pr21964-1c.c: Likewise. | |
419 | * testsuite/ld-elf/pr21964-2a.c: Likewise. | |
420 | * testsuite/ld-elf/pr21964-2b.c: Likewise. | |
421 | * testsuite/ld-elf/pr21964-3a.c: Likewise. | |
422 | ||
5c14cc55 RM |
423 | 2022-02-17 Roland McGrath <mcgrathr@google.com> |
424 | ||
425 | * ld.texi (Output Section Type): Fix typo in @code syntax. | |
426 | ||
36d285b9 NC |
427 | 2022-02-17 Nick Clifton <nickc@redhat.com> |
428 | ||
429 | * po/sr.po: Updated Serbian translation. | |
430 | ||
c212f39d | 431 | 2022-02-16 Fangrui Song <maskray@google.com> |
5c14cc55 | 432 | Nick Clifton <nickc@redhat.com> |
c212f39d FS |
433 | |
434 | PR ld/28841 | |
435 | * ld.texi: Document new output section type. | |
436 | * ldlex.l: Add new token TYPE. | |
437 | * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp). | |
438 | * ldlang.h: Add type_section to list of section types. | |
439 | * ldlang.c (lang_add_section): Handle type_section. | |
440 | (map_input_to_output_sections): Handle type_section. | |
441 | * testsuite/ld-scripts/output-section-types.t: Add tests. | |
442 | * testsuite/ld-scripts/output-section-types.d: Update. | |
443 | ||
a6983974 NC |
444 | 2022-02-02 Nick Clifton <nickc@redhat.com> |
445 | ||
446 | * po/fr.po: Updated French translation. | |
447 | ||
5fe73d46 NC |
448 | 2022-01-24 Nick Clifton <nickc@redhat.com> |
449 | ||
450 | * po/bg.po: Updated Bulgarian translation. | |
451 | * po/uk.po: Updated Ukranian translation. | |
452 | ||
cc5e4073 AGI |
453 | 2022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com> |
454 | ||
455 | * configure.tgt (arm-haiku): Fix typo. | |
456 | * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value. | |
457 | (COMMONPAGESIZE): Likewise. | |
458 | ||
f908e960 NC |
459 | 2022-01-22 Nick Clifton <nickc@redhat.com> |
460 | ||
461 | * configure: Regenerate. | |
462 | * po/ld.pot: Regenerate. | |
463 | ||
a74e1cb3 NC |
464 | 2022-01-22 Nick Clifton <nickc@redhat.com> |
465 | ||
466 | * 2.38 release branch created. | |
467 | ||
e901223d NC |
468 | 2022-01-21 Nick Clifton <nickc@redhat.com> |
469 | ||
470 | * po/sr.po: Updated Serbian translation. | |
471 | ||
6c037fdb NC |
472 | 2022-01-17 Nick Clifton <nickc@redhat.com> |
473 | ||
474 | * Makefile.in: Regenerate. | |
475 | * po/ld.pot: Regenerate. | |
476 | ||
c4a8df19 MS |
477 | 2022-01-11 Martin Storsjö <martin@martin.st> |
478 | ||
479 | * pe-dll.c (make_head): Prefix the symbol name with the dll name. | |
480 | (make_tail, make_one, make_singleton_name_thunk): Likewise. | |
481 | (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise. | |
482 | (pe_create_runtime_relocator_reference): Likewise. | |
483 | (pe_dll_generate_implib): Set dll_symname_len. | |
484 | (pe_process_import_defs): Likewise. | |
485 | ||
f3be70df NC |
486 | 2021-12-16 Nick Clifton <nickc@redhat.com> |
487 | ||
488 | PR 28686 | |
489 | * testsuite/ld-avr/avr-prop-7.d: Adjust expected output. | |
490 | * testsuite/ld-avr/avr-prop-8.d: Likewise. | |
491 | * testsuite/ld-avr/pr13402.d: Likewise. | |
492 | ||
44b357eb NC |
493 | 2021-11-30 Nick Clifton <nickc@redhat.com> |
494 | ||
495 | * scripttempl/pru.sc (.pru_irq_map): Define output section. | |
496 | * testsuite/ld-pru/pru_irq_map-1.d: New test. | |
497 | * testsuite/ld-pru/pru_irq_map-2.d: New test. | |
498 | * testsuite/ld-pru/pru_irq_map.s: New test. | |
499 | ||
ef6379e1 JD |
500 | 2021-11-17 Jeremy Drake <cygwin@jdrake.com> |
501 | ||
502 | * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for | |
503 | Cygwin targets. | |
504 | * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise. | |
505 | ||
ee9e412f NC |
506 | 2021-11-17 Nick Clifton <nickc@redhat.com> |
507 | ||
508 | PR 28452 | |
509 | * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY. | |
510 | * ldgram.c: Regenerate. | |
511 | ||
d029b54d RM |
512 | 2021-11-15 Roland McGrath <mcgrathr@google.com> |
513 | ||
514 | * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in | |
515 | case ld was configured with --enable-textrel-check=error. | |
516 | * testsuite/ld-aarch64/pr22764.d: Likewise. | |
517 | * testsuite/ld-aarch64/pr20402.d: Likewise. | |
518 | ||
eb5323fd NA |
519 | 2021-10-25 Nick Alcock <nick.alcock@oracle.com> |
520 | ||
521 | * testsuite/ld-ctf/nonrepresentable-member.*: New test. | |
522 | ||
10909ea8 NA |
523 | 2021-10-25 Nick Alcock <nick.alcock@oracle.com> |
524 | ||
525 | * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf. | |
526 | * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. | |
527 | * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. | |
528 | * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. | |
529 | * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. | |
530 | * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. | |
531 | * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. | |
532 | * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. | |
533 | * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. | |
534 | * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. | |
535 | * testsuite/ld-ctf/conflicting-enums.d: Likewise. | |
536 | * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. | |
537 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. | |
538 | * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. | |
539 | * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. | |
540 | * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. | |
541 | * testsuite/ld-ctf/cycle-1.d: Likewise. | |
542 | * testsuite/ld-ctf/cycle-2.A.d: Likewise. | |
543 | * testsuite/ld-ctf/cycle-2.B.d: Likewise. | |
544 | * testsuite/ld-ctf/cycle-2.C.d: Likewise. | |
545 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. | |
546 | * testsuite/ld-ctf/diag-cttname-null.d: Likewise. | |
547 | * testsuite/ld-ctf/diag-cuname.d: Likewise. | |
548 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. | |
549 | * testsuite/ld-ctf/enum-forward.d: Likewise. | |
550 | * testsuite/ld-ctf/enums.d: Likewise. | |
551 | * testsuite/ld-ctf/forward.d: Likewise. | |
552 | * testsuite/ld-ctf/function.d: Likewise. | |
553 | * testsuite/ld-ctf/nonrepresentable.d: Likewise. | |
554 | * testsuite/ld-ctf/slice.d: Likewise. | |
555 | * testsuite/ld-ctf/super-sub-cycles.d: Likewise. | |
556 | ||
5109a7bd DD |
557 | 2021-09-30 Dimitar Dimitrov <dimitar@dinux.eu> |
558 | ||
559 | * scripttempl/pru.sc (.resource_table): Align the output | |
560 | section, not the first symbol. | |
561 | ||
b9004024 NA |
562 | 2021-09-27 Nick Alcock <nick.alcock@oracle.com> |
563 | ||
564 | * configure: Regenerate. | |
565 | ||
5226a6a8 NC |
566 | 2021-09-21 Nick Clifton <nickc@redhat.com> |
567 | ||
568 | * ldlang.c (lang_end): When computing the entry point, only | |
569 | try the start address of the entry section when creating an | |
570 | executable. | |
571 | * ld.texi (Entry point): Update description of heuristic used to | |
572 | choose the entry point. | |
573 | testsuite/ld-alpha/tlspic.rd: Update expected entry point address. | |
574 | testsuite/ld-arm/tls-gdesc-got.d: Likewise. | |
575 | testsuite/ld-i386/tlsnopic.rd: Likewise. | |
576 | testsuite/ld-ia64/tlspic.rd: Likewise. | |
577 | testsuite/ld-sparc/gotop32.rd: Likewise. | |
578 | testsuite/ld-sparc/gotop64.rd: Likewise. | |
579 | testsuite/ld-sparc/tlssunnopic32.rd: Likewise. | |
580 | testsuite/ld-sparc/tlssunnopic64.rd: Likewise. | |
581 | testsuite/ld-sparc/tlssunpic32.rd: Likewise. | |
582 | testsuite/ld-sparc/tlssunpic64.rd: Likewise. | |
583 | testsuite/ld-tic6x/shlib-1.rd: Likewise. | |
584 | testsuite/ld-tic6x/shlib-1b.rd: Likewise. | |
585 | testsuite/ld-tic6x/shlib-1r.rd: Likewise. | |
586 | testsuite/ld-tic6x/shlib-1rb.rd: Likewise. | |
587 | testsuite/ld-tic6x/shlib-noindex.rd: Likewise. | |
588 | testsuite/ld-x86-64/pr14207.d: Likewise. | |
589 | testsuite/ld-x86-64/tlsdesc.rd: Likewise. | |
590 | testsuite/ld-x86-64/tlspic.rd: Likewise. | |
591 | testsuite/ld-x86-64/tlspic2.rd: Likewise. | |
592 | ||
720f6ee0 CZ |
593 | 2021-09-15 Claudiu Zissulescu <claziss@synopsys.com> |
594 | ||
595 | * testsuite/ld-arc/got-weak.d: Update file. | |
596 | ||
09a7e912 CZ |
597 | 2021-09-14 Claudiu Zissulescu <claziss@synopsys.com> |
598 | ||
599 | * ld-arc/got-weak.d: New file. | |
600 | * ld-arc/got-weak.s: Likewise. | |
601 | ||
dfe3b805 RM |
602 | 2021-07-26 Roland McGrath <mcgrathr@google.com> |
603 | ||
604 | * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel. | |
605 | ||
235f5ef4 MM |
606 | 2021-07-06 Michael Matz <matz@suse.de> |
607 | ||
608 | PR ld/28021 | |
609 | * testsuite/ld-riscv-elf/relax-twice.ver: New. | |
610 | * testsuite/ld-riscv-elf/relax-twice-1.s: New. | |
611 | * testsuite/ld-riscv-elf/relax-twice-2.s: New. | |
612 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp | |
613 | (run_relax_twice_test): New, and call it. | |
614 | ||
346d80ef NC |
615 | 2021-07-03 Nick Clifton <nickc@redhat.com> |
616 | ||
617 | * configure: Regenerate. | |
618 | * po/ld.pot: Regenerate. | |
619 | ||
51419248 NC |
620 | 2021-07-03 Nick Clifton <nickc@redhat.com> |
621 | ||
622 | * 2.37 release branch created. | |
623 | ||
50331d64 NC |
624 | 2021-06-22 Nelson Chu <nelson.chu@sifive.com> |
625 | ||
626 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. | |
627 | * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase. | |
628 | * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise. | |
629 | * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase. | |
630 | Should report error since the %pcrel_lo with addend refers to | |
631 | %got_pcrel_hi. | |
632 | * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise. | |
633 | * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase. | |
634 | Should report error since the %got_pcrel_hi with addend. | |
635 | * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise. | |
636 | * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise. | |
637 | ||
406b4ada L |
638 | 2021-06-19 H.J. Lu <hongjiu.lu@intel.com> |
639 | ||
640 | PR ld/27998 | |
641 | * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests. | |
642 | * testsuite/ld-i386/pr27998a.d: New file. | |
643 | * testsuite/ld-i386/pr27998a.s: Likewise. | |
644 | * testsuite/ld-i386/pr27998b.d: Likewise. | |
645 | * testsuite/ld-i386/pr27998b.s: Likewise. | |
646 | ||
83b1d8f4 L |
647 | 2021-06-19 H.J. Lu <hongjiu.lu@intel.com> |
648 | ||
649 | * testsuite/ld-x86-64/textrel-1.err: New file. | |
650 | * testsuite/ld-x86-64/textrel-1a.s: Likewise. | |
651 | * testsuite/ld-x86-64/textrel-1b.s: Likewise. | |
652 | * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests. | |
653 | ||
c30420d8 L |
654 | 2021-06-18 H.J. Lu <hongjiu.lu@intel.com> |
655 | ||
656 | * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux | |
657 | and mn10300. | |
658 | Pass --generate-missing-build-notes=no to assembler. Allow | |
659 | other note sections for xtensa. | |
660 | * testsuite/ld-elf/property-and-2.d: Likewise. | |
661 | * testsuite/ld-elf/property-and-3.d: Likewise. | |
662 | * testsuite/ld-elf/property-and-4.d: Likewise. | |
663 | * testsuite/ld-elf/property-or-1.d: Likewise. | |
664 | * testsuite/ld-elf/property-or-2.d: Likewise. | |
665 | * testsuite/ld-elf/property-or-3.d: Likewise. | |
666 | * testsuite/ld-elf/property-or-4.d: Likewise. | |
667 | ||
2d95647b L |
668 | 2021-06-18 H.J. Lu <hongjiu.lu@intel.com> |
669 | ||
670 | * ld.texi: Move -z unique-symbol after -z undefs. | |
671 | ||
5a767724 L |
672 | 2021-06-18 H.J. Lu <hongjiu.lu@intel.com> |
673 | ||
674 | * testsuite/ld-elf/property-and-1.d: New file. | |
675 | * testsuite/ld-elf/property-and-1.s: Likewise. | |
676 | * testsuite/ld-elf/property-and-2.d: Likewise. | |
677 | * testsuite/ld-elf/property-and-2.s: Likewise. | |
678 | * testsuite/ld-elf/property-and-3.d: Likewise. | |
679 | * testsuite/ld-elf/property-and-3.s: Likewise. | |
680 | * testsuite/ld-elf/property-and-4.d: Likewise. | |
681 | * testsuite/ld-elf/property-and-empty.s: Likewise. | |
682 | * testsuite/ld-elf/property-or-1.d: Likewise. | |
683 | * testsuite/ld-elf/property-or-1.s: Likewise. | |
684 | * testsuite/ld-elf/property-or-2.d: Likewise. | |
685 | * testsuite/ld-elf/property-or-2.s: Likewise. | |
686 | * testsuite/ld-elf/property-or-3.d: Likewise. | |
687 | * testsuite/ld-elf/property-or-3.s: Likewise. | |
688 | * testsuite/ld-elf/property-or-4.d: Likewise. | |
689 | * testsuite/ld-elf/property-or-empty.s: Likewise. | |
690 | ||
e013d20d L |
691 | 2021-06-17 H.J. Lu <hongjiu.lu@intel.com> |
692 | ||
693 | PR ld/27973 | |
694 | * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and | |
695 | $NOPIE_CFLAGS to protected-func-1 without PIE. | |
696 | ||
b6b42983 L |
697 | 2021-06-17 H.J. Lu <hongjiu.lu@intel.com> |
698 | ||
699 | PR ld/27973 | |
700 | * testsuite/ld-x86-64/x86-64.exp: Run protected function tests. | |
701 | * testsuite/ld-x86-64/protected-func-1.h: New file. | |
702 | * testsuite/ld-x86-64/protected-func-1a.s: Likewise. | |
703 | * testsuite/ld-x86-64/protected-func-1b.c: Likewise. | |
704 | ||
d208bc76 FS |
705 | 2021-06-17 Fangrui Song <maskray@google.com> |
706 | ||
707 | * ldlex.h (enum option_values): Add OPTION_NO_PIE. | |
708 | * lexsup.c (struct ld_options): Add -no-pie. | |
709 | (parse_args): Handle -no-pie. | |
710 | * ld.texi: Document -no-pie. | |
711 | ||
93df3340 AM |
712 | 2021-06-15 Alan Modra <amodra@gmail.com> |
713 | ||
714 | * testsuite/ld-pie/vaddr-0.d: Update expected output. | |
715 | ||
f64b9b13 AM |
716 | 2021-06-11 Alan Modra <amodra@gmail.com> |
717 | ||
718 | PR 27952 | |
719 | * ldelf.c (ldelf_after_open): Error on input PIEs too. | |
720 | ||
f75bcf7e NC |
721 | 2021-06-09 Nick Clifton <nickc@redhat.com> |
722 | ||
723 | PR 27666 | |
724 | * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or | |
725 | sparc64tests for Solaris2 targets. | |
726 | ||
364d7729 AM |
727 | 2021-06-03 Alan Modra <amodra@gmail.com> |
728 | ||
729 | PR 2589 | |
730 | * ld.texi (link-time runtime library search path): Mention | |
731 | plugin library path. Correct order of search. | |
732 | ||
ef9d2565 NC |
733 | 2021-05-31 Nelson Chu <nelson.chu@sifive.com> |
734 | Lifang Xia <lifang_xia@c-sky.com> | |
735 | ||
736 | PR 27566 | |
737 | * emultempl/riscvelf.em (after_allocation): Call | |
738 | riscv_set_data_segment_info to set data segment phase before relaxing. | |
739 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. | |
740 | * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase. | |
741 | * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise. | |
742 | * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise. | |
743 | * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise. | |
744 | ||
1273b2f8 L |
745 | 2021-05-28 H.J. Lu <hongjiu.lu@intel.com> |
746 | ||
747 | PR ld/27905 | |
748 | * testsuite/ld-i386/pcrel16-2.d: xfail. | |
749 | * testsuite/ld-x86-64/pcrel16-2.d: Likewise. | |
750 | ||
50c95a73 L |
751 | 2021-05-26 H.J. Lu <hongjiu.lu@intel.com> |
752 | ||
753 | PR ld/27905 | |
754 | * testsuite/ld-i386/code16.d: New file. | |
755 | * testsuite/ld-i386/code16.t: Likewise. | |
756 | * testsuite/ld-x86-64/code16.d: Likewise. | |
757 | * testsuite/ld-x86-64/code16.t: Likewise. | |
758 | * testsuite/ld-i386/i386.exp: Run code16. | |
759 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
760 | ||
983d5689 L |
761 | 2021-05-26 H.J. Lu <hongjiu.lu@intel.com> |
762 | ||
763 | * testsuite/ld-x86-64/ilp32-12.d: New file. | |
764 | * testsuite/ld-x86-64/ilp32-12.s: Likewise. | |
765 | * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12. | |
766 | ||
75f03fa7 NC |
767 | 2021-05-14 Nelson Chu <nelson.chu@sifive.com> |
768 | ||
769 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. | |
770 | * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from | |
771 | pcrel-lo-addend-2. | |
772 | * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise. | |
773 | * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase. | |
774 | * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise. | |
775 | ||
cf893b0e FS |
776 | 2021-05-13 Fangrui Song <maskray@google.com> |
777 | ||
778 | PR 27834 | |
779 | * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC. | |
780 | * lexsup.c (ld_options): Add -Bno-symbolic. | |
781 | (parse_args): Handle -Bno-symbolic. | |
782 | * ld.texi: Document -Bno-symbolic. | |
783 | * NEWS: Mention -Bno-symbolic. | |
784 | * testsuite/ld-elf/shared.exp: Add a test. | |
785 | ||
84139c58 RE |
786 | 2021-05-12 Richard Earnshaw <rearnsha@arm.com> |
787 | ||
788 | * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline): | |
789 | Correct expected output. | |
790 | ||
4a1ad5c9 RM |
791 | 2021-05-11 Roland McGrath <mcgrathr@google.com> |
792 | ||
793 | * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific | |
794 | address layout, so it works for e.g. --target=x86-64-elf. | |
795 | ||
22604fe6 NC |
796 | 2021-05-11 Nick Clifton <nickc@redhat.com> |
797 | ||
798 | PR 27113 | |
799 | * Makefile.am (install-data-local): Also delete libdep.dll.a if it | |
800 | is present. | |
801 | * Makefile.in: Regenerate. | |
802 | ||
5b45e89f DD |
803 | 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu> |
804 | ||
805 | * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list. | |
806 | * testsuite/ld-elf/group8b.d: Ditto. | |
807 | * testsuite/ld-elf/group9a.d: Ditto. | |
808 | * testsuite/ld-elf/group9b.d: Ditto. | |
809 | * testsuite/ld-elf/pr12851.d: Ditto. | |
810 | * testsuite/ld-elf/pr22677.d: Ditto. | |
811 | * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove | |
812 | pru from list. | |
813 | ||
261980de DD |
814 | 2021-05-10 Dimitar Dimitrov <dimitar@dinux.eu> |
815 | ||
816 | * scripttempl/pru.sc (.resource_table): Add ALIGN directive. | |
817 | Use symbols for memory sizes. | |
818 | ||
cf758b39 MF |
819 | 2021-05-08 Mike Frysinger <vapier@gentoo.org> |
820 | ||
821 | * Makefile.am (html-local, doc/ld/index.html): New targets. | |
822 | * Makefile.in: Regenerate. | |
823 | ||
2faf902d MF |
824 | 2021-05-08 Mike Frysinger <vapier@gentoo.org> |
825 | ||
826 | * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split. | |
827 | * Makefile.in: Regenerate. | |
828 | ||
17c6c3b9 JB |
829 | 2021-05-07 Jan Beulich <jbeulich@suse.com> |
830 | ||
831 | * testsuite/ld-x86-64/rela.d: New. | |
832 | * testsuite/ld-x86-64/x86-64.exp: Run new test. | |
833 | ||
d820a652 NC |
834 | 2021-05-07 Nick Clifton <nickc@redhat.com> |
835 | ||
836 | * ldelfgen.c (compare_link_order): Ignore section size when | |
837 | performing a relocateable link. | |
838 | ||
70993db3 AM |
839 | 2021-05-07 Alan Modra <amodra@gmail.com> |
840 | ||
841 | * ldexp.c (update_definedness): Don't return false for absolute | |
842 | symbols. | |
843 | * ldmain.c (multiple_definition): Print "warning: " in message | |
844 | when not a hard error. | |
845 | ||
973bba91 AM |
846 | 2021-05-07 Alan Modra <amodra@gmail.com> |
847 | ||
848 | * testsuite/ld-elf/pr27825-1.d: Correct xfail. | |
849 | * testsuite/ld-elf/pr27825-2.d: Likewise. | |
850 | ||
284a1309 SH |
851 | 2021-05-06 Stafford Horne <shorne@gmail.com> |
852 | ||
853 | PR 27746 | |
854 | testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking | |
855 | along with gotha() relocations. | |
856 | testsuite/ld-or1k/gotha1.dd: New file. | |
857 | testsuite/ld-or1k/gotha1.s: New file. | |
858 | testsuite/ld-or1k/gotha2.dd: New file. | |
859 | testsuite/ld-or1k/gotha2.s: New file | |
860 | testsuite/ld-or1k/pltlib.s (x): Define size to avoid link | |
861 | failure. | |
862 | ||
ae064303 NA |
863 | 2021-05-06 Nick Alcock <nick.alcock@oracle.com> |
864 | ||
865 | * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt. | |
866 | * testsuite/lib/ld-lib.exp: Likewise. | |
867 | * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types. | |
868 | * testsuite/ld-ctf/nonrepresentable-2.c: Likewise. | |
869 | * testsuite/ld-ctf/nonrepresentable.d: Likewise. | |
870 | * testsuite/ld-ctf/array.d: Larger type section. | |
871 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. | |
872 | * testsuite/ld-ctf/enums.d: Likewise. | |
873 | * testsuite/ld-ctf/conflicting-enums.d: Don't compare types. | |
874 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order. | |
875 | * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. | |
876 | * testsuite/ld-ctf/slice.d: Adjust for improved slice emission. | |
877 | ||
4467df35 L |
878 | 2021-05-05 H.J. Lu <hongjiu.lu@intel.com> |
879 | ||
880 | PR ld/27825 | |
881 | * testsuite/ld-elf/pr27825-1.d: New file. | |
882 | * testsuite/ld-elf/pr27825-1a.s: Likewise. | |
883 | * testsuite/ld-elf/pr27825-1b.s: Likewise. | |
884 | * testsuite/ld-elf/pr27825-2.d: Likewise. | |
885 | * testsuite/ld-elf/pr27825-2a.s: Likewise. | |
886 | * testsuite/ld-elf/pr27825-2b.s: Likewise. | |
887 | ||
13ffdac3 AM |
888 | 2021-05-05 Alan Modra <amodra@gmail.com> |
889 | ||
890 | * testsuite/ld-powerpc/empty.s: New file. | |
891 | * testsuite/ld-powerpc/undefweak.d, | |
892 | * testsuite/ld-powerpc/undefweak.s: New testcase. | |
893 | * testsuite/ld-powerpc/powerpc.exp: Run it. | |
894 | ||
df6fbc21 AM |
895 | 2021-05-03 Alan Modra <amodra@gmail.com> |
896 | ||
897 | * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for | |
898 | named section symbols. | |
899 | ||
24aebc79 NC |
900 | 2021-04-28 Nick Clifton <nickc@redhat.com> |
901 | ||
902 | * testsuite/ld-elf/anno-sym.s: New test source file. | |
903 | * testsuite/ld-elf/anno-sym.d: New test driver. | |
904 | * testsuite/ld-elf/anno-sym.l: New test error output. | |
905 | ||
a7664973 JB |
906 | 2021-04-26 Jan Beulich <jbeulich@suse.com> |
907 | ||
908 | * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d, | |
909 | testsuite/ld-x86-64/pcrel16-2.d: New. | |
910 | * testsuite/ld-i386/i386.exp: Run new test. | |
911 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
912 | ||
69cc1945 L |
913 | 2021-04-23 H.J. Lu <hongjiu.lu@intel.com> |
914 | ||
915 | PR ld/27771 | |
916 | * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link | |
917 | to tmpdir/ldscripts only if it doesn't exist. | |
918 | ||
d018cd83 JB |
919 | 2021-04-22 Jan Beulich <jbeulich@suse.com> |
920 | ||
921 | PR ld/26659 | |
922 | * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin. | |
923 | ||
23356397 NC |
924 | 2021-04-21 Nick Clifton <nickc@redhat.com> |
925 | ||
926 | * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output | |
927 | to allow for named section symbols. | |
928 | * testsuite/ld-aarch64/variant_pcs-r.d: Likewise. | |
929 | * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise. | |
930 | * testsuite/ld-alpha/tlsbin.rd: Likewise. | |
931 | * testsuite/ld-alpha/tlsbinr.rd: Likewise. | |
932 | * testsuite/ld-alpha/tlspic.rd: Likewise. | |
933 | * testsuite/ld-arm/rodata-merge-map.sym: Likewise. | |
934 | * testsuite/ld-arm/script-type.sym: Likewise. | |
935 | * testsuite/ld-cris/libdso-2.d: Likewise. | |
936 | * testsuite/ld-cris/pr16044.d: Likewise. | |
937 | * testsuite/ld-elf/sec64k.exp: Likewise. | |
938 | * testsuite/ld-ia64/tlsbin.rd: Likewise. | |
939 | * testsuite/ld-ia64/tlspic.rd: Likewise. | |
940 | * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise. | |
941 | * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise. | |
942 | * testsuite/ld-mmix/bspec1.d: Likewise. | |
943 | * testsuite/ld-mmix/bspec2.d: Likewise. | |
944 | * testsuite/ld-mmix/local1.d: Likewise. | |
945 | * testsuite/ld-mmix/local3.d: Likewise. | |
946 | * testsuite/ld-mmix/local5.d: Likewise. | |
947 | * testsuite/ld-mmix/local7.d: Likewise. | |
948 | * testsuite/ld-mmix/undef-3.d: Likewise. | |
949 | * testsuite/ld-powerpc/tlsso.r: Likewise. | |
950 | * testsuite/ld-powerpc/tlsso32.r: Likewise. | |
951 | * testsuite/ld-powerpc/tlstocso.r: Likewise. | |
952 | * testsuite/ld-s390/tlsbin.rd: Likewise. | |
953 | * testsuite/ld-s390/tlsbin_64.rd: Likewise. | |
954 | * testsuite/ld-s390/tlspic.rd: Likewise. | |
955 | * testsuite/ld-s390/tlspic_64.rd: Likewise. | |
956 | * testsuite/ld-sparc/gotop32.rd: Likewise. | |
957 | * testsuite/ld-sparc/gotop64.rd: Likewise. | |
958 | * testsuite/ld-sparc/tlssunbin32.rd: Likewise. | |
959 | * testsuite/ld-sparc/tlssunbin64.rd: Likewise. | |
960 | * testsuite/ld-sparc/tlssunnopic32.rd: Likewise. | |
961 | * testsuite/ld-sparc/tlssunnopic64.rd: Likewise. | |
962 | * testsuite/ld-sparc/tlssunpic32.rd: Likewise. | |
963 | * testsuite/ld-sparc/tlssunpic64.rd: Likewise. | |
964 | * testsuite/ld-tic6x/common.d: Likewise. | |
965 | * testsuite/ld-tic6x/shlib-1.rd: Likewise. | |
966 | * testsuite/ld-tic6x/shlib-1b.rd: Likewise. | |
967 | * testsuite/ld-tic6x/shlib-1r.rd: Likewise. | |
968 | * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. | |
969 | * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. | |
970 | * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. | |
971 | * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. | |
972 | * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. | |
973 | * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. | |
974 | * testsuite/ld-tic6x/static-app-1.rd: Likewise. | |
975 | * testsuite/ld-tic6x/static-app-1b.rd: Likewise. | |
976 | * testsuite/ld-tic6x/static-app-1r.rd: Likewise. | |
977 | * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. | |
978 | ||
c5df7e44 CC |
979 | 2021-04-20 Clément Chigot <clement.chigot@atos.net> |
980 | ||
981 | PR binutils/21700 | |
982 | * testsuite/ld-powerpc/aix52.exp: Add new test. | |
983 | * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test. | |
984 | * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test. | |
985 | * testsuite/ld-powerpc/aix-neg-reloc.ex: New test. | |
986 | * testsuite/ld-powerpc/aix-neg-reloc.s: New test. | |
987 | ||
6418520e NC |
988 | 2021-04-13 Nick Clifton <nickc@redhat.com> |
989 | ||
990 | * ld.texi (Options): Add note about the effect of --as-needed on | |
991 | the --rpath and --rpath-link options on Linux based systems. | |
992 | ||
1cfc6f00 AM |
993 | 2021-04-13 Alan Modra <amodra@gmail.com> |
994 | ||
995 | PR 27722 | |
996 | * libdep_plugin.c (str2vec): Don't pass a potentially signed char | |
997 | to isspace. | |
998 | ||
43e05cd4 AM |
999 | 2021-04-12 Alan Modra <amodra@gmail.com> |
1000 | ||
1001 | * configure.ac (--enable-checking): Add support. | |
1002 | * config.in: Regenerate. | |
1003 | * configure: Regenerate. | |
1004 | ||
2cc15b10 AM |
1005 | 2021-04-12 Alan Modra <amodra@gmail.com> |
1006 | ||
1007 | * emultempl/mipself.em (mips_create_output_section_statements): | |
1008 | Pass base type of hash table to is_elf_hash_table. | |
1009 | * ldelf.c (ldelf_after_open): Likewise. | |
1010 | ||
fc304b88 AM |
1011 | 2021-04-12 Alan Modra <amodra@gmail.com> |
1012 | ||
1013 | PR 27719 | |
1014 | * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that | |
1015 | the symbol hash table is the correct type before accessing | |
1016 | elf_link_hash_entry symbols. | |
1017 | * plugin.c (is_visible_from_outside): Likewise. | |
1018 | * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise. | |
1019 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. | |
1020 | ||
c3f72de4 AM |
1021 | 2021-04-09 Alan Modra <amodra@gmail.com> |
1022 | ||
1023 | * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output. | |
1024 | * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise. | |
1025 | * testsuite/ld-powerpc/notoc2.d: Likewise. | |
1026 | * testsuite/ld-powerpc/notoc3.d: Likewise. | |
1027 | * testsuite/ld-powerpc/pcrelopt.d: Likewise. | |
1028 | * testsuite/ld-powerpc/startstop.d: Likewise. | |
1029 | * testsuite/ld-powerpc/tlsget.d: Likewise. | |
1030 | * testsuite/ld-powerpc/tlsget2.d: Likewise. | |
1031 | * testsuite/ld-powerpc/tlsld.d: Likewise. | |
1032 | * testsuite/ld-powerpc/weak1.d: Likewise. | |
1033 | * testsuite/ld-powerpc/weak1so.d: Likewise. | |
1034 | ||
bd3d1480 JB |
1035 | 2021-04-06 Jan Beulich <jbeulich@suse.com> |
1036 | ||
1037 | * pe-dll.c (generate_reloc): Bail immediately when .reloc is | |
1038 | being discarded. Warn when relocated entry is above .reloc. | |
1039 | ||
c774eab1 AM |
1040 | 2021-04-05 Alan Modra <amodra@gmail.com> |
1041 | ||
1042 | * configure.ac: Move initfini-array arg handling earlier. Don't | |
1043 | check for string.h, strings.h, stdlib.h, or locale.h. Do check | |
1044 | for inttypes.h, stdint.h, sys/types.h. Don't check for | |
1045 | setlocale, free, getev or strstr. | |
1046 | (AC_ISC_POSIX): Don't invoke. | |
1047 | * sysdep.h: Include string.h and stdlib.h unconditionally. Test | |
1048 | HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and | |
1049 | getenv fallback declarations. | |
1050 | * ld.h: Don't test HAVE_LOCALE_H. | |
1051 | * ldmain.c: Don't test HAVE_SETLOCALE. | |
1052 | * config.in: Regenerate. | |
1053 | * configure: Regenerate. | |
1054 | ||
74edb473 TC |
1055 | 2021-04-01 Tamar Christina <tamar.christina@arm.com> |
1056 | ||
1057 | PR ld/26659 | |
1058 | * testsuite/ld-pe/pe.exp: Add test. | |
1059 | * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test. | |
1060 | * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test. | |
1061 | ||
e9b095a5 ML |
1062 | 2021-04-01 Martin Liska <mliska@suse.cz> |
1063 | ||
1064 | * ldbuildid.c (strneq): Remove strneq and use startswith. | |
1065 | (validate_build_id_style): Likewise. | |
1066 | (compute_build_id_size): Likewise. | |
1067 | ||
f38a2680 AM |
1068 | 2021-03-31 Alan Modra <amodra@gmail.com> |
1069 | ||
1070 | * sysdep.h (POISON_BFD_BOOLEAN): Define. | |
1071 | * configure.ac (elf_list_options, elf_shlib_list_options=false), | |
1072 | (elf_plt_unwind_list_options=false): Replace FALSE with false, | |
1073 | and TRUE with true. | |
1074 | * emulparams/call_nop.sh, * emulparams/cet.sh, | |
1075 | * emulparams/dynamic_undefined_weak.sh, | |
1076 | * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh, | |
1077 | * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh, | |
1078 | * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh, | |
1079 | * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh, | |
1080 | * emulparams/reloc_overflow.sh, * emulparams/static.sh, | |
1081 | * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em, | |
1082 | * emultempl/aix.em, * emultempl/alphaelf.em, | |
1083 | * emultempl/armcoff.em, * emultempl/armelf.em, | |
1084 | * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em, | |
1085 | * emultempl/cr16elf.em, * emultempl/crxelf.em, | |
1086 | * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em, | |
1087 | * emultempl/hppaelf.em, * emultempl/linux.em, | |
1088 | * emultempl/m68hc1xelf.em, * emultempl/metagelf.em, | |
1089 | * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em, | |
1090 | * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em, | |
1091 | * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em, | |
1092 | * emultempl/pep.em, * emultempl/ppc32elf.em, | |
1093 | * emultempl/ppc64elf.em, * emultempl/rxelf.em, | |
1094 | * emultempl/rxlinux.em, * emultempl/scoreelf.em, | |
1095 | * emultempl/solaris2.em, * emultempl/spuelf.em, | |
1096 | * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em, | |
1097 | * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h, | |
1098 | * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h, | |
1099 | * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c, | |
1100 | * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h, | |
1101 | * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h, | |
1102 | * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c, | |
1103 | * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h, | |
1104 | * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace | |
1105 | bfd_boolean with bool, FALSE with false, and TRUE with true. | |
1106 | * configure: Regenerate. | |
1107 | ||
3dfb1b6d AM |
1108 | 2021-03-31 Alan Modra <amodra@gmail.com> |
1109 | ||
1110 | * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h. | |
1111 | * emultempl/nds32elf.em: Likewise. | |
1112 | * testsuite/ld-elf/mbind2b.c: Likewise. | |
1113 | * testsuite/ld-elf/pr18718.c: Likewise. | |
1114 | * testsuite/ld-elf/pr18720a.c: Likewise. | |
1115 | * testsuite/ld-elf/pr25749-1.c: Likewise. | |
1116 | * testsuite/ld-elf/pr25749-1a.c: Likewise. | |
1117 | * testsuite/ld-elf/pr25749-1b.c: Likewise. | |
1118 | * testsuite/ld-elf/pr25749-1c.c: Likewise. | |
1119 | * testsuite/ld-elf/pr25749-1d.c: Likewise. | |
1120 | * testsuite/ld-elf/pr25749-2.c: Likewise. | |
1121 | * testsuite/ld-elf/pr25754-1a.c: Likewise. | |
1122 | * testsuite/ld-elf/pr25754-2a.c: Likewise. | |
1123 | * testsuite/ld-elf/pr25754-3a.c: Likewise. | |
1124 | * testsuite/ld-elf/pr25754-4a.c: Likewise. | |
1125 | * testsuite/ld-elf/pr25754-5a.c: Likewise. | |
1126 | * testsuite/ld-elf/pr25754-6a.c: Likewise. | |
1127 | ||
63b4cc53 AM |
1128 | 2021-03-29 Alan Modra <amodra@gmail.com> |
1129 | ||
1130 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify | |
1131 | boolean expression. | |
1132 | * lexsup.c (parse_args): Likewise. | |
1133 | * pe-dll.c (pe_dll_id_target): Likewise. | |
1134 | ||
8592be8c NA |
1135 | 2021-03-25 Nick Alcock <nick.alcock@oracle.com> |
1136 | ||
1137 | * testsuite/ld-ctf/array.d: Only check that the data object | |
1138 | section is nonempty: do not check its exact size. | |
1139 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. | |
1140 | * testsuite/ld-ctf/slice.d: Likewise. | |
1141 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the | |
1142 | func info section too. | |
1143 | * testsuite/ld-ctf/function.d: Likewise, for the func info section. | |
1144 | ||
08dedd66 ML |
1145 | 2021-03-22 Martin Liska <mliska@suse.cz> |
1146 | ||
1147 | * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith. | |
1148 | * emultempl/beos.em: Likewise. | |
1149 | * emultempl/elf.em: Likewise. | |
1150 | * emultempl/pe.em: Likewise. | |
1151 | * emultempl/pep.em: Likewise. | |
1152 | * emultempl/xtensaelf.em: Likewise. | |
1153 | * ldctor.c (ctor_prio): Likewise. | |
1154 | * ldelf.c (ldelf_try_needed): Likewise. | |
1155 | (ldelf_parse_ld_so_conf): Likewise. | |
1156 | (ldelf_after_open): Likewise. | |
1157 | (output_rel_find): Likewise. | |
1158 | (ldelf_place_orphan): Likewise. | |
1159 | * ldfile.c (ldfile_add_library_path): Likewise. | |
1160 | * ldlang.c (lang_add_input_file): Likewise. | |
1161 | * ldmain.c (get_sysroot): Likewise. | |
1162 | (get_emulation): Likewise. | |
1163 | (add_archive_element): Likewise. | |
1164 | * ldwrite.c (unsplittable_name): Likewise. | |
1165 | (clone_section): Likewise. | |
1166 | * lexsup.c (parse_args): Likewise. | |
1167 | * pe-dll.c (is_import): Likewise. | |
1168 | (pe_implied_import_dll): Likewise. | |
1169 | ||
1de96e5d L |
1170 | 2021-03-19 H.J. Lu <hongjiu.lu@intel.com> |
1171 | ||
1172 | PR ld/27590 | |
1173 | * testsuite/ld-x86-64/pr27590.rd: New file. | |
1174 | * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise. | |
1175 | * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise. | |
1176 | * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test. | |
1177 | ||
15407e7e AM |
1178 | 2021-03-20 Alan Modra <amodra@gmail.com> |
1179 | ||
1180 | PR 27590 | |
1181 | * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable | |
1182 | for all sections except .stabstr. | |
1183 | ||
fba7f753 AM |
1184 | 2021-03-19 Alan Modra <amodra@gmail.com> |
1185 | ||
1186 | PR 27590 | |
1187 | * testsuite/ld-elf/pr27590a.d: Match relocs using label, and | |
1188 | R_MIPS_NONE. | |
1189 | * testsuite/ld-elf/pr27590b.d: Likewise. | |
1190 | ||
3818d4ab L |
1191 | 2021-03-18 H.J. Lu <hongjiu.lu@intel.com> |
1192 | ||
1193 | PR ld/27590 | |
1194 | * testsuite/ld-elf/pr27590.s: New file. | |
1195 | * testsuite/ld-elf/pr27590a.d: Likewise. | |
1196 | * testsuite/ld-elf/pr27590b.d: Likewise. | |
1197 | * testsuite/ld-i386/i386.exp: Also run ld/27193 test with | |
1198 | --reduce-memory-overheads. | |
1199 | ||
51f6e7a9 L |
1200 | 2021-03-18 H.J. Lu <hongjiu.lu@intel.com> |
1201 | ||
1202 | PR ld/27587 | |
1203 | * testsuite/ld-x86-64/pr27587.err: New file. | |
1204 | * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise. | |
1205 | * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise. | |
1206 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test. | |
1207 | ||
69a28486 NA |
1208 | 2021-03-18 Nick Alcock <nick.alcock@oracle.com> |
1209 | ||
1210 | * testsuite/ld-ctf/slice.c: Check slices of enums too. | |
1211 | * testsuite/ld-ctf/slice.d: Results adjusted. | |
1212 | ||
ee42883c NC |
1213 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
1214 | ||
1215 | * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite | |
1216 | lname string. | |
1217 | ||
c68b1842 JB |
1218 | 2021-03-15 Jan Beulich <jbeulich@suse.com> |
1219 | ||
1220 | * pe-dll.c (generate_reloc): Drop padding to reloc_s->size. | |
1221 | ||
203a206d AM |
1222 | 2021-03-12 Alan Modra <amodra@gmail.com> |
1223 | ||
1224 | * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to.. | |
1225 | (ALL_64_EMULATION_SOURCES): ..here. | |
1226 | * Makefile.in: Regenerate. | |
1227 | ||
1b2cb8e2 CC |
1228 | 2021-03-12 Clément Chigot <clement.chigot@atos.net> |
1229 | ||
1230 | * emultempl/aix.em: Ensure .tdata section is removed | |
1231 | if empty, even with -r flag. | |
1232 | * scripttempl/aix.sc: Handle TLS sections. | |
1233 | * testsuite/ld-powerpc/aix52.exp: Add new tests. | |
1234 | * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test. | |
1235 | * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test. | |
1236 | * testsuite/ld-powerpc/aix-tls-reloc.ex: New test. | |
1237 | * testsuite/ld-powerpc/aix-tls-reloc.s: New test. | |
1238 | * testsuite/ld-powerpc/aix-tls-section-32.d: New test. | |
1239 | * testsuite/ld-powerpc/aix-tls-section-64.d: New test. | |
1240 | * testsuite/ld-powerpc/aix-tls-section.ex: New test. | |
1241 | * testsuite/ld-powerpc/aix-tls-section.s: New test. | |
1242 | ||
4a403be0 CC |
1243 | 2021-03-12 Clément Chigot <clement.chigot@atos.net> |
1244 | ||
1245 | * scripttempl/aix.sc: Add .te to .data section. | |
1246 | * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+. | |
1247 | Add aix-largetoc-1 test. | |
1248 | * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test. | |
1249 | * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test. | |
1250 | * testsuite/ld-powerpc/aix-largetoc-1.ex: New test. | |
1251 | * testsuite/ld-powerpc/aix-largetoc-1.s: New test. | |
1252 | ||
68cb2183 AM |
1253 | 2021-03-12 Alan Modra <amodra@gmail.com> |
1254 | ||
1255 | * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and | |
1256 | arrange to define __main for some run_dump_test tests. | |
1257 | * testsuite/ld-gc/pr13683.d: Accept more symbols. | |
1258 | * testsuite/ld-gc/pr14265.d: Likewise, and ordering. | |
1259 | * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE. | |
1260 | * testsuite/ld-srec/srec.exp: Likewise. | |
1261 | * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format. | |
1262 | ||
ebdcad3f NC |
1263 | 2021-03-11 Nelson Chu <nelson.chu@sifive.com> |
1264 | ||
1265 | * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments | |
1266 | many times if riscv_restart_relax_sections returns TRUE. | |
1267 | * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before | |
1268 | applying this patch, the call won't be relaxed to jal; But now we | |
1269 | have more chances to do relaxations. | |
1270 | * testsuite/ld-riscv-elf/restart-relax.s: Likewise. | |
1271 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. | |
1272 | ||
67b0f684 JB |
1273 | 2021-03-10 Jan Beulich <jbeulich@suse.com> |
1274 | ||
1275 | * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more | |
1276 | than 32 set bits. | |
1277 | * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop | |
1278 | comment. | |
1279 | * scripttempl/mcorepe.sc: Use PROVIDE() for _stack. | |
1280 | ||
5dc75cf3 JB |
1281 | 2021-03-09 Jan Beulich <jbeulich@suse.com> |
1282 | ||
1283 | * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase | |
1284 | alignment to 4k. | |
1285 | * testsuite/ld-pe/reloc.d: xfail for mcore. | |
1286 | ||
87fa7d56 JB |
1287 | 2021-03-09 Jan Beulich <jbeulich@suse.com> |
1288 | ||
1289 | * testsuite/ld-scripts/alignof.exp, | |
1290 | testsuite/ld-scripts/data.exp, | |
1291 | testsuite/ld-scripts/default-script.exp, | |
1292 | testsuite/ld-scripts/log2.exp, | |
1293 | testsuite/ld-scripts/print-memory-usage.exp, | |
1294 | testsuite/ld-scripts/sizeof.exp, | |
1295 | testsuite/ld-undefined/weak-undef.exp: Set image base to zero | |
1296 | for PE/COFF. | |
1297 | * testsuite/ld-scripts/default-script1.d, | |
1298 | testsuite/ld-scripts/default-script2.d, | |
1299 | testsuite/ld-scripts/default-script3.d, | |
1300 | testsuite/ld-scripts/default-script4.d: Drop xfail and comment. | |
1301 | ||
8c0546e9 L |
1302 | 2021-03-05 H.J. Lu <hongjiu.lu@intel.com> |
1303 | ||
1304 | PR ld/27425 | |
1305 | PR ld/27432 | |
1306 | * ldelf.c (ldelf_set_output_arch): New function. | |
1307 | * ldelf.h (ldelf_set_output_arch): New prototype. | |
1308 | * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to | |
1309 | ldelf_set_output_arch. | |
1310 | * ld-x86-64/pe-x86-64-1.od: Expect __executable_start. | |
1311 | * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise. | |
1312 | * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise. | |
1313 | * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise. | |
1314 | * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise. | |
1315 | * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise. | |
1316 | * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file. | |
1317 | * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise. | |
1318 | * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test. | |
1319 | ||
d4e5db4e JB |
1320 | 2021-03-04 Jan Beulich <jbeulich@suse.com> |
1321 | ||
1322 | * testsuite/ld-scripts/map-address.exp: Set image base to zero | |
1323 | for PE/COFF. | |
1324 | * testsuite/ld-scripts/map-address.t: Place .text. | |
1325 | ||
6fa7408d JB |
1326 | 2021-03-04 Jan Beulich <jbeulich@suse.com> |
1327 | ||
1328 | * ldexp.c (ldexp_is_final_sym_absolute): New. | |
1329 | * ldexp.h (ldexp_is_final_sym_absolute): Declare. | |
1330 | * pe-dll.c (generate_reloc): Skip absolute symbols. | |
1331 | * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New. | |
1332 | * testsuite/ld-pe/pe.exp: Run new test. | |
1333 | ||
5789f845 AM |
1334 | 2021-03-03 Alan Modra <amodra@gmail.com> |
1335 | ||
1336 | PR 27500 | |
1337 | * ldlang.c (insert_undefined): Don't mark symbols here. | |
1338 | (lang_mark_undefineds): Do so here instead, new function. | |
1339 | (lang_process): Call lang_mark_undefineds. | |
1340 | * testsuite/ld-gc/start3.d, | |
1341 | * testsuite/ld-gc/start3.s: New test. | |
1342 | * testsuite/ld-gc/start4.d, | |
1343 | * testsuite/ld-gc/start4.s: New test. | |
1344 | * testsuite/ld-gc/gc.exp: Run them. | |
1345 | ||
270f32fc AM |
1346 | 2021-03-03 Alan Modra <amodra@gmail.com> |
1347 | ||
1348 | * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS. | |
1349 | Move tests with ELF section directives to is_elf_format block. | |
1350 | * testsuite/ld-gc/abi-note.d: Run on more targets. | |
1351 | * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails. | |
1352 | * testsuite/ld-gc/start.d: Likewise. | |
1353 | * testsuite/ld-gc/start2.d: Likewise. | |
1354 | * testsuite/ld-gc/stop.d: Likewise. | |
1355 | * testsuite/ld-gc/pr19167a.s: Add support for underscore targets. | |
1356 | * testsuite/ld-gc/start.s: Likewise. | |
1357 | * testsuite/ld-gc/start2.s: Likewise. | |
1358 | ||
211bcd01 NA |
1359 | 2021-03-02 Nick Alcock <nick.alcock@oracle.com> |
1360 | ||
1361 | * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings. | |
1362 | ||
b80e421f AM |
1363 | 2021-03-02 Alan Modra <amodra@gmail.com> |
1364 | ||
1365 | * testsuite/ld-powerpc/startstop.d, | |
1366 | * testsuite/ld-powerpc/startstop.r, | |
1367 | * testsuite/ld-powerpc/startstop.s: New test. | |
1368 | * testsuite/ld-powerpc/powerpc.exp: Run it. | |
1369 | ||
f5b9c288 AM |
1370 | 2021-03-02 Alan Modra <amodra@gmail.com> |
1371 | ||
1372 | * testsuite/ld-powerpc/weak1.d, | |
1373 | * testsuite/ld-powerpc/weak1.r, | |
1374 | * testsuite/ld-powerpc/weak1.s, | |
1375 | * testsuite/ld-powerpc/weak1so.d, | |
1376 | * testsuite/ld-powerpc/weak1so.r: New tests. | |
1377 | * testsuite/ld-powerpc/powerpc.exp: Run them. | |
1378 | ||
ba6eb62f NC |
1379 | 2021-03-01 Hannes Domani <ssbssa@sourceware.org> |
1380 | Nick Clifton <nickc@redhat.com> | |
1381 | ||
1382 | PR 27268 | |
1383 | * scripttempl/pe.sc: Add DWARF-5 section names. | |
1384 | * scripttempl/pep.sc: Likewise. | |
1385 | ||
8ee10e86 AM |
1386 | 2021-03-01 Alan Modra <amodra@gmail.com> |
1387 | Fangrui Song <maskray@google.com> | |
1388 | ||
1389 | * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc. | |
1390 | * lexsup.c (elf_static_list_options): Display help for them. Move | |
1391 | help for -z stack-size to here from elf_shlib_list_options. Add | |
1392 | help for -z start-stop-visibility and -z undefs. | |
1393 | * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc. | |
1394 | * NEWS: Mention -z start-stop-gc. | |
1395 | * testsuite/ld-gc/start2.s, | |
1396 | * testsuite/ld-gc/start2.d: New test. | |
1397 | * testsuite/ld-gc/gc.exp: Run it. | |
1398 | ||
7824c1d2 AM |
1399 | 2021-03-01 Alan Modra <amodra@gmail.com> |
1400 | ||
1401 | * ldlang.c (undef_start_stop): For ELF make undefined start/stop | |
1402 | symbols undefweak if that was how they were referenced. Undo | |
1403 | dynamic state too. | |
1404 | ||
6a1224ec AM |
1405 | 2021-03-01 Alan Modra <amodra@gmail.com> |
1406 | ||
1407 | * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm. | |
1408 | * testsuite/ld-elf/pr27128a.d: Likewise. | |
1409 | * testsuite/ld-elf/pr27128b.d: Likewise. | |
1410 | * testsuite/ld-elf/pr27128c.d: Likewise. | |
1411 | * testsuite/ld-elf/pr27128d.d: Likewise. | |
1412 | * testsuite/ld-elf/pr27128e.d: Likewise. | |
1413 | ||
bfece756 AM |
1414 | 2021-02-26 Alan Modra <amodra@gmail.com> |
1415 | ||
1416 | PR 27441 | |
1417 | * testsuite/ld-plugin/pr27441a.c, | |
1418 | * testsuite/ld-plugin/pr27441b.c, | |
1419 | * testsuite/ld-plugin/pr27441c.c, | |
1420 | * testsuite/ld-plugin/pr27441c.d: New test. | |
1421 | * testsuite/ld-plugin/lto.exp: Run it. | |
1422 | ||
3c27360b JB |
1423 | 2021-02-25 Jan Beulich <jbeulich@suse.com> |
1424 | ||
1425 | * ld.texi (PROVIDE): Downgrade "error" to "diagnostic". | |
1426 | ||
89753bbf AM |
1427 | 2021-02-21 Alan Modra <amodra@gmail.com> |
1428 | ||
1429 | * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol | |
1430 | defined in an object file. | |
1431 | * ldmain.c (multiple_definition): Heed info->warn_multiple_definition. | |
1432 | * testsuite/ld-scripts/defined5.d: Expect a warning. | |
1433 | ||
2f973f13 AM |
1434 | 2021-02-19 Alan Modra <amodra@gmail.com> |
1435 | ||
1436 | * testsuite/lib/ld-lib.exp: Whitespace. | |
1437 | (load_common_lib): Expand single use and delete this proc. | |
1438 | (run_host_cmd): Use -fno-lto when getting gcc's ld version. | |
1439 | Use -B for clang too. | |
1440 | ||
a364a116 AB |
1441 | 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com> |
1442 | ||
1443 | * testplugin.c (record_read_length): Remove debug fprintf. | |
1444 | ||
5b1f6c95 AM |
1445 | 2021-02-14 Alan Modra <amodra@gmail.com> |
1446 | ||
1447 | * testsuite/ld-cdtest/cdtest.exp, | |
1448 | * testsuite/ld-checks/checks.exp, | |
1449 | * testsuite/ld-elf/binutils.exp, | |
1450 | * testsuite/ld-elf/compress.exp, | |
1451 | * testsuite/ld-elf/dwarf.exp, | |
1452 | * testsuite/ld-elf/exclude.exp, | |
1453 | * testsuite/ld-elf/frame.exp, | |
1454 | * testsuite/ld-elf/indirect.exp, | |
1455 | * testsuite/ld-elf/linux-x86.exp, | |
1456 | * testsuite/ld-elf/sec-to-seg.exp, | |
1457 | * testsuite/ld-elf/tls_common.exp, | |
1458 | * testsuite/ld-elfcomm/elfcomm.exp, | |
1459 | * testsuite/ld-elfvers/vers.exp, | |
1460 | * testsuite/ld-elfvsb/elfvsb.exp, | |
1461 | * testsuite/ld-elfweak/elfweak.exp, | |
1462 | * testsuite/ld-ifunc/binutils.exp, | |
1463 | * testsuite/ld-mips-elf/mips-elf-flags.exp, | |
1464 | * testsuite/ld-misc/defsym.exp, | |
1465 | * testsuite/ld-mn10300/mn10300.exp, | |
1466 | * testsuite/ld-plugin/lto.exp, | |
1467 | * testsuite/ld-plugin/plugin.exp, | |
1468 | * testsuite/ld-scripts/align.exp, | |
1469 | * testsuite/ld-scripts/assert.exp, | |
1470 | * testsuite/ld-scripts/crossref.exp, | |
1471 | * testsuite/ld-scripts/defined.exp, | |
1472 | * testsuite/ld-scripts/extern.exp, | |
1473 | * testsuite/ld-scripts/log2.exp, | |
1474 | * testsuite/ld-scripts/map-address.exp, | |
1475 | * testsuite/ld-scripts/phdrs.exp, | |
1476 | * testsuite/ld-scripts/phdrs2.exp, | |
1477 | * testsuite/ld-scripts/script.exp, | |
1478 | * testsuite/ld-scripts/section-flags.exp, | |
1479 | * testsuite/ld-scripts/sizeof.exp, | |
1480 | * testsuite/ld-scripts/weak.exp, | |
1481 | * testsuite/ld-selective/selective.exp, | |
1482 | * testsuite/ld-sh/sh.exp, | |
1483 | * testsuite/ld-shared/shared.exp, | |
1484 | * testsuite/ld-srec/srec.exp, | |
1485 | * testsuite/ld-tic6x/tic6x.exp, | |
1486 | * testsuite/ld-undefined/undefined.exp, | |
1487 | * testsuite/ld-undefined/weak-undef.exp, | |
1488 | * testsuite/lib/ld-lib.exp: Don't use unresolved except after | |
1489 | perror. Instead report "unsupported" or "fail". | |
1490 | ||
c46b7066 NC |
1491 | 2021-02-12 Nick Clifton <nickc@redhat.com> |
1492 | ||
1493 | * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically | |
1494 | following debug links. | |
1495 | ||
933feaf3 AM |
1496 | 2021-02-11 Alan Modra <amodra@gmail.com> |
1497 | ||
1498 | * NEWS: Mention arm-symbianelf removal. | |
1499 | ||
a57d1773 AM |
1500 | 2021-02-09 Alan Modra <amodra@gmail.com> |
1501 | ||
1502 | * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c. | |
1503 | Don't include symbian dep file. | |
1504 | * configure.tgt: Remove arm*-*-symbianelf* entry. | |
1505 | * emulparams/armsymbian.sh: Delete. | |
1506 | * ld.texi: Don't mention symbian. | |
1507 | * scripttempl/armbpabi.sc: Delete. | |
1508 | * testsuite/ld-arm/symbian-seg1.d: Delete. | |
1509 | * testsuite/ld-arm/symbian-seg1.s: Delete. | |
1510 | * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1. | |
1511 | * Makefile.in: Regenerate. | |
1512 | * po/BLD-POTFILES.in: Regenerate. | |
1513 | ||
38a143aa L |
1514 | 2021-02-07 H.J. Lu <hongjiu.lu@intel.com> |
1515 | ||
1516 | PR ld/27358 | |
1517 | * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time | |
1518 | tests. | |
1519 | * testsuite/ld-x86-64/x86-64.exp: Likewise. | |
1520 | ||
35a01a04 NA |
1521 | 2021-01-26 Nick Alcock <nick.alcock@oracle.com> |
1522 | ||
1523 | * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS | |
1524 | when appropriate. | |
1525 | ||
1a2f1b54 L |
1526 | 2021-02-04 H.J. Lu <hongjiu.lu@intel.com> |
1527 | ||
1528 | PR ld/19609 | |
1529 | * testsuite/ld-x86-64/pr19609-2a.d: Updated. | |
1530 | * testsuite/ld-x86-64/pr19609-2b.d: Likewise. | |
1531 | * testsuite/ld-x86-64/pr19609-4a.d: Likewise. | |
1532 | * testsuite/ld-x86-64/pr19609-4c.d: Likewise. | |
1533 | * testsuite/ld-x86-64/pr19609-5d.d: Likewise. | |
1534 | * testsuite/ld-x86-64/pr19609-7a.d: Likewise. | |
1535 | * testsuite/ld-x86-64/pr19609-7c.d: Likewise. | |
1536 | ||
37707bd8 L |
1537 | 2021-02-04 H.J. Lu <hongjiu.lu@intel.com> |
1538 | ||
1539 | PR ld/15146 | |
1540 | * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests. | |
1541 | * testsuite/ld-plugin/pr15146.d: Restored. | |
1542 | * testsuite/ld-plugin/pr15146a.c: Likewise. | |
1543 | * testsuite/ld-plugin/pr15146b.c: Likewise. | |
1544 | * testsuite/ld-plugin/pr15146c.c: Likewise. | |
1545 | * testsuite/ld-plugin/pr15146d.c: Likewise. | |
1546 | ||
7d409ac0 AM |
1547 | 2021-02-04 Alan Modra <amodra@gmail.com> |
1548 | ||
1549 | * testsuite/ld-plugin/pr27311d.c: New test. | |
1550 | * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile | |
1551 | and link new test as pr27311-2. | |
1552 | ||
69551367 AM |
1553 | 2021-02-03 Alan Modra <amodra@gmail.com> |
1554 | ||
1555 | * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so): | |
1556 | Link with --as-needed. | |
1557 | ||
9918bff7 AM |
1558 | 2021-02-02 Alan Modra <amodra@gmail.com> |
1559 | ||
1560 | * testsuite/ld-plugin/pr27311.d, | |
1561 | * testsuite/ld-plugin/pr27311.ver, | |
1562 | * testsuite/ld-plugin/pr27311a.c, | |
1563 | * testsuite/ld-plugin/pr27311b.c, | |
1564 | * testsuite/ld-plugin/pr27311c.c: New testcase. | |
1565 | * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and | |
1566 | PR12982 entries. | |
1567 | ||
1f568f9a EH |
1568 | 2021-02-01 Emery Hemingway <ehmry@posteo.net> |
1569 | ||
1570 | * configure.tgt: Add *-*-genode* as a target for AArch64 and x86. | |
1571 | ||
fb6c220e AM |
1572 | 2021-02-01 Alan Modra <amodra@gmail.com> |
1573 | ||
1574 | * ldgram.y (defsym_expr): Use assignment rule. | |
1575 | * ldlex.h (ldlex_defsym): Delete. | |
1576 | * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete. | |
1577 | ||
40726f16 AM |
1578 | 2021-02-01 Alan Modra <amodra@gmail.com> |
1579 | ||
1580 | * ldgram.y (section): Call ldlex_backup. Remove empty action. | |
1581 | * ldlex.h (ldlex_backup): Declare. | |
1582 | * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of | |
1583 | chars, use SYMBOLNAMECHAR. | |
1584 | (ldlex_backup): New function. | |
1585 | ||
a5f92c67 AM |
1586 | 2021-02-01 Alan Modra <amodra@gmail.com> |
1587 | ||
1588 | * ldgram.y: Whitespace fixes. | |
1589 | ||
49daa38f AM |
1590 | 2021-02-01 Alan Modra <amodra@gmail.com> |
1591 | ||
1592 | * testsuite/ld-elf/pr27259.d: Correct sh_link match. | |
1593 | ||
c4566785 AM |
1594 | 2021-01-29 Alan Modra <amodra@gmail.com> |
1595 | ||
1596 | * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test. | |
1597 | ||
53e556e5 L |
1598 | 2021-01-28 H.J. Lu <hongjiu.lu@intel.com> |
1599 | ||
1600 | PR ld/27259 | |
1601 | * testsuite/ld-elf/pr27259.d: New file. | |
1602 | * testsuite/ld-elf/pr27259.s: Likewise. | |
1603 | ||
def97fb9 AM |
1604 | 2021-01-28 Alan Modra <amodra@gmail.com> |
1605 | ||
1606 | PR 27259 | |
1607 | * ldelf.c (ldelf_before_place_orphans): Use linker_mark to | |
1608 | prevent endless looping of linked-to sections. | |
1609 | ||
2eda57ef L |
1610 | 2021-01-26 H.J. Lu <hongjiu.lu@intel.com> |
1611 | ||
1612 | * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo. | |
1613 | ||
1c9c9b9b AM |
1614 | 2021-01-26 Alan Modra <amodra@gmail.com> |
1615 | ||
1616 | PR 27226 | |
1617 | * emulparams/alphavms.sh: Don't set COMPILE_IN. | |
1618 | * emulparams/elf64_ia64_vms.sh: Likewise. | |
1619 | * emulparams/elf64mmix.sh: Likewise. | |
1620 | * emulparams/elf_iamcu.sh: Likewise. | |
1621 | * emulparams/elf_k1om.sh: Likewise. | |
1622 | * emulparams/elf_l1om.sh: Likewise. | |
1623 | * emulparams/mmo.sh: Likewise. | |
1624 | * emulparams/pdp11.sh: Set DATA_SEG_ADDR. | |
1625 | * scripttempl/pdp11.sc: Use it. | |
1626 | * emultempl/pdp11.em: Don't edit .xn script for separate_code, | |
1627 | instead use .xe script. Support scripts from file system. | |
1628 | * emultempl/beos.em: Support scripts from file system. | |
1629 | * emultempl/pe.em: Likewise. | |
1630 | * emultempl/pep.em: Likewise. | |
1631 | * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link. | |
1632 | ||
9e42b976 FS |
1633 | 2021-01-25 Fangrui Song <maskray@google.com> |
1634 | ||
1635 | PR ld/27230 | |
1636 | * scripttempl/DWARF.sc: Add .debug_* sections. | |
1637 | ||
b8df6900 NC |
1638 | 2021-01-25 Nick Clifton <nickc@redhat.com> |
1639 | ||
1640 | * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists, | |
1641 | .debug_line_str and .debug_str_offsets. Move .debug_macro and | |
1642 | .debug_addr into DWARF-5 section. | |
1643 | ||
c78eec44 AM |
1644 | 2021-01-21 Alan Modra <amodra@gmail.com> |
1645 | ||
1646 | * testsuite/ld-elf/pr26936.d: No longer xfail mips. | |
1647 | ||
4bd7c902 AM |
1648 | 2021-01-20 Alan Modra <amodra@gmail.com> |
1649 | ||
1650 | * testsuite/ld-powerpc/relbrlt.s: Make symbols global. | |
1651 | * testsuite/ld-powerpc/relbrlt.d: Adjust to suit. | |
1652 | * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs. | |
1653 | * testsuite/ld-powerpc/tlsget.wf: Likewise. | |
1654 | * testsuite/ld-powerpc/tlsget2.d: Likewise. | |
1655 | * testsuite/ld-powerpc/tlsget2.wf: Likewise. | |
1656 | * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms. | |
1657 | * testsuite/ld-powerpc/tlsexe32.r: Likewise. | |
1658 | * testsuite/ld-powerpc/tlsexe32no.r: Likewise. | |
1659 | * testsuite/ld-powerpc/tlsexeno.r: Likewise. | |
1660 | * testsuite/ld-powerpc/tlsexenors.r: Likewise. | |
1661 | * testsuite/ld-powerpc/tlsexers.r: Likewise. | |
1662 | * testsuite/ld-powerpc/tlsexetoc.r: Likewise. | |
1663 | * testsuite/ld-powerpc/tlsexetocrs.r: Likewise. | |
1664 | * testsuite/ld-powerpc/tlsso.r: Likewise. | |
1665 | * testsuite/ld-powerpc/tlsso32.r: Likewise. | |
1666 | * testsuite/ld-powerpc/tlstocso.r: Likewise. | |
1667 | ||
c98de297 NA |
1668 | 2021-01-19 Nick Alcock <nick.alcock@oracle.com> |
1669 | ||
1670 | * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t | |
1671 | symbols by the optimizer. | |
1672 | * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly. | |
1673 | ||
85e963f1 NC |
1674 | 2021-01-19 Nelson Chu <nelson.chu@sifive.com> |
1675 | ||
1676 | * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true | |
1677 | if target is riscv little endian. Otherwise, return false. | |
1678 | * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian | |
1679 | targets by [riscv_little_endian]. | |
1680 | ||
326adec3 AM |
1681 | 2021-01-18 Alan Modra <amodra@gmail.com> |
1682 | ||
1683 | PR 26378 | |
1684 | * ldlang.c (map_input_to_output_sections): Start with a read-only | |
1685 | section for data statements. | |
1686 | * testsuite/ld-elf/size-2.d: Adjust to suit. | |
1687 | ||
994b2513 L |
1688 | 2021-01-17 H.J. Lu <hongjiu.lu@intel.com> |
1689 | ||
1690 | PR ld/27193 | |
1691 | * testsuite/ld-i386/i386.exp: Run PR ld/27193 test. | |
1692 | * testsuite/ld-i386/pr27193.dd: New file. | |
1693 | * testsuite/ld-i386/pr27193a.o.bz2: Likewise. | |
1694 | * testsuite/ld-i386/pr27193b.s: Likewise. | |
1695 | ||
edf0f284 L |
1696 | 2021-01-16 H.J. Lu <hongjiu.lu@intel.com> |
1697 | ||
1698 | PR binutils/23460 | |
1699 | * testsuite/ld-plugin/lto.exp: Increase the max number of open | |
1700 | files to 20 for PR binutils/23460 test. | |
1701 | ||
75a933f3 L |
1702 | 2021-01-16 H.J. Lu <hongjiu.lu@intel.com> |
1703 | ||
1704 | PR ld/23169 | |
1705 | * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with | |
1706 | pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests. | |
1707 | * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function | |
1708 | address. | |
1709 | ||
68b00778 L |
1710 | 2021-01-15 H.J. Lu <hongjiu.lu@intel.com> |
1711 | ||
1712 | * NEWS: Mention -z report-relative-reloc. | |
1713 | * ld.texi: Document -z report-relative-reloc. | |
1714 | * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh. | |
1715 | * emulparams/elf_i386.sh: Likewse. | |
1716 | * emulparams/elf_x86_64.sh: Likewse. | |
1717 | * emulparams/x86-report-relative.sh: New file. | |
1718 | * testsuite/ld-i386/report-reloc-1.d: Likewse. | |
1719 | * testsuite/ld-i386/report-reloc-1.l: Likewse. | |
1720 | * testsuite/ld-i386/report-reloc-1.s: Likewse. | |
1721 | * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse. | |
1722 | * testsuite/ld-x86-64/report-reloc-1.d: Likewse. | |
1723 | * testsuite/ld-x86-64/report-reloc-1.l: Likewse. | |
1724 | * testsuite/ld-x86-64/report-reloc-1.s: Likewse. | |
1725 | * testsuite/ld-i386/i386.exp: Run report-reloc-1. | |
1726 | * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and | |
1727 | report-reloc-1-x32. | |
1728 | ||
eb6e6af8 AM |
1729 | 2021-01-16 Alan Modra <amodra@gmail.com> |
1730 | ||
1731 | PR 26002 | |
1732 | * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined | |
1733 | unversioned symbols. | |
1734 | * testsuite/ld-elfvers/vers16.dsym: Likewise. | |
1735 | ||
b800637e NC |
1736 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
1737 | ||
1738 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated. | |
1739 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise. | |
1740 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise. | |
1741 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise. | |
1742 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise. | |
1743 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise. | |
1744 | ||
5a10699f NC |
1745 | 2021-01-14 Nick Clifton <nickc@redhat.com> |
1746 | ||
1747 | * po/fr.po: Updated French translation. | |
1748 | ||
271bea6a MF |
1749 | 2021-01-14 Mike Frysinger <vapier@gentoo.org> |
1750 | ||
1751 | * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim. | |
1752 | ||
4120e488 AM |
1753 | 2021-01-14 Alan Modra <amodra@gmail.com> |
1754 | ||
1755 | PR 27160 | |
1756 | * ldelfgen.c (compare_link_order): Protect access of ELF section | |
1757 | data. | |
1758 | (add_link_order_input_section): Remove redundant NULL check. | |
1759 | Use bfd_get_flavour. | |
1760 | (ldelf_map_segments): Use bfd_get_flavour. | |
1761 | ||
b634d11d L |
1762 | 2021-01-13 H.J. Lu <hongjiu.lu@intel.com> |
1763 | ||
1764 | * ldelfgen.c (add_link_order_input_section): Check for ELF input | |
1765 | before accessing ELF section data. | |
1766 | ||
5347ed60 AM |
1767 | 2021-01-13 Alan Modra <amodra@gmail.com> |
1768 | ||
1769 | * Makefile.in: Regenerate. | |
1770 | ||
b209b5a6 AM |
1771 | 2021-01-13 Alan Modra <amodra@gmail.com> |
1772 | ||
1773 | PR 27160 | |
1774 | * ldlang.h (lang_output_section_statement_type): Add data field. | |
1775 | (lang_input_section_type, lang_section_bst_type): Add pattern field. | |
1776 | (statement_list): Declare. | |
1777 | (lang_add_section): Adjust prototype. | |
1778 | * emultempl/aarch64elf.em: Adjust lang_add_section calls. | |
1779 | * emultempl/armelf.em: Likewise. | |
1780 | * emultempl/beos.em: Likewise. | |
1781 | * emultempl/cskyelf.em: Likewise. | |
1782 | * emultempl/hppaelf.em: Likewise. | |
1783 | * emultempl/m68hc1xelf.em: Likewise. | |
1784 | * emultempl/metagelf.em: Likewise. | |
1785 | * emultempl/mipself.em: Likewise. | |
1786 | * emultempl/mmo.em: Likewise. | |
1787 | * emultempl/msp430.em: Likewise. | |
1788 | * emultempl/nios2elf.em: Likewise. | |
1789 | * emultempl/pe.em: Likewise. | |
1790 | * emultempl/pep.em: Likewise. | |
1791 | * emultempl/ppc64elf.em: Likewise. | |
1792 | * emultempl/spuelf.em: Likewise. | |
1793 | * emultempl/vms.em: Likewise. | |
1794 | * ldelf.c: Likewise. | |
1795 | * ldelfgen.c: Include ldctor.h. | |
1796 | (struct os_sections): New. | |
1797 | (add_link_order_input_section, link_order_scan): New functions. | |
1798 | (compare_link_order, fixup_link_order): New functions. | |
1799 | (ldelf_map_segments): Call link_order_scan and fixup_link_order. | |
1800 | * ldlang.c (statement_list): Make global. | |
1801 | (output_section_callback_fast): Save pattern in tree node. | |
1802 | (lang_add_section): Add pattern parameter, save in lang_input_section. | |
1803 | (output_section_callback_tree_to_list): Adjust lang_add_section calls. | |
1804 | (lang_insert_orphan, output_section_callback): Likewise. | |
1805 | (ldlang_place_orphan): Likewise. | |
1806 | (gc_section_callback): Don't set section->pattern. | |
1807 | * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic. | |
1808 | * testsuite/ld-elf/pr26256-3b.d: Likewise. | |
1809 | * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate. | |
1810 | ||
8c4645b4 AM |
1811 | 2021-01-13 Alan Modra <amodra@gmail.com> |
1812 | ||
1813 | * ldlang.h (callback_t): Remove flag_info function parameter. | |
1814 | * ldlang.c (walk_wild_consider_section): Adjust to suit. | |
1815 | (walk_wild_section_general): Likewise. | |
1816 | (output_section_callback_fast, output_section_callback): Likewise. | |
1817 | (check_section_callback, gc_section_callback): Likewise. | |
1818 | (find_relro_section_callback): Likewise. | |
1819 | ||
d546b610 L |
1820 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
1821 | ||
1822 | PR binutils/26792 | |
1823 | * configure.ac: Use GNU_MAKE_JOBSERVER. | |
1824 | * aclocal.m4: Regenerated. | |
1825 | * configure: Likewise. | |
1826 | ||
c2e9a4a3 L |
1827 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
1828 | ||
1829 | PR ld/27171 | |
1830 | * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file. | |
1831 | * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise. | |
1832 | * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise. | |
1833 | * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test. | |
1834 | ||
83b33c6c L |
1835 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
1836 | ||
1837 | PR ld/27173 | |
1838 | * configure: Regenerated. | |
1839 | ||
c0f6e439 MJ |
1840 | 2021-01-11 Matt Jenkins <matt@majenko.co.uk> |
1841 | ||
1842 | PR ld/27167 | |
1843 | * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3 | |
1844 | and mips64r5 to list of known mips targets. | |
1845 | ||
1846 | 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk | |
a8aa72b9 NC |
1847 | |
1848 | * po/pt_BR.po: Updated Brazilian Portuguese translation. | |
1849 | ` * po/uk.po: Updated Ukranian translation. | |
1850 | ||
a4966cd9 L |
1851 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
1852 | ||
1853 | * configure: Regenerated. | |
1854 | ||
0a94990b L |
1855 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
1856 | ||
1857 | PR ld/27166 | |
1858 | * testsuite/ld-x86-64/lam-u48.rd: New file. | |
1859 | * testsuite/ld-x86-64/lam-u57.rd: Likewise. | |
1860 | * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests. | |
1861 | ||
573fe3fb NC |
1862 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
1863 | ||
1864 | * configure: Regenerate. | |
1865 | * po/ld.pot: Regenerate. | |
1866 | ||
055bc77a NC |
1867 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
1868 | ||
1869 | * 2.36 release branch crated. | |
1870 | ||
ba9e922f L |
1871 | 2021-01-08 H.J. Lu <hongjiu.lu@intel.com> |
1872 | ||
1873 | * ld-x86-64/property-x86-lam-u48-4.d: Updated. | |
1874 | * ld-x86-64/property-x86-lam-u48-5.d: Likewise. | |
1875 | ||
64307045 AM |
1876 | 2021-01-09 Alan Modra <amodra@gmail.com> |
1877 | ||
1878 | * configure: Regenerate. | |
1879 | * Makefile.in: Regenerate. | |
1880 | ||
f4782128 ST |
1881 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
1882 | ||
1883 | * configure: Regenerate. | |
1884 | ||
d1bcae83 L |
1885 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
1886 | ||
1887 | PR 27109 | |
1888 | * testsuite/ld-elf/export-class.sd: Adjust the expected output. | |
1889 | * testsuite/ld-elf/loadaddr3b.d: Likewise. | |
1890 | * testsuite/ld-i386/ibt-plt-1.d: Likewise. | |
1891 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. | |
1892 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. | |
1893 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. | |
1894 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. | |
1895 | * testsuite/ld-i386/pr19636-1d.d: Likewise. | |
1896 | * testsuite/ld-i386/pr19636-1l.d: Likewise. | |
1897 | * testsuite/ld-i386/pr19636-2c.d: Likewise. | |
1898 | * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. | |
1899 | * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. | |
1900 | * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. | |
1901 | * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. | |
1902 | * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. | |
1903 | * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. | |
1904 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. | |
1905 | * testsuite/ld-ifunc/pr17154-i386.d: Likewise. | |
1906 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. | |
1907 | * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. | |
1908 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. | |
1909 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. | |
1910 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. | |
1911 | * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. | |
1912 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. | |
1913 | * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. | |
1914 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. | |
1915 | * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. | |
1916 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. | |
1917 | * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. | |
1918 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. | |
1919 | * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. | |
1920 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. | |
1921 | * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. | |
1922 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. | |
1923 | * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. | |
1924 | * testsuite/ld-x86-64/pr19609-4e.d: Likewise. | |
1925 | * testsuite/ld-x86-64/pr19609-6a.d: Likewise. | |
1926 | * testsuite/ld-x86-64/pr19609-6b.d: Likewise. | |
1927 | * testsuite/ld-x86-64/pr19609-7b.d: Likewise. | |
1928 | * testsuite/ld-x86-64/pr19609-7d.d: Likewise. | |
1929 | * testsuite/ld-x86-64/pr19636-2l.d: Likewise. | |
1930 | * testsuite/ld-x86-64/pr20253-1d.d: Likewise. | |
1931 | * testsuite/ld-x86-64/pr20253-1h.d: Likewise. | |
1932 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. | |
1933 | * testsuite/ld-x86-64/pr21038b.d: Likewise. | |
1934 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. | |
1935 | * testsuite/ld-x86-64/pr21038c.d: Likewise. | |
1936 | * testsuite/ld-x86-64/pr23854.d: Likewise. | |
1937 | * testsuite/ld-x86-64/pr25416-3.d: Likewise. | |
1938 | * testsuite/ld-x86-64/pr25416-4.d: Likewise. | |
1939 | * testsuite/ld-i386/plt-pic.pd: Likewise. | |
1940 | * testsuite/ld-i386/plt-pic2.dd: Likewise. | |
1941 | * testsuite/ld-i386/plt.pd: Likewise. | |
1942 | * testsuite/ld-i386/plt2.dd: Likewise. | |
1943 | * testsuite/ld-i386/tlsbin.rd: Likewise. | |
1944 | * testsuite/ld-i386/tlsbin2.rd: Likewise. | |
1945 | * testsuite/ld-i386/tlsbindesc.rd: Likewise. | |
1946 | * testsuite/ld-i386/tlsdesc.rd: Likewise. | |
1947 | * testsuite/ld-i386/tlsgdesc.rd: Likewise. | |
1948 | * testsuite/ld-i386/tlsnopic.rd: Likewise. | |
1949 | * testsuite/ld-i386/tlspic.rd: Likewise. | |
1950 | * testsuite/ld-i386/tlspic2.rd: Likewise. | |
1951 | * testsuite/ld-x86-64/mpx3.dd: Likewise. | |
1952 | * testsuite/ld-x86-64/mpx3n.dd: Likewise. | |
1953 | * testsuite/ld-x86-64/mpx4.dd: Likewise. | |
1954 | * testsuite/ld-x86-64/mpx4n.dd: Likewise. | |
1955 | * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise. | |
1956 | * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise. | |
1957 | * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise. | |
1958 | * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise. | |
1959 | * testsuite/ld-x86-64/plt.pd: Likewise. | |
1960 | * testsuite/ld-x86-64/plt2.dd: Likewise. | |
1961 | * testsuite/ld-x86-64/tlsbin.rd: Likewise. | |
1962 | * testsuite/ld-x86-64/tlsbin2.rd: Likewise. | |
1963 | * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. | |
1964 | * testsuite/ld-x86-64/tlsdesc.rd: Likewise. | |
1965 | * testsuite/ld-x86-64/tlsgdesc.rd: Likewise. | |
1966 | * testsuite/ld-x86-64/tlspic.rd: Likewise. | |
1967 | * testsuite/ld-x86-64/tlspic2.rd: Likewise. | |
1968 | * testsuite/ld-elf/sec64k.exp: Check | |
1969 | is_elf_unused_section_symbols. | |
1970 | ||
dc200613 AM |
1971 | 2021-01-07 Alan Modra <amodra@gmail.com> |
1972 | ||
1973 | * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail. | |
1974 | * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe. | |
1975 | * testsuite/ld-scripts/segment-start.d: Likewise. | |
1976 | ||
8e604ff0 AM |
1977 | 2021-01-07 Alan Modra <amodra@gmail.com> |
1978 | ||
1979 | * testsuite/ld-elf/comm-data5.d: xfail targets that complain | |
1980 | about dynamic relocations in read-only sections. | |
1981 | * testsuite/ld-elf/ehdr_start-shared.d: Likewise. | |
1982 | * testsuite/ld-elf/ehdr_start.d: Likewise. | |
1983 | * testsuite/ld-scripts/pr22267.d: Likewise. | |
1984 | * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and | |
1985 | pr20995 text. | |
1986 | * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux. | |
1987 | ||
4d4490b8 MC |
1988 | 2021-01-07 Marcus Comstedt <marcus@mc.pp.se> |
1989 | ||
1990 | * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*. | |
1991 | * testsuite/ld-scripts/empty-address-2b.d: Likewise. | |
1992 | ||
f526791a AM |
1993 | 2021-01-07 Alan Modra <amodra@gmail.com> |
1994 | ||
1995 | * po/BLD-POTFILES.in: Regenerate. | |
1996 | ||
4018f4e0 AM |
1997 | 2021-01-07 Alan Modra <amodra@gmail.com> |
1998 | ||
1999 | * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that | |
2000 | complain about relocs in read-only sections. Tidy ASFLAGS append. | |
2001 | ||
3677b729 AM |
2002 | 2021-01-06 Alan Modra <amodra@gmail.com> |
2003 | ||
2004 | * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment | |
2005 | base for some tests. | |
2006 | * testsuite/ld-sparc/gotop32.dd: Match solaris output. | |
2007 | * testsuite/ld-sparc/gotop32.sd: Likewise. | |
2008 | * testsuite/ld-sparc/gotop32.td: Likewise. | |
2009 | * testsuite/ld-sparc/gotop64.dd: Likewise. | |
2010 | * testsuite/ld-sparc/gotop64.sd: Likewise. | |
2011 | * testsuite/ld-sparc/gotop64.td: Likewise. | |
2012 | * testsuite/ld-sparc/tlsg32.sd: Likewise. | |
2013 | * testsuite/ld-sparc/tlsg64.sd: Likewise. | |
2014 | * testsuite/ld-sparc/tlspie32.dd: Likewise. | |
2015 | * testsuite/ld-sparc/tlspie64.dd: Likewise. | |
2016 | * testsuite/ld-sparc/tlssunbin32.dd: Likewise. | |
2017 | * testsuite/ld-sparc/tlssunbin32.sd: Likewise. | |
2018 | * testsuite/ld-sparc/tlssunbin32.td: Likewise. | |
2019 | * testsuite/ld-sparc/tlssunbin64.dd: Likewise. | |
2020 | * testsuite/ld-sparc/tlssunbin64.sd: Likewise. | |
2021 | * testsuite/ld-sparc/tlssunbin64.td: Likewise. | |
2022 | * testsuite/ld-sparc/tlssunnopic32.dd: Likewise. | |
2023 | * testsuite/ld-sparc/tlssunnopic32.sd: Likewise. | |
2024 | * testsuite/ld-sparc/tlssunnopic64.dd: Likewise. | |
2025 | * testsuite/ld-sparc/tlssunnopic64.sd: Likewise. | |
2026 | * testsuite/ld-sparc/tlssunpic32.dd: Likewise. | |
2027 | * testsuite/ld-sparc/tlssunpic32.sd: Likewise. | |
2028 | * testsuite/ld-sparc/tlssunpic32.td: Likewise. | |
2029 | * testsuite/ld-sparc/tlssunpic64.dd: Likewise. | |
2030 | * testsuite/ld-sparc/tlssunpic64.sd: Likewise. | |
2031 | * testsuite/ld-sparc/tlssunpic64.td: Likewise. | |
2032 | * testsuite/ld-sparc/wdispcall.dd: Likewise. | |
2033 | ||
73624512 AM |
2034 | 2021-01-06 Alan Modra <amodra@gmail.com> |
2035 | ||
2036 | * testsuite/ld-scripts/rgn-at10.d: xfail v850. | |
2037 | * testsuite/ld-scripts/rgn-at11.d: Likewise. | |
2038 | ||
f36ce378 MC |
2039 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
2040 | ||
2041 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added | |
2042 | riscv_choose_[ilp32|lp64]_emul to choose the correct linker script. | |
2043 | * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call | |
2044 | riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv. | |
2045 | * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise. | |
2046 | * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise. | |
2047 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise. | |
2048 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise. | |
2049 | * testsuite/ld-riscv-elf/c-lui-2.d: Likewise. | |
2050 | * testsuite/ld-riscv-elf/c-lui.d: Likewise. | |
2051 | * testsuite/ld-riscv-elf/call-relax.d: Likewise. | |
2052 | * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise. | |
2053 | * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise. | |
2054 | * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition | |
2055 | to littleriscv. | |
2056 | * testsuite/ld-riscv-elf/weakref64.d: Likewise. | |
2057 | ||
fbc09e7a MC |
2058 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
2059 | ||
2060 | * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*, | |
2061 | riscv32be*-*-linux*, and riscv64be*-*-linux*. | |
2062 | * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and | |
2063 | eelf32briscv_ilp32.c. | |
2064 | * Makefile.in: Regenerate. | |
2065 | * emulparams/elf32briscv.sh: Added. | |
2066 | * emulparams/elf32briscv_ilp32.sh: Likewise. | |
2067 | * emulparams/elf32briscv_ilp32f.sh: Likewise. | |
2068 | * emulparams/elf64briscv.sh: Likewise. | |
2069 | * emulparams/elf64briscv_lp64.sh: Likewise. | |
2070 | * emulparams/elf64briscv_lp64f.sh: Likewise. | |
2071 | ||
b4b6ea46 NA |
2072 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
2073 | ||
2074 | * testsuite/ld-ctf/enum-forward.c: New test. | |
2075 | * testsuite/ld-ctf/enum-forward.c: New results. | |
2076 | ||
37002871 NA |
2077 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
2078 | ||
2079 | * testsuite/ld-ctf/array.d: Adjust for dumper changes. | |
2080 | * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. | |
2081 | * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. | |
2082 | * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. | |
2083 | * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. | |
2084 | * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. | |
2085 | * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. | |
2086 | * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. | |
2087 | * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. | |
2088 | * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. | |
2089 | * testsuite/ld-ctf/conflicting-enums.d: Likewise. | |
2090 | * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. | |
2091 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. | |
2092 | * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. | |
2093 | * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. | |
2094 | * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. | |
2095 | * testsuite/ld-ctf/cycle-1.d: Likewise. | |
2096 | * testsuite/ld-ctf/cycle-2.A.d: Likewise. | |
2097 | * testsuite/ld-ctf/cycle-2.B.d: Likewise. | |
2098 | * testsuite/ld-ctf/cycle-2.C.d: Likewise. | |
2099 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. | |
2100 | * testsuite/ld-ctf/diag-cttname-null.d: Likewise. | |
2101 | * testsuite/ld-ctf/diag-cuname.d: Likewise. | |
2102 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. | |
2103 | * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. | |
2104 | * testsuite/ld-ctf/forward.d: Likewise. | |
2105 | * testsuite/ld-ctf/function.d: Likewise. | |
2106 | * testsuite/ld-ctf/slice.d: Likewise. | |
2107 | * testsuite/ld-ctf/super-sub-cycles.d: Likewise. | |
2108 | * testsuite/ld-ctf/enums.c: New test. | |
2109 | * testsuite/ld-ctf/enums.d: New test. | |
2110 | ||
ffeece6a NA |
2111 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
2112 | ||
2113 | * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper | |
2114 | changes. | |
2115 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. | |
2116 | * testsuite/ld-ctf/forward.c: New test... | |
2117 | * testsuite/ld-ctf/forward.d: ... and results. | |
2118 | ||
91e7ce2f NA |
2119 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
2120 | ||
2121 | * testsuite/ld-ctf/array.d: Adjust for dumper changes. | |
2122 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. | |
2123 | * testsuite/ld-ctf/diag-cttname-null.d: Likewise. | |
2124 | * testsuite/ld-ctf/diag-cuname.d: Likewise. | |
2125 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. | |
2126 | * testsuite/ld-ctf/function.d: Likewise. | |
2127 | * testsuite/ld-ctf/slice.d: Likewise. | |
2128 | ||
57f97d0e NA |
2129 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
2130 | ||
2131 | * testsuite/ld-ctf/array.d: Adjust for dumper changes. | |
2132 | * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. | |
2133 | * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. | |
2134 | * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. | |
2135 | * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. | |
2136 | * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. | |
2137 | * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. | |
2138 | * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. | |
2139 | * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. | |
2140 | * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. | |
2141 | * testsuite/ld-ctf/conflicting-enums.d: Likewise. | |
2142 | * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. | |
2143 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. | |
2144 | * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. | |
2145 | * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. | |
2146 | * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. | |
2147 | * testsuite/ld-ctf/cycle-1.d: Likewise. | |
2148 | * testsuite/ld-ctf/cycle-2.A.d: Likewise. | |
2149 | * testsuite/ld-ctf/cycle-2.B.d: Likewise. | |
2150 | * testsuite/ld-ctf/cycle-2.C.d: Likewise. | |
2151 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. | |
2152 | * testsuite/ld-ctf/diag-cttname-null.d: Likewise. | |
2153 | * testsuite/ld-ctf/diag-cuname.d: Likewise. | |
2154 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. | |
2155 | * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. | |
2156 | * testsuite/ld-ctf/function.d: Likewise. | |
2157 | * testsuite/ld-ctf/slice.d: Likewise. | |
2158 | * testsuite/ld-ctf/super-sub-cycles.d: Likewise. | |
2159 | ||
b281a04f AM |
2160 | 2021-01-05 Alan Modra <amodra@gmail.com> |
2161 | ||
2162 | * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets. | |
2163 | ||
40b11930 AM |
2164 | 2021-01-05 Alan Modra <amodra@gmail.com> |
2165 | ||
2166 | PR ld/26256 | |
2167 | * testsuite/ld-elf/pr26256-1b.d: xfail s12z. | |
2168 | * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64. | |
2169 | ||
cd6d537c L |
2170 | 2021-01-04 H.J. Lu <hongjiu.lu@intel.com> |
2171 | ||
2172 | PR ld/26256 | |
2173 | * ldlang.c (gc_section_callback): Set pattern. | |
2174 | * testsuite/ld-elf/pr26256-1.s: New file. | |
2175 | * testsuite/ld-elf/pr26256-1.t: Likewise. | |
2176 | * testsuite/ld-elf/pr26256-1a.d: Likewise. | |
2177 | * testsuite/ld-elf/pr26256-1b.d: Likewise. | |
2178 | * testsuite/ld-elf/pr26256-2.s: Likewise. | |
2179 | * testsuite/ld-elf/pr26256-2.t: Likewise. | |
2180 | * testsuite/ld-elf/pr26256-2a.d: Likewise. | |
2181 | * testsuite/ld-elf/pr26256-2b-alt.d: Likewise. | |
2182 | * testsuite/ld-elf/pr26256-2b.d: Likewise. | |
2183 | * testsuite/ld-elf/pr26256-3.s: Likewise. | |
2184 | * testsuite/ld-elf/pr26256-3a.d: Likewise. | |
2185 | * testsuite/ld-elf/pr26256-3a.t: Likewise. | |
2186 | * testsuite/ld-elf/pr26256-3b.d: Likewise. | |
2187 | * testsuite/ld-elf/pr26256-3b.t: Likewise. | |
2188 | ||
5b4293ba AM |
2189 | 2021-01-04 Alan Modra <amodra@gmail.com> |
2190 | ||
2191 | PR 26822 | |
2192 | * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match. | |
2193 | * testsuite/ld-arm/non-contiguous-arm3.d: Likewise. | |
2194 | * testsuite/ld-arm/non-contiguous-arm5.d: Likewise. | |
2195 | * testsuite/ld-arm/non-contiguous-arm6.d: Likewise. | |
2196 | * testsuite/ld-i386/tlsbin.rd: Likewise. | |
2197 | * testsuite/ld-i386/tlsbin2.rd: Likewise. | |
2198 | * testsuite/ld-i386/tlsbindesc.rd: Likewise. | |
2199 | * testsuite/ld-i386/tlsdesc.rd: Likewise. | |
2200 | * testsuite/ld-i386/tlsnopic.rd: Likewise. | |
2201 | * testsuite/ld-i386/tlspic.rd: Likewise. | |
2202 | * testsuite/ld-i386/tlspic2.rd: Likewise. | |
2203 | * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise. | |
2204 | * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise. | |
2205 | * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise. | |
2206 | * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise. | |
2207 | * testsuite/ld-plugin/pr17973.d: Likewise. | |
2208 | * testsuite/ld-tic6x/shlib-1.rd: Likewise. | |
2209 | * testsuite/ld-tic6x/shlib-1b.rd: Likewise. | |
2210 | * testsuite/ld-tic6x/shlib-1r.rd: Likewise. | |
2211 | * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. | |
2212 | * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. | |
2213 | * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. | |
2214 | * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. | |
2215 | * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. | |
2216 | * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. | |
2217 | * testsuite/ld-tic6x/static-app-1.rd: Likewise. | |
2218 | * testsuite/ld-tic6x/static-app-1b.rd: Likewise. | |
2219 | * testsuite/ld-tic6x/static-app-1r.rd: Likewise. | |
2220 | * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. | |
2221 | * testsuite/ld-x86-64/tlsbin.rd: Likewise. | |
2222 | * testsuite/ld-x86-64/tlsbin2.rd: Likewise. | |
2223 | * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. | |
2224 | * testsuite/ld-x86-64/tlsdesc.rd: Likewise. | |
2225 | * testsuite/ld-x86-64/tlspic.rd: Likewise. | |
2226 | * testsuite/ld-x86-64/tlspic2.rd: Likewise. | |
2227 | * testsuite/ld-xtensa/tlsbin.rd: Likewise. | |
2228 | * testsuite/ld-xtensa/tlspic.rd: Likewise. | |
2229 | ||
f9a6a8f0 AM |
2230 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
2231 | ||
2232 | * configure.tgt: Correct comment grammar. | |
2233 | * emultempl/m68hc1xelf.em: Likewise. | |
2234 | * ld.texi: Correct grammar. | |
2235 | ||
250d07de AM |
2236 | 2021-01-01 Alan Modra <amodra@gmail.com> |
2237 | ||
2238 | Update year range in copyright notice of all files. | |
2239 | ||
c2795844 | 2240 | For older changes see ChangeLog-2020 |
3499769a | 2241 | \f |
d87bef3a | 2242 | Copyright (C) 2021-2023 Free Software Foundation, Inc. |
3499769a AM |
2243 | |
2244 | Copying and distribution of this file, with or without modification, | |
2245 | are permitted in any medium without royalty provided the copyright | |
2246 | notice and this notice are preserved. | |
2247 | ||
2248 | Local Variables: | |
2249 | mode: change-log | |
2250 | left-margin: 8 | |
2251 | fill-column: 74 | |
2252 | version-control: never | |
2253 | End: |