| 1 | 2021-05-05 Alan Modra <amodra@gmail.com> |
| 2 | |
| 3 | * testsuite/ld-powerpc/empty.s: New file. |
| 4 | * testsuite/ld-powerpc/undefweak.d, |
| 5 | * testsuite/ld-powerpc/undefweak.s: New testcase. |
| 6 | * testsuite/ld-powerpc/powerpc.exp: Run it. |
| 7 | |
| 8 | 2021-05-03 Alan Modra <amodra@gmail.com> |
| 9 | |
| 10 | * testsuite/ld-s390/tlspic_64.rd: Adjust expected output for |
| 11 | named section symbols. |
| 12 | |
| 13 | 2021-04-28 Nick Clifton <nickc@redhat.com> |
| 14 | |
| 15 | * testsuite/ld-elf/anno-sym.s: New test source file. |
| 16 | * testsuite/ld-elf/anno-sym.d: New test driver. |
| 17 | * testsuite/ld-elf/anno-sym.l: New test error output. |
| 18 | |
| 19 | 2021-04-26 Jan Beulich <jbeulich@suse.com> |
| 20 | |
| 21 | * testsuite/ld-i386/pcrel16-2.s, testsuite/ld-i386/pcrel16-2.d, |
| 22 | testsuite/ld-x86-64/pcrel16-2.d: New. |
| 23 | * testsuite/ld-i386/i386.exp: Run new test. |
| 24 | * testsuite/ld-x86-64/x86-64.exp: Likewise. |
| 25 | |
| 26 | 2021-04-23 H.J. Lu <hongjiu.lu@intel.com> |
| 27 | |
| 28 | PR ld/27771 |
| 29 | * testsuite/ld-bootstrap/bootstrap.exp: Create a symbolic link |
| 30 | to tmpdir/ldscripts only if it doesn't exist. |
| 31 | |
| 32 | 2021-04-22 Jan Beulich <jbeulich@suse.com> |
| 33 | |
| 34 | PR ld/26659 |
| 35 | * testsuite/ld-pe/pr26659-weak-undef-sym.d: Relax for Cygwin. |
| 36 | |
| 37 | 2021-04-21 Nick Clifton <nickc@redhat.com> |
| 38 | |
| 39 | * testsuite/ld-aarch64/variant_pcs-now.d: Adjust expected output |
| 40 | to allow for named section symbols. |
| 41 | * testsuite/ld-aarch64/variant_pcs-r.d: Likewise. |
| 42 | * testsuite/ld-aarch64/variant_pcs-shared.d: Likewise. |
| 43 | * testsuite/ld-alpha/tlsbin.rd: Likewise. |
| 44 | * testsuite/ld-alpha/tlsbinr.rd: Likewise. |
| 45 | * testsuite/ld-alpha/tlspic.rd: Likewise. |
| 46 | * testsuite/ld-arm/rodata-merge-map.sym: Likewise. |
| 47 | * testsuite/ld-arm/script-type.sym: Likewise. |
| 48 | * testsuite/ld-cris/libdso-2.d: Likewise. |
| 49 | * testsuite/ld-cris/pr16044.d: Likewise. |
| 50 | * testsuite/ld-elf/sec64k.exp: Likewise. |
| 51 | * testsuite/ld-ia64/tlsbin.rd: Likewise. |
| 52 | * testsuite/ld-ia64/tlspic.rd: Likewise. |
| 53 | * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise. |
| 54 | * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise. |
| 55 | * testsuite/ld-mmix/bspec1.d: Likewise. |
| 56 | * testsuite/ld-mmix/bspec2.d: Likewise. |
| 57 | * testsuite/ld-mmix/local1.d: Likewise. |
| 58 | * testsuite/ld-mmix/local3.d: Likewise. |
| 59 | * testsuite/ld-mmix/local5.d: Likewise. |
| 60 | * testsuite/ld-mmix/local7.d: Likewise. |
| 61 | * testsuite/ld-mmix/undef-3.d: Likewise. |
| 62 | * testsuite/ld-powerpc/tlsso.r: Likewise. |
| 63 | * testsuite/ld-powerpc/tlsso32.r: Likewise. |
| 64 | * testsuite/ld-powerpc/tlstocso.r: Likewise. |
| 65 | * testsuite/ld-s390/tlsbin.rd: Likewise. |
| 66 | * testsuite/ld-s390/tlsbin_64.rd: Likewise. |
| 67 | * testsuite/ld-s390/tlspic.rd: Likewise. |
| 68 | * testsuite/ld-s390/tlspic_64.rd: Likewise. |
| 69 | * testsuite/ld-sparc/gotop32.rd: Likewise. |
| 70 | * testsuite/ld-sparc/gotop64.rd: Likewise. |
| 71 | * testsuite/ld-sparc/tlssunbin32.rd: Likewise. |
| 72 | * testsuite/ld-sparc/tlssunbin64.rd: Likewise. |
| 73 | * testsuite/ld-sparc/tlssunnopic32.rd: Likewise. |
| 74 | * testsuite/ld-sparc/tlssunnopic64.rd: Likewise. |
| 75 | * testsuite/ld-sparc/tlssunpic32.rd: Likewise. |
| 76 | * testsuite/ld-sparc/tlssunpic64.rd: Likewise. |
| 77 | * testsuite/ld-tic6x/common.d: Likewise. |
| 78 | * testsuite/ld-tic6x/shlib-1.rd: Likewise. |
| 79 | * testsuite/ld-tic6x/shlib-1b.rd: Likewise. |
| 80 | * testsuite/ld-tic6x/shlib-1r.rd: Likewise. |
| 81 | * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. |
| 82 | * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. |
| 83 | * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. |
| 84 | * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. |
| 85 | * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. |
| 86 | * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. |
| 87 | * testsuite/ld-tic6x/static-app-1.rd: Likewise. |
| 88 | * testsuite/ld-tic6x/static-app-1b.rd: Likewise. |
| 89 | * testsuite/ld-tic6x/static-app-1r.rd: Likewise. |
| 90 | * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. |
| 91 | |
| 92 | 2021-04-20 Clément Chigot <clement.chigot@atos.net> |
| 93 | |
| 94 | PR binutils/21700 |
| 95 | * testsuite/ld-powerpc/aix52.exp: Add new test. |
| 96 | * testsuite/ld-powerpc/aix-neg-reloc-32.d: New test. |
| 97 | * testsuite/ld-powerpc/aix-neg-reloc-64.d: New test. |
| 98 | * testsuite/ld-powerpc/aix-neg-reloc.ex: New test. |
| 99 | * testsuite/ld-powerpc/aix-neg-reloc.s: New test. |
| 100 | |
| 101 | 2021-04-13 Nick Clifton <nickc@redhat.com> |
| 102 | |
| 103 | * ld.texi (Options): Add note about the effect of --as-needed on |
| 104 | the --rpath and --rpath-link options on Linux based systems. |
| 105 | |
| 106 | 2021-04-13 Alan Modra <amodra@gmail.com> |
| 107 | |
| 108 | PR 27722 |
| 109 | * libdep_plugin.c (str2vec): Don't pass a potentially signed char |
| 110 | to isspace. |
| 111 | |
| 112 | 2021-04-12 Alan Modra <amodra@gmail.com> |
| 113 | |
| 114 | * configure.ac (--enable-checking): Add support. |
| 115 | * config.in: Regenerate. |
| 116 | * configure: Regenerate. |
| 117 | |
| 118 | 2021-04-12 Alan Modra <amodra@gmail.com> |
| 119 | |
| 120 | * emultempl/mipself.em (mips_create_output_section_statements): |
| 121 | Pass base type of hash table to is_elf_hash_table. |
| 122 | * ldelf.c (ldelf_after_open): Likewise. |
| 123 | |
| 124 | 2021-04-12 Alan Modra <amodra@gmail.com> |
| 125 | |
| 126 | PR 27719 |
| 127 | * ldlang.c (lang_mark_undefineds, undef_start_stop): Test that |
| 128 | the symbol hash table is the correct type before accessing |
| 129 | elf_link_hash_entry symbols. |
| 130 | * plugin.c (is_visible_from_outside): Likewise. |
| 131 | * emultempl/armelf.em (ld${EMULATION_NAME}_finish): Likewise. |
| 132 | * emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise. |
| 133 | |
| 134 | 2021-04-09 Alan Modra <amodra@gmail.com> |
| 135 | |
| 136 | * testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output. |
| 137 | * testsuite/ld-powerpc/inlinepcrel-2.d: Likewise. |
| 138 | * testsuite/ld-powerpc/notoc2.d: Likewise. |
| 139 | * testsuite/ld-powerpc/notoc3.d: Likewise. |
| 140 | * testsuite/ld-powerpc/pcrelopt.d: Likewise. |
| 141 | * testsuite/ld-powerpc/startstop.d: Likewise. |
| 142 | * testsuite/ld-powerpc/tlsget.d: Likewise. |
| 143 | * testsuite/ld-powerpc/tlsget2.d: Likewise. |
| 144 | * testsuite/ld-powerpc/tlsld.d: Likewise. |
| 145 | * testsuite/ld-powerpc/weak1.d: Likewise. |
| 146 | * testsuite/ld-powerpc/weak1so.d: Likewise. |
| 147 | |
| 148 | 2021-04-06 Jan Beulich <jbeulich@suse.com> |
| 149 | |
| 150 | * pe-dll.c (generate_reloc): Bail immediately when .reloc is |
| 151 | being discarded. Warn when relocated entry is above .reloc. |
| 152 | |
| 153 | 2021-04-05 Alan Modra <amodra@gmail.com> |
| 154 | |
| 155 | * configure.ac: Move initfini-array arg handling earlier. Don't |
| 156 | check for string.h, strings.h, stdlib.h, or locale.h. Do check |
| 157 | for inttypes.h, stdint.h, sys/types.h. Don't check for |
| 158 | setlocale, free, getev or strstr. |
| 159 | (AC_ISC_POSIX): Don't invoke. |
| 160 | * sysdep.h: Include string.h and stdlib.h unconditionally. Test |
| 161 | HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and |
| 162 | getenv fallback declarations. |
| 163 | * ld.h: Don't test HAVE_LOCALE_H. |
| 164 | * ldmain.c: Don't test HAVE_SETLOCALE. |
| 165 | * config.in: Regenerate. |
| 166 | * configure: Regenerate. |
| 167 | |
| 168 | 2021-04-01 Tamar Christina <tamar.christina@arm.com> |
| 169 | |
| 170 | PR ld/26659 |
| 171 | * testsuite/ld-pe/pe.exp: Add test. |
| 172 | * testsuite/ld-pe/pr26659-weak-undef-sym.d: New test. |
| 173 | * testsuite/ld-pe/pr26659-weak-undef-sym.s: New test. |
| 174 | |
| 175 | 2021-04-01 Martin Liska <mliska@suse.cz> |
| 176 | |
| 177 | * ldbuildid.c (strneq): Remove strneq and use startswith. |
| 178 | (validate_build_id_style): Likewise. |
| 179 | (compute_build_id_size): Likewise. |
| 180 | |
| 181 | 2021-03-31 Alan Modra <amodra@gmail.com> |
| 182 | |
| 183 | * sysdep.h (POISON_BFD_BOOLEAN): Define. |
| 184 | * configure.ac (elf_list_options, elf_shlib_list_options=false), |
| 185 | (elf_plt_unwind_list_options=false): Replace FALSE with false, |
| 186 | and TRUE with true. |
| 187 | * emulparams/call_nop.sh, * emulparams/cet.sh, |
| 188 | * emulparams/dynamic_undefined_weak.sh, |
| 189 | * emulparams/elf32b4300.sh, * emulparams/elf32lm32.sh, |
| 190 | * emulparams/elf32lr5900.sh, * emulparams/elf32lr5900n32.sh, |
| 191 | * emulparams/elf32visium.sh, * emulparams/elf_x86_64.sh, |
| 192 | * emulparams/extern_protected_data.sh, * emulparams/plt_unwind.sh, |
| 193 | * emulparams/reloc_overflow.sh, * emulparams/static.sh, |
| 194 | * emulparams/x86-64-lam.sh, * emultempl/aarch64elf.em, |
| 195 | * emultempl/aix.em, * emultempl/alphaelf.em, |
| 196 | * emultempl/armcoff.em, * emultempl/armelf.em, |
| 197 | * emultempl/avrelf.em, * emultempl/beos.em, * emultempl/bfin.em, |
| 198 | * emultempl/cr16elf.em, * emultempl/crxelf.em, |
| 199 | * emultempl/cskyelf.em, * emultempl/elf.em, * emultempl/genelf.em, |
| 200 | * emultempl/hppaelf.em, * emultempl/linux.em, |
| 201 | * emultempl/m68hc1xelf.em, * emultempl/metagelf.em, |
| 202 | * emultempl/mipself.em, * emultempl/mmix-elfnmmo.em, |
| 203 | * emultempl/mmixelf.em, * emultempl/mmo.em, * emultempl/msp430.em, |
| 204 | * emultempl/nios2elf.em, * emultempl/pdp11.em, * emultempl/pe.em, |
| 205 | * emultempl/pep.em, * emultempl/ppc32elf.em, |
| 206 | * emultempl/ppc64elf.em, * emultempl/rxelf.em, |
| 207 | * emultempl/rxlinux.em, * emultempl/scoreelf.em, |
| 208 | * emultempl/solaris2.em, * emultempl/spuelf.em, |
| 209 | * emultempl/ticoff.em, * emultempl/v850elf.em, * emultempl/vms.em, |
| 210 | * emultempl/xtensaelf.em, * emultempl/z80.em, * ld.h, |
| 211 | * ldbuildid.c, * ldbuildid.h, * ldcref.c, * ldctor.c, * ldctor.h, |
| 212 | * ldelf.c, * ldelf.h, * ldelfgen.c, * ldelfgen.h, * ldemul.c, |
| 213 | * ldemul.h, * ldexp.c, * ldexp.h, * ldfile.c, * ldfile.h, |
| 214 | * ldgram.y, * ldlang.c, * ldlang.h, * ldmain.c, * ldmain.h, |
| 215 | * ldmisc.c, * ldmisc.h, * ldwrite.c, * lexsup.c, * mri.c, |
| 216 | * pe-dll.c, * pe-dll.h, * pep-dll.h, * plugin.c, * plugin.h, |
| 217 | * testplug.c, * testplug2.c, * testplug3.c, * testplug4.c: Replace |
| 218 | bfd_boolean with bool, FALSE with false, and TRUE with true. |
| 219 | * configure: Regenerate. |
| 220 | |
| 221 | 2021-03-31 Alan Modra <amodra@gmail.com> |
| 222 | |
| 223 | * elf-hints-local.h: Include stdint.h in place of bfd_stdint.h. |
| 224 | * emultempl/nds32elf.em: Likewise. |
| 225 | * testsuite/ld-elf/mbind2b.c: Likewise. |
| 226 | * testsuite/ld-elf/pr18718.c: Likewise. |
| 227 | * testsuite/ld-elf/pr18720a.c: Likewise. |
| 228 | * testsuite/ld-elf/pr25749-1.c: Likewise. |
| 229 | * testsuite/ld-elf/pr25749-1a.c: Likewise. |
| 230 | * testsuite/ld-elf/pr25749-1b.c: Likewise. |
| 231 | * testsuite/ld-elf/pr25749-1c.c: Likewise. |
| 232 | * testsuite/ld-elf/pr25749-1d.c: Likewise. |
| 233 | * testsuite/ld-elf/pr25749-2.c: Likewise. |
| 234 | * testsuite/ld-elf/pr25754-1a.c: Likewise. |
| 235 | * testsuite/ld-elf/pr25754-2a.c: Likewise. |
| 236 | * testsuite/ld-elf/pr25754-3a.c: Likewise. |
| 237 | * testsuite/ld-elf/pr25754-4a.c: Likewise. |
| 238 | * testsuite/ld-elf/pr25754-5a.c: Likewise. |
| 239 | * testsuite/ld-elf/pr25754-6a.c: Likewise. |
| 240 | |
| 241 | 2021-03-29 Alan Modra <amodra@gmail.com> |
| 242 | |
| 243 | * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Simplify |
| 244 | boolean expression. |
| 245 | * lexsup.c (parse_args): Likewise. |
| 246 | * pe-dll.c (pe_dll_id_target): Likewise. |
| 247 | |
| 248 | 2021-03-25 Nick Alcock <nick.alcock@oracle.com> |
| 249 | |
| 250 | * testsuite/ld-ctf/array.d: Only check that the data object |
| 251 | section is nonempty: do not check its exact size. |
| 252 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. |
| 253 | * testsuite/ld-ctf/slice.d: Likewise. |
| 254 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise, and for the |
| 255 | func info section too. |
| 256 | * testsuite/ld-ctf/function.d: Likewise, for the func info section. |
| 257 | |
| 258 | 2021-03-22 Martin Liska <mliska@suse.cz> |
| 259 | |
| 260 | * emultempl/aix.em: Replace usage of CONST_STRNEQ with startswith. |
| 261 | * emultempl/beos.em: Likewise. |
| 262 | * emultempl/elf.em: Likewise. |
| 263 | * emultempl/pe.em: Likewise. |
| 264 | * emultempl/pep.em: Likewise. |
| 265 | * emultempl/xtensaelf.em: Likewise. |
| 266 | * ldctor.c (ctor_prio): Likewise. |
| 267 | * ldelf.c (ldelf_try_needed): Likewise. |
| 268 | (ldelf_parse_ld_so_conf): Likewise. |
| 269 | (ldelf_after_open): Likewise. |
| 270 | (output_rel_find): Likewise. |
| 271 | (ldelf_place_orphan): Likewise. |
| 272 | * ldfile.c (ldfile_add_library_path): Likewise. |
| 273 | * ldlang.c (lang_add_input_file): Likewise. |
| 274 | * ldmain.c (get_sysroot): Likewise. |
| 275 | (get_emulation): Likewise. |
| 276 | (add_archive_element): Likewise. |
| 277 | * ldwrite.c (unsplittable_name): Likewise. |
| 278 | (clone_section): Likewise. |
| 279 | * lexsup.c (parse_args): Likewise. |
| 280 | * pe-dll.c (is_import): Likewise. |
| 281 | (pe_implied_import_dll): Likewise. |
| 282 | |
| 283 | 2021-03-19 H.J. Lu <hongjiu.lu@intel.com> |
| 284 | |
| 285 | PR ld/27590 |
| 286 | * testsuite/ld-x86-64/pr27590.rd: New file. |
| 287 | * testsuite/ld-x86-64/pr27590a.obj.bz2: Likewise. |
| 288 | * testsuite/ld-x86-64/pr27590b.obj.bz2: Likewise. |
| 289 | * testsuite/ld-x86-64/x86-64.exp: Run ld/27590 test. |
| 290 | |
| 291 | 2021-03-20 Alan Modra <amodra@gmail.com> |
| 292 | |
| 293 | PR 27590 |
| 294 | * ldlang.c (lang_gc_sections): Clear SEC_EXCLUDE when relocatable |
| 295 | for all sections except .stabstr. |
| 296 | |
| 297 | 2021-03-19 Alan Modra <amodra@gmail.com> |
| 298 | |
| 299 | PR 27590 |
| 300 | * testsuite/ld-elf/pr27590a.d: Match relocs using label, and |
| 301 | R_MIPS_NONE. |
| 302 | * testsuite/ld-elf/pr27590b.d: Likewise. |
| 303 | |
| 304 | 2021-03-18 H.J. Lu <hongjiu.lu@intel.com> |
| 305 | |
| 306 | PR ld/27590 |
| 307 | * testsuite/ld-elf/pr27590.s: New file. |
| 308 | * testsuite/ld-elf/pr27590a.d: Likewise. |
| 309 | * testsuite/ld-elf/pr27590b.d: Likewise. |
| 310 | * testsuite/ld-i386/i386.exp: Also run ld/27193 test with |
| 311 | --reduce-memory-overheads. |
| 312 | |
| 313 | 2021-03-18 H.J. Lu <hongjiu.lu@intel.com> |
| 314 | |
| 315 | PR ld/27587 |
| 316 | * testsuite/ld-x86-64/pr27587.err: New file. |
| 317 | * testsuite/ld-x86-64/pr27587a.obj.bz2: Likewise. |
| 318 | * testsuite/ld-x86-64/pr27587b.obj.bz2: Likewise. |
| 319 | * testsuite/ld-x86-64/x86-64.exp: Run PR ld/27587 test. |
| 320 | |
| 321 | 2021-03-18 Nick Alcock <nick.alcock@oracle.com> |
| 322 | |
| 323 | * testsuite/ld-ctf/slice.c: Check slices of enums too. |
| 324 | * testsuite/ld-ctf/slice.d: Results adjusted. |
| 325 | |
| 326 | 2021-03-16 Nick Clifton <nickc@redhat.com> |
| 327 | |
| 328 | * pe-dll.c (pe_find_cdecl_alias_match): Use memmove to overwrite |
| 329 | lname string. |
| 330 | |
| 331 | 2021-03-15 Jan Beulich <jbeulich@suse.com> |
| 332 | |
| 333 | * pe-dll.c (generate_reloc): Drop padding to reloc_s->size. |
| 334 | |
| 335 | 2021-03-12 Alan Modra <amodra@gmail.com> |
| 336 | |
| 337 | * Makefile.am (ALL_EMULATION_SOURCES): Move riscv files to.. |
| 338 | (ALL_64_EMULATION_SOURCES): ..here. |
| 339 | * Makefile.in: Regenerate. |
| 340 | |
| 341 | 2021-03-12 Clément Chigot <clement.chigot@atos.net> |
| 342 | |
| 343 | * emultempl/aix.em: Ensure .tdata section is removed |
| 344 | if empty, even with -r flag. |
| 345 | * scripttempl/aix.sc: Handle TLS sections. |
| 346 | * testsuite/ld-powerpc/aix52.exp: Add new tests. |
| 347 | * testsuite/ld-powerpc/aix-tls-reloc-32.d: New test. |
| 348 | * testsuite/ld-powerpc/aix-tls-reloc-64.d: New test. |
| 349 | * testsuite/ld-powerpc/aix-tls-reloc.ex: New test. |
| 350 | * testsuite/ld-powerpc/aix-tls-reloc.s: New test. |
| 351 | * testsuite/ld-powerpc/aix-tls-section-32.d: New test. |
| 352 | * testsuite/ld-powerpc/aix-tls-section-64.d: New test. |
| 353 | * testsuite/ld-powerpc/aix-tls-section.ex: New test. |
| 354 | * testsuite/ld-powerpc/aix-tls-section.s: New test. |
| 355 | |
| 356 | 2021-03-12 Clément Chigot <clement.chigot@atos.net> |
| 357 | |
| 358 | * scripttempl/aix.sc: Add .te to .data section. |
| 359 | * testsuite/ld-powerpc/aix52.exp: Add test structure for AIX7+. |
| 360 | Add aix-largetoc-1 test. |
| 361 | * testsuite/ld-powerpc/aix-largetoc-1-32.d: New test. |
| 362 | * testsuite/ld-powerpc/aix-largetoc-1-64.d: New test. |
| 363 | * testsuite/ld-powerpc/aix-largetoc-1.ex: New test. |
| 364 | * testsuite/ld-powerpc/aix-largetoc-1.s: New test. |
| 365 | |
| 366 | 2021-03-12 Alan Modra <amodra@gmail.com> |
| 367 | |
| 368 | * testsuite/ld-gc/gc.exp: Pass "-image-base 0" to ld for PE, and |
| 369 | arrange to define __main for some run_dump_test tests. |
| 370 | * testsuite/ld-gc/pr13683.d: Accept more symbols. |
| 371 | * testsuite/ld-gc/pr14265.d: Likewise, and ordering. |
| 372 | * testsuite/ld-scripts/crossref.exp: Pass "-image-base 0" to ld for PE. |
| 373 | * testsuite/ld-srec/srec.exp: Likewise. |
| 374 | * testsuite/lib/ld-lib.exp (ld_link_defsyms): Use is_pecoff_format. |
| 375 | |
| 376 | 2021-03-11 Nelson Chu <nelson.chu@sifive.com> |
| 377 | |
| 378 | * emultempl/riscvelf.em (after_allocation): Run ldelf_map_segments |
| 379 | many times if riscv_restart_relax_sections returns TRUE. |
| 380 | * testsuite/ld-riscv-elf/restart-relax.d: New testcase. Before |
| 381 | applying this patch, the call won't be relaxed to jal; But now we |
| 382 | have more chances to do relaxations. |
| 383 | * testsuite/ld-riscv-elf/restart-relax.s: Likewise. |
| 384 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Updated. |
| 385 | |
| 386 | 2021-03-10 Jan Beulich <jbeulich@suse.com> |
| 387 | |
| 388 | * testsuite/ld-scripts/pr22267.t: Avoid symbol value with more |
| 389 | than 32 set bits. |
| 390 | * testsuite/ld-scripts/pr22267.d: Adjust expectation and drop |
| 391 | comment. |
| 392 | * scripttempl/mcorepe.sc: Use PROVIDE() for _stack. |
| 393 | |
| 394 | 2021-03-09 Jan Beulich <jbeulich@suse.com> |
| 395 | |
| 396 | * testsuite/ld-pe/reloc.s: Add entry point symbols. Increase |
| 397 | alignment to 4k. |
| 398 | * testsuite/ld-pe/reloc.d: xfail for mcore. |
| 399 | |
| 400 | 2021-03-09 Jan Beulich <jbeulich@suse.com> |
| 401 | |
| 402 | * testsuite/ld-scripts/alignof.exp, |
| 403 | testsuite/ld-scripts/data.exp, |
| 404 | testsuite/ld-scripts/default-script.exp, |
| 405 | testsuite/ld-scripts/log2.exp, |
| 406 | testsuite/ld-scripts/print-memory-usage.exp, |
| 407 | testsuite/ld-scripts/sizeof.exp, |
| 408 | testsuite/ld-undefined/weak-undef.exp: Set image base to zero |
| 409 | for PE/COFF. |
| 410 | * testsuite/ld-scripts/default-script1.d, |
| 411 | testsuite/ld-scripts/default-script2.d, |
| 412 | testsuite/ld-scripts/default-script3.d, |
| 413 | testsuite/ld-scripts/default-script4.d: Drop xfail and comment. |
| 414 | |
| 415 | 2021-03-05 H.J. Lu <hongjiu.lu@intel.com> |
| 416 | |
| 417 | PR ld/27425 |
| 418 | PR ld/27432 |
| 419 | * ldelf.c (ldelf_set_output_arch): New function. |
| 420 | * ldelf.h (ldelf_set_output_arch): New prototype. |
| 421 | * emultempl/elf.em (LDEMUL_SET_OUTPUT_ARCH): Default to |
| 422 | ldelf_set_output_arch. |
| 423 | * ld-x86-64/pe-x86-64-1.od: Expect __executable_start. |
| 424 | * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise. |
| 425 | * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise. |
| 426 | * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise. |
| 427 | * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise. |
| 428 | * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise. |
| 429 | * testsuite/ld-x86-64/pe-x86-64-6.obj.bz2: New file. |
| 430 | * testsuite/ld-x86-64/pe-x86-64-6.od: Likewise. |
| 431 | * testsuite/ld-x86-64/pe-x86-64.exp: Run ld/27425 test. |
| 432 | |
| 433 | 2021-03-04 Jan Beulich <jbeulich@suse.com> |
| 434 | |
| 435 | * testsuite/ld-scripts/map-address.exp: Set image base to zero |
| 436 | for PE/COFF. |
| 437 | * testsuite/ld-scripts/map-address.t: Place .text. |
| 438 | |
| 439 | 2021-03-04 Jan Beulich <jbeulich@suse.com> |
| 440 | |
| 441 | * ldexp.c (ldexp_is_final_sym_absolute): New. |
| 442 | * ldexp.h (ldexp_is_final_sym_absolute): Declare. |
| 443 | * pe-dll.c (generate_reloc): Skip absolute symbols. |
| 444 | * testsuite/ld-pe/reloc.s, testsuite/ld-pe/reloc.d: New. |
| 445 | * testsuite/ld-pe/pe.exp: Run new test. |
| 446 | |
| 447 | 2021-03-03 Alan Modra <amodra@gmail.com> |
| 448 | |
| 449 | PR 27500 |
| 450 | * ldlang.c (insert_undefined): Don't mark symbols here. |
| 451 | (lang_mark_undefineds): Do so here instead, new function. |
| 452 | (lang_process): Call lang_mark_undefineds. |
| 453 | * testsuite/ld-gc/start3.d, |
| 454 | * testsuite/ld-gc/start3.s: New test. |
| 455 | * testsuite/ld-gc/start4.d, |
| 456 | * testsuite/ld-gc/start4.s: New test. |
| 457 | * testsuite/ld-gc/gc.exp: Run them. |
| 458 | |
| 459 | 2021-03-03 Alan Modra <amodra@gmail.com> |
| 460 | |
| 461 | * testsuite/ld-gc/gc.exp: Define UNDERSCORE in ASFLAGS. |
| 462 | Move tests with ELF section directives to is_elf_format block. |
| 463 | * testsuite/ld-gc/abi-note.d: Run on more targets. |
| 464 | * testsuite/ld-gc/pr19167.d: Likewise and adjust xfails. |
| 465 | * testsuite/ld-gc/start.d: Likewise. |
| 466 | * testsuite/ld-gc/start2.d: Likewise. |
| 467 | * testsuite/ld-gc/stop.d: Likewise. |
| 468 | * testsuite/ld-gc/pr19167a.s: Add support for underscore targets. |
| 469 | * testsuite/ld-gc/start.s: Likewise. |
| 470 | * testsuite/ld-gc/start2.s: Likewise. |
| 471 | |
| 472 | 2021-03-02 Nick Alcock <nick.alcock@oracle.com> |
| 473 | |
| 474 | * ldelfgen.c (ldelf_ctf_strtab_iter_cb): Skip zero-refcount strings. |
| 475 | |
| 476 | 2021-03-02 Alan Modra <amodra@gmail.com> |
| 477 | |
| 478 | * testsuite/ld-powerpc/startstop.d, |
| 479 | * testsuite/ld-powerpc/startstop.r, |
| 480 | * testsuite/ld-powerpc/startstop.s: New test. |
| 481 | * testsuite/ld-powerpc/powerpc.exp: Run it. |
| 482 | |
| 483 | 2021-03-02 Alan Modra <amodra@gmail.com> |
| 484 | |
| 485 | * testsuite/ld-powerpc/weak1.d, |
| 486 | * testsuite/ld-powerpc/weak1.r, |
| 487 | * testsuite/ld-powerpc/weak1.s, |
| 488 | * testsuite/ld-powerpc/weak1so.d, |
| 489 | * testsuite/ld-powerpc/weak1so.r: New tests. |
| 490 | * testsuite/ld-powerpc/powerpc.exp: Run them. |
| 491 | |
| 492 | 2021-03-01 Hannes Domani <ssbssa@sourceware.org> |
| 493 | Nick Clifton <nickc@redhat.com> |
| 494 | |
| 495 | PR 27268 |
| 496 | * scripttempl/pe.sc: Add DWARF-5 section names. |
| 497 | * scripttempl/pep.sc: Likewise. |
| 498 | |
| 499 | 2021-03-01 Alan Modra <amodra@gmail.com> |
| 500 | Fangrui Song <maskray@google.com> |
| 501 | |
| 502 | * emultempl/elf.em: Handle -z start-stop-gc and -z nostart-stop-gc. |
| 503 | * lexsup.c (elf_static_list_options): Display help for them. Move |
| 504 | help for -z stack-size to here from elf_shlib_list_options. Add |
| 505 | help for -z start-stop-visibility and -z undefs. |
| 506 | * ld.texi: Document -z start-stop-gc and -z nostart-stop-gc. |
| 507 | * NEWS: Mention -z start-stop-gc. |
| 508 | * testsuite/ld-gc/start2.s, |
| 509 | * testsuite/ld-gc/start2.d: New test. |
| 510 | * testsuite/ld-gc/gc.exp: Run it. |
| 511 | |
| 512 | 2021-03-01 Alan Modra <amodra@gmail.com> |
| 513 | |
| 514 | * ldlang.c (undef_start_stop): For ELF make undefined start/stop |
| 515 | symbols undefweak if that was how they were referenced. Undo |
| 516 | dynamic state too. |
| 517 | |
| 518 | 2021-03-01 Alan Modra <amodra@gmail.com> |
| 519 | |
| 520 | * testsuite/ld-elf/pr25708.d: Add --with-symbol-versions to nm. |
| 521 | * testsuite/ld-elf/pr27128a.d: Likewise. |
| 522 | * testsuite/ld-elf/pr27128b.d: Likewise. |
| 523 | * testsuite/ld-elf/pr27128c.d: Likewise. |
| 524 | * testsuite/ld-elf/pr27128d.d: Likewise. |
| 525 | * testsuite/ld-elf/pr27128e.d: Likewise. |
| 526 | |
| 527 | 2021-02-26 Alan Modra <amodra@gmail.com> |
| 528 | |
| 529 | PR 27441 |
| 530 | * testsuite/ld-plugin/pr27441a.c, |
| 531 | * testsuite/ld-plugin/pr27441b.c, |
| 532 | * testsuite/ld-plugin/pr27441c.c, |
| 533 | * testsuite/ld-plugin/pr27441c.d: New test. |
| 534 | * testsuite/ld-plugin/lto.exp: Run it. |
| 535 | |
| 536 | 2021-02-25 Jan Beulich <jbeulich@suse.com> |
| 537 | |
| 538 | * ld.texi (PROVIDE): Downgrade "error" to "diagnostic". |
| 539 | |
| 540 | 2021-02-21 Alan Modra <amodra@gmail.com> |
| 541 | |
| 542 | * ldexp.c (exp_fold_tree_1): Warn on script defining a symbol |
| 543 | defined in an object file. |
| 544 | * ldmain.c (multiple_definition): Heed info->warn_multiple_definition. |
| 545 | * testsuite/ld-scripts/defined5.d: Expect a warning. |
| 546 | |
| 547 | 2021-02-19 Alan Modra <amodra@gmail.com> |
| 548 | |
| 549 | * testsuite/lib/ld-lib.exp: Whitespace. |
| 550 | (load_common_lib): Expand single use and delete this proc. |
| 551 | (run_host_cmd): Use -fno-lto when getting gcc's ld version. |
| 552 | Use -B for clang too. |
| 553 | |
| 554 | 2021-02-18 Andrew Burgess <andrew.burgess@embecosm.com> |
| 555 | |
| 556 | * testplugin.c (record_read_length): Remove debug fprintf. |
| 557 | |
| 558 | 2021-02-14 Alan Modra <amodra@gmail.com> |
| 559 | |
| 560 | * testsuite/ld-cdtest/cdtest.exp, |
| 561 | * testsuite/ld-checks/checks.exp, |
| 562 | * testsuite/ld-elf/binutils.exp, |
| 563 | * testsuite/ld-elf/compress.exp, |
| 564 | * testsuite/ld-elf/dwarf.exp, |
| 565 | * testsuite/ld-elf/exclude.exp, |
| 566 | * testsuite/ld-elf/frame.exp, |
| 567 | * testsuite/ld-elf/indirect.exp, |
| 568 | * testsuite/ld-elf/linux-x86.exp, |
| 569 | * testsuite/ld-elf/sec-to-seg.exp, |
| 570 | * testsuite/ld-elf/tls_common.exp, |
| 571 | * testsuite/ld-elfcomm/elfcomm.exp, |
| 572 | * testsuite/ld-elfvers/vers.exp, |
| 573 | * testsuite/ld-elfvsb/elfvsb.exp, |
| 574 | * testsuite/ld-elfweak/elfweak.exp, |
| 575 | * testsuite/ld-ifunc/binutils.exp, |
| 576 | * testsuite/ld-mips-elf/mips-elf-flags.exp, |
| 577 | * testsuite/ld-misc/defsym.exp, |
| 578 | * testsuite/ld-mn10300/mn10300.exp, |
| 579 | * testsuite/ld-plugin/lto.exp, |
| 580 | * testsuite/ld-plugin/plugin.exp, |
| 581 | * testsuite/ld-scripts/align.exp, |
| 582 | * testsuite/ld-scripts/assert.exp, |
| 583 | * testsuite/ld-scripts/crossref.exp, |
| 584 | * testsuite/ld-scripts/defined.exp, |
| 585 | * testsuite/ld-scripts/extern.exp, |
| 586 | * testsuite/ld-scripts/log2.exp, |
| 587 | * testsuite/ld-scripts/map-address.exp, |
| 588 | * testsuite/ld-scripts/phdrs.exp, |
| 589 | * testsuite/ld-scripts/phdrs2.exp, |
| 590 | * testsuite/ld-scripts/script.exp, |
| 591 | * testsuite/ld-scripts/section-flags.exp, |
| 592 | * testsuite/ld-scripts/sizeof.exp, |
| 593 | * testsuite/ld-scripts/weak.exp, |
| 594 | * testsuite/ld-selective/selective.exp, |
| 595 | * testsuite/ld-sh/sh.exp, |
| 596 | * testsuite/ld-shared/shared.exp, |
| 597 | * testsuite/ld-srec/srec.exp, |
| 598 | * testsuite/ld-tic6x/tic6x.exp, |
| 599 | * testsuite/ld-undefined/undefined.exp, |
| 600 | * testsuite/ld-undefined/weak-undef.exp, |
| 601 | * testsuite/lib/ld-lib.exp: Don't use unresolved except after |
| 602 | perror. Instead report "unsupported" or "fail". |
| 603 | |
| 604 | 2021-02-12 Nick Clifton <nickc@redhat.com> |
| 605 | |
| 606 | * testsuite/ld-elf/sec64k.exp: Stop readelf from automatically |
| 607 | following debug links. |
| 608 | |
| 609 | 2021-02-11 Alan Modra <amodra@gmail.com> |
| 610 | |
| 611 | * NEWS: Mention arm-symbianelf removal. |
| 612 | |
| 613 | 2021-02-09 Alan Modra <amodra@gmail.com> |
| 614 | |
| 615 | * Makefile.am (ALL_EMULATION_SOURCES): Remove earmsymbian.c. |
| 616 | Don't include symbian dep file. |
| 617 | * configure.tgt: Remove arm*-*-symbianelf* entry. |
| 618 | * emulparams/armsymbian.sh: Delete. |
| 619 | * ld.texi: Don't mention symbian. |
| 620 | * scripttempl/armbpabi.sc: Delete. |
| 621 | * testsuite/ld-arm/symbian-seg1.d: Delete. |
| 622 | * testsuite/ld-arm/symbian-seg1.s: Delete. |
| 623 | * testsuite/ld-arm/arm-elf.exp: Don't run symbian-seg1. |
| 624 | * Makefile.in: Regenerate. |
| 625 | * po/BLD-POTFILES.in: Regenerate. |
| 626 | |
| 627 | 2021-02-07 H.J. Lu <hongjiu.lu@intel.com> |
| 628 | |
| 629 | PR ld/27358 |
| 630 | * testsuite/ld-i386/i386.exp: Remove property 3/4/5 run-time |
| 631 | tests. |
| 632 | * testsuite/ld-x86-64/x86-64.exp: Likewise. |
| 633 | |
| 634 | 2021-01-26 Nick Alcock <nick.alcock@oracle.com> |
| 635 | |
| 636 | * ldlang.c (lang_merge_ctf): Set CTF_LINK_NO_FILTER_REPORTED_SYMS |
| 637 | when appropriate. |
| 638 | |
| 639 | 2021-02-04 H.J. Lu <hongjiu.lu@intel.com> |
| 640 | |
| 641 | PR ld/19609 |
| 642 | * testsuite/ld-x86-64/pr19609-2a.d: Updated. |
| 643 | * testsuite/ld-x86-64/pr19609-2b.d: Likewise. |
| 644 | * testsuite/ld-x86-64/pr19609-4a.d: Likewise. |
| 645 | * testsuite/ld-x86-64/pr19609-4c.d: Likewise. |
| 646 | * testsuite/ld-x86-64/pr19609-5d.d: Likewise. |
| 647 | * testsuite/ld-x86-64/pr19609-7a.d: Likewise. |
| 648 | * testsuite/ld-x86-64/pr19609-7c.d: Likewise. |
| 649 | |
| 650 | 2021-02-04 H.J. Lu <hongjiu.lu@intel.com> |
| 651 | |
| 652 | PR ld/15146 |
| 653 | * testsuite/ld-plugin/lto.exp: Run PR ld/15146 tests. |
| 654 | * testsuite/ld-plugin/pr15146.d: Restored. |
| 655 | * testsuite/ld-plugin/pr15146a.c: Likewise. |
| 656 | * testsuite/ld-plugin/pr15146b.c: Likewise. |
| 657 | * testsuite/ld-plugin/pr15146c.c: Likewise. |
| 658 | * testsuite/ld-plugin/pr15146d.c: Likewise. |
| 659 | |
| 660 | 2021-02-04 Alan Modra <amodra@gmail.com> |
| 661 | |
| 662 | * testsuite/ld-plugin/pr27311d.c: New test. |
| 663 | * testsuite/ld-plugin/lto.exp: Rename pr27311 to pr27311-1, compile |
| 664 | and link new test as pr27311-2. |
| 665 | |
| 666 | 2021-02-03 Alan Modra <amodra@gmail.com> |
| 667 | |
| 668 | * testsuite/ld-ifunc/ifunc.exp (libpr16467b.so, libpr16467bn.so): |
| 669 | Link with --as-needed. |
| 670 | |
| 671 | 2021-02-02 Alan Modra <amodra@gmail.com> |
| 672 | |
| 673 | * testsuite/ld-plugin/pr27311.d, |
| 674 | * testsuite/ld-plugin/pr27311.ver, |
| 675 | * testsuite/ld-plugin/pr27311a.c, |
| 676 | * testsuite/ld-plugin/pr27311b.c, |
| 677 | * testsuite/ld-plugin/pr27311c.c: New testcase. |
| 678 | * testsuite/ld-plugin/lto.exp: Run it. Correct PR14918 and |
| 679 | PR12982 entries. |
| 680 | |
| 681 | 2021-02-01 Emery Hemingway <ehmry@posteo.net> |
| 682 | |
| 683 | * configure.tgt: Add *-*-genode* as a target for AArch64 and x86. |
| 684 | |
| 685 | 2021-02-01 Alan Modra <amodra@gmail.com> |
| 686 | |
| 687 | * ldgram.y (defsym_expr): Use assignment rule. |
| 688 | * ldlex.h (ldlex_defsym): Delete. |
| 689 | * ldlex.l (DEFSYMEXP, ldlex_defsym): Delete. |
| 690 | |
| 691 | 2021-02-01 Alan Modra <amodra@gmail.com> |
| 692 | |
| 693 | * ldgram.y (section): Call ldlex_backup. Remove empty action. |
| 694 | * ldlex.h (ldlex_backup): Declare. |
| 695 | * ldlex.l (<EXPRESSION>NAME): Don't use NOCFILENAMECHAR set of |
| 696 | chars, use SYMBOLNAMECHAR. |
| 697 | (ldlex_backup): New function. |
| 698 | |
| 699 | 2021-02-01 Alan Modra <amodra@gmail.com> |
| 700 | |
| 701 | * ldgram.y: Whitespace fixes. |
| 702 | |
| 703 | 2021-02-01 Alan Modra <amodra@gmail.com> |
| 704 | |
| 705 | * testsuite/ld-elf/pr27259.d: Correct sh_link match. |
| 706 | |
| 707 | 2021-01-29 Alan Modra <amodra@gmail.com> |
| 708 | |
| 709 | * testsuite/ld-tic6x/tic6x.exp: Add pr27271 test. |
| 710 | |
| 711 | 2021-01-28 H.J. Lu <hongjiu.lu@intel.com> |
| 712 | |
| 713 | PR ld/27259 |
| 714 | * testsuite/ld-elf/pr27259.d: New file. |
| 715 | * testsuite/ld-elf/pr27259.s: Likewise. |
| 716 | |
| 717 | 2021-01-28 Alan Modra <amodra@gmail.com> |
| 718 | |
| 719 | PR 27259 |
| 720 | * ldelf.c (ldelf_before_place_orphans): Use linker_mark to |
| 721 | prevent endless looping of linked-to sections. |
| 722 | |
| 723 | 2021-01-26 H.J. Lu <hongjiu.lu@intel.com> |
| 724 | |
| 725 | * testsuite/ld-x86-64/bnd-plt-1.d: Fix a typo. |
| 726 | |
| 727 | 2021-01-26 Alan Modra <amodra@gmail.com> |
| 728 | |
| 729 | PR 27226 |
| 730 | * emulparams/alphavms.sh: Don't set COMPILE_IN. |
| 731 | * emulparams/elf64_ia64_vms.sh: Likewise. |
| 732 | * emulparams/elf64mmix.sh: Likewise. |
| 733 | * emulparams/elf_iamcu.sh: Likewise. |
| 734 | * emulparams/elf_k1om.sh: Likewise. |
| 735 | * emulparams/elf_l1om.sh: Likewise. |
| 736 | * emulparams/mmo.sh: Likewise. |
| 737 | * emulparams/pdp11.sh: Set DATA_SEG_ADDR. |
| 738 | * scripttempl/pdp11.sc: Use it. |
| 739 | * emultempl/pdp11.em: Don't edit .xn script for separate_code, |
| 740 | instead use .xe script. Support scripts from file system. |
| 741 | * emultempl/beos.em: Support scripts from file system. |
| 742 | * emultempl/pe.em: Likewise. |
| 743 | * emultempl/pep.em: Likewise. |
| 744 | * testsuite/ld-bootstrap/bootstrap.exp: Make tmpdir/ldscripts link. |
| 745 | |
| 746 | 2021-01-25 Fangrui Song <maskray@google.com> |
| 747 | |
| 748 | PR ld/27230 |
| 749 | * scripttempl/DWARF.sc: Add .debug_* sections. |
| 750 | |
| 751 | 2021-01-25 Nick Clifton <nickc@redhat.com> |
| 752 | |
| 753 | * scripttempl/DWARF.sc: Add .debug_loclists, .debug_rnglists, |
| 754 | .debug_line_str and .debug_str_offsets. Move .debug_macro and |
| 755 | .debug_addr into DWARF-5 section. |
| 756 | |
| 757 | 2021-01-21 Alan Modra <amodra@gmail.com> |
| 758 | |
| 759 | * testsuite/ld-elf/pr26936.d: No longer xfail mips. |
| 760 | |
| 761 | 2021-01-20 Alan Modra <amodra@gmail.com> |
| 762 | |
| 763 | * testsuite/ld-powerpc/relbrlt.s: Make symbols global. |
| 764 | * testsuite/ld-powerpc/relbrlt.d: Adjust to suit. |
| 765 | * testsuite/ld-powerpc/tlsget.d: Adjust for reordered stubs. |
| 766 | * testsuite/ld-powerpc/tlsget.wf: Likewise. |
| 767 | * testsuite/ld-powerpc/tlsget2.d: Likewise. |
| 768 | * testsuite/ld-powerpc/tlsget2.wf: Likewise. |
| 769 | * testsuite/ld-powerpc/tlsexe.r: Adjust for removed section syms. |
| 770 | * testsuite/ld-powerpc/tlsexe32.r: Likewise. |
| 771 | * testsuite/ld-powerpc/tlsexe32no.r: Likewise. |
| 772 | * testsuite/ld-powerpc/tlsexeno.r: Likewise. |
| 773 | * testsuite/ld-powerpc/tlsexenors.r: Likewise. |
| 774 | * testsuite/ld-powerpc/tlsexers.r: Likewise. |
| 775 | * testsuite/ld-powerpc/tlsexetoc.r: Likewise. |
| 776 | * testsuite/ld-powerpc/tlsexetocrs.r: Likewise. |
| 777 | * testsuite/ld-powerpc/tlsso.r: Likewise. |
| 778 | * testsuite/ld-powerpc/tlsso32.r: Likewise. |
| 779 | * testsuite/ld-powerpc/tlstocso.r: Likewise. |
| 780 | |
| 781 | 2021-01-19 Nick Alcock <nick.alcock@oracle.com> |
| 782 | |
| 783 | * testsuite/ld-ctf/data-func-2.c: Stop removal of the extern foo_t |
| 784 | symbols by the optimizer. |
| 785 | * testsuite/ld-ctf/data-func-conflicted.d: Adjust accordingly. |
| 786 | |
| 787 | 2021-01-19 Nelson Chu <nelson.chu@sifive.com> |
| 788 | |
| 789 | * testsuite/ld-elf/elf.exp (riscv_little_endian): Added. Return true |
| 790 | if target is riscv little endian. Otherwise, return false. |
| 791 | * testsuite/ld-elf/compressed1d.d: Only xfail the riscv little endian |
| 792 | targets by [riscv_little_endian]. |
| 793 | |
| 794 | 2021-01-18 Alan Modra <amodra@gmail.com> |
| 795 | |
| 796 | PR 26378 |
| 797 | * ldlang.c (map_input_to_output_sections): Start with a read-only |
| 798 | section for data statements. |
| 799 | * testsuite/ld-elf/size-2.d: Adjust to suit. |
| 800 | |
| 801 | 2021-01-17 H.J. Lu <hongjiu.lu@intel.com> |
| 802 | |
| 803 | PR ld/27193 |
| 804 | * testsuite/ld-i386/i386.exp: Run PR ld/27193 test. |
| 805 | * testsuite/ld-i386/pr27193.dd: New file. |
| 806 | * testsuite/ld-i386/pr27193a.o.bz2: Likewise. |
| 807 | * testsuite/ld-i386/pr27193b.s: Likewise. |
| 808 | |
| 809 | 2021-01-16 H.J. Lu <hongjiu.lu@intel.com> |
| 810 | |
| 811 | PR binutils/23460 |
| 812 | * testsuite/ld-plugin/lto.exp: Increase the max number of open |
| 813 | files to 20 for PR binutils/23460 test. |
| 814 | |
| 815 | 2021-01-16 H.J. Lu <hongjiu.lu@intel.com> |
| 816 | |
| 817 | PR ld/23169 |
| 818 | * testsuite/ld-ifunc/ifunc.exp: Replace pr23169c.rd with |
| 819 | pr23169a.rd for pr23169c and pr23169f. Remove pr23169e tests. |
| 820 | * testsuite/ld-ifunc/pr23169a.c (foo): Don't compare function |
| 821 | address. |
| 822 | |
| 823 | 2021-01-15 H.J. Lu <hongjiu.lu@intel.com> |
| 824 | |
| 825 | * NEWS: Mention -z report-relative-reloc. |
| 826 | * ld.texi: Document -z report-relative-reloc. |
| 827 | * emulparams/elf32_x86_64.sh: Source x86-report-relative.sh. |
| 828 | * emulparams/elf_i386.sh: Likewse. |
| 829 | * emulparams/elf_x86_64.sh: Likewse. |
| 830 | * emulparams/x86-report-relative.sh: New file. |
| 831 | * testsuite/ld-i386/report-reloc-1.d: Likewse. |
| 832 | * testsuite/ld-i386/report-reloc-1.l: Likewse. |
| 833 | * testsuite/ld-i386/report-reloc-1.s: Likewse. |
| 834 | * testsuite/ld-x86-64/report-reloc-1-x32.d: Likewse. |
| 835 | * testsuite/ld-x86-64/report-reloc-1.d: Likewse. |
| 836 | * testsuite/ld-x86-64/report-reloc-1.l: Likewse. |
| 837 | * testsuite/ld-x86-64/report-reloc-1.s: Likewse. |
| 838 | * testsuite/ld-i386/i386.exp: Run report-reloc-1. |
| 839 | * testsuite/ld-x86-64/x86-64.exp: Run report-reloc-1 and |
| 840 | report-reloc-1-x32. |
| 841 | |
| 842 | 2021-01-16 Alan Modra <amodra@gmail.com> |
| 843 | |
| 844 | PR 26002 |
| 845 | * testsuite/ld-elfvers/vers6.dsym: Expect "Base" for undefined |
| 846 | unversioned symbols. |
| 847 | * testsuite/ld-elfvers/vers16.dsym: Likewise. |
| 848 | |
| 849 | 2021-01-15 Nelson Chu <nelson.chu@sifive.com> |
| 850 | |
| 851 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-01.d: Updated. |
| 852 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-02.d: Likewise. |
| 853 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-03.d: Likewise. |
| 854 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-04.d: Likewise. |
| 855 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-05.d: Likewise. |
| 856 | * testsuite/ld-riscv-elf/attr-merge-priv-spec-failed-06.d: Likewise. |
| 857 | |
| 858 | 2021-01-14 Nick Clifton <nickc@redhat.com> |
| 859 | |
| 860 | * po/fr.po: Updated French translation. |
| 861 | |
| 862 | 2021-01-14 Mike Frysinger <vapier@gentoo.org> |
| 863 | |
| 864 | * testsuite/config/default.exp [bfin*-elf*] (gcc_B_opt): Add -msim. |
| 865 | |
| 866 | 2021-01-14 Alan Modra <amodra@gmail.com> |
| 867 | |
| 868 | PR 27160 |
| 869 | * ldelfgen.c (compare_link_order): Protect access of ELF section |
| 870 | data. |
| 871 | (add_link_order_input_section): Remove redundant NULL check. |
| 872 | Use bfd_get_flavour. |
| 873 | (ldelf_map_segments): Use bfd_get_flavour. |
| 874 | |
| 875 | 2021-01-13 H.J. Lu <hongjiu.lu@intel.com> |
| 876 | |
| 877 | * ldelfgen.c (add_link_order_input_section): Check for ELF input |
| 878 | before accessing ELF section data. |
| 879 | |
| 880 | 2021-01-13 Alan Modra <amodra@gmail.com> |
| 881 | |
| 882 | * Makefile.in: Regenerate. |
| 883 | |
| 884 | 2021-01-13 Alan Modra <amodra@gmail.com> |
| 885 | |
| 886 | PR 27160 |
| 887 | * ldlang.h (lang_output_section_statement_type): Add data field. |
| 888 | (lang_input_section_type, lang_section_bst_type): Add pattern field. |
| 889 | (statement_list): Declare. |
| 890 | (lang_add_section): Adjust prototype. |
| 891 | * emultempl/aarch64elf.em: Adjust lang_add_section calls. |
| 892 | * emultempl/armelf.em: Likewise. |
| 893 | * emultempl/beos.em: Likewise. |
| 894 | * emultempl/cskyelf.em: Likewise. |
| 895 | * emultempl/hppaelf.em: Likewise. |
| 896 | * emultempl/m68hc1xelf.em: Likewise. |
| 897 | * emultempl/metagelf.em: Likewise. |
| 898 | * emultempl/mipself.em: Likewise. |
| 899 | * emultempl/mmo.em: Likewise. |
| 900 | * emultempl/msp430.em: Likewise. |
| 901 | * emultempl/nios2elf.em: Likewise. |
| 902 | * emultempl/pe.em: Likewise. |
| 903 | * emultempl/pep.em: Likewise. |
| 904 | * emultempl/ppc64elf.em: Likewise. |
| 905 | * emultempl/spuelf.em: Likewise. |
| 906 | * emultempl/vms.em: Likewise. |
| 907 | * ldelf.c: Likewise. |
| 908 | * ldelfgen.c: Include ldctor.h. |
| 909 | (struct os_sections): New. |
| 910 | (add_link_order_input_section, link_order_scan): New functions. |
| 911 | (compare_link_order, fixup_link_order): New functions. |
| 912 | (ldelf_map_segments): Call link_order_scan and fixup_link_order. |
| 913 | * ldlang.c (statement_list): Make global. |
| 914 | (output_section_callback_fast): Save pattern in tree node. |
| 915 | (lang_add_section): Add pattern parameter, save in lang_input_section. |
| 916 | (output_section_callback_tree_to_list): Adjust lang_add_section calls. |
| 917 | (lang_insert_orphan, output_section_callback): Likewise. |
| 918 | (ldlang_place_orphan): Likewise. |
| 919 | (gc_section_callback): Don't set section->pattern. |
| 920 | * testsuite/ld-elf/pr26256-2a.d: Don't xfail generic. |
| 921 | * testsuite/ld-elf/pr26256-3b.d: Likewise. |
| 922 | * testsuite/ld-elf/pr26256-2b.d: Likewise. notarget xgate. |
| 923 | |
| 924 | 2021-01-13 Alan Modra <amodra@gmail.com> |
| 925 | |
| 926 | * ldlang.h (callback_t): Remove flag_info function parameter. |
| 927 | * ldlang.c (walk_wild_consider_section): Adjust to suit. |
| 928 | (walk_wild_section_general): Likewise. |
| 929 | (output_section_callback_fast, output_section_callback): Likewise. |
| 930 | (check_section_callback, gc_section_callback): Likewise. |
| 931 | (find_relro_section_callback): Likewise. |
| 932 | |
| 933 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
| 934 | |
| 935 | PR binutils/26792 |
| 936 | * configure.ac: Use GNU_MAKE_JOBSERVER. |
| 937 | * aclocal.m4: Regenerated. |
| 938 | * configure: Likewise. |
| 939 | |
| 940 | 2021-01-12 H.J. Lu <hongjiu.lu@intel.com> |
| 941 | |
| 942 | PR ld/27171 |
| 943 | * testsuite/ld-x86-64/pe-x86-64-5.obj.bz2: New file. |
| 944 | * testsuite/ld-x86-64/pe-x86-64-5.od: Likewise. |
| 945 | * testsuite/ld-x86-64/pe-x86-64-5.rd: Likewise. |
| 946 | * testsuite/ld-x86-64/pe-x86-64.exp: Run PR ld/27171 test. |
| 947 | |
| 948 | 2021-01-11 H.J. Lu <hongjiu.lu@intel.com> |
| 949 | |
| 950 | PR ld/27173 |
| 951 | * configure: Regenerated. |
| 952 | |
| 953 | 2021-01-11 Matt Jenkins <matt@majenko.co.uk> |
| 954 | |
| 955 | PR ld/27167 |
| 956 | * ldmain.c (get_emulation): Add mipsmips32r3, mips32r5, mips64r3 |
| 957 | and mips64r5 to list of known mips targets. |
| 958 | |
| 959 | 2021-01-11 Nick Clifton <nickc@redhat.com>matt@majenko.co.uk |
| 960 | |
| 961 | * po/pt_BR.po: Updated Brazilian Portuguese translation. |
| 962 | ` * po/uk.po: Updated Ukranian translation. |
| 963 | |
| 964 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
| 965 | |
| 966 | * configure: Regenerated. |
| 967 | |
| 968 | 2021-01-09 H.J. Lu <hongjiu.lu@intel.com> |
| 969 | |
| 970 | PR ld/27166 |
| 971 | * testsuite/ld-x86-64/lam-u48.rd: New file. |
| 972 | * testsuite/ld-x86-64/lam-u57.rd: Likewise. |
| 973 | * testsuite/ld-x86-64/x86-64.exp: Add PR ld/27166 tests. |
| 974 | |
| 975 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
| 976 | |
| 977 | * configure: Regenerate. |
| 978 | * po/ld.pot: Regenerate. |
| 979 | |
| 980 | 2021-01-09 Nick Clifton <nickc@redhat.com> |
| 981 | |
| 982 | * 2.36 release branch crated. |
| 983 | |
| 984 | 2021-01-08 H.J. Lu <hongjiu.lu@intel.com> |
| 985 | |
| 986 | * ld-x86-64/property-x86-lam-u48-4.d: Updated. |
| 987 | * ld-x86-64/property-x86-lam-u48-5.d: Likewise. |
| 988 | |
| 989 | 2021-01-09 Alan Modra <amodra@gmail.com> |
| 990 | |
| 991 | * configure: Regenerate. |
| 992 | * Makefile.in: Regenerate. |
| 993 | |
| 994 | 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org> |
| 995 | |
| 996 | * configure: Regenerate. |
| 997 | |
| 998 | 2021-01-07 H.J. Lu <hongjiu.lu@intel.com> |
| 999 | |
| 1000 | PR 27109 |
| 1001 | * testsuite/ld-elf/export-class.sd: Adjust the expected output. |
| 1002 | * testsuite/ld-elf/loadaddr3b.d: Likewise. |
| 1003 | * testsuite/ld-i386/ibt-plt-1.d: Likewise. |
| 1004 | * testsuite/ld-i386/ibt-plt-2a.d: Likewise. |
| 1005 | * testsuite/ld-i386/ibt-plt-2c.d: Likewise. |
| 1006 | * testsuite/ld-i386/ibt-plt-3a.d: Likewise. |
| 1007 | * testsuite/ld-i386/ibt-plt-3c.d: Likewise. |
| 1008 | * testsuite/ld-i386/pr19636-1d.d: Likewise. |
| 1009 | * testsuite/ld-i386/pr19636-1l.d: Likewise. |
| 1010 | * testsuite/ld-i386/pr19636-2c.d: Likewise. |
| 1011 | * testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise. |
| 1012 | * testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise. |
| 1013 | * testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise. |
| 1014 | * testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise. |
| 1015 | * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. |
| 1016 | * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. |
| 1017 | * testsuite/ld-ifunc/pr17154-i386-now.d: Likewise. |
| 1018 | * testsuite/ld-ifunc/pr17154-i386.d: Likewise. |
| 1019 | * testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise. |
| 1020 | * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. |
| 1021 | * testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise. |
| 1022 | * testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise. |
| 1023 | * testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise. |
| 1024 | * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. |
| 1025 | * testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise. |
| 1026 | * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. |
| 1027 | * testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise. |
| 1028 | * testsuite/ld-x86-64/ibt-plt-1.d: Likewise. |
| 1029 | * testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise. |
| 1030 | * testsuite/ld-x86-64/ibt-plt-2a.d: Likewise. |
| 1031 | * testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise. |
| 1032 | * testsuite/ld-x86-64/ibt-plt-2c.d: Likewise. |
| 1033 | * testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise. |
| 1034 | * testsuite/ld-x86-64/ibt-plt-3a.d: Likewise. |
| 1035 | * testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise. |
| 1036 | * testsuite/ld-x86-64/ibt-plt-3c.d: Likewise. |
| 1037 | * testsuite/ld-x86-64/pr19609-4e.d: Likewise. |
| 1038 | * testsuite/ld-x86-64/pr19609-6a.d: Likewise. |
| 1039 | * testsuite/ld-x86-64/pr19609-6b.d: Likewise. |
| 1040 | * testsuite/ld-x86-64/pr19609-7b.d: Likewise. |
| 1041 | * testsuite/ld-x86-64/pr19609-7d.d: Likewise. |
| 1042 | * testsuite/ld-x86-64/pr19636-2l.d: Likewise. |
| 1043 | * testsuite/ld-x86-64/pr20253-1d.d: Likewise. |
| 1044 | * testsuite/ld-x86-64/pr20253-1h.d: Likewise. |
| 1045 | * testsuite/ld-x86-64/pr21038b-now.d: Likewise. |
| 1046 | * testsuite/ld-x86-64/pr21038b.d: Likewise. |
| 1047 | * testsuite/ld-x86-64/pr21038c-now.d: Likewise. |
| 1048 | * testsuite/ld-x86-64/pr21038c.d: Likewise. |
| 1049 | * testsuite/ld-x86-64/pr23854.d: Likewise. |
| 1050 | * testsuite/ld-x86-64/pr25416-3.d: Likewise. |
| 1051 | * testsuite/ld-x86-64/pr25416-4.d: Likewise. |
| 1052 | * testsuite/ld-i386/plt-pic.pd: Likewise. |
| 1053 | * testsuite/ld-i386/plt-pic2.dd: Likewise. |
| 1054 | * testsuite/ld-i386/plt.pd: Likewise. |
| 1055 | * testsuite/ld-i386/plt2.dd: Likewise. |
| 1056 | * testsuite/ld-i386/tlsbin.rd: Likewise. |
| 1057 | * testsuite/ld-i386/tlsbin2.rd: Likewise. |
| 1058 | * testsuite/ld-i386/tlsbindesc.rd: Likewise. |
| 1059 | * testsuite/ld-i386/tlsdesc.rd: Likewise. |
| 1060 | * testsuite/ld-i386/tlsgdesc.rd: Likewise. |
| 1061 | * testsuite/ld-i386/tlsnopic.rd: Likewise. |
| 1062 | * testsuite/ld-i386/tlspic.rd: Likewise. |
| 1063 | * testsuite/ld-i386/tlspic2.rd: Likewise. |
| 1064 | * testsuite/ld-x86-64/mpx3.dd: Likewise. |
| 1065 | * testsuite/ld-x86-64/mpx3n.dd: Likewise. |
| 1066 | * testsuite/ld-x86-64/mpx4.dd: Likewise. |
| 1067 | * testsuite/ld-x86-64/mpx4n.dd: Likewise. |
| 1068 | * testsuite/ld-x86-64/pe-x86-64-1.od: Likewise. |
| 1069 | * testsuite/ld-x86-64/pe-x86-64-2.od: Likewise. |
| 1070 | * testsuite/ld-x86-64/pe-x86-64-3.od: Likewise. |
| 1071 | * testsuite/ld-x86-64/pe-x86-64-4.od: Likewise. |
| 1072 | * testsuite/ld-x86-64/plt.pd: Likewise. |
| 1073 | * testsuite/ld-x86-64/plt2.dd: Likewise. |
| 1074 | * testsuite/ld-x86-64/tlsbin.rd: Likewise. |
| 1075 | * testsuite/ld-x86-64/tlsbin2.rd: Likewise. |
| 1076 | * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. |
| 1077 | * testsuite/ld-x86-64/tlsdesc.rd: Likewise. |
| 1078 | * testsuite/ld-x86-64/tlsgdesc.rd: Likewise. |
| 1079 | * testsuite/ld-x86-64/tlspic.rd: Likewise. |
| 1080 | * testsuite/ld-x86-64/tlspic2.rd: Likewise. |
| 1081 | * testsuite/ld-elf/sec64k.exp: Check |
| 1082 | is_elf_unused_section_symbols. |
| 1083 | |
| 1084 | 2021-01-07 Alan Modra <amodra@gmail.com> |
| 1085 | |
| 1086 | * testsuite/ld-scripts/fill.d: Skip sh-*-pe rather than xfail. |
| 1087 | * testsuite/ld-scripts/fill16.d: Don't xfail sh-*-pe. |
| 1088 | * testsuite/ld-scripts/segment-start.d: Likewise. |
| 1089 | |
| 1090 | 2021-01-07 Alan Modra <amodra@gmail.com> |
| 1091 | |
| 1092 | * testsuite/ld-elf/comm-data5.d: xfail targets that complain |
| 1093 | about dynamic relocations in read-only sections. |
| 1094 | * testsuite/ld-elf/ehdr_start-shared.d: Likewise. |
| 1095 | * testsuite/ld-elf/ehdr_start.d: Likewise. |
| 1096 | * testsuite/ld-scripts/pr22267.d: Likewise. |
| 1097 | * testsuite/ld-elf/shared.exp: Likewise for DT_TEXTREL tests and |
| 1098 | pr20995 text. |
| 1099 | * testsuite/ld-elf/sec64k.exp: Don't run 64ksec on lm32-linux. |
| 1100 | |
| 1101 | 2021-01-07 Marcus Comstedt <marcus@mc.pp.se> |
| 1102 | |
| 1103 | * testsuite/ld-scripts/empty-address-2a.d: xfail riscv64*-*-*. |
| 1104 | * testsuite/ld-scripts/empty-address-2b.d: Likewise. |
| 1105 | |
| 1106 | 2021-01-07 Alan Modra <amodra@gmail.com> |
| 1107 | |
| 1108 | * po/BLD-POTFILES.in: Regenerate. |
| 1109 | |
| 1110 | 2021-01-07 Alan Modra <amodra@gmail.com> |
| 1111 | |
| 1112 | * testsuite/ld-elf/shared.exp: xfail pr22471 for targets that |
| 1113 | complain about relocs in read-only sections. Tidy ASFLAGS append. |
| 1114 | |
| 1115 | 2021-01-06 Alan Modra <amodra@gmail.com> |
| 1116 | |
| 1117 | * testsuite/ld-sparc/sparc.exp (sparc64tests): Set text-segment |
| 1118 | base for some tests. |
| 1119 | * testsuite/ld-sparc/gotop32.dd: Match solaris output. |
| 1120 | * testsuite/ld-sparc/gotop32.sd: Likewise. |
| 1121 | * testsuite/ld-sparc/gotop32.td: Likewise. |
| 1122 | * testsuite/ld-sparc/gotop64.dd: Likewise. |
| 1123 | * testsuite/ld-sparc/gotop64.sd: Likewise. |
| 1124 | * testsuite/ld-sparc/gotop64.td: Likewise. |
| 1125 | * testsuite/ld-sparc/tlsg32.sd: Likewise. |
| 1126 | * testsuite/ld-sparc/tlsg64.sd: Likewise. |
| 1127 | * testsuite/ld-sparc/tlspie32.dd: Likewise. |
| 1128 | * testsuite/ld-sparc/tlspie64.dd: Likewise. |
| 1129 | * testsuite/ld-sparc/tlssunbin32.dd: Likewise. |
| 1130 | * testsuite/ld-sparc/tlssunbin32.sd: Likewise. |
| 1131 | * testsuite/ld-sparc/tlssunbin32.td: Likewise. |
| 1132 | * testsuite/ld-sparc/tlssunbin64.dd: Likewise. |
| 1133 | * testsuite/ld-sparc/tlssunbin64.sd: Likewise. |
| 1134 | * testsuite/ld-sparc/tlssunbin64.td: Likewise. |
| 1135 | * testsuite/ld-sparc/tlssunnopic32.dd: Likewise. |
| 1136 | * testsuite/ld-sparc/tlssunnopic32.sd: Likewise. |
| 1137 | * testsuite/ld-sparc/tlssunnopic64.dd: Likewise. |
| 1138 | * testsuite/ld-sparc/tlssunnopic64.sd: Likewise. |
| 1139 | * testsuite/ld-sparc/tlssunpic32.dd: Likewise. |
| 1140 | * testsuite/ld-sparc/tlssunpic32.sd: Likewise. |
| 1141 | * testsuite/ld-sparc/tlssunpic32.td: Likewise. |
| 1142 | * testsuite/ld-sparc/tlssunpic64.dd: Likewise. |
| 1143 | * testsuite/ld-sparc/tlssunpic64.sd: Likewise. |
| 1144 | * testsuite/ld-sparc/tlssunpic64.td: Likewise. |
| 1145 | * testsuite/ld-sparc/wdispcall.dd: Likewise. |
| 1146 | |
| 1147 | 2021-01-06 Alan Modra <amodra@gmail.com> |
| 1148 | |
| 1149 | * testsuite/ld-scripts/rgn-at10.d: xfail v850. |
| 1150 | * testsuite/ld-scripts/rgn-at11.d: Likewise. |
| 1151 | |
| 1152 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
| 1153 | |
| 1154 | * testsuite/ld-riscv-elf/ld-riscv-elf.exp: Added |
| 1155 | riscv_choose_[ilp32|lp64]_emul to choose the correct linker script. |
| 1156 | * testsuite/ld-riscv-elf/attr-merge-arch-01.d: Call |
| 1157 | riscv_choose_[ilp32|lp64]_emul instead of hardcoding elf[32|64]lriscv. |
| 1158 | * testsuite/ld-riscv-elf/attr-merge-arch-02.d: Likewise. |
| 1159 | * testsuite/ld-riscv-elf/attr-merge-arch-03.d: Likewise. |
| 1160 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-01.d: Likewise. |
| 1161 | * testsuite/ld-riscv-elf/attr-merge-arch-failed-02.d: Likewise. |
| 1162 | * testsuite/ld-riscv-elf/c-lui-2.d: Likewise. |
| 1163 | * testsuite/ld-riscv-elf/c-lui.d: Likewise. |
| 1164 | * testsuite/ld-riscv-elf/call-relax.d: Likewise. |
| 1165 | * testsuite/ld-riscv-elf/pcrel-lo-addend-2.d: Likewise. |
| 1166 | * testsuite/ld-riscv-elf/pcrel-lo-addend.d: Likewise. |
| 1167 | * testsuite/ld-riscv-elf/weakref32.d: Accept bigriscv in addition |
| 1168 | to littleriscv. |
| 1169 | * testsuite/ld-riscv-elf/weakref64.d: Likewise. |
| 1170 | |
| 1171 | 2021-01-06 Marcus Comstedt <marcus@mc.pp.se> |
| 1172 | |
| 1173 | * configure.tgt: Added riscvbe-*-*, riscv32be*-*-*, riscv64be*-*-*, |
| 1174 | riscv32be*-*-linux*, and riscv64be*-*-linux*. |
| 1175 | * Makefile.am: Added eelf32briscv.c, eelf32briscv_ilp32f.c and |
| 1176 | eelf32briscv_ilp32.c. |
| 1177 | * Makefile.in: Regenerate. |
| 1178 | * emulparams/elf32briscv.sh: Added. |
| 1179 | * emulparams/elf32briscv_ilp32.sh: Likewise. |
| 1180 | * emulparams/elf32briscv_ilp32f.sh: Likewise. |
| 1181 | * emulparams/elf64briscv.sh: Likewise. |
| 1182 | * emulparams/elf64briscv_lp64.sh: Likewise. |
| 1183 | * emulparams/elf64briscv_lp64f.sh: Likewise. |
| 1184 | |
| 1185 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
| 1186 | |
| 1187 | * testsuite/ld-ctf/enum-forward.c: New test. |
| 1188 | * testsuite/ld-ctf/enum-forward.c: New results. |
| 1189 | |
| 1190 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
| 1191 | |
| 1192 | * testsuite/ld-ctf/array.d: Adjust for dumper changes. |
| 1193 | * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. |
| 1194 | * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. |
| 1195 | * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. |
| 1196 | * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. |
| 1197 | * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. |
| 1198 | * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. |
| 1199 | * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. |
| 1200 | * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. |
| 1201 | * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. |
| 1202 | * testsuite/ld-ctf/conflicting-enums.d: Likewise. |
| 1203 | * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. |
| 1204 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. |
| 1205 | * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. |
| 1206 | * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. |
| 1207 | * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. |
| 1208 | * testsuite/ld-ctf/cycle-1.d: Likewise. |
| 1209 | * testsuite/ld-ctf/cycle-2.A.d: Likewise. |
| 1210 | * testsuite/ld-ctf/cycle-2.B.d: Likewise. |
| 1211 | * testsuite/ld-ctf/cycle-2.C.d: Likewise. |
| 1212 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. |
| 1213 | * testsuite/ld-ctf/diag-cttname-null.d: Likewise. |
| 1214 | * testsuite/ld-ctf/diag-cuname.d: Likewise. |
| 1215 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. |
| 1216 | * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. |
| 1217 | * testsuite/ld-ctf/forward.d: Likewise. |
| 1218 | * testsuite/ld-ctf/function.d: Likewise. |
| 1219 | * testsuite/ld-ctf/slice.d: Likewise. |
| 1220 | * testsuite/ld-ctf/super-sub-cycles.d: Likewise. |
| 1221 | * testsuite/ld-ctf/enums.c: New test. |
| 1222 | * testsuite/ld-ctf/enums.d: New test. |
| 1223 | |
| 1224 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
| 1225 | |
| 1226 | * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Adjust for dumper |
| 1227 | changes. |
| 1228 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. |
| 1229 | * testsuite/ld-ctf/forward.c: New test... |
| 1230 | * testsuite/ld-ctf/forward.d: ... and results. |
| 1231 | |
| 1232 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
| 1233 | |
| 1234 | * testsuite/ld-ctf/array.d: Adjust for dumper changes. |
| 1235 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. |
| 1236 | * testsuite/ld-ctf/diag-cttname-null.d: Likewise. |
| 1237 | * testsuite/ld-ctf/diag-cuname.d: Likewise. |
| 1238 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. |
| 1239 | * testsuite/ld-ctf/function.d: Likewise. |
| 1240 | * testsuite/ld-ctf/slice.d: Likewise. |
| 1241 | |
| 1242 | 2021-01-05 Nick Alcock <nick.alcock@oracle.com> |
| 1243 | |
| 1244 | * testsuite/ld-ctf/array.d: Adjust for dumper changes. |
| 1245 | * testsuite/ld-ctf/conflicting-cycle-1.B-1.d: Likewise. |
| 1246 | * testsuite/ld-ctf/conflicting-cycle-1.B-2.d: Likewise. |
| 1247 | * testsuite/ld-ctf/conflicting-cycle-1.parent.d: Likewise. |
| 1248 | * testsuite/ld-ctf/conflicting-cycle-2.A-1.d: Likewise. |
| 1249 | * testsuite/ld-ctf/conflicting-cycle-2.A-2.d: Likewise. |
| 1250 | * testsuite/ld-ctf/conflicting-cycle-2.parent.d: Likewise. |
| 1251 | * testsuite/ld-ctf/conflicting-cycle-3.C-1.d: Likewise. |
| 1252 | * testsuite/ld-ctf/conflicting-cycle-3.C-2.d: Likewise. |
| 1253 | * testsuite/ld-ctf/conflicting-cycle-3.parent.d: Likewise. |
| 1254 | * testsuite/ld-ctf/conflicting-enums.d: Likewise. |
| 1255 | * testsuite/ld-ctf/conflicting-typedefs.d: Likewise. |
| 1256 | * testsuite/ld-ctf/cross-tu-cyclic-conflicting.d: Likewise. |
| 1257 | * testsuite/ld-ctf/cross-tu-cyclic-nonconflicting.d: Likewise. |
| 1258 | * testsuite/ld-ctf/cross-tu-into-cycle.d: Likewise. |
| 1259 | * testsuite/ld-ctf/cross-tu-noncyclic.d: Likewise. |
| 1260 | * testsuite/ld-ctf/cycle-1.d: Likewise. |
| 1261 | * testsuite/ld-ctf/cycle-2.A.d: Likewise. |
| 1262 | * testsuite/ld-ctf/cycle-2.B.d: Likewise. |
| 1263 | * testsuite/ld-ctf/cycle-2.C.d: Likewise. |
| 1264 | * testsuite/ld-ctf/data-func-conflicted.d: Likewise. |
| 1265 | * testsuite/ld-ctf/diag-cttname-null.d: Likewise. |
| 1266 | * testsuite/ld-ctf/diag-cuname.d: Likewise. |
| 1267 | * testsuite/ld-ctf/diag-parlabel.d: Likewise. |
| 1268 | * testsuite/ld-ctf/diag-wrong-magic-number-mixed.d: Likewise. |
| 1269 | * testsuite/ld-ctf/function.d: Likewise. |
| 1270 | * testsuite/ld-ctf/slice.d: Likewise. |
| 1271 | * testsuite/ld-ctf/super-sub-cycles.d: Likewise. |
| 1272 | |
| 1273 | 2021-01-05 Alan Modra <amodra@gmail.com> |
| 1274 | |
| 1275 | * testsuite/ld-scripts/sysroot-prefix.exp: Exclude some targets. |
| 1276 | |
| 1277 | 2021-01-05 Alan Modra <amodra@gmail.com> |
| 1278 | |
| 1279 | PR ld/26256 |
| 1280 | * testsuite/ld-elf/pr26256-1b.d: xfail s12z. |
| 1281 | * testsuite/ld-scripts/crossref.exp (cross1): Don't xfail ia64. |
| 1282 | |
| 1283 | 2021-01-04 H.J. Lu <hongjiu.lu@intel.com> |
| 1284 | |
| 1285 | PR ld/26256 |
| 1286 | * ldlang.c (gc_section_callback): Set pattern. |
| 1287 | * testsuite/ld-elf/pr26256-1.s: New file. |
| 1288 | * testsuite/ld-elf/pr26256-1.t: Likewise. |
| 1289 | * testsuite/ld-elf/pr26256-1a.d: Likewise. |
| 1290 | * testsuite/ld-elf/pr26256-1b.d: Likewise. |
| 1291 | * testsuite/ld-elf/pr26256-2.s: Likewise. |
| 1292 | * testsuite/ld-elf/pr26256-2.t: Likewise. |
| 1293 | * testsuite/ld-elf/pr26256-2a.d: Likewise. |
| 1294 | * testsuite/ld-elf/pr26256-2b-alt.d: Likewise. |
| 1295 | * testsuite/ld-elf/pr26256-2b.d: Likewise. |
| 1296 | * testsuite/ld-elf/pr26256-3.s: Likewise. |
| 1297 | * testsuite/ld-elf/pr26256-3a.d: Likewise. |
| 1298 | * testsuite/ld-elf/pr26256-3a.t: Likewise. |
| 1299 | * testsuite/ld-elf/pr26256-3b.d: Likewise. |
| 1300 | * testsuite/ld-elf/pr26256-3b.t: Likewise. |
| 1301 | |
| 1302 | 2021-01-04 Alan Modra <amodra@gmail.com> |
| 1303 | |
| 1304 | PR 26822 |
| 1305 | * testsuite/ld-arm/non-contiguous-arm2.d: Adjust STT_FILE symbol match. |
| 1306 | * testsuite/ld-arm/non-contiguous-arm3.d: Likewise. |
| 1307 | * testsuite/ld-arm/non-contiguous-arm5.d: Likewise. |
| 1308 | * testsuite/ld-arm/non-contiguous-arm6.d: Likewise. |
| 1309 | * testsuite/ld-i386/tlsbin.rd: Likewise. |
| 1310 | * testsuite/ld-i386/tlsbin2.rd: Likewise. |
| 1311 | * testsuite/ld-i386/tlsbindesc.rd: Likewise. |
| 1312 | * testsuite/ld-i386/tlsdesc.rd: Likewise. |
| 1313 | * testsuite/ld-i386/tlsnopic.rd: Likewise. |
| 1314 | * testsuite/ld-i386/tlspic.rd: Likewise. |
| 1315 | * testsuite/ld-i386/tlspic2.rd: Likewise. |
| 1316 | * testsuite/ld-mips-elf/global-local-symtab-sort-n64.d: Likewise. |
| 1317 | * testsuite/ld-mips-elf/global-local-symtab-sort-n64t.d: Likewise. |
| 1318 | * testsuite/ld-mips-elf/global-local-symtab-sort-o32.d: Likewise. |
| 1319 | * testsuite/ld-mips-elf/global-local-symtab-sort-o32t.d: Likewise. |
| 1320 | * testsuite/ld-plugin/pr17973.d: Likewise. |
| 1321 | * testsuite/ld-tic6x/shlib-1.rd: Likewise. |
| 1322 | * testsuite/ld-tic6x/shlib-1b.rd: Likewise. |
| 1323 | * testsuite/ld-tic6x/shlib-1r.rd: Likewise. |
| 1324 | * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. |
| 1325 | * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. |
| 1326 | * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. |
| 1327 | * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. |
| 1328 | * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. |
| 1329 | * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. |
| 1330 | * testsuite/ld-tic6x/static-app-1.rd: Likewise. |
| 1331 | * testsuite/ld-tic6x/static-app-1b.rd: Likewise. |
| 1332 | * testsuite/ld-tic6x/static-app-1r.rd: Likewise. |
| 1333 | * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. |
| 1334 | * testsuite/ld-x86-64/tlsbin.rd: Likewise. |
| 1335 | * testsuite/ld-x86-64/tlsbin2.rd: Likewise. |
| 1336 | * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. |
| 1337 | * testsuite/ld-x86-64/tlsdesc.rd: Likewise. |
| 1338 | * testsuite/ld-x86-64/tlspic.rd: Likewise. |
| 1339 | * testsuite/ld-x86-64/tlspic2.rd: Likewise. |
| 1340 | * testsuite/ld-xtensa/tlsbin.rd: Likewise. |
| 1341 | * testsuite/ld-xtensa/tlspic.rd: Likewise. |
| 1342 | |
| 1343 | 2021-01-01 Nicolas Boulenguez <nicolas@debian.org> |
| 1344 | |
| 1345 | * configure.tgt: Correct comment grammar. |
| 1346 | * emultempl/m68hc1xelf.em: Likewise. |
| 1347 | * ld.texi: Correct grammar. |
| 1348 | |
| 1349 | 2021-01-01 Alan Modra <amodra@gmail.com> |
| 1350 | |
| 1351 | Update year range in copyright notice of all files. |
| 1352 | |
| 1353 | For older changes see ChangeLog-2020 |
| 1354 | \f |
| 1355 | Copyright (C) 2021 Free Software Foundation, Inc. |
| 1356 | |
| 1357 | Copying and distribution of this file, with or without modification, |
| 1358 | are permitted in any medium without royalty provided the copyright |
| 1359 | notice and this notice are preserved. |
| 1360 | |
| 1361 | Local Variables: |
| 1362 | mode: change-log |
| 1363 | left-margin: 8 |
| 1364 | fill-column: 74 |
| 1365 | version-control: never |
| 1366 | End: |