12022-08-05 Nick Clifton <nickc@redhat.com> 2 3 2.39 Release. 4 * configure: Regenerate. 5 62022-07-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 7 8 PR ld/29411 9 * configure.tgt (ac_default_ld_warn_rwx_segments): Extend to all 10 sparc targets. Expand comment. 11 122022-07-26 Nick Clifton <nickc@redhat.com> 13 14 PR 29411 15 * configure.tgt (ac_default_ld_warn_rwx_segments): Disable for 16 sparc-solaris configurations. 17 182022-07-08 Nick Clifton <nickc@redhat.com> 19 20 * 2.39 branch created. 21 222022-06-27 Nick Clifton <nickc@redhat.com> 23 24 PR 29263 25 * configure.ac: Move HPPA specific code from here... 26 * configure.tgt: ... to here. Add similar code for MIPS. 27 Move code for CRIS, MIPS and HPPA to block at start of file. 28 * configure: Regenerate. 29 302022-06-21 Nick Clifton <nickc@redhat.com> 31 32 PR 29263 33 * configure.ac (ac_default_ld_warn_execstack): Default to 'no' for 34 HPPA targets. 35 (ac_default_ld_warn_rwx_segments): Likewise. 36 * configure: Regenerate. 37 * testsuite/ld-elf/elf.exp: Add the --warn-execstack command line 38 option to the command line when running execstack tests for the 39 HPPA target. 40 412022-05-12 Alan Modra <amodra@gmail.com> 42 43 PR 29006 44 * pe-dll.c (dll_name): Delete, replacing with.. 45 (dll_filename): ..this, moved earlier in file. 46 (generate_edata): Delete parameters. Don't set up dll_name here.. 47 (pe_process_import_defs): ..instead set up dll_filename and 48 dll_symname here before returning. 49 (dll_symname_len): Delete write-only variable. 50 (pe_dll_generate_implib): Don't set up dll_symname here. 51 522022-05-03 Nick Clifton <nickc@redhat.com> 53 54 PR 29101 55 * libdep_plugin.c (get_libdeps): Check for overflow when computing 56 amount of memory to allocate. 57 582022-04-27 Nick Clifton <nickc@redhat.com> 59 60 PR 29006 61 * pe-dll.c (make_head): Use asprintf to allocate and populate a 62 buffer containing the temporary name. 63 (make_tail, make_one, make_singleton_name_thunk): Likewise. 64 (make_import_fixup_mark, make_import_fixup_entry): Likewise. 65 (make_runtime_pseudo_reloc): Likewise. 66 (pe_create_runtime_relocator_reference): Likewise. 67 682022-04-25 Nick Clifton <nickc@redhat.com> 69 70 PR 29072 71 * testsuite/ld-elf/pr29072.b.warn: Update to include the note 72 about the linker's behaviour being depreccated. 73 742022-04-20 Clément Chigot <clement.chigot@atos.net> 75 76 * emultempl/aix.em (params): New variable. 77 (stub_file): New variable. 78 (xcoff_add_stub_section): New function. 79 (xcoff_layout_sections_again): New function 80 (hook_in_stub): New function. 81 (_after_allocation): Add stub creation. 82 (_create_output_section_statements): Allocate stub file and 83 pass params to backend. 84 852022-04-20 Clément Chigot <clement.chigot@atos.net> 86 87 * emultempl/aix.em (_after_allocation): New function. 88 892022-04-07 Mark Harmstone <mark@harmstone.com> 90 91 * testsuite/ld-pe/secidx1.s: New test source file. 92 * testsuite/ld-pe/secidx2.s: New test source file. 93 * testsuite/ld-pe/secidx.d: New test driver file. 94 * testsuite/ld-pe/secidx_64.d: New test driver file. 95 * testsuite/ld-pe/pe.exp: Add new tests. 96 972022-03-01 Nick Clifton <nickc@redhat.com> 98 99 PR 21964 100 * testsuite/ld-elf/pr21964-1a.c: Fix array comparisons. 101 * testsuite/ld-elf/pr21964-1b.c: Likewise. 102 * testsuite/ld-elf/pr21964-1c.c: Likewise. 103 * testsuite/ld-elf/pr21964-2a.c: Likewise. 104 * testsuite/ld-elf/pr21964-2b.c: Likewise. 105 * testsuite/ld-elf/pr21964-3a.c: Likewise. 106 1072022-02-17 Roland McGrath <mcgrathr@google.com> 108 109 * ld.texi (Output Section Type): Fix typo in @code syntax. 110 1112022-02-17 Nick Clifton <nickc@redhat.com> 112 113 * po/sr.po: Updated Serbian translation. 114 1152022-02-16 Fangrui Song <maskray@google.com> 116 Nick Clifton <nickc@redhat.com> 117 118 PR ld/28841 119 * ld.texi: Document new output section type. 120 * ldlex.l: Add new token TYPE. 121 * ldgram.y: Handle TYPE=exp and READONLY (TYPE=exp). 122 * ldlang.h: Add type_section to list of section types. 123 * ldlang.c (lang_add_section): Handle type_section. 124 (map_input_to_output_sections): Handle type_section. 125 * testsuite/ld-scripts/output-section-types.t: Add tests. 126 * testsuite/ld-scripts/output-section-types.d: Update. 127 1282022-02-02 Nick Clifton <nickc@redhat.com> 129 130 * po/fr.po: Updated French translation. 131 1322022-01-24 Nick Clifton <nickc@redhat.com> 133 134 * po/bg.po: Updated Bulgarian translation. 135 * po/uk.po: Updated Ukranian translation. 136 1372022-01-22 Alexander von Gluck IV <kallisti5@unixzen.com> 138 139 * configure.tgt (arm-haiku): Fix typo. 140 * emulparams/armelf_haiku.su (MAXPAGESIZE): Use the default value. 141 (COMMONPAGESIZE): Likewise. 142 1432022-01-22 Nick Clifton <nickc@redhat.com> 144 145 * configure: Regenerate. 146 * po/ld.pot: Regenerate. 147 1482022-01-22 Nick Clifton <nickc@redhat.com> 149 150 * 2.38 release branch created. 151 1522022-01-21 Nick Clifton <nickc@redhat.com> 153 154 * po/sr.po: Updated Serbian translation. 155 1562022-01-17 Nick Clifton <nickc@redhat.com> 157 158 * Makefile.in: Regenerate. 159 * po/ld.pot: Regenerate. 160 1612022-01-11 Martin Storsjö <martin@martin.st> 162 163 * pe-dll.c (make_head): Prefix the symbol name with the dll name. 164 (make_tail, make_one, make_singleton_name_thunk): Likewise. 165 (make_import_fixup_entry, make_runtime_pseudo_reloc): Likewise. 166 (pe_create_runtime_relocator_reference): Likewise. 167 (pe_dll_generate_implib): Set dll_symname_len. 168 (pe_process_import_defs): Likewise. 169 1702021-12-16 Nick Clifton <nickc@redhat.com> 171 172 PR 28686 173 * testsuite/ld-avr/avr-prop-7.d: Adjust expected output. 174 * testsuite/ld-avr/avr-prop-8.d: Likewise. 175 * testsuite/ld-avr/pr13402.d: Likewise. 176 1772021-11-30 Nick Clifton <nickc@redhat.com> 178 179 * scripttempl/pru.sc (.pru_irq_map): Define output section. 180 * testsuite/ld-pru/pru_irq_map-1.d: New test. 181 * testsuite/ld-pru/pru_irq_map-2.d: New test. 182 * testsuite/ld-pru/pru_irq_map.s: New test. 183 1842021-11-17 Jeremy Drake <cygwin@jdrake.com> 185 186 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Set to 0 for 187 Cygwin targets. 188 * emultempl/pep.em (DEFAULT_DLL_CHARACTERISTICS): Likewise. 189 1902021-11-17 Nick Clifton <nickc@redhat.com> 191 192 PR 28452 193 * ldgram.y: Add support for PT_GNU_RELRO and PT_GNU_PROPERTY. 194 * ldgram.c: Regenerate. 195 1962021-11-15 Roland McGrath <mcgrathr@google.com> 197 198 * testsuite/ld-aarch64/dt_textrel.d: Pass explicit -z notext in 199 case ld was configured with --enable-textrel-check=error. 200 * testsuite/ld-aarch64/pr22764.d: Likewise. 201 * testsuite/ld-aarch64/pr20402.d: Likewise. 202 2032021-10-25 Nick Alcock <nick.alcock@oracle.com> 204 205 * testsuite/ld-ctf/nonrepresentable-member.*: New test. 206 2072021-10-25 Nick Alcock <nick.alcock@oracle.com> 208 209 * testsuite/ld-ctf/array.d: Change --ctf=.ctf to --ctf. 210 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. 211 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. 212 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. 213 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. 214 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. 215 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. 216 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. 217 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. 218 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. 219 * testsuite/ld-ctf/conflicting-enums.d: Likewise. 220 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. 221 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. 222 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. 223 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. 224 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. 225 * testsuite/ld-ctf/cycle-1.d: Likewise. 226 * testsuite/ld-ctf/cycle-2.A.d: Likewise. 227 * testsuite/ld-ctf/cycle-2.B.d: Likewise. 228 * testsuite/ld-ctf/cycle-2.C.d: Likewise. 229 * testsuite/ld-ctf/data-func-conflicted.d: Likewise. 230 * testsuite/ld-ctf/diag-cttname-null.d: Likewise. 231 * testsuite/ld-ctf/diag-cuname.d: Likewise. 232 * testsuite/ld-ctf/diag-parlabel.d: Likewise. 233 * testsuite/ld-ctf/enum-forward.d: Likewise. 234 * testsuite/ld-ctf/enums.d: Likewise. 235 * testsuite/ld-ctf/forward.d: Likewise. 236 * testsuite/ld-ctf/function.d: Likewise. 237 * testsuite/ld-ctf/nonrepresentable.d: Likewise. 238 * testsuite/ld-ctf/slice.d: Likewise. 239 * testsuite/ld-ctf/super-sub-cycles.d: Likewise. 240 2412021-09-30 Dimitar Dimitrov <dimitar@dinux.eu> 242 243 * scripttempl/pru.sc (.resource_table): Align the output 244 section, not the first symbol. 245 2462021-09-27 Nick Alcock <nick.alcock@oracle.com> 247 248 * configure: Regenerate. 249 2502021-09-21 Nick Clifton <nickc@redhat.com> 251 252 * ldlang.c (lang_end): When computing the entry point, only 253 try the start address of the entry section when creating an 254 executable. 255 * ld.texi (Entry point): Update description of heuristic used to 256 choose the entry point. 257 testsuite/ld-alpha/tlspic.rd: Update expected entry point address. 258 testsuite/ld-arm/tls-gdesc-got.d: Likewise. 259 testsuite/ld-i386/tlsnopic.rd: Likewise. 260 testsuite/ld-ia64/tlspic.rd: Likewise. 261 testsuite/ld-sparc/gotop32.rd: Likewise. 262 testsuite/ld-sparc/gotop64.rd: Likewise. 263 testsuite/ld-sparc/tlssunnopic32.rd: Likewise. 264 testsuite/ld-sparc/tlssunnopic64.rd: Likewise. 265 testsuite/ld-sparc/tlssunpic32.rd: Likewise. 266 testsuite/ld-sparc/tlssunpic64.rd: Likewise. 267 testsuite/ld-tic6x/shlib-1.rd: Likewise. 268 testsuite/ld-tic6x/shlib-1b.rd: Likewise. 269 testsuite/ld-tic6x/shlib-1r.rd: Likewise. 270 testsuite/ld-tic6x/shlib-1rb.rd: Likewise. 271 testsuite/ld-tic6x/shlib-noindex.rd: Likewise. 272 testsuite/ld-x86-64/pr14207.d: Likewise. 273 testsuite/ld-x86-64/tlsdesc.rd: Likewise. 274 testsuite/ld-x86-64/tlspic.rd: Likewise. 275 testsuite/ld-x86-64/tlspic2.rd: Likewise. 276 2772021-09-15 Claudiu Zissulescu <claziss@synopsys.com> 278 279 * testsuite/ld-arc/got-weak.d: Update file. 280 2812021-09-14 Claudiu Zissulescu <claziss@synopsys.com> 282 283 * ld-arc/got-weak.d: New file. 284 * ld-arc/got-weak.s: Likewise. 285 2862021-07-26 Roland McGrath <mcgrathr@google.com> 287 288 * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel. 289 2902021-07-06 Michael Matz <matz@suse.de> 291 292 PR ld/28021 293 * testsuite/ld-riscv-elf/relax-twice.ver: New. 294 * testsuite/ld-riscv-elf/relax-twice-1.s: New. 295 * testsuite/ld-riscv-elf/relax-twice-2.s: New. 296 * testsuite/ld-riscv-elf/ld-riscv-elf.exp 297 (run_relax_twice_test): New, and call it. 298 2992021-07-03 Nick Clifton <nickc@redhat.com> 300 301 * configure: Regenerate. 302 * po/ld.pot: Regenerate. 303 3042021-07-03 Nick Clifton <nickc@redhat.com> 305 306 * 2.37 release branch created. 307 3082021-06-22 Nelson Chu <nelson.chu@sifive.com> 309 310 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. 311 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.d: New testcase. 312 * testsuite/ld-riscv-elf/pcrel-lo-addend-3a.s: Likewise. 313 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.d: New testcase. 314 Should report error since the %pcrel_lo with addend refers to 315 %got_pcrel_hi. 316 * testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s: Likewise. 317 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.d: New testcase. 318 Should report error since the %got_pcrel_hi with addend. 319 * testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s: Likewise. 320 * testsuite/ld-riscv-elf/pcrel-lo-addend-3.ld: Likewise. 321 3222021-06-19 H.J. Lu <hongjiu.lu@intel.com> 323 324 PR ld/27998 325 * testsuite/ld-i386/i386.exp: Run PR ld/27998 tests. 326 * testsuite/ld-i386/pr27998a.d: New file. 327 * testsuite/ld-i386/pr27998a.s: Likewise. 328 * testsuite/ld-i386/pr27998b.d: Likewise. 329 * testsuite/ld-i386/pr27998b.s: Likewise. 330 3312021-06-19 H.J. Lu <hongjiu.lu@intel.com> 332 333 * testsuite/ld-x86-64/textrel-1.err: New file. 334 * testsuite/ld-x86-64/textrel-1a.s: Likewise. 335 * testsuite/ld-x86-64/textrel-1b.s: Likewise. 336 * testsuite/ld-x86-64/x86-64.exp: Run textrel-1 tests. 337 3382021-06-18 H.J. Lu <hongjiu.lu@intel.com> 339 340 * testsuite/ld-elf/property-and-1.d: Skip am33_2.0, hppa-hpux 341 and mn10300. 342 Pass --generate-missing-build-notes=no to assembler. Allow 343 other note sections for xtensa. 344 * testsuite/ld-elf/property-and-2.d: Likewise. 345 * testsuite/ld-elf/property-and-3.d: Likewise. 346 * testsuite/ld-elf/property-and-4.d: Likewise. 347 * testsuite/ld-elf/property-or-1.d: Likewise. 348 * testsuite/ld-elf/property-or-2.d: Likewise. 349 * testsuite/ld-elf/property-or-3.d: Likewise. 350 * testsuite/ld-elf/property-or-4.d: Likewise. 351 3522021-06-18 H.J. Lu <hongjiu.lu@intel.com> 353 354 * ld.texi: Move -z unique-symbol after -z undefs. 355 3562021-06-18 H.J. Lu <hongjiu.lu@intel.com> 357 358 * testsuite/ld-elf/property-and-1.d: New file. 359 * testsuite/ld-elf/property-and-1.s: Likewise. 360 * testsuite/ld-elf/property-and-2.d: Likewise. 361 * testsuite/ld-elf/property-and-2.s: Likewise. 362 * testsuite/ld-elf/property-and-3.d: Likewise. 363 * testsuite/ld-elf/property-and-3.s: Likewise. 364 * testsuite/ld-elf/property-and-4.d: Likewise. 365 * testsuite/ld-elf/property-and-empty.s: Likewise. 366 * testsuite/ld-elf/property-or-1.d: Likewise. 367 * testsuite/ld-elf/property-or-1.s: Likewise. 368 * testsuite/ld-elf/property-or-2.d: Likewise. 369 * testsuite/ld-elf/property-or-2.s: Likewise. 370 * testsuite/ld-elf/property-or-3.d: Likewise. 371 * testsuite/ld-elf/property-or-3.s: Likewise. 372 * testsuite/ld-elf/property-or-4.d: Likewise. 373 * testsuite/ld-elf/property-or-empty.s: Likewise. 374 3752021-06-17 H.J. Lu <hongjiu.lu@intel.com> 376 377 PR ld/27973 378 * testsuite/ld-x86-64/x86-64.exp: Pass $NOPIE_LDFLAGS and 379 $NOPIE_CFLAGS to protected-func-1 without PIE. 380 3812021-06-17 H.J. Lu <hongjiu.lu@intel.com> 382 383 PR ld/27973 384 * testsuite/ld-x86-64/x86-64.exp: Run protected function tests. 385 * testsuite/ld-x86-64/protected-func-1.h: New file. 386 * testsuite/ld-x86-64/protected-func-1a.s: Likewise. 387 * testsuite/ld-x86-64/protected-func-1b.c: Likewise. 388 3892021-06-17 Fangrui Song <maskray@google.com> 390 391 * ldlex.h (enum option_values): Add OPTION_NO_PIE. 392 * lexsup.c (struct ld_options): Add -no-pie. 393 (parse_args): Handle -no-pie. 394 * ld.texi: Document -no-pie. 395 3962021-06-15 Alan Modra <amodra@gmail.com> 397 398 * testsuite/ld-pie/vaddr-0.d: Update expected output. 399 4002021-06-11 Alan Modra <amodra@gmail.com> 401 402 PR 27952 403 * ldelf.c (ldelf_after_open): Error on input PIEs too. 404 4052021-06-09 Nick Clifton <nickc@redhat.com> 406 407 PR 27666 408 * testsuite/ld-sparc/sparc.exp: Do not run the sparctests or 409 sparc64tests for Solaris2 targets. 410 4112021-06-03 Alan Modra <amodra@gmail.com> 412 413 PR 2589 414 * ld.texi (link-time runtime library search path): Mention 415 plugin library path. Correct order of search. 416 4172021-05-31 Nelson Chu <nelson.chu@sifive.com> 418 Lifang Xia <lifang_xia@c-sky.com> 419 420 PR 27566 421 * emultempl/riscvelf.em (after_allocation): Call 422 riscv_set_data_segment_info to set data segment phase before relaxing. 423 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. 424 * testsuite/ld-riscv-elf/relro-relax-lui.d: New testcase. 425 * testsuite/ld-riscv-elf/relro-relax-lui.s: Likewise. 426 * testsuite/ld-riscv-elf/relro-relax-pcrel.d: Likewise. 427 * testsuite/ld-riscv-elf/relro-relax-pcrel.s: Likewise. 428 4292021-05-28 H.J. Lu <hongjiu.lu@intel.com> 430 431 PR ld/27905 432 * testsuite/ld-i386/pcrel16-2.d: xfail. 433 * testsuite/ld-x86-64/pcrel16-2.d: Likewise. 434 4352021-05-26 H.J. Lu <hongjiu.lu@intel.com> 436 437 PR ld/27905 438 * testsuite/ld-i386/code16.d: New file. 439 * testsuite/ld-i386/code16.t: Likewise. 440 * testsuite/ld-x86-64/code16.d: Likewise. 441 * testsuite/ld-x86-64/code16.t: Likewise. 442 * testsuite/ld-i386/i386.exp: Run code16. 443 * testsuite/ld-x86-64/x86-64.exp: Likewise. 444 4452021-05-26 H.J. Lu <hongjiu.lu@intel.com> 446 447 * testsuite/ld-x86-64/ilp32-12.d: New file. 448 * testsuite/ld-x86-64/ilp32-12.s: Likewise. 449 * testsuite/ld-x86-64/x86-64.exp: Run ilp32-12. 450 4512021-05-14 Nelson Chu <nelson.chu@sifive.com> 452 453 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. 454 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.d: Renamed from 455 pcrel-lo-addend-2. 456 * testsuite/ld-riscv-elf/pcrel-lo-addend-2a.s: Likewise. 457 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.d: New testcase. 458 * testsuite/ld-riscv-elf/pcrel-lo-addend-2b.s: Likewise. 459 4602021-05-13 Fangrui Song <maskray@google.com> 461 462 PR 27834 463 * ldlex.h (enum option_values): Add OPTION_NO_SYMBOLIC. 464 * lexsup.c (ld_options): Add -Bno-symbolic. 465 (parse_args): Handle -Bno-symbolic. 466 * ld.texi: Document -Bno-symbolic. 467 * NEWS: Mention -Bno-symbolic. 468 * testsuite/ld-elf/shared.exp: Add a test. 469 4702021-05-12 Richard Earnshaw <rearnsha@arm.com> 471 472 * testsuite/ld-arm/arm-elf.exp (farcall test for v8-m.mainline): 473 Correct expected output. 474 4752021-05-11 Roland McGrath <mcgrathr@google.com> 476 477 * testsuite/ld-x86-64/rela.d: Fix regexp not to presume a specific 478 address layout, so it works for e.g. --target=x86-64-elf. 479 4802021-05-11 Nick Clifton <nickc@redhat.com> 481 482 PR 27113 483 * Makefile.am (install-data-local): Also delete libdep.dll.a if it 484 is present. 485 * Makefile.in: Regenerate. 486 4872021-05-10 Dimitar Dimitrov <dimitar@dinux.eu> 488 489 * testsuite/ld-elf/group8a.d: Remove pru from XFAIL list. 490 * testsuite/ld-elf/group8b.d: Ditto. 491 * testsuite/ld-elf/group9a.d: Ditto. 492 * testsuite/ld-elf/group9b.d: Ditto. 493 * testsuite/ld-elf/pr12851.d: Ditto. 494 * testsuite/ld-elf/pr22677.d: Ditto. 495 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Remove 496 pru from list. 497 4982021-05-10 Dimitar Dimitrov <dimitar@dinux.eu> 499 500 * scripttempl/pru.sc (.resource_table): Add ALIGN directive. 501 Use symbols for memory sizes. 502 5032021-05-08 Mike Frysinger <vapier@gentoo.org> 504 505 * Makefile.am (html-local, doc/ld/index.html): New targets. 506 * Makefile.in: Regenerate. 507 5082021-05-08 Mike Frysinger <vapier@gentoo.org> 509 510 * Makefile.am (AM_MAKEINFOFLAGS): Add --no-split. 511 * Makefile.in: Regenerate. 512 5132021-05-07 Jan Beulich <jbeulich@suse.com> 514 515 * testsuite/ld-x86-64/rela.d: New. 516 * testsuite/ld-x86-64/x86-64.exp: Run new test. 517 5182021-05-07 Nick Clifton <nickc@redhat.com> 519 520 * ldelfgen.c (compare_link_order): Ignore section size when 521 performing a relocateable link. 522 5232021-05-07 Alan Modra <amodra@gmail.com> 524 525 * ldexp.c (update_definedness): Don't return false for absolute 526 symbols. 527 * ldmain.c (multiple_definition): Print "warning: " in message 528 when not a hard error. 529 5302021-05-07 Alan Modra <amodra@gmail.com> 531 532 * testsuite/ld-elf/pr27825-1.d: Correct xfail. 533 * testsuite/ld-elf/pr27825-2.d: Likewise. 534 5352021-05-06 Stafford Horne <shorne@gmail.com> 536 537 PR 27746 538 testsuite/ld-or1k/or1k.exp (or1kplttests): Add tests for linking 539 along with gotha() relocations. 540 testsuite/ld-or1k/gotha1.dd: New file. 541 testsuite/ld-or1k/gotha1.s: New file. 542 testsuite/ld-or1k/gotha2.dd: New file. 543 testsuite/ld-or1k/gotha2.s: New file 544 testsuite/ld-or1k/pltlib.s (x): Define size to avoid link 545 failure. 546 5472021-05-06 Nick Alcock <nick.alcock@oracle.com> 548 549 * testsuite/ld-ctf/ctf.exp: Use -gctf, not -gt. 550 * testsuite/lib/ld-lib.exp: Likewise. 551 * testsuite/ld-ctf/nonrepresentable-1.c: New test for nonrepresentable types. 552 * testsuite/ld-ctf/nonrepresentable-2.c: Likewise. 553 * testsuite/ld-ctf/nonrepresentable.d: Likewise. 554 * testsuite/ld-ctf/array.d: Larger type section. 555 * testsuite/ld-ctf/data-func-conflicted.d: Likewise. 556 * testsuite/ld-ctf/enums.d: Likewise. 557 * testsuite/ld-ctf/conflicting-enums.d: Don't compare types. 558 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Changed type order. 559 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. 560 * testsuite/ld-ctf/slice.d: Adjust for improved slice emission. 561 5622021-05-05 H.J. Lu <hongjiu.lu@intel.com> 563 564 PR ld/27825 565 * testsuite/ld-elf/pr27825-1.d: New file. 566 * testsuite/ld-elf/pr27825-1a.s: Likewise. 567 * testsuite/ld-elf/pr27825-1b.s: Likewise. 568 * testsuite/ld-elf/pr27825-2.d: Likewise. 569 * testsuite/ld-elf/pr27825-2a.s: Likewise. 570 * testsuite/ld-elf/pr27825-2b.s: Likewise. 571 5722021-05-05 Alan Modra <amodra@gmail.com> 573 574 * testsuite/ld-powerpc/empty.s: New file. 575 * testsuite/ld-powerpc/undefweak.d, 576 * testsuite/ld-powerpc/undefweak.s: New testcase. 577 * testsuite/ld-powerpc/powerpc.exp: Run it. 578 5792021-05-03 Alan Modra <amodra@gmail.com> 580 581 * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for 582 named section symbols. 583 5842021-04-28 Nick Clifton <nickc@redhat.com> 585 586 * testsuite/ld-elf/anno-sym.s: New test source file. 587 * testsuite/ld-elf/anno-sym.d: New test driver. 588 * testsuite/ld-elf/anno-sym.l: New test error output. 589 5902021-04-26 Jan Beulich <jbeulich@suse.com> 591 592 * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d, 593 testsuite/ld-x86-64/pcrel16-2.d: New. 594 * testsuite/ld-i386/i386.exp: Run new test. 595 * testsuite/ld-x86-64/x86-64.exp: Likewise. 596 5972021-04-23 H.J. Lu <hongjiu.lu@intel.com> 598 599 PR ld/27771 600 * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link 601 to tmpdir/ldscripts only if it doesn't exist. 602 6032021-04-22 Jan Beulich <jbeulich@suse.com> 604 605 PR ld/26659 606 * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin. 607 6082021-04-21 Nick Clifton <nickc@redhat.com> 609 610 * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output 611 to allow for named section symbols. 612 * testsuite/ld-aarch64/variant_pcs-r.d: Likewise. 613 * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise. 614 * testsuite/ld-alpha/tlsbin.rd: Likewise. 615 * testsuite/ld-alpha/tlsbinr.rd: Likewise. 616 * testsuite/ld-alpha/tlspic.rd: Likewise. 617 * testsuite/ld-arm/rodata-merge-map.sym: Likewise. 618 * testsuite/ld-arm/script-type.sym: Likewise. 619 * testsuite/ld-cris/libdso-2.d: Likewise. 620 * testsuite/ld-cris/pr16044.d: Likewise. 621 * testsuite/ld-elf/sec64k.exp: Likewise. 622 * testsuite/ld-ia64/tlsbin.rd: Likewise. 623 * testsuite/ld-ia64/tlspic.rd: Likewise. 624 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise. 625 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise. 626 * testsuite/ld-mmix/bspec1.d: Likewise. 627 * testsuite/ld-mmix/bspec2.d: Likewise. 628 * testsuite/ld-mmix/local1.d: Likewise. 629 * testsuite/ld-mmix/local3.d: Likewise. 630 * testsuite/ld-mmix/local5.d: Likewise. 631 * testsuite/ld-mmix/local7.d: Likewise. 632 * testsuite/ld-mmix/undef-3.d: Likewise. 633 * testsuite/ld-powerpc/tlsso.r: Likewise. 634 * testsuite/ld-powerpc/tlsso32.r: Likewise. 635 * testsuite/ld-powerpc/tlstocso.r: Likewise. 636 * testsuite/ld-s390/tlsbin.rd: Likewise. 637 * testsuite/ld-s390/tlsbin_64.rd: Likewise. 638 * testsuite/ld-s390/tlspic.rd: Likewise. 639 * testsuite/ld-s390/tlspic_64.rd: Likewise. 640 * testsuite/ld-sparc/gotop32.rd: Likewise. 641 * testsuite/ld-sparc/gotop64.rd: Likewise. 642 * testsuite/ld-sparc/tlssunbin32.rd: Likewise. 643 * testsuite/ld-sparc/tlssunbin64.rd: Likewise. 644 * testsuite/ld-sparc/tlssunnopic32.rd: Likewise. 645 * testsuite/ld-sparc/tlssunnopic64.rd: Likewise. 646 * testsuite/ld-sparc/tlssunpic32.rd: Likewise. 647 * testsuite/ld-sparc/tlssunpic64.rd: Likewise. 648 * testsuite/ld-tic6x/common.d: Likewise. 649 * testsuite/ld-tic6x/shlib-1.rd: Likewise. 650 * testsuite/ld-tic6x/shlib-1b.rd: Likewise. 651 * testsuite/ld-tic6x/shlib-1r.rd: Likewise. 652 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. 653 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. 654 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. 655 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. 656 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. 657 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. 658 * testsuite/ld-tic6x/static-app-1.rd: Likewise. 659 * testsuite/ld-tic6x/static-app-1b.rd: Likewise. 660 * testsuite/ld-tic6x/static-app-1r.rd: Likewise. 661 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. 662 6632021-04-20 Clément Chigot <clement.chigot@atos.net> 664 665 PR binutils/21700 666 * testsuite/ld-powerpc/aix52.exp: Add new test. 667 * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test. 668 * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test. 669 * testsuite/ld-powerpc/aix-neg-reloc.ex: New test. 670 * testsuite/ld-powerpc/aix-neg-reloc.s: New test. 671 6722021-04-13 Nick Clifton <nickc@redhat.com> 673 674 * ld.texi (Options): Add note about the effect of --as-needed on 675 the --rpath and --rpath-link options on Linux based systems. 676 6772021-04-13 Alan Modra <amodra@gmail.com> 678 679 PR 27722 680 * libdep_plugin.c (str2vec): Don't pass a potentially signed char 681 to isspace. 682 6832021-04-12 Alan Modra <amodra@gmail.com> 684 685 * configure.ac (--enable-checking): Add support. 686 * config.in: Regenerate. 687 * configure: Regenerate. 688 6892021-04-12 Alan Modra <amodra@gmail.com> 690 691 * emultempl/mipself.em (mips_create_output_section_statements): 692 Pass base type of hash table to is_elf_hash_table. 693 * ldelf.c (ldelf_after_open): Likewise. 694 6952021-04-12 Alan Modra <amodra@gmail.com> 696 697 PR 27719 698 * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that 699 the symbol hash table is the correct type before accessing 700 elf_link_hash_entry symbols. 701 * plugin.c (is_visible_from_outside): Likewise. 702 * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise. 703 * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. 704 7052021-04-09 Alan Modra <amodra@gmail.com> 706 707 * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output. 708 * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise. 709 * testsuite/ld-powerpc/notoc2.d: Likewise. 710 * testsuite/ld-powerpc/notoc3.d: Likewise. 711 * testsuite/ld-powerpc/pcrelopt.d: Likewise. 712 * testsuite/ld-powerpc/startstop.d: Likewise. 713 * testsuite/ld-powerpc/tlsget.d: Likewise. 714 * testsuite/ld-powerpc/tlsget2.d: Likewise. 715 * testsuite/ld-powerpc/tlsld.d: Likewise. 716 * testsuite/ld-powerpc/weak1.d: Likewise. 717 * testsuite/ld-powerpc/weak1so.d: Likewise. 718 7192021-04-06 Jan Beulich <jbeulich@suse.com> 720 721 * pe-dll.c (generate_reloc): Bail immediately when .reloc is 722 being discarded. Warn when relocated entry is above .reloc. 723 7242021-04-05 Alan Modra <amodra@gmail.com> 725 726 * configure.ac: Move initfini-array arg handling earlier. Don't 727 check for string.h, strings.h, stdlib.h, or locale.h. Do check 728 for inttypes.h, stdint.h, sys/types.h. Don't check for 729 setlocale, free, getev or strstr. 730 (AC_ISC_POSIX): Don't invoke. 731 * sysdep.h: Include string.h and stdlib.h unconditionally. Test 732 HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and 733 getenv fallback declarations. 734 * ld.h: Don't test HAVE_LOCALE_H. 735 * ldmain.c: Don't test HAVE_SETLOCALE. 736 * config.in: Regenerate. 737 * configure: Regenerate. 738 7392021-04-01 Tamar Christina <tamar.christina@arm.com> 740 741 PR ld/26659 742 * testsuite/ld-pe/pe.exp: Add test. 743 * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test. 744 * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test. 745 7462021-04-01 Martin Liska <mliska@suse.cz> 747 748 * ldbuildid.c (strneq): Remove strneq and use startswith. 749 (validate_build_id_style): Likewise. 750 (compute_build_id_size): Likewise. 751 7522021-03-31 Alan Modra <amodra@gmail.com> 753 754 * sysdep.h (POISON_BFD_BOOLEAN): Define. 755 * configure.ac (elf_list_options, elf_shlib_list_options=false), 756 (elf_plt_unwind_list_options=false): Replace FALSE with false, 757 and TRUE with true. 758 * emulparams/call_nop.sh, * emulparams/cet.sh, 759 * emulparams/dynamic_undefined_weak.sh, 760 * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh, 761 * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh, 762 * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh, 763 * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh, 764 * emulparams/reloc_overflow.sh, * emulparams/static.sh, 765 * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em, 766 * emultempl/aix.em, * emultempl/alphaelf.em, 767 * emultempl/armcoff.em, * emultempl/armelf.em, 768 * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em, 769 * emultempl/cr16elf.em, * emultempl/crxelf.em, 770 * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em, 771 * emultempl/hppaelf.em, * emultempl/linux.em, 772 * emultempl/m68hc1xelf.em, * emultempl/metagelf.em, 773 * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em, 774 * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em, 775 * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em, 776 * emultempl/pep.em, * emultempl/ppc32elf.em, 777 * emultempl/ppc64elf.em, * emultempl/rxelf.em, 778 * emultempl/rxlinux.em, * emultempl/scoreelf.em, 779 * emultempl/solaris2.em, * emultempl/spuelf.em, 780 * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em, 781 * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h, 782 * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h, 783 * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c, 784 * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h, 785 * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h, 786 * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c, 787 * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h, 788 * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace 789 bfd_boolean with bool, FALSE with false, and TRUE with true. 790 * configure: Regenerate. 791 7922021-03-31 Alan Modra <amodra@gmail.com> 793 794 * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h. 795 * emultempl/nds32elf.em: Likewise. 796 * testsuite/ld-elf/mbind2b.c: Likewise. 797 * testsuite/ld-elf/pr18718.c: Likewise. 798 * testsuite/ld-elf/pr18720a.c: Likewise. 799 * testsuite/ld-elf/pr25749-1.c: Likewise. 800 * testsuite/ld-elf/pr25749-1a.c: Likewise. 801 * testsuite/ld-elf/pr25749-1b.c: Likewise. 802 * testsuite/ld-elf/pr25749-1c.c: Likewise. 803 * testsuite/ld-elf/pr25749-1d.c: Likewise. 804 * testsuite/ld-elf/pr25749-2.c: Likewise. 805 * testsuite/ld-elf/pr25754-1a.c: Likewise. 806 * testsuite/ld-elf/pr25754-2a.c: Likewise. 807 * testsuite/ld-elf/pr25754-3a.c: Likewise. 808 * testsuite/ld-elf/pr25754-4a.c: Likewise. 809 * testsuite/ld-elf/pr25754-5a.c: Likewise. 810 * testsuite/ld-elf/pr25754-6a.c: Likewise. 811 8122021-03-29 Alan Modra <amodra@gmail.com> 813 814 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify 815 boolean expression. 816 * lexsup.c (parse_args): Likewise. 817 * pe-dll.c (pe_dll_id_target): Likewise. 818 8192021-03-25 Nick Alcock <nick.alcock@oracle.com> 820 821 * testsuite/ld-ctf/array.d: Only check that the data object 822 section is nonempty: do not check its exact size. 823 * testsuite/ld-ctf/diag-parlabel.d: Likewise. 824 * testsuite/ld-ctf/slice.d: Likewise. 825 * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the 826 func info section too. 827 * testsuite/ld-ctf/function.d: Likewise, for the func info section. 828 8292021-03-22 Martin Liska <mliska@suse.cz> 830 831 * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith. 832 * emultempl/beos.em: Likewise. 833 * emultempl/elf.em: Likewise. 834 * emultempl/pe.em: Likewise. 835 * emultempl/pep.em: Likewise. 836 * emultempl/xtensaelf.em: Likewise. 837 * ldctor.c (ctor_prio): Likewise. 838 * ldelf.c (ldelf_try_needed): Likewise. 839 (ldelf_parse_ld_so_conf): Likewise. 840 (ldelf_after_open): Likewise. 841 (output_rel_find): Likewise. 842 (ldelf_place_orphan): Likewise. 843 * ldfile.c (ldfile_add_library_path): Likewise. 844 * ldlang.c (lang_add_input_file): Likewise. 845 * ldmain.c (get_sysroot): Likewise. 846 (get_emulation): Likewise. 847 (add_archive_element): Likewise. 848 * ldwrite.c (unsplittable_name): Likewise. 849 (clone_section): Likewise. 850 * lexsup.c (parse_args): Likewise. 851 * pe-dll.c (is_import): Likewise. 852 (pe_implied_import_dll): Likewise. 853 8542021-03-19 H.J. Lu <hongjiu.lu@intel.com> 855 856 PR ld/27590 857 * testsuite/ld-x86-64/pr27590.rd: New file. 858 * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise. 859 * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise. 860 * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test. 861 8622021-03-20 Alan Modra <amodra@gmail.com> 863 864 PR 27590 865 * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable 866 for all sections except .stabstr. 867 8682021-03-19 Alan Modra <amodra@gmail.com> 869 870 PR 27590 871 * testsuite/ld-elf/pr27590a.d: Match relocs using label, and 872 R_MIPS_NONE. 873 * testsuite/ld-elf/pr27590b.d: Likewise. 874 8752021-03-18 H.J. Lu <hongjiu.lu@intel.com> 876 877 PR ld/27590 878 * testsuite/ld-elf/pr27590.s: New file. 879 * testsuite/ld-elf/pr27590a.d: Likewise. 880 * testsuite/ld-elf/pr27590b.d: Likewise. 881 * testsuite/ld-i386/i386.exp: Also run ld/27193 test with 882 --reduce-memory-overheads. 883 8842021-03-18 H.J. Lu <hongjiu.lu@intel.com> 885 886 PR ld/27587 887 * testsuite/ld-x86-64/pr27587.err: New file. 888 * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise. 889 * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise. 890 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test. 891 8922021-03-18 Nick Alcock <nick.alcock@oracle.com> 893 894 * testsuite/ld-ctf/slice.c: Check slices of enums too. 895 * testsuite/ld-ctf/slice.d: Results adjusted. 896 8972021-03-16 Nick Clifton <nickc@redhat.com> 898 899 * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite 900 lname string. 901 9022021-03-15 Jan Beulich <jbeulich@suse.com> 903 904 * pe-dll.c (generate_reloc): Drop padding to reloc_s->size. 905 9062021-03-12 Alan Modra <amodra@gmail.com> 907 908 * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to.. 909 (ALL_64_EMULATION_SOURCES): ..here. 910 * Makefile.in: Regenerate. 911 9122021-03-12 Clément Chigot <clement.chigot@atos.net> 913 914 * emultempl/aix.em: Ensure .tdata section is removed 915 if empty, even with -r flag. 916 * scripttempl/aix.sc: Handle TLS sections. 917 * testsuite/ld-powerpc/aix52.exp: Add new tests. 918 * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test. 919 * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test. 920 * testsuite/ld-powerpc/aix-tls-reloc.ex: New test. 921 * testsuite/ld-powerpc/aix-tls-reloc.s: New test. 922 * testsuite/ld-powerpc/aix-tls-section-32.d: New test. 923 * testsuite/ld-powerpc/aix-tls-section-64.d: New test. 924 * testsuite/ld-powerpc/aix-tls-section.ex: New test. 925 * testsuite/ld-powerpc/aix-tls-section.s: New test. 926 9272021-03-12 Clément Chigot <clement.chigot@atos.net> 928 929 * scripttempl/aix.sc: Add .te to .data section. 930 * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+. 931 Add aix-largetoc-1 test. 932 * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test. 933 * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test. 934 * testsuite/ld-powerpc/aix-largetoc-1.ex: New test. 935 * testsuite/ld-powerpc/aix-largetoc-1.s: New test. 936 9372021-03-12 Alan Modra <amodra@gmail.com> 938 939 * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and 940 arrange to define __main for some run_dump_test tests. 941 * testsuite/ld-gc/pr13683.d: Accept more symbols. 942 * testsuite/ld-gc/pr14265.d: Likewise, and ordering. 943 * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE. 944 * testsuite/ld-srec/srec.exp: Likewise. 945 * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format. 946 9472021-03-11 Nelson Chu <nelson.chu@sifive.com> 948 949 * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments 950 many times if riscv_restart_relax_sections returns TRUE. 951 * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before 952 applying this patch, the call won't be relaxed to jal; But now we 953 have more chances to do relaxations. 954 * testsuite/ld-riscv-elf/restart-relax.s: Likewise. 955 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. 956 9572021-03-10 Jan Beulich <jbeulich@suse.com> 958 959 * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more 960 than 32 set bits. 961 * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop 962 comment. 963 * scripttempl/mcorepe.sc: Use PROVIDE() for _stack. 964 9652021-03-09 Jan Beulich <jbeulich@suse.com> 966 967 * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase 968 alignment to 4k. 969 * testsuite/ld-pe/reloc.d: xfail for mcore. 970 9712021-03-09 Jan Beulich <jbeulich@suse.com> 972 973 * testsuite/ld-scripts/alignof.exp, 974 testsuite/ld-scripts/data.exp, 975 testsuite/ld-scripts/default-script.exp, 976 testsuite/ld-scripts/log2.exp, 977 testsuite/ld-scripts/print-memory-usage.exp, 978 testsuite/ld-scripts/sizeof.exp, 979 testsuite/ld-undefined/weak-undef.exp: Set image base to zero 980 for PE/COFF. 981 * testsuite/ld-scripts/default-script1.d, 982 testsuite/ld-scripts/default-script2.d, 983 testsuite/ld-scripts/default-script3.d, 984 testsuite/ld-scripts/default-script4.d: Drop xfail and comment. 985 9862021-03-05 H.J. Lu <hongjiu.lu@intel.com> 987 988 PR ld/27425 989 PR ld/27432 990 * ldelf.c (ldelf_set_output_arch): New function. 991 * ldelf.h (ldelf_set_output_arch): New prototype. 992 * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to 993 ldelf_set_output_arch. 994 * ld-x86-64/pe-x86-64-1.od: Expect __executable_start. 995 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise. 996 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise. 997 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise. 998 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise. 999 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise. 1000 * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file. 1001 * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise. 1002 * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test. 1003 10042021-03-04 Jan Beulich <jbeulich@suse.com> 1005 1006 * testsuite/ld-scripts/map-address.exp: Set image base to zero 1007 for PE/COFF. 1008 * testsuite/ld-scripts/map-address.t: Place .text. 1009 10102021-03-04 Jan Beulich <jbeulich@suse.com> 1011 1012 * ldexp.c (ldexp_is_final_sym_absolute): New. 1013 * ldexp.h (ldexp_is_final_sym_absolute): Declare. 1014 * pe-dll.c (generate_reloc): Skip absolute symbols. 1015 * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New. 1016 * testsuite/ld-pe/pe.exp: Run new test. 1017 10182021-03-03 Alan Modra <amodra@gmail.com> 1019 1020 PR 27500 1021 * ldlang.c (insert_undefined): Don't mark symbols here. 1022 (lang_mark_undefineds): Do so here instead, new function. 1023 (lang_process): Call lang_mark_undefineds. 1024 * testsuite/ld-gc/start3.d, 1025 * testsuite/ld-gc/start3.s: New test. 1026 * testsuite/ld-gc/start4.d, 1027 * testsuite/ld-gc/start4.s: New test. 1028 * testsuite/ld-gc/gc.exp: Run them. 1029 10302021-03-03 Alan Modra <amodra@gmail.com> 1031 1032 * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS. 1033 Move tests with ELF section directives to is_elf_format block. 1034 * testsuite/ld-gc/abi-note.d: Run on more targets. 1035 * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails. 1036 * testsuite/ld-gc/start.d: Likewise. 1037 * testsuite/ld-gc/start2.d: Likewise. 1038 * testsuite/ld-gc/stop.d: Likewise. 1039 * testsuite/ld-gc/pr19167a.s: Add support for underscore targets. 1040 * testsuite/ld-gc/start.s: Likewise. 1041 * testsuite/ld-gc/start2.s: Likewise. 1042 10432021-03-02 Nick Alcock <nick.alcock@oracle.com> 1044 1045 * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings. 1046 10472021-03-02 Alan Modra <amodra@gmail.com> 1048 1049 * testsuite/ld-powerpc/startstop.d, 1050 * testsuite/ld-powerpc/startstop.r, 1051 * testsuite/ld-powerpc/startstop.s: New test. 1052 * testsuite/ld-powerpc/powerpc.exp: Run it. 1053 10542021-03-02 Alan Modra <amodra@gmail.com> 1055 1056 * testsuite/ld-powerpc/weak1.d, 1057 * testsuite/ld-powerpc/weak1.r, 1058 * testsuite/ld-powerpc/weak1.s, 1059 * testsuite/ld-powerpc/weak1so.d, 1060 * testsuite/ld-powerpc/weak1so.r: New tests. 1061 * testsuite/ld-powerpc/powerpc.exp: Run them. 1062 10632021-03-01 Hannes Domani <ssbssa@sourceware.org> 1064 Nick Clifton <nickc@redhat.com> 1065 1066 PR 27268 1067 * scripttempl/pe.sc: Add DWARF-5 section names. 1068 * scripttempl/pep.sc: Likewise. 1069 10702021-03-01 Alan Modra <amodra@gmail.com> 1071 Fangrui Song <maskray@google.com> 1072 1073 * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc. 1074 * lexsup.c (elf_static_list_options): Display help for them. Move 1075 help for -z stack-size to here from elf_shlib_list_options. Add 1076 help for -z start-stop-visibility and -z undefs. 1077 * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc. 1078 * NEWS: Mention -z start-stop-gc. 1079 * testsuite/ld-gc/start2.s, 1080 * testsuite/ld-gc/start2.d: New test. 1081 * testsuite/ld-gc/gc.exp: Run it. 1082 10832021-03-01 Alan Modra <amodra@gmail.com> 1084 1085 * ldlang.c (undef_start_stop): For ELF make undefined start/stop 1086 symbols undefweak if that was how they were referenced. Undo 1087 dynamic state too. 1088 10892021-03-01 Alan Modra <amodra@gmail.com> 1090 1091 * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm. 1092 * testsuite/ld-elf/pr27128a.d: Likewise. 1093 * testsuite/ld-elf/pr27128b.d: Likewise. 1094 * testsuite/ld-elf/pr27128c.d: Likewise. 1095 * testsuite/ld-elf/pr27128d.d: Likewise. 1096 * testsuite/ld-elf/pr27128e.d: Likewise. 1097 10982021-02-26 Alan Modra <amodra@gmail.com> 1099 1100 PR 27441 1101 * testsuite/ld-plugin/pr27441a.c, 1102 * testsuite/ld-plugin/pr27441b.c, 1103 * testsuite/ld-plugin/pr27441c.c, 1104 * testsuite/ld-plugin/pr27441c.d: New test. 1105 * testsuite/ld-plugin/lto.exp: Run it. 1106 11072021-02-25 Jan Beulich <jbeulich@suse.com> 1108 1109 * ld.texi (PROVIDE): Downgrade "error" to "diagnostic". 1110 11112021-02-21 Alan Modra <amodra@gmail.com> 1112 1113 * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol 1114 defined in an object file. 1115 * ldmain.c (multiple_definition): Heed info->warn_multiple_definition. 1116 * testsuite/ld-scripts/defined5.d: Expect a warning. 1117 11182021-02-19 Alan Modra <amodra@gmail.com> 1119 1120 * testsuite/lib/ld-lib.exp: Whitespace. 1121 (load_common_lib): Expand single use and delete this proc. 1122 (run_host_cmd): Use -fno-lto when getting gcc's ld version. 1123 Use -B for clang too. 1124 11252021-02-18 Andrew Burgess <andrew.burgess@embecosm.com> 1126 1127 * testplugin.c (record_read_length): Remove debug fprintf. 1128 11292021-02-14 Alan Modra <amodra@gmail.com> 1130 1131 * testsuite/ld-cdtest/cdtest.exp, 1132 * testsuite/ld-checks/checks.exp, 1133 * testsuite/ld-elf/binutils.exp, 1134 * testsuite/ld-elf/compress.exp, 1135 * testsuite/ld-elf/dwarf.exp, 1136 * testsuite/ld-elf/exclude.exp, 1137 * testsuite/ld-elf/frame.exp, 1138 * testsuite/ld-elf/indirect.exp, 1139 * testsuite/ld-elf/linux-x86.exp, 1140 * testsuite/ld-elf/sec-to-seg.exp, 1141 * testsuite/ld-elf/tls_common.exp, 1142 * testsuite/ld-elfcomm/elfcomm.exp, 1143 * testsuite/ld-elfvers/vers.exp, 1144 * testsuite/ld-elfvsb/elfvsb.exp, 1145 * testsuite/ld-elfweak/elfweak.exp, 1146 * testsuite/ld-ifunc/binutils.exp, 1147 * testsuite/ld-mips-elf/mips-elf-flags.exp, 1148 * testsuite/ld-misc/defsym.exp, 1149 * testsuite/ld-mn10300/mn10300.exp, 1150 * testsuite/ld-plugin/lto.exp, 1151 * testsuite/ld-plugin/plugin.exp, 1152 * testsuite/ld-scripts/align.exp, 1153 * testsuite/ld-scripts/assert.exp, 1154 * testsuite/ld-scripts/crossref.exp, 1155 * testsuite/ld-scripts/defined.exp, 1156 * testsuite/ld-scripts/extern.exp, 1157 * testsuite/ld-scripts/log2.exp, 1158 * testsuite/ld-scripts/map-address.exp, 1159 * testsuite/ld-scripts/phdrs.exp, 1160 * testsuite/ld-scripts/phdrs2.exp, 1161 * testsuite/ld-scripts/script.exp, 1162 * testsuite/ld-scripts/section-flags.exp, 1163 * testsuite/ld-scripts/sizeof.exp, 1164 * testsuite/ld-scripts/weak.exp, 1165 * testsuite/ld-selective/selective.exp, 1166 * testsuite/ld-sh/sh.exp, 1167 * testsuite/ld-shared/shared.exp, 1168 * testsuite/ld-srec/srec.exp, 1169 * testsuite/ld-tic6x/tic6x.exp, 1170 * testsuite/ld-undefined/undefined.exp, 1171 * testsuite/ld-undefined/weak-undef.exp, 1172 * testsuite/lib/ld-lib.exp: Don't use unresolved except after 1173 perror. Instead report "unsupported" or "fail". 1174 11752021-02-12 Nick Clifton <nickc@redhat.com> 1176 1177 * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically 1178 following debug links. 1179 11802021-02-11 Alan Modra <amodra@gmail.com> 1181 1182 * NEWS: Mention arm-symbianelf removal. 1183 11842021-02-09 Alan Modra <amodra@gmail.com> 1185 1186 * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c. 1187 Don't include symbian dep file. 1188 * configure.tgt: Remove arm*-*-symbianelf* entry. 1189 * emulparams/armsymbian.sh: Delete. 1190 * ld.texi: Don't mention symbian. 1191 * scripttempl/armbpabi.sc: Delete. 1192 * testsuite/ld-arm/symbian-seg1.d: Delete. 1193 * testsuite/ld-arm/symbian-seg1.s: Delete. 1194 * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1. 1195 * Makefile.in: Regenerate. 1196 * po/BLD-POTFILES.in: Regenerate. 1197 11982021-02-07 H.J. Lu <hongjiu.lu@intel.com> 1199 1200 PR ld/27358 1201 * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time 1202 tests. 1203 * testsuite/ld-x86-64/x86-64.exp: Likewise. 1204 12052021-01-26 Nick Alcock <nick.alcock@oracle.com> 1206 1207 * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS 1208 when appropriate. 1209 12102021-02-04 H.J. Lu <hongjiu.lu@intel.com> 1211 1212 PR ld/19609 1213 * testsuite/ld-x86-64/pr19609-2a.d: Updated. 1214 * testsuite/ld-x86-64/pr19609-2b.d: Likewise. 1215 * testsuite/ld-x86-64/pr19609-4a.d: Likewise. 1216 * testsuite/ld-x86-64/pr19609-4c.d: Likewise. 1217 * testsuite/ld-x86-64/pr19609-5d.d: Likewise. 1218 * testsuite/ld-x86-64/pr19609-7a.d: Likewise. 1219 * testsuite/ld-x86-64/pr19609-7c.d: Likewise. 1220 12212021-02-04 H.J. Lu <hongjiu.lu@intel.com> 1222 1223 PR ld/15146 1224 * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests. 1225 * testsuite/ld-plugin/pr15146.d: Restored. 1226 * testsuite/ld-plugin/pr15146a.c: Likewise. 1227 * testsuite/ld-plugin/pr15146b.c: Likewise. 1228 * testsuite/ld-plugin/pr15146c.c: Likewise. 1229 * testsuite/ld-plugin/pr15146d.c: Likewise. 1230 12312021-02-04 Alan Modra <amodra@gmail.com> 1232 1233 * testsuite/ld-plugin/pr27311d.c: New test. 1234 * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile 1235 and link new test as pr27311-2. 1236 12372021-02-03 Alan Modra <amodra@gmail.com> 1238 1239 * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so): 1240 Link with --as-needed. 1241 12422021-02-02 Alan Modra <amodra@gmail.com> 1243 1244 * testsuite/ld-plugin/pr27311.d, 1245 * testsuite/ld-plugin/pr27311.ver, 1246 * testsuite/ld-plugin/pr27311a.c, 1247 * testsuite/ld-plugin/pr27311b.c, 1248 * testsuite/ld-plugin/pr27311c.c: New testcase. 1249 * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and 1250 PR12982 entries. 1251 12522021-02-01 Emery Hemingway <ehmry@posteo.net> 1253 1254 * configure.tgt: Add *-*-genode* as a target for AArch64 and x86. 1255 12562021-02-01 Alan Modra <amodra@gmail.com> 1257 1258 * ldgram.y (defsym_expr): Use assignment rule. 1259 * ldlex.h (ldlex_defsym): Delete. 1260 * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete. 1261 12622021-02-01 Alan Modra <amodra@gmail.com> 1263 1264 * ldgram.y (section): Call ldlex_backup. Remove empty action. 1265 * ldlex.h (ldlex_backup): Declare. 1266 * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of 1267 chars, use SYMBOLNAMECHAR. 1268 (ldlex_backup): New function. 1269 12702021-02-01 Alan Modra <amodra@gmail.com> 1271 1272 * ldgram.y: Whitespace fixes. 1273 12742021-02-01 Alan Modra <amodra@gmail.com> 1275 1276 * testsuite/ld-elf/pr27259.d: Correct sh_link match. 1277 12782021-01-29 Alan Modra <amodra@gmail.com> 1279 1280 * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test. 1281 12822021-01-28 H.J. Lu <hongjiu.lu@intel.com> 1283 1284 PR ld/27259 1285 * testsuite/ld-elf/pr27259.d: New file. 1286 * testsuite/ld-elf/pr27259.s: Likewise. 1287 12882021-01-28 Alan Modra <amodra@gmail.com> 1289 1290 PR 27259 1291 * ldelf.c (ldelf_before_place_orphans): Use linker_mark to 1292 prevent endless looping of linked-to sections. 1293 12942021-01-26 H.J. Lu <hongjiu.lu@intel.com> 1295 1296 * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo. 1297 12982021-01-26 Alan Modra <amodra@gmail.com> 1299 1300 PR 27226 1301 * emulparams/alphavms.sh: Don't set COMPILE_IN. 1302 * emulparams/elf64_ia64_vms.sh: Likewise. 1303 * emulparams/elf64mmix.sh: Likewise. 1304 * emulparams/elf_iamcu.sh: Likewise. 1305 * emulparams/elf_k1om.sh: Likewise. 1306 * emulparams/elf_l1om.sh: Likewise. 1307 * emulparams/mmo.sh: Likewise. 1308 * emulparams/pdp11.sh: Set DATA_SEG_ADDR. 1309 * scripttempl/pdp11.sc: Use it. 1310 * emultempl/pdp11.em: Don't edit .xn script for separate_code, 1311 instead use .xe script. Support scripts from file system. 1312 * emultempl/beos.em: Support scripts from file system. 1313 * emultempl/pe.em: Likewise. 1314 * emultempl/pep.em: Likewise. 1315 * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link. 1316 13172021-01-25 Fangrui Song <maskray@google.com> 1318 1319 PR ld/27230 1320 * scripttempl/DWARF.sc: Add .debug_* sections. 1321 13222021-01-25 Nick Clifton <nickc@redhat.com> 1323 1324 * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists, 1325 .debug_line_str and .debug_str_offsets. Move .debug_macro and 1326 .debug_addr into DWARF-5 section. 1327 13282021-01-21 Alan Modra <amodra@gmail.com> 1329 1330 * testsuite/ld-elf/pr26936.d: No longer xfail mips. 1331 13322021-01-20 Alan Modra <amodra@gmail.com> 1333 1334 * testsuite/ld-powerpc/relbrlt.s: Make symbols global. 1335 * testsuite/ld-powerpc/relbrlt.d: Adjust to suit. 1336 * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs. 1337 * testsuite/ld-powerpc/tlsget.wf: Likewise. 1338 * testsuite/ld-powerpc/tlsget2.d: Likewise. 1339 * testsuite/ld-powerpc/tlsget2.wf: Likewise. 1340 * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms. 1341 * testsuite/ld-powerpc/tlsexe32.r: Likewise. 1342 * testsuite/ld-powerpc/tlsexe32no.r: Likewise. 1343 * testsuite/ld-powerpc/tlsexeno.r: Likewise. 1344 * testsuite/ld-powerpc/tlsexenors.r: Likewise. 1345 * testsuite/ld-powerpc/tlsexers.r: Likewise. 1346 * testsuite/ld-powerpc/tlsexetoc.r: Likewise. 1347 * testsuite/ld-powerpc/tlsexetocrs.r: Likewise. 1348 * testsuite/ld-powerpc/tlsso.r: Likewise. 1349 * testsuite/ld-powerpc/tlsso32.r: Likewise. 1350 * testsuite/ld-powerpc/tlstocso.r: Likewise. 1351 13522021-01-19 Nick Alcock <nick.alcock@oracle.com> 1353 1354 * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t 1355 symbols by the optimizer. 1356 * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly. 1357 13582021-01-19 Nelson Chu <nelson.chu@sifive.com> 1359 1360 * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true 1361 if target is riscv little endian. Otherwise, return false. 1362 * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian 1363 targets by [riscv_little_endian]. 1364 13652021-01-18 Alan Modra <amodra@gmail.com> 1366 1367 PR 26378 1368 * ldlang.c (map_input_to_output_sections): Start with a read-only 1369 section for data statements. 1370 * testsuite/ld-elf/size-2.d: Adjust to suit. 1371 13722021-01-17 H.J. Lu <hongjiu.lu@intel.com> 1373 1374 PR ld/27193 1375 * testsuite/ld-i386/i386.exp: Run PR ld/27193 test. 1376 * testsuite/ld-i386/pr27193.dd: New file. 1377 * testsuite/ld-i386/pr27193a.o.bz2: Likewise. 1378 * testsuite/ld-i386/pr27193b.s: Likewise. 1379 13802021-01-16 H.J. Lu <hongjiu.lu@intel.com> 1381 1382 PR binutils/23460 1383 * testsuite/ld-plugin/lto.exp: Increase the max number of open 1384 files to 20 for PR binutils/23460 test. 1385 13862021-01-16 H.J. Lu <hongjiu.lu@intel.com> 1387 1388 PR ld/23169 1389 * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with 1390 pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests. 1391 * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function 1392 address. 1393 13942021-01-15 H.J. Lu <hongjiu.lu@intel.com> 1395 1396 * NEWS: Mention -z report-relative-reloc. 1397 * ld.texi: Document -z report-relative-reloc. 1398 * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh. 1399 * emulparams/elf_i386.sh: Likewse. 1400 * emulparams/elf_x86_64.sh: Likewse. 1401 * emulparams/x86-report-relative.sh: New file. 1402 * testsuite/ld-i386/report-reloc-1.d: Likewse. 1403 * testsuite/ld-i386/report-reloc-1.l: Likewse. 1404 * testsuite/ld-i386/report-reloc-1.s: Likewse. 1405 * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse. 1406 * testsuite/ld-x86-64/report-reloc-1.d: Likewse. 1407 * testsuite/ld-x86-64/report-reloc-1.l: Likewse. 1408 * testsuite/ld-x86-64/report-reloc-1.s: Likewse. 1409 * testsuite/ld-i386/i386.exp: Run report-reloc-1. 1410 * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and 1411 report-reloc-1-x32. 1412 14132021-01-16 Alan Modra <amodra@gmail.com> 1414 1415 PR 26002 1416 * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined 1417 unversioned symbols. 1418 * testsuite/ld-elfvers/vers16.dsym: Likewise. 1419 14202021-01-15 Nelson Chu <nelson.chu@sifive.com> 1421 1422 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated. 1423 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise. 1424 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise. 1425 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise. 1426 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise. 1427 * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise. 1428 14292021-01-14 Nick Clifton <nickc@redhat.com> 1430 1431 * po/fr.po: Updated French translation. 1432 14332021-01-14 Mike Frysinger <vapier@gentoo.org> 1434 1435 * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim. 1436 14372021-01-14 Alan Modra <amodra@gmail.com> 1438 1439 PR 27160 1440 * ldelfgen.c (compare_link_order): Protect access of ELF section 1441 data. 1442 (add_link_order_input_section): Remove redundant NULL check. 1443 Use bfd_get_flavour. 1444 (ldelf_map_segments): Use bfd_get_flavour. 1445 14462021-01-13 H.J. Lu <hongjiu.lu@intel.com> 1447 1448 * ldelfgen.c (add_link_order_input_section): Check for ELF input 1449 before accessing ELF section data. 1450 14512021-01-13 Alan Modra <amodra@gmail.com> 1452 1453 * Makefile.in: Regenerate. 1454 14552021-01-13 Alan Modra <amodra@gmail.com> 1456 1457 PR 27160 1458 * ldlang.h (lang_output_section_statement_type): Add data field. 1459 (lang_input_section_type, lang_section_bst_type): Add pattern field. 1460 (statement_list): Declare. 1461 (lang_add_section): Adjust prototype. 1462 * emultempl/aarch64elf.em: Adjust lang_add_section calls. 1463 * emultempl/armelf.em: Likewise. 1464 * emultempl/beos.em: Likewise. 1465 * emultempl/cskyelf.em: Likewise. 1466 * emultempl/hppaelf.em: Likewise. 1467 * emultempl/m68hc1xelf.em: Likewise. 1468 * emultempl/metagelf.em: Likewise. 1469 * emultempl/mipself.em: Likewise. 1470 * emultempl/mmo.em: Likewise. 1471 * emultempl/msp430.em: Likewise. 1472 * emultempl/nios2elf.em: Likewise. 1473 * emultempl/pe.em: Likewise. 1474 * emultempl/pep.em: Likewise. 1475 * emultempl/ppc64elf.em: Likewise. 1476 * emultempl/spuelf.em: Likewise. 1477 * emultempl/vms.em: Likewise. 1478 * ldelf.c: Likewise. 1479 * ldelfgen.c: Include ldctor.h. 1480 (struct os_sections): New. 1481 (add_link_order_input_section, link_order_scan): New functions. 1482 (compare_link_order, fixup_link_order): New functions. 1483 (ldelf_map_segments): Call link_order_scan and fixup_link_order. 1484 * ldlang.c (statement_list): Make global. 1485 (output_section_callback_fast): Save pattern in tree node. 1486 (lang_add_section): Add pattern parameter, save in lang_input_section. 1487 (output_section_callback_tree_to_list): Adjust lang_add_section calls. 1488 (lang_insert_orphan, output_section_callback): Likewise. 1489 (ldlang_place_orphan): Likewise. 1490 (gc_section_callback): Don't set section->pattern. 1491 * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic. 1492 * testsuite/ld-elf/pr26256-3b.d: Likewise. 1493 * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate. 1494 14952021-01-13 Alan Modra <amodra@gmail.com> 1496 1497 * ldlang.h (callback_t): Remove flag_info function parameter. 1498 * ldlang.c (walk_wild_consider_section): Adjust to suit. 1499 (walk_wild_section_general): Likewise. 1500 (output_section_callback_fast, output_section_callback): Likewise. 1501 (check_section_callback, gc_section_callback): Likewise. 1502 (find_relro_section_callback): Likewise. 1503 15042021-01-12 H.J. Lu <hongjiu.lu@intel.com> 1505 1506 PR binutils/26792 1507 * configure.ac: Use GNU_MAKE_JOBSERVER. 1508 * aclocal.m4: Regenerated. 1509 * configure: Likewise. 1510 15112021-01-12 H.J. Lu <hongjiu.lu@intel.com> 1512 1513 PR ld/27171 1514 * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file. 1515 * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise. 1516 * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise. 1517 * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test. 1518 15192021-01-11 H.J. Lu <hongjiu.lu@intel.com> 1520 1521 PR ld/27173 1522 * configure: Regenerated. 1523 15242021-01-11 Matt Jenkins <matt@majenko.co.uk> 1525 1526 PR ld/27167 1527 * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3 1528 and mips64r5 to list of known mips targets. 1529 15302021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk 1531 1532 * po/pt_BR.po: Updated Brazilian Portuguese translation. 1533` * po/uk.po: Updated Ukranian translation. 1534 15352021-01-09 H.J. Lu <hongjiu.lu@intel.com> 1536 1537 * configure: Regenerated. 1538 15392021-01-09 H.J. Lu <hongjiu.lu@intel.com> 1540 1541 PR ld/27166 1542 * testsuite/ld-x86-64/lam-u48.rd: New file. 1543 * testsuite/ld-x86-64/lam-u57.rd: Likewise. 1544 * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests. 1545 15462021-01-09 Nick Clifton <nickc@redhat.com> 1547 1548 * configure: Regenerate. 1549 * po/ld.pot: Regenerate. 1550 15512021-01-09 Nick Clifton <nickc@redhat.com> 1552 1553 * 2.36 release branch crated. 1554 15552021-01-08 H.J. Lu <hongjiu.lu@intel.com> 1556 1557 * ld-x86-64/property-x86-lam-u48-4.d: Updated. 1558 * ld-x86-64/property-x86-lam-u48-5.d: Likewise. 1559 15602021-01-09 Alan Modra <amodra@gmail.com> 1561 1562 * configure: Regenerate. 1563 * Makefile.in: Regenerate. 1564 15652021-01-07 Samuel Thibault <samuel.thibault@gnu.org> 1566 1567 * configure: Regenerate. 1568 15692021-01-07 H.J. Lu <hongjiu.lu@intel.com> 1570 1571 PR 27109 1572 * testsuite/ld-elf/export-class.sd: Adjust the expected output. 1573 * testsuite/ld-elf/loadaddr3b.d: Likewise. 1574 * testsuite/ld-i386/ibt-plt-1.d: Likewise. 1575 * testsuite/ld-i386/ibt-plt-2a.d: Likewise. 1576 * testsuite/ld-i386/ibt-plt-2c.d: Likewise. 1577 * testsuite/ld-i386/ibt-plt-3a.d: Likewise. 1578 * testsuite/ld-i386/ibt-plt-3c.d: Likewise. 1579 * testsuite/ld-i386/pr19636-1d.d: Likewise. 1580 * testsuite/ld-i386/pr19636-1l.d: Likewise. 1581 * testsuite/ld-i386/pr19636-2c.d: Likewise. 1582 * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. 1583 * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. 1584 * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. 1585 * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. 1586 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. 1587 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. 1588 * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. 1589 * testsuite/ld-ifunc/pr17154-i386.d: Likewise. 1590 * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. 1591 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. 1592 * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. 1593 * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. 1594 * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. 1595 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. 1596 * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. 1597 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. 1598 * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. 1599 * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. 1600 * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. 1601 * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. 1602 * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. 1603 * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. 1604 * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. 1605 * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. 1606 * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. 1607 * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. 1608 * testsuite/ld-x86-64/pr19609-4e.d: Likewise. 1609 * testsuite/ld-x86-64/pr19609-6a.d: Likewise. 1610 * testsuite/ld-x86-64/pr19609-6b.d: Likewise. 1611 * testsuite/ld-x86-64/pr19609-7b.d: Likewise. 1612 * testsuite/ld-x86-64/pr19609-7d.d: Likewise. 1613 * testsuite/ld-x86-64/pr19636-2l.d: Likewise. 1614 * testsuite/ld-x86-64/pr20253-1d.d: Likewise. 1615 * testsuite/ld-x86-64/pr20253-1h.d: Likewise. 1616 * testsuite/ld-x86-64/pr21038b-now.d: Likewise. 1617 * testsuite/ld-x86-64/pr21038b.d: Likewise. 1618 * testsuite/ld-x86-64/pr21038c-now.d: Likewise. 1619 * testsuite/ld-x86-64/pr21038c.d: Likewise. 1620 * testsuite/ld-x86-64/pr23854.d: Likewise. 1621 * testsuite/ld-x86-64/pr25416-3.d: Likewise. 1622 * testsuite/ld-x86-64/pr25416-4.d: Likewise. 1623 * testsuite/ld-i386/plt-pic.pd: Likewise. 1624 * testsuite/ld-i386/plt-pic2.dd: Likewise. 1625 * testsuite/ld-i386/plt.pd: Likewise. 1626 * testsuite/ld-i386/plt2.dd: Likewise. 1627 * testsuite/ld-i386/tlsbin.rd: Likewise. 1628 * testsuite/ld-i386/tlsbin2.rd: Likewise. 1629 * testsuite/ld-i386/tlsbindesc.rd: Likewise. 1630 * testsuite/ld-i386/tlsdesc.rd: Likewise. 1631 * testsuite/ld-i386/tlsgdesc.rd: Likewise. 1632 * testsuite/ld-i386/tlsnopic.rd: Likewise. 1633 * testsuite/ld-i386/tlspic.rd: Likewise. 1634 * testsuite/ld-i386/tlspic2.rd: Likewise. 1635 * testsuite/ld-x86-64/mpx3.dd: Likewise. 1636 * testsuite/ld-x86-64/mpx3n.dd: Likewise. 1637 * testsuite/ld-x86-64/mpx4.dd: Likewise. 1638 * testsuite/ld-x86-64/mpx4n.dd: Likewise. 1639 * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise. 1640 * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise. 1641 * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise. 1642 * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise. 1643 * testsuite/ld-x86-64/plt.pd: Likewise. 1644 * testsuite/ld-x86-64/plt2.dd: Likewise. 1645 * testsuite/ld-x86-64/tlsbin.rd: Likewise. 1646 * testsuite/ld-x86-64/tlsbin2.rd: Likewise. 1647 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. 1648 * testsuite/ld-x86-64/tlsdesc.rd: Likewise. 1649 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise. 1650 * testsuite/ld-x86-64/tlspic.rd: Likewise. 1651 * testsuite/ld-x86-64/tlspic2.rd: Likewise. 1652 * testsuite/ld-elf/sec64k.exp: Check 1653 is_elf_unused_section_symbols. 1654 16552021-01-07 Alan Modra <amodra@gmail.com> 1656 1657 * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail. 1658 * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe. 1659 * testsuite/ld-scripts/segment-start.d: Likewise. 1660 16612021-01-07 Alan Modra <amodra@gmail.com> 1662 1663 * testsuite/ld-elf/comm-data5.d: xfail targets that complain 1664 about dynamic relocations in read-only sections. 1665 * testsuite/ld-elf/ehdr_start-shared.d: Likewise. 1666 * testsuite/ld-elf/ehdr_start.d: Likewise. 1667 * testsuite/ld-scripts/pr22267.d: Likewise. 1668 * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and 1669 pr20995 text. 1670 * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux. 1671 16722021-01-07 Marcus Comstedt <marcus@mc.pp.se> 1673 1674 * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*. 1675 * testsuite/ld-scripts/empty-address-2b.d: Likewise. 1676 16772021-01-07 Alan Modra <amodra@gmail.com> 1678 1679 * po/BLD-POTFILES.in: Regenerate. 1680 16812021-01-07 Alan Modra <amodra@gmail.com> 1682 1683 * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that 1684 complain about relocs in read-only sections. Tidy ASFLAGS append. 1685 16862021-01-06 Alan Modra <amodra@gmail.com> 1687 1688 * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment 1689 base for some tests. 1690 * testsuite/ld-sparc/gotop32.dd: Match solaris output. 1691 * testsuite/ld-sparc/gotop32.sd: Likewise. 1692 * testsuite/ld-sparc/gotop32.td: Likewise. 1693 * testsuite/ld-sparc/gotop64.dd: Likewise. 1694 * testsuite/ld-sparc/gotop64.sd: Likewise. 1695 * testsuite/ld-sparc/gotop64.td: Likewise. 1696 * testsuite/ld-sparc/tlsg32.sd: Likewise. 1697 * testsuite/ld-sparc/tlsg64.sd: Likewise. 1698 * testsuite/ld-sparc/tlspie32.dd: Likewise. 1699 * testsuite/ld-sparc/tlspie64.dd: Likewise. 1700 * testsuite/ld-sparc/tlssunbin32.dd: Likewise. 1701 * testsuite/ld-sparc/tlssunbin32.sd: Likewise. 1702 * testsuite/ld-sparc/tlssunbin32.td: Likewise. 1703 * testsuite/ld-sparc/tlssunbin64.dd: Likewise. 1704 * testsuite/ld-sparc/tlssunbin64.sd: Likewise. 1705 * testsuite/ld-sparc/tlssunbin64.td: Likewise. 1706 * testsuite/ld-sparc/tlssunnopic32.dd: Likewise. 1707 * testsuite/ld-sparc/tlssunnopic32.sd: Likewise. 1708 * testsuite/ld-sparc/tlssunnopic64.dd: Likewise. 1709 * testsuite/ld-sparc/tlssunnopic64.sd: Likewise. 1710 * testsuite/ld-sparc/tlssunpic32.dd: Likewise. 1711 * testsuite/ld-sparc/tlssunpic32.sd: Likewise. 1712 * testsuite/ld-sparc/tlssunpic32.td: Likewise. 1713 * testsuite/ld-sparc/tlssunpic64.dd: Likewise. 1714 * testsuite/ld-sparc/tlssunpic64.sd: Likewise. 1715 * testsuite/ld-sparc/tlssunpic64.td: Likewise. 1716 * testsuite/ld-sparc/wdispcall.dd: Likewise. 1717 17182021-01-06 Alan Modra <amodra@gmail.com> 1719 1720 * testsuite/ld-scripts/rgn-at10.d: xfail v850. 1721 * testsuite/ld-scripts/rgn-at11.d: Likewise. 1722 17232021-01-06 Marcus Comstedt <marcus@mc.pp.se> 1724 1725 * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added 1726 riscv_choose_[ilp32|lp64]_emul to choose the correct linker script. 1727 * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call 1728 riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv. 1729 * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise. 1730 * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise. 1731 * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise. 1732 * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise. 1733 * testsuite/ld-riscv-elf/c-lui-2.d: Likewise. 1734 * testsuite/ld-riscv-elf/c-lui.d: Likewise. 1735 * testsuite/ld-riscv-elf/call-relax.d: Likewise. 1736 * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise. 1737 * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise. 1738 * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition 1739 to littleriscv. 1740 * testsuite/ld-riscv-elf/weakref64.d: Likewise. 1741 17422021-01-06 Marcus Comstedt <marcus@mc.pp.se> 1743 1744 * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*, 1745 riscv32be*-*-linux*, and riscv64be*-*-linux*. 1746 * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and 1747 eelf32briscv_ilp32.c. 1748 * Makefile.in: Regenerate. 1749 * emulparams/elf32briscv.sh: Added. 1750 * emulparams/elf32briscv_ilp32.sh: Likewise. 1751 * emulparams/elf32briscv_ilp32f.sh: Likewise. 1752 * emulparams/elf64briscv.sh: Likewise. 1753 * emulparams/elf64briscv_lp64.sh: Likewise. 1754 * emulparams/elf64briscv_lp64f.sh: Likewise. 1755 17562021-01-05 Nick Alcock <nick.alcock@oracle.com> 1757 1758 * testsuite/ld-ctf/enum-forward.c: New test. 1759 * testsuite/ld-ctf/enum-forward.c: New results. 1760 17612021-01-05 Nick Alcock <nick.alcock@oracle.com> 1762 1763 * testsuite/ld-ctf/array.d: Adjust for dumper changes. 1764 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. 1765 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. 1766 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. 1767 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. 1768 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. 1769 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. 1770 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. 1771 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. 1772 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. 1773 * testsuite/ld-ctf/conflicting-enums.d: Likewise. 1774 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. 1775 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. 1776 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. 1777 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. 1778 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. 1779 * testsuite/ld-ctf/cycle-1.d: Likewise. 1780 * testsuite/ld-ctf/cycle-2.A.d: Likewise. 1781 * testsuite/ld-ctf/cycle-2.B.d: Likewise. 1782 * testsuite/ld-ctf/cycle-2.C.d: Likewise. 1783 * testsuite/ld-ctf/data-func-conflicted.d: Likewise. 1784 * testsuite/ld-ctf/diag-cttname-null.d: Likewise. 1785 * testsuite/ld-ctf/diag-cuname.d: Likewise. 1786 * testsuite/ld-ctf/diag-parlabel.d: Likewise. 1787 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. 1788 * testsuite/ld-ctf/forward.d: Likewise. 1789 * testsuite/ld-ctf/function.d: Likewise. 1790 * testsuite/ld-ctf/slice.d: Likewise. 1791 * testsuite/ld-ctf/super-sub-cycles.d: Likewise. 1792 * testsuite/ld-ctf/enums.c: New test. 1793 * testsuite/ld-ctf/enums.d: New test. 1794 17952021-01-05 Nick Alcock <nick.alcock@oracle.com> 1796 1797 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper 1798 changes. 1799 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. 1800 * testsuite/ld-ctf/forward.c: New test... 1801 * testsuite/ld-ctf/forward.d: ... and results. 1802 18032021-01-05 Nick Alcock <nick.alcock@oracle.com> 1804 1805 * testsuite/ld-ctf/array.d: Adjust for dumper changes. 1806 * testsuite/ld-ctf/data-func-conflicted.d: Likewise. 1807 * testsuite/ld-ctf/diag-cttname-null.d: Likewise. 1808 * testsuite/ld-ctf/diag-cuname.d: Likewise. 1809 * testsuite/ld-ctf/diag-parlabel.d: Likewise. 1810 * testsuite/ld-ctf/function.d: Likewise. 1811 * testsuite/ld-ctf/slice.d: Likewise. 1812 18132021-01-05 Nick Alcock <nick.alcock@oracle.com> 1814 1815 * testsuite/ld-ctf/array.d: Adjust for dumper changes. 1816 * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. 1817 * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. 1818 * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. 1819 * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. 1820 * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. 1821 * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. 1822 * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. 1823 * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. 1824 * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. 1825 * testsuite/ld-ctf/conflicting-enums.d: Likewise. 1826 * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. 1827 * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. 1828 * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. 1829 * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. 1830 * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. 1831 * testsuite/ld-ctf/cycle-1.d: Likewise. 1832 * testsuite/ld-ctf/cycle-2.A.d: Likewise. 1833 * testsuite/ld-ctf/cycle-2.B.d: Likewise. 1834 * testsuite/ld-ctf/cycle-2.C.d: Likewise. 1835 * testsuite/ld-ctf/data-func-conflicted.d: Likewise. 1836 * testsuite/ld-ctf/diag-cttname-null.d: Likewise. 1837 * testsuite/ld-ctf/diag-cuname.d: Likewise. 1838 * testsuite/ld-ctf/diag-parlabel.d: Likewise. 1839 * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. 1840 * testsuite/ld-ctf/function.d: Likewise. 1841 * testsuite/ld-ctf/slice.d: Likewise. 1842 * testsuite/ld-ctf/super-sub-cycles.d: Likewise. 1843 18442021-01-05 Alan Modra <amodra@gmail.com> 1845 1846 * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets. 1847 18482021-01-05 Alan Modra <amodra@gmail.com> 1849 1850 PR ld/26256 1851 * testsuite/ld-elf/pr26256-1b.d: xfail s12z. 1852 * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64. 1853 18542021-01-04 H.J. Lu <hongjiu.lu@intel.com> 1855 1856 PR ld/26256 1857 * ldlang.c (gc_section_callback): Set pattern. 1858 * testsuite/ld-elf/pr26256-1.s: New file. 1859 * testsuite/ld-elf/pr26256-1.t: Likewise. 1860 * testsuite/ld-elf/pr26256-1a.d: Likewise. 1861 * testsuite/ld-elf/pr26256-1b.d: Likewise. 1862 * testsuite/ld-elf/pr26256-2.s: Likewise. 1863 * testsuite/ld-elf/pr26256-2.t: Likewise. 1864 * testsuite/ld-elf/pr26256-2a.d: Likewise. 1865 * testsuite/ld-elf/pr26256-2b-alt.d: Likewise. 1866 * testsuite/ld-elf/pr26256-2b.d: Likewise. 1867 * testsuite/ld-elf/pr26256-3.s: Likewise. 1868 * testsuite/ld-elf/pr26256-3a.d: Likewise. 1869 * testsuite/ld-elf/pr26256-3a.t: Likewise. 1870 * testsuite/ld-elf/pr26256-3b.d: Likewise. 1871 * testsuite/ld-elf/pr26256-3b.t: Likewise. 1872 18732021-01-04 Alan Modra <amodra@gmail.com> 1874 1875 PR 26822 1876 * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match. 1877 * testsuite/ld-arm/non-contiguous-arm3.d: Likewise. 1878 * testsuite/ld-arm/non-contiguous-arm5.d: Likewise. 1879 * testsuite/ld-arm/non-contiguous-arm6.d: Likewise. 1880 * testsuite/ld-i386/tlsbin.rd: Likewise. 1881 * testsuite/ld-i386/tlsbin2.rd: Likewise. 1882 * testsuite/ld-i386/tlsbindesc.rd: Likewise. 1883 * testsuite/ld-i386/tlsdesc.rd: Likewise. 1884 * testsuite/ld-i386/tlsnopic.rd: Likewise. 1885 * testsuite/ld-i386/tlspic.rd: Likewise. 1886 * testsuite/ld-i386/tlspic2.rd: Likewise. 1887 * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise. 1888 * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise. 1889 * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise. 1890 * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise. 1891 * testsuite/ld-plugin/pr17973.d: Likewise. 1892 * testsuite/ld-tic6x/shlib-1.rd: Likewise. 1893 * testsuite/ld-tic6x/shlib-1b.rd: Likewise. 1894 * testsuite/ld-tic6x/shlib-1r.rd: Likewise. 1895 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. 1896 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. 1897 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. 1898 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. 1899 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. 1900 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. 1901 * testsuite/ld-tic6x/static-app-1.rd: Likewise. 1902 * testsuite/ld-tic6x/static-app-1b.rd: Likewise. 1903 * testsuite/ld-tic6x/static-app-1r.rd: Likewise. 1904 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. 1905 * testsuite/ld-x86-64/tlsbin.rd: Likewise. 1906 * testsuite/ld-x86-64/tlsbin2.rd: Likewise. 1907 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. 1908 * testsuite/ld-x86-64/tlsdesc.rd: Likewise. 1909 * testsuite/ld-x86-64/tlspic.rd: Likewise. 1910 * testsuite/ld-x86-64/tlspic2.rd: Likewise. 1911 * testsuite/ld-xtensa/tlsbin.rd: Likewise. 1912 * testsuite/ld-xtensa/tlspic.rd: Likewise. 1913 19142021-01-01 Nicolas Boulenguez <nicolas@debian.org> 1915 1916 * configure.tgt: Correct comment grammar. 1917 * emultempl/m68hc1xelf.em: Likewise. 1918 * ld.texi: Correct grammar. 1919 19202021-01-01 Alan Modra <amodra@gmail.com> 1921 1922 Update year range in copyright notice of all files. 1923 1924For older changes see ChangeLog-2020 1925 1926Copyright (C) 2021-2022 Free Software Foundation, Inc. 1927 1928Copying and distribution of this file, with or without modification, 1929are permitted in any medium without royalty provided the copyright 1930notice and this notice are preserved. 1931 1932Local Variables: 1933mode: change-log 1934left-margin: 8 1935fill-column: 74 1936version-control: never 1937End: 1938