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