12017-03-09 Alan Modra <amodra@gmail.com> 2 3 Apply from master 4 2016-09-26 Alan Modra <amodra@gmail.com> 5 * testsuite/ld-powerpc/attr-gnu-4-4.s: Delete. 6 * testsuite/ld-powerpc/attr-gnu-4-14.d: Delete. 7 * testsuite/ld-powerpc/attr-gnu-4-24.d: Delete. 8 * testsuite/ld-powerpc/attr-gnu-4-34.d: Delete. 9 * testsuite/ld-powerpc/attr-gnu-4-41.d: Delete. 10 * testsuite/ld-powerpc/attr-gnu-4-32.d: Adjust expected warning. 11 * testsuite/ld-powerpc/attr-gnu-8-23.d: Likewise. 12 * testsuite/ld-powerpc/attr-gnu-4-01.d: Adjust expected output. 13 * testsuite/ld-powerpc/attr-gnu-4-02.d: Likewise. 14 * testsuite/ld-powerpc/attr-gnu-4-03.d: Likewise. 15 * testsuite/ld-powerpc/attr-gnu-4-10.d: Likewise. 16 * testsuite/ld-powerpc/attr-gnu-4-11.d: Likewise. 17 * testsuite/ld-powerpc/attr-gnu-4-20.d: Likewise. 18 * testsuite/ld-powerpc/attr-gnu-4-22.d: Likewise. 19 * testsuite/ld-powerpc/attr-gnu-4-33.d: Likewise. 20 * testsuite/ld-powerpc/attr-gnu-8-11.d: Likewise. 21 * testsuite/ld-powerpc/powerpc.exp: Don't run deleted tests. 22 232017-02-21 Alan Modra <amodra@gmail.com> 24 25 Apply from master 26 2016-12-06 Alan Modra <amodra@gmail.com> 27 * testsuite/ld-powerpc/tocopt7.s, 28 * testsuite/ld-powerpc/tocopt7.out, 29 * testsuite/ld-powerpc/tocopt7.d: New test. 30 * testsuite/ld-powerpc/tocopt8.s, 31 * testsuite/ld-powerpc/tocopt8.d: New test. 32 * testsuite/ld-powerpc/powerpc.exp: Run them. 33 342017-02-15 H.J. Lu <hongjiu.lu@intel.com> 35 36 PR ld/21168 37 * testsuite/ld-i386/i386.exp: Run pr21168. 38 * testsuite/ld-i386/pr21168a.c: New file. 39 * testsuite/ld-i386/pr21168b.S: Likewise. 40 412016-10-14 Alan Modra <amodra@gmail.com> 42 43 * scripttempl/DWARF.sc: Add .debug_addr. 44 452016-10-10 Christophe Lyon <christophe.lyon@linaro.org> 46 47 Backport from mainline 48 2016-09-28 Christophe Lyon <christophe.lyon@linaro.org> 49 50 PR ld/20608 51 * testsuite/ld-arm/arm-elf.exp: Handle new testcase. 52 * testsuite/ld-arm/farcall-mixed-app2.d: New file. 53 * testsuite/ld-arm/farcall-mixed-app2.r: Likewise. 54 * testsuite/ld-arm/farcall-mixed-app2.s: Likewise. 55 * testsuite/ld-arm/farcall-mixed-app2.sym: Likewise. 56 572016-09-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 58 59 Backport from mainline 60 2016-09-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 61 62 PR ld/20545 63 * testsuite/ld-avr/avr-prop-7.d: New test. 64 * testsuite/ld-avr/avr-prop-7.s: New test. 65 * testsuite/ld-avr/avr-prop-8.d: New test. 66 * testsuite/ld-avr/avr-prop-8.s: New test. 67 682016-08-09 Roland McGrath <roland@hack.frob.com> 69 70 * emulparams/armelf.sh (GENERATE_PIE_SCRIPT): Set to yes. 71 722016-08-02 Nick Clifton <nickc@redhat.com> 73 74 PR ld/17739 75 * emulparams/shelf.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Define with 76 valye 'yes'. 77 * emulparams/shelf32.sh: Likewise. 78 * emulparams/shelf32.sh: Likewise. 79 * emulparams/shelf_nto.sh: Likewise. 80 * emulparams/shelf_nto.sh: Likewise. 81 * emulparams/shelf_vxworks.sh: Likewise. 82 * emulparams/shelf_vxworks.sh: Likewise. 83 * emulparams/shlelf32_linux.sh: Likewise. 84 * emulparams/shlelf32_linux.sh: Likewise. 85 * emulparams/shlelf_linux.sh: Likewise. 86 * emulparams/shlelf_linux.sh: Likewise. 87 * emulparams/shlelf_nto.sh: Likewise. 88 * emulparams/shlelf_nto.sh: Likewise. 89 902016-08-03 Tristan Gingold <gingold@adacore.com> 91 92 * configure: Regenerate. 93 942016-08-03 Tristan Gingold <gingold@adacore.com> 95 96 * configure: Regenerate. 97 982016-07-19 Roland McGrath <roland@hack.frob.com> 99 100 * emulparams/aarch64elf.sh (GENERATE_PIE_SCRIPT): Set to yes. 101 * emulparams/aarch64elf32.sh: Likewise. 102 1032016-07-01 Tristan Gingold <gingold@adacore.com> 104 105 * configure: Regenerate. 106 1072016-07-01 Tristan Gingold <gingold@adacore.com> 108 109 * configure: Regenerate. 110 1112016-07-01 Tristan Gingold <gingold@adacore.com> 112 113 * NEWS: Add marker for 2.27. 114 1152016-06-28 H.J. Lu <hongjiu.lu@intel.com> 116 117 * testsuite/ld-gc/gc.exp: Run pr20306 test. 118 * ld-gc/pr20306.c: New file. 119 * ld-gc/pr20306.d: Likewise. 120 1212016-06-28 Nick Clifton <nickc@redhat.com> 122 123 * testsuite/ld-elf/comm-data.exp: Expect comm-data2 test to fail 124 for bfin. 125 * testsuite/ld-elf/elf.exp: Expect pr14170 and symbolic function 126 tests to fail for bfin. 127 * testsuite/ld-elf/endsym.d: Expect to fail with cr16, crx, dlx, 128 nds32 and visium. 129 * testsuite/ld-elf/var1.d: Expect to fail with d30v, dlx, ft32 and 130 microblaze. 131 * testsuite/ld-pe/pe.exp: Expect foreign symbol test to fail for 132 mcore-pe. 133 1342016-06-28 Nick Clifton <nickc@redhat.com> 135 136 * testsuite/ld-elf/merge.d: Add m68hc11 to list of targets that 137 expect to fail this test. 138 * testsuite/ld-scripts/overlay-size.d: Skip the entire test for 139 RX. 140 * testsuite/ld-scripts/rgn-at10.d: No longer expect this test to 141 fail for the RX. 142 * testsuite/ld-scripts/rgn-at11.d: Likewise. 143 * testsuite/ld-scripts/rgn-at2.d: Likewise. 144 * testsuite/ld-scripts/rgn-at6.d: Likewise. 145 * testsuite/ld-scripts/rgn-at7.d: Likewise. 146 * testsuite/ld-scripts/rgn-at8.d: Likewise. 147 1482016-06-28 James Clarke <jrtc27@jrtc27.com> 149 150 * testsuite/ld-elf/symbolic-func.r: Allow non-zero offsets from 151 .text. 152 1532016-06-28 Maciej W. Rozycki <macro@imgtec.com> 154 155 * testsuite/ld-mips-elf/attr-gnu-4-10.d: Match any UNIX OS/ABI. 156 * testsuite/ld-mips-elf/attr-gnu-4-50.d: Likewise. 157 * testsuite/ld-mips-elf/attr-gnu-4-60.d: Likewise. 158 * testsuite/ld-mips-elf/attr-gnu-4-70.d: Likewise. 159 1602016-06-28 Alan Modra <amodra@gmail.com> 161 162 PR ld/20302 163 * testsuite/ld-scripts/pr20302.d: Exclude *-*-*aout. 164 1652016-06-28 Maciej W. Rozycki <macro@imgtec.com> 166 167 * testsuite/ld-mips-elf/mips16-branch-2.d: New test. 168 * testsuite/ld-mips-elf/mips16-branch-3.d: New test. 169 * testsuite/ld-mips-elf/mips16-branch-addend-2.d: New test. 170 * testsuite/ld-mips-elf/mips16-branch-addend-3.d: New test. 171 * testsuite/ld-mips-elf/mips16-branch.s: New test source. 172 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. 173 1742016-06-27 Nick Clifton <nickc@redhat.com> 175 176 PR ld/20302 177 * lexsup.c (set_segment_start): If resetting the start address of 178 a section, remember to generate a new script element as well. 179 * testsuite/ld-scripts/pr20302.d: New test. 180 * testsuite/ld-scripts/scripts.exp: Run the new test. 181 1822016-06-24 Alan Modra <amodra@gmail.com> 183 184 * testsuite/ld-aarch64/aarch64-elf.exp (aarch64_choose_ilp32_emul): 185 Don't error out, always return an emulation. 186 1872016-06-24 Dilyan Palauzov <dilyan.palauzov@aegee.org> 188 H.J. Lu <hongjiu.lu@intel.com> 189 190 * lexsup.c (elf_shlib_list_options): Check DEFAULT_LD_Z_RELRO 191 for -z relro help message. 192 1932016-06-22 Maciej W. Rozycki <macro@imgtec.com> 194 195 * testsuite/ld-mips-elf/undefweak-overflow.d: Use wildcard 196 address matching. 197 1982016-06-22 Maciej W. Rozycki <macro@imgtec.com> 199 200 * testsuite/ld-mips-elf/mips-elf.exp: Uniquely identify 201 `undefweak-overflow' tests. 202 2032016-06-22 H.J. Lu <hongjiu.lu@intel.com> 204 205 PR ld/20283 206 * NEWS: Mention --enable-relro. 207 * configure.ac: Add --enable-relro. 208 (DEFAULT_LD_Z_RELRO): New. Set by --enable-relro. 209 * configure.tgt (ac_default_ld_z_relro): Default it to 1 for 210 some Linux targets. 211 * config.in: Regenerated. 212 * configure: Likewise. 213 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set 214 link_info.relro to DEFAULT_LD_Z_RELRO. 215 * testsuite/config/default.exp (ld_elf_shared_opt): New. 216 * testsuite/lib/ld-lib.exp (run_dump_test): Pass 217 $ld_elf_shared_opt to ld for ELF targets with shared object 218 support. 219 (run_ld_link_tests): Likewise. 220 2212016-06-21 Maciej W. Rozycki <macro@imgtec.com> 222 223 * testsuite/ld-mips-elf/mode-change-error-1a.s: Trigger an error 224 twice rather than once. 225 * testsuite/ld-mips-elf/mode-change-error-1.d: Adjust 226 accordingly. Remove the full stop from the end of the message. 227 2282016-06-21 Graham Markall <graham.markall@embecosm.com> 229 230 * testsuite/ld-arc/nps-1a.d: Use -mcpu=arc700 -mnps400. 231 * testsuite/ld-arc/nps-1b.d: Likewise. 232 2332016-06-20 H.J. Lu <hongjiu.lu@intel.com> 234 235 PR ld/20267 236 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for 237 PR ld/20267. 238 (lto_run_tests): Likewise. 239 * testsuite/ld-plugin/pr20267a.c: New file. 240 * testsuite/ld-plugin/pr20267b.c: Likewise. 241 2422016-06-20 H.J. Lu <hongjiu.lu@intel.com> 243 Alan Modra <amodra@gmail.com> 244 245 PR ld/20276 246 * plugin.c (plugin_notice): Set non_ir_ref on common symbols. 247 * testsuite/ld-plugin/lto.exp (lto_link_tests): Add test for 248 PR ld/20276. 249 (lto_run_tests): Likewise. 250 * testsuite/ld-plugin/pass.out: New file. 251 * testsuite/ld-plugin/pr20276a.c: Likewise. 252 * testsuite/ld-plugin/pr20276b.c: Likewise. 253 2542016-06-18 H.J. Lu <hongjiu.lu@intel.com> 255 256 * plugin.c (plugin_object_p): Replace bfd_plugin_uknown 257 with bfd_plugin_unknown. 258 2592016-06-18 H.J. Lu <hongjiu.lu@intel.com> 260 261 PR ld/20253 262 * testsuite/ld-i386/i386.exp: Run PR ld/20253 tests. 263 * testsuite/ld-i386/no-plt.exp: Likewise. 264 * testsuite/ld-x86-64/no-plt.exp: Likewise. 265 * testsuite/ld-i386/pr13302.d: Remove .rel.plt section. 266 * testsuite/ld-ifunc/ifunc-13-i386.d: Likewise. 267 * testsuite/ld-ifunc/ifunc-13-x86-64.d: Likewise. 268 * testsuite/ld-ifunc/ifunc-15-i386.d: Likewise. 269 * testsuite/ld-ifunc/ifunc-15-x86-64.d: Likewise. 270 * testsuite/ld-x86-64/pr13082-5a.d: Likewise. 271 * testsuite/ld-x86-64/pr13082-5b.d: Likewise. 272 * testsuite/ld-x86-64/pr13082-6a.d: Likewise. 273 * testsuite/ld-x86-64/pr13082-6b.d: Likewise. 274 * testsuite/ld-i386/pr20244-2a.d: Remove .plt section. 275 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise. 276 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. 277 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise. 278 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. 279 * testsuite/ld-i386/pr20244-2b.d: Updated. 280 * testsuite/ld-i386/pr20244-2c.d: Likewise. 281 * testsuite/ld-ifunc/ifunc-18a-i386.d: Likewise. 282 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise. 283 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise. 284 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise. 285 * testsuite/ld-i386/pr20253-1a.c: New file. 286 * testsuite/ld-i386/pr20253-1b.S: Likewise. 287 * testsuite/ld-i386/pr20253-1c.S: Likewise. 288 * testsuite/ld-i386/pr20253-1d.S: Likewise. 289 * testsuite/ld-i386/pr20253-2a.c: Likewise. 290 * testsuite/ld-i386/pr20253-2b.S: Likewise. 291 * testsuite/ld-i386/pr20253-2c.S: Likewise. 292 * testsuite/ld-i386/pr20253-2d.S: Likewise. 293 * testsuite/ld-i386/pr20253-3.d: Likewise. 294 * testsuite/ld-i386/pr20253-3.s: Likewise. 295 * testsuite/ld-i386/pr20253-4.s: Likewise. 296 * testsuite/ld-i386/pr20253-4a.d: Likewise. 297 * testsuite/ld-i386/pr20253-4b.d: Likewise. 298 * testsuite/ld-i386/pr20253-4c.d: Likewise. 299 * testsuite/ld-i386/pr20253-5.d: Likewise. 300 * testsuite/ld-i386/pr20253-5.s: Likewise. 301 * testsuite/ld-ifunc/ifunc-23-x86.s: Likewise. 302 * testsuite/ld-ifunc/ifunc-23a-x86.d: Likewise. 303 * testsuite/ld-ifunc/ifunc-23b-x86.d: Likewise. 304 * testsuite/ld-ifunc/ifunc-23c-x86.d: Likewise. 305 * testsuite/ld-ifunc/ifunc-24-x86.s: Likewise. 306 * testsuite/ld-ifunc/ifunc-24a-x86.d: Likewise. 307 * testsuite/ld-ifunc/ifunc-24b-x86.d: Likewise. 308 * testsuite/ld-ifunc/ifunc-24c-x86.d: Likewise. 309 * testsuite/ld-ifunc/ifunc-25-x86.s: Likewise. 310 * testsuite/ld-ifunc/ifunc-25a-x86.d: Likewise. 311 * testsuite/ld-ifunc/ifunc-25b-x86.d: Likewise. 312 * testsuite/ld-ifunc/ifunc-25c-x86.d: Likewise. 313 * testsuite/ld-x86-64/pr20253-1.s: Likewise. 314 * testsuite/ld-x86-64/pr20253-1a.d: Likewise. 315 * testsuite/ld-x86-64/pr20253-1b.d: Likewise. 316 * testsuite/ld-x86-64/pr20253-1c.d: Likewise. 317 * testsuite/ld-x86-64/pr20253-1d.d: Likewise. 318 * testsuite/ld-x86-64/pr20253-1e.d: Likewise. 319 * testsuite/ld-x86-64/pr20253-1f.d: Likewise. 320 * testsuite/ld-x86-64/pr20253-1g.d: Likewise. 321 * testsuite/ld-x86-64/pr20253-1h.d: Likewise. 322 * testsuite/ld-x86-64/pr20253-1i.d: Likewise. 323 * testsuite/ld-x86-64/pr20253-1j.d: Likewise. 324 * testsuite/ld-x86-64/pr20253-1k.d: Likewise. 325 * testsuite/ld-x86-64/pr20253-1l.d: Likewise. 326 * testsuite/ld-x86-64/pr20253-2a.c: Likewise. 327 * testsuite/ld-x86-64/pr20253-2b.S: Likewise. 328 * testsuite/ld-x86-64/pr20253-2c.S: Likewise. 329 * testsuite/ld-x86-64/pr20253-2d.S: Likewise. 330 * testsuite/ld-x86-64/pr20253-3.d: Likewise. 331 * testsuite/ld-x86-64/pr20253-3.s: Likewise. 332 * testsuite/ld-x86-64/pr20253-4.s: Likewise. 333 * testsuite/ld-x86-64/pr20253-4a.d: Likewise. 334 * testsuite/ld-x86-64/pr20253-4b.d: Likewise. 335 * testsuite/ld-x86-64/pr20253-4c.d: Likewise. 336 * testsuite/ld-x86-64/pr20253-4d.d: Likewise. 337 * testsuite/ld-x86-64/pr20253-4e.d: Likewise. 338 * testsuite/ld-x86-64/pr20253-4f.d: Likewise. 339 * testsuite/ld-x86-64/pr20253-5.s: Likewise. 340 * testsuite/ld-x86-64/pr20253-5a.d: Likewise. 341 * testsuite/ld-x86-64/pr20253-5b.d: Likewise. 342 * testsuite/ld-ifunc/ifunc-18a-i386.d: Remove extra IRELATIVE 343 relocation. 344 * testsuite/ld-ifunc/ifunc-18a-x86-64.d: Likewise. 345 * testsuite/ld-ifunc/ifunc-18b-i386.d: Likewise. 346 * testsuite/ld-ifunc/ifunc-18b-x86-64.d: Likewise. 347 * testsuite/ld-ifunc/ifunc-18a.s: Fix a typo. 348 * testsuite/ld-x86-64/x86-64.exp: Run pr20253-1 tests. 349 3502016-06-17 Thomas Preud'homme <thomas.preudhomme@arm.com> 351 Tony Wang <tony.wang@arm.com> 352 353 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall M profile): 354 Assemble for ARMv6-M. 355 (Thumb2-Thumb2 farcall M profile): New testcase. 356 * testsuite/ld-arm/farcall-thumb2-thumb2-m.d: New file. 357 * testsuite/ld-arm/jump-reloc-veneers-cond-long-backward.d: Update to 358 reflect the use of Thumb-2 veneers for Thumb-2 capable targets. 359 * testsuite/ld-arm/jump-reloc-veneers-cond-long.d: Likewise. 360 3612016-06-16 H.J. Lu <hongjiu.lu@intel.com> 362 363 * testsuite/ld-i386/i386.exp: Run pr19636-2e-nacl. 364 * testsuite/ld-i386/pr19636-2e.d: Skip for NaCl targets. 365 Remove .rel.plt section. 366 * testsuite/ld-i386/pr19636-2e-nacl.d: New file. 367 3682016-06-15 H.J. Lu <hongjiu.lu@intel.com> 369 370 * testsuite/ld-i386/no-plt-check1a.S (check): Test static 371 function pointer. 372 * testsuite/ld-i386/no-plt-check1b.S (check): Likewise. 373 * testsuite/ld-x86-64/no-plt-check1.S (check): Likewise. 374 * testsuite/ld-i386/no-plt-extern1a.S (func_p): New. Static 375 function pointer. 376 * testsuite/ld-i386/no-plt-extern1b.S (func_p): Likewise. 377 * testsuite/ld-x86-64/no-plt-extern1.S (func_p): Likewise. 378 * testsuite/ld-i386/no-plt-1a.dd: Updated. 379 * testsuite/ld-i386/no-plt-1b.dd: Likewise. 380 * testsuite/ld-i386/no-plt-1c.dd: Likewise. 381 * testsuite/ld-i386/no-plt-1d.dd: Likewise. 382 * testsuite/ld-i386/no-plt-1e.dd: Likewise. 383 * testsuite/ld-i386/no-plt-1f.dd: Likewise. 384 * testsuite/ld-i386/no-plt-1g.dd: Likewise. 385 * testsuite/ld-i386/no-plt-1h.dd: Likewise. 386 * testsuite/ld-i386/no-plt-1i.dd: Likewise. 387 * testsuite/ld-i386/no-plt-1j.dd: Likewise. 388 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. 389 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. 390 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. 391 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. 392 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. 393 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. 394 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. 395 3962016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 397 398 PR ld/20254 399 * testsuite/ld-avr/avr-prop-6.d: New test. 400 * testsuite/ld-avr/avr-prop-6.s: New test. 401 4022016-06-14 Alan Modra <amodra@gmail.com> 403 404 * ldbuildid.c: Formatting. 405 * ldcref.c: Formatting. 406 * ldctor.c: Formatting. 407 * ldemul.c: Formatting. 408 * ldexp.c: Formatting. 409 * ldfile.c: Formatting. 410 * ldlang.c: Formatting. 411 * ldmain.c: Formatting. 412 * ldwrite.c: Formatting. 413 4142016-06-14 Alan Modra <amodra@gmail.com> 415 416 * ldlang.c: Expand uses of bfd_my_archive. 417 * ldmain.c: Likewise. 418 * ldmisc.c: Likewise. 419 * plugin.c: Likewise. 420 4212016-06-14 Alan Modra <amodra@gmail.com> 422 423 PR ld/20241 424 * ldmain.c (add_archive_element): Just print file name of file within 425 thin archives. 426 * ldmisc.c (vfinfo): Likewise. 427 * plugin.c (plugin_object_p): Open file within thin archives. 428 (plugin_maybe_claim): Expand comment. 429 4302016-06-13 H.J. Lu <hongjiu.lu@intel.com> 431 432 PR ld/20244 433 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b, 434 pr20244-2c and pr20244-2d. 435 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b. 436 * testsuite/ld-i386/pr20244-2.s: New file. 437 * testsuite/ld-i386/pr20244-2a.d: Likewise. 438 * testsuite/ld-i386/pr20244-2b.d: Likewise. 439 * testsuite/ld-i386/pr20244-2c.d: Likewise. 440 * testsuite/ld-i386/pr20244-2d.d: Likewise. 441 * testsuite/ld-i386/pr20244-3a.c: Likewise. 442 * testsuite/ld-i386/pr20244-3b.S: Likewise. 443 * testsuite/ld-i386/pr20244-3c.S: Likewise. 444 * testsuite/ld-i386/pr20244-3d.S: Likewise. 445 4462016-06-13 H.J. Lu <hongjiu.lu@intel.com> 447 448 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b. 449 * testsuite/ld-i386/ifunc-1a.c: New file. 450 * testsuite/ld-i386/ifunc-1b.S: Likewise. 451 * testsuite/ld-i386/ifunc-1c.S: Likewise. 452 * testsuite/ld-i386/ifunc-1d.S: Likewise. 453 4542016-06-13 Cupertino Miranda <cmiranda@synospsy.com> 455 456 * testsuite/ld-srec/srec.exp: Changed to XFAIL on both little and 457 big endian ARC targets. 458 4592016-06-12 H.J. Lu <hongjiu.lu@intel.com> 460 461 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32. 462 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise. 463 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. 464 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise. 465 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. 466 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. 467 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. 468 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. 469 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. 470 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. 471 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. 472 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. 473 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. 474 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. 475 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. 476 4772016-06-11 H.J. Lu <hongjiu.lu@intel.com> 478 479 PR ld/20244 480 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b. 481 * testsuite/ld-i386/pr20244-1.s: New file. 482 * testsuite/ld-i386/pr20244-1a.d: Likewise. 483 * testsuite/ld-i386/pr20244-1b.d: Likewise. 484 * testsuite/ld-i386/pr20244-1c.d: Likewise. 485 4862016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 487 488 PR ld/20221 489 * testsuite/ld-avr/avr-prop-5.d: New. 490 * testsuite/ld-avr/avr-prop-5.s: New. 491 4922016-06-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com> 493 494 * testsuite/ld-avr/lds-mega.d: New test. 495 * testsuite/ld-avr/lds-mega.s: New test source. 496 * testsuite/ld-avr/lds-tiny.d: New test. 497 * testsuite/ld-avr/lds-tiny.s: New test source. 498 4992016-06-08 H.J. Lu <hongjiu.lu@intel.com> 500 501 * testsuite/ld-i386/libno-plt-1b.dd: New file. 502 * testsuite/ld-i386/libno-plt-1b.rd: Likewise. 503 * testsuite/ld-i386/no-plt-1a.dd: Likewise. 504 * testsuite/ld-i386/no-plt-1a.rd: Likewise. 505 * testsuite/ld-i386/no-plt-1b.dd: Likewise. 506 * testsuite/ld-i386/no-plt-1b.rd: Likewise. 507 * testsuite/ld-i386/no-plt-1c.dd: Likewise. 508 * testsuite/ld-i386/no-plt-1c.rd: Likewise. 509 * testsuite/ld-i386/no-plt-1d.dd: Likewise. 510 * testsuite/ld-i386/no-plt-1d.rd: Likewise. 511 * testsuite/ld-i386/no-plt-1e.dd: Likewise. 512 * testsuite/ld-i386/no-plt-1e.rd: Likewise. 513 * testsuite/ld-i386/no-plt-1f.dd: Likewise. 514 * testsuite/ld-i386/no-plt-1f.rd: Likewise. 515 * testsuite/ld-i386/no-plt-1g.dd: Likewise. 516 * testsuite/ld-i386/no-plt-1g.rd: Likewise. 517 * testsuite/ld-i386/no-plt-1h.dd: Likewise. 518 * testsuite/ld-i386/no-plt-1h.rd: Likewise. 519 * testsuite/ld-i386/no-plt-1i.dd: Likewise. 520 * testsuite/ld-i386/no-plt-1i.rd: Likewise. 521 * testsuite/ld-i386/no-plt-1j.dd: Likewise. 522 * testsuite/ld-i386/no-plt-1j.rd: Likewise. 523 * testsuite/ld-i386/no-plt-check1a.S: Likewise. 524 * testsuite/ld-i386/no-plt-check1b.S: Likewise. 525 * testsuite/ld-i386/no-plt-extern1a.S: Likewise. 526 * testsuite/ld-i386/no-plt-extern1b.S: Likewise. 527 * testsuite/ld-i386/no-plt-func1.c: Likewise. 528 * testsuite/ld-i386/no-plt-main1.c: Likewise. 529 * testsuite/ld-i386/no-plt.exp: Likewise. 530 5312016-06-08 H.J. Lu <hongjiu.lu@intel.com> 532 533 * testsuite/ld-x86-64/tls.exp (run_cc_link_tests): Update test 534 name. 535 5362016-06-08 H.J. Lu <hongjiu.lu@intel.com> 537 538 * testsuite/ld-i386/i386.exp: Run libtlspic2.so, tlsbin2, 539 tlsgd3, tlsld2, tlsgd4, tlspie3a, tlspie3b and tlspie3c. 540 * testsuite/ld-i386/pass.out: New file. 541 * testsuite/ld-i386/tls-def1.c: Likewise. 542 * testsuite/ld-i386/tls-gd1.S: Likewise. 543 * testsuite/ld-i386/tls-ld1.S: Likewise. 544 * testsuite/ld-i386/tls-main1.c: Likewise. 545 * testsuite/ld-i386/tls.exp: Likewise. 546 * testsuite/ld-i386/tlsbin2-nacl.rd: Likewise. 547 * testsuite/ld-i386/tlsbin2.dd: Likewise. 548 * testsuite/ld-i386/tlsbin2.rd: Likewise. 549 * testsuite/ld-i386/tlsbin2.sd: Likewise. 550 * testsuite/ld-i386/tlsbin2.td: Likewise. 551 * testsuite/ld-i386/tlsbinpic2.s: Likewise. 552 * testsuite/ld-i386/tlsgd3.dd: Likewise. 553 * testsuite/ld-i386/tlsgd3.s: Likewise. 554 * testsuite/ld-i386/tlsgd4.d: Likewise. 555 * testsuite/ld-i386/tlsgd4.s: Likewise. 556 * testsuite/ld-i386/tlsld2.s: Likewise. 557 * testsuite/ld-i386/tlspic2-nacl.rd: Likewise. 558 * testsuite/ld-i386/tlspic2.dd: Likewise. 559 * testsuite/ld-i386/tlspic2.rd: Likewise. 560 * testsuite/ld-i386/tlspic2.sd: Likewise. 561 * testsuite/ld-i386/tlspic2.td: Likewise. 562 * testsuite/ld-i386/tlspic3.s: Likewise. 563 * testsuite/ld-i386/tlspie3.s: Likewise. 564 * testsuite/ld-i386/tlspie3a.d: Likewise. 565 * testsuite/ld-i386/tlspie3b.d: Likewise. 566 * testsuite/ld-i386/tlspie3c.d: Likewise. 567 5682016-06-08 H.J. Lu <hongjiu.lu@intel.com> 569 570 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order. 571 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. 572 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. 573 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise. 574 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. 575 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. 576 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. 577 * testsuite/ld-x86-64/no-plt.exp: Fix a typo. 578 5792016-06-08 H.J. Lu <hongjiu.lu@intel.com> 580 581 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise. 582 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise. 583 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. 584 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise. 585 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. 586 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. 587 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. 588 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. 589 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. 590 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise. 591 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. 592 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. 593 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. 594 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. 595 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. 596 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. 597 * testsuite/ld-x86-64/no-plt-check1.S: Likewise. 598 * testsuite/ld-x86-64/no-plt.exp: Likewise. 599 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise. 600 * testsuite/ld-x86-64/no-plt-func1.c: Likewise. 601 * testsuite/ld-x86-64/no-plt-main1.c: Likewise. 602 6032016-06-07 Maciej W. Rozycki <macro@imgtec.com> 604 605 * testsuite/ld-elf/init-fini-arrays.d: Remove `ft32-*-*' xfail. 606 6072016-06-07 Andreas Krebbel <krebbel@linux.vnet.ibm.com> 608 609 * testsuite/ld-s390/pltoffset-1.dd: New test. 610 * testsuite/ld-s390/pltoffset-1.ld: New test. 611 * testsuite/ld-s390/pltoffset-1.s: New test. 612 * testsuite/ld-s390/s390.exp: Run new test. 613 6142016-06-07 Alan Modra <amodra@gmail.com> 615 616 * testsuite/ld-powerpc/apuinfo1.s: Delete nop. 617 * testsuite/ld-powerpc/apuinfo-vle2.s: New. 618 * testsuite/ld-powerpc/powerpc.exp: Use apuinfo-vle2.s. 619 6202016-06-06 H.J. Lu <hongjiu.lu@intel.com> 621 622 * testsuite/ld-x86-64/pass.out: New file. 623 * testsuite/ld-x86-64/tls-def1.c: Likewise. 624 * testsuite/ld-x86-64/tls-gd1.S: Likewise. 625 * testsuite/ld-x86-64/tls-ld1.S: Likewise. 626 * testsuite/ld-x86-64/tls-main1.c: Likewise. 627 * testsuite/ld-x86-64/tls.exp: Likewise. 628 * testsuite/ld-x86-64/tlsbin2-nacl.rd: Likewise. 629 * testsuite/ld-x86-64/tlsbin2.dd: Likewise. 630 * testsuite/ld-x86-64/tlsbin2.rd: Likewise. 631 * testsuite/ld-x86-64/tlsbin2.sd: Likewise. 632 * testsuite/ld-x86-64/tlsbin2.td: Likewise. 633 * testsuite/ld-x86-64/tlsbinpic2.s: Likewise. 634 * testsuite/ld-x86-64/tlsgd10.dd: Likewise. 635 * testsuite/ld-x86-64/tlsgd10.s: Likewise. 636 * testsuite/ld-x86-64/tlsgd11.dd: Likewise. 637 * testsuite/ld-x86-64/tlsgd11.s: Likewise. 638 * testsuite/ld-x86-64/tlsgd12.d: Likewise. 639 * testsuite/ld-x86-64/tlsgd12.s: Likewise. 640 * testsuite/ld-x86-64/tlsgd13.d: Likewise. 641 * testsuite/ld-x86-64/tlsgd13.s: Likewise. 642 * testsuite/ld-x86-64/tlsgd14.dd: Likewise. 643 * testsuite/ld-x86-64/tlsgd14.s: Likewise. 644 * testsuite/ld-x86-64/tlsgd5c.s: Likewise. 645 * testsuite/ld-x86-64/tlsgd6c.s: Likewise. 646 * testsuite/ld-x86-64/tlsgd9.dd: Likewise. 647 * testsuite/ld-x86-64/tlsgd9.s: Likewise. 648 * testsuite/ld-x86-64/tlsld4.dd: Likewise. 649 * testsuite/ld-x86-64/tlsld4.s: Likewise. 650 * testsuite/ld-x86-64/tlsld5.dd: Likewise. 651 * testsuite/ld-x86-64/tlsld5.s: Likewise. 652 * testsuite/ld-x86-64/tlsld6.dd: Likewise. 653 * testsuite/ld-x86-64/tlsld6.s: Likewise. 654 * testsuite/ld-x86-64/tlspic2-nacl.rd: Likewise. 655 * testsuite/ld-x86-64/tlspic2.dd: Likewise. 656 * testsuite/ld-x86-64/tlspic2.rd: Likewise. 657 * testsuite/ld-x86-64/tlspic2.sd: Likewise. 658 * testsuite/ld-x86-64/tlspic2.td: Likewise. 659 * testsuite/ld-x86-64/tlspic3.s: Likewise. 660 * testsuite/ld-x86-64/tlspie2.s: Likewise. 661 * testsuite/ld-x86-64/tlspie2a.d: Likewise. 662 * testsuite/ld-x86-64/tlspie2b.d: Likewise. 663 * testsuite/ld-x86-64/tlspie2c.d: Likewise. 664 * testsuite/ld-x86-64/tlsgd5.dd: Updated. 665 * testsuite/ld-x86-64/tlsgd6.dd: Likewise. 666 * testsuite/ld-x86-64/x86-64.exp: Run libtlspic2.so, tlsbin2, 667 tlsgd5b, tlsgd6b, tlsld4, tlsld5, tlsld6, tlsgd9, tlsgd10, 668 tlsgd11, tlsgd14, tlsgd12, tlsgd13, tlspie2a, tlspie2b and 669 tlspie2c. 670 6712016-06-04 Christian Groessler <chris@groessler.org> 672 673 * testsuite/ld-z8k/0filler.s: New file. 674 * testsuite/ld-z8k/branch-target.s: New file. 675 * testsuite/ld-z8k/branch-target2.s: New file. 676 * testsuite/ld-z8k/calr-back-8001.d: New file. 677 * testsuite/ld-z8k/calr-back-8002.d: New file. 678 * testsuite/ld-z8k/calr-back-fail-8001.d: New file. 679 * testsuite/ld-z8k/calr-back-fail-8002.d: New file. 680 * testsuite/ld-z8k/calr-forw-8001.d: New file. 681 * testsuite/ld-z8k/calr-forw-8002.d: New file. 682 * testsuite/ld-z8k/calr-forw-fail-8001.d: New file. 683 * testsuite/ld-z8k/calr-forw-fail-8002.d: New file. 684 * testsuite/ld-z8k/calr-opcode.s: New file. 685 * testsuite/ld-z8k/dbjnz-forw-8001.d: New file. 686 * testsuite/ld-z8k/dbjnz-forw-8002.d: New file. 687 * testsuite/ld-z8k/dbjnz-forw-fail-8001.d: New file. 688 * testsuite/ld-z8k/dbjnz-forw-fail-8002.d: New file. 689 * testsuite/ld-z8k/dbjnz-opcode.s: New file. 690 * testsuite/ld-z8k/djnz-back-8001.d: New file. 691 * testsuite/ld-z8k/djnz-back-8002.d: New file. 692 * testsuite/ld-z8k/djnz-back-fail-8001.d: New file. 693 * testsuite/ld-z8k/djnz-back-fail-8002.d: New file. 694 * testsuite/ld-z8k/djnz-forw-8001.d: New file. 695 * testsuite/ld-z8k/djnz-forw-8002.d: New file. 696 * testsuite/ld-z8k/djnz-forw-fail-8001.d: New file. 697 * testsuite/ld-z8k/djnz-forw-fail-8002.d: New file. 698 * testsuite/ld-z8k/djnz-opcode.s: New file. 699 * testsuite/ld-z8k/filler.s: New file. 700 * testsuite/ld-z8k/jr-back-8001.d: New file. 701 * testsuite/ld-z8k/jr-back-8002.d: New file. 702 * testsuite/ld-z8k/jr-back-fail-8001.d: New file. 703 * testsuite/ld-z8k/jr-back-fail-8002.d: New file. 704 * testsuite/ld-z8k/jr-forw-8001.d: New file. 705 * testsuite/ld-z8k/jr-forw-8002.d: New file. 706 * testsuite/ld-z8k/jr-forw-fail-8001.d: New file. 707 * testsuite/ld-z8k/jr-forw-fail-8002.d: New file. 708 * testsuite/ld-z8k/jr-opcode.s: New file. 709 * testsuite/ld-z8k/ldr-back-8001.d: New file. 710 * testsuite/ld-z8k/ldr-back-8002.d: New file. 711 * testsuite/ld-z8k/ldr-back-fail-8001.d: New file. 712 * testsuite/ld-z8k/ldr-back-fail-8002.d: New file. 713 * testsuite/ld-z8k/ldr-forw-8001.d: New file. 714 * testsuite/ld-z8k/ldr-forw-8002.d: New file. 715 * testsuite/ld-z8k/ldr-forw-fail-8001.d: New file. 716 * testsuite/ld-z8k/ldr-forw-fail-8002.d: New file. 717 * testsuite/ld-z8k/ldr-opcode.s: New file. 718 * testsuite/ld-z8k/ldrb-forw-8001.d: New file. 719 * testsuite/ld-z8k/ldrb-forw-8002.d: New file. 720 * testsuite/ld-z8k/ldrb-forw-fail-8001.d: New file. 721 * testsuite/ld-z8k/ldrb-forw-fail-8002.d: New file. 722 * testsuite/ld-z8k/ldrb-opcode.s: New file. 723 * testsuite/ld-z8k/ldrb-opcode2.s: New file. 724 * testsuite/ld-z8k/other-file.s: New file. 725 * testsuite/ld-z8k/reloc.dd: New file. 726 * testsuite/ld-z8k/reloc.ld: New file. 727 * testsuite/ld-z8k/relocseg.dd: New file. 728 * testsuite/ld-z8k/relocseg.ld: New file. 729 * testsuite/ld-z8k/relocseg1.dd: New file. 730 * testsuite/ld-z8k/this-file.s: New file. 731 * testsuite/ld-z8k/z8k.exp: New file. 732 7332016-06-03 H.J. Lu <hongjiu.lu@intel.com> 734 735 * testsuite/ld-i386/i386.exp: Assemble gotpc1.o and pr19319b.o 736 with -mrelax-relocations=yes. 737 * testsuite/ld-i386/lea1a.d (as): Add -mrelax-relocations=yes. 738 * testsuite/ld-i386/lea1b.d (as): Likewise. 739 * testsuite/ld-i386/lea1d.d (as): Likewise. 740 * testsuite/ld-i386/lea1e.d (as): Likewise. 741 * testsuite/ld-i386/lea1f.d (as): Likewise. 742 * testsuite/ld-i386/load7.d (as): Likewise. 743 * testsuite/ld-i386/mov1b.d (as): Likewise. 744 * testsuite/ld-i386/pr19175.d (as): Likewise. 745 * testsuite/ld-ifunc/ifunc-13-i386.d (as): Likewise. 746 * testsuite/ld-ifunc/ifunc-21-i386.d (as): Likewise. 747 * testsuite/ld-ifunc/ifunc-22-i386.d (as): Likewise. 748 * testsuite/ld-x86-64/x86-64.exp: Assemble gotpcrel1a.o, 749 gotpcrel1b.o and gotpcrel1c.o with -mrelax-relocations=yes. 750 7512016-06-02 Vineet Gupta <Vineet.Gupta1@synopsys.com> 752 753 * configure.tgt: Replace -uclibc with *. 754 7552016-05-28 Maciej W. Rozycki <macro@imgtec.com> 756 757 * testsuite/ld-mips-elf/unaligned-branch.d: New test. 758 * testsuite/ld-mips-elf/unaligned-branch.s: New test source. 759 * testsuite/ld-mips-elf/unaligned-text.s: New test source. 760 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. 761 7622016-05-28 Maciej W. Rozycki <macro@imgtec.com> 763 764 * testsuite/ld-mips-elf/unaligned-syms.s: Rename to... 765 * testsuite/ld-mips-elf/unaligned-data.s: ... this. 766 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Adjust accordingly. 767 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Likewise. 768 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Likewise. 769 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Likewise. 770 7712016-05-28 Maciej W. Rozycki <macro@imgtec.com> 772 773 * testsuite/ld-mips-elf/jal-global-overflow-0.d: New test. 774 * testsuite/ld-mips-elf/jal-global-overflow-1.d: New test. 775 * testsuite/ld-mips-elf/jal-local-overflow-0.d: New test. 776 * testsuite/ld-mips-elf/jal-local-overflow-1.d: New test. 777 * testsuite/ld-mips-elf/jal-global-overflow.s: New test source. 778 * testsuite/ld-mips-elf/jal-local-overflow.s: New test source. 779 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. 780 7812016-05-28 Alan Modra <amodra@gmail.com> 782 783 * ldmain.c (multiple_definition, multiple_common, add_to_set, 784 constructor_callback, warning_callback, undefined_symbol, 785 reloc_overflow, reloc_dangerous, unattached_reloc): Return void. 786 * emultempl/elf32.em: Adjust callback calls. 787 7882016-05-27 Maciej W. Rozycki <macro@imgtec.com> 789 790 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.d: New test. 791 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.d: New test. 792 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-0.d: New 793 test. 794 * testsuite/ld-mips-elf/unaligned-jalx-addend-mips16-1.d: New 795 test. 796 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-0.d: New 797 test. 798 * testsuite/ld-mips-elf/unaligned-jalx-addend-micromips-1.d: New 799 test. 800 * testsuite/ld-mips-elf/unaligned-jalx-addend-0.s: New test 801 source. 802 * testsuite/ld-mips-elf/unaligned-jalx-addend-1.s: New test 803 source. 804 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. 805 8062016-05-27 Maciej W. Rozycki <macro@imgtec.com> 807 808 * testsuite/ld-mips-elf/reloc-local-overflow.d: New test. 809 * testsuite/ld-mips-elf/reloc-local-overflow.s: Source for the 810 new test. 811 * testsuite/ld-mips-elf/mips-elf.exp: Run the new test. 812 8132016-05-26 Maciej W. Rozycki <macro@imgtec.com> 814 815 * testsuite/ld-mips-elf/unaligned-jalx-0.d: Fold 816 `unaligned-jalx-2' here. 817 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: Fold 818 `unaligned-jalx-mips16-2' here. 819 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: Fold 820 `unaligned-jalx-micromips-2' here. 821 * testsuite/ld-mips-elf/unaligned-jalx-0.s: Update accordingly. 822 * testsuite/ld-mips-elf/unaligned-jalx-1.d: Update error 823 message. 824 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: Likewise. 825 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: Likewise. 826 * testsuite/ld-mips-elf/unaligned-jalx-2.d: Remove test. 827 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: Remove test. 828 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: Remove 829 test. 830 * testsuite/ld-mips-elf/unaligned-jalx-2.s: Remove test source. 831 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: Fold 832 `unaligned-lwpc-3' here. 833 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: Update accordingly. 834 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: Fold 835 `unaligned-lwpc-2' here. 836 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: Update accordingly. 837 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: Remove test. 838 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: Remove test source. 839 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: Remove test. 840 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: Remove test source. 841 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: Fold 842 `unaligned-ldpc-4' here. 843 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: Update accordingly. 844 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: Update error 845 message. Fold `unaligned-ldpc-2' and `unaligned-ldpc-3' here. 846 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: Update accordingly. 847 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: Remove test. 848 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: Remove test source. 849 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: Remove test. 850 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: Remove test source. 851 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: Remove test. 852 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: Remove test source. 853 * testsuite/ld-mips-elf/mips-elf.exp: Delete removed tests. 854 8552016-05-26 Nick Clifton <nickc@redhat.com> 856 857 PR target/20134 858 * scripttempl/elf32msp430.sc (.bss): Provide __bssstart and 859 __bsssize. 860 * scripttempl/elf32msp430_3.sc (.bss): Likewise. 861 8622016-05-25 Maciej W. Rozycki <macro@imgtec.com> 863 864 * testsuite/ld-mips-elf/unaligned-jalx-0.d: New test. 865 * testsuite/ld-mips-elf/unaligned-jalx-1.d: New test. 866 * testsuite/ld-mips-elf/unaligned-jalx-2.d: New test. 867 * testsuite/ld-mips-elf/unaligned-jalx-mips16-0.d: New test. 868 * testsuite/ld-mips-elf/unaligned-jalx-mips16-1.d: New test. 869 * testsuite/ld-mips-elf/unaligned-jalx-mips16-2.d: New test. 870 * testsuite/ld-mips-elf/unaligned-jalx-micromips-0.d: New test. 871 * testsuite/ld-mips-elf/unaligned-jalx-micromips-1.d: New test. 872 * testsuite/ld-mips-elf/unaligned-jalx-micromips-2.d: New test. 873 * testsuite/ld-mips-elf/unaligned-lwpc-0.d: New test. 874 * testsuite/ld-mips-elf/unaligned-lwpc-1.d: New test. 875 * testsuite/ld-mips-elf/unaligned-lwpc-2.d: New test. 876 * testsuite/ld-mips-elf/unaligned-lwpc-3.d: New test. 877 * testsuite/ld-mips-elf/unaligned-ldpc-0.d: New test. 878 * testsuite/ld-mips-elf/unaligned-ldpc-1.d: New test. 879 * testsuite/ld-mips-elf/unaligned-ldpc-2.d: New test. 880 * testsuite/ld-mips-elf/unaligned-ldpc-3.d: New test. 881 * testsuite/ld-mips-elf/unaligned-ldpc-4.d: New test. 882 * testsuite/ld-mips-elf/unaligned-jalx-0.s: New test source. 883 * testsuite/ld-mips-elf/unaligned-jalx-1.s: New test source. 884 * testsuite/ld-mips-elf/unaligned-jalx-2.s: New test source. 885 * testsuite/ld-mips-elf/unaligned-insn.s: New test source. 886 * testsuite/ld-mips-elf/unaligned-lwpc-0.s: New test source. 887 * testsuite/ld-mips-elf/unaligned-lwpc-1.s: New test source. 888 * testsuite/ld-mips-elf/unaligned-lwpc-2.s: New test source. 889 * testsuite/ld-mips-elf/unaligned-lwpc-3.s: New test source. 890 * testsuite/ld-mips-elf/unaligned-ldpc-0.s: New test source. 891 * testsuite/ld-mips-elf/unaligned-ldpc-1.s: New test source. 892 * testsuite/ld-mips-elf/unaligned-ldpc-2.s: New test source. 893 * testsuite/ld-mips-elf/unaligned-ldpc-3.s: New test source. 894 * testsuite/ld-mips-elf/unaligned-ldpc-4.s: New test source. 895 * testsuite/ld-mips-elf/unaligned-syms.s: New test source. 896 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. 897 8982016-05-25 H.J. Lu <hongjiu.lu@intel.com> 899 900 PR ld/20103 901 * ldmain.c (add_archive_element): Don't claim new IR symbols 902 after all IR symbols have been claimed. 903 * plugin.c (plugin_call_claim_file): Remove no_more_claiming 904 check. 905 * testsuite/ld-plugin/lto.exp (pr20103): New proc. 906 Run PR ld/20103 tests. 907 * testsuite/ld-plugin/pr20103a.c: New file. 908 * testsuite/ld-plugin/pr20103b.c: Likewise. 909 * testsuite/ld-plugin/pr20103c.c: Likewise. 910 9112016-05-24 Maciej W. Rozycki <macro@imgtec.com> 912 913 * testsuite/ld-mips-elf/jalx-local.d: New test. 914 * testsuite/ld-mips-elf/jalx-local-n32.d: New test. 915 * testsuite/ld-mips-elf/jalx-local-n64.d: New test. 916 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. 917 9182016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com> 919 920 * Makefile.am: Add earmelf_phoenix.c. 921 * Makefile.in: Regenerate. 922 * configure.tgt: Add entry for arm-phoenix. 923 * emulparams/armelf_phoenix.sh: New file. 924 9252016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com> 926 927 * emultempl/armelf.em (arm_elf_before_allocation): Call 928 bfd_elf32_arm_keep_private_stub_output_sections before generic 929 before_allocation function. 930 9312016-05-20 Maciej W. Rozycki <macro@imgtec.com> 932 933 * testsuite/ld-mips-elf/jalx-addend.d: New test. 934 * testsuite/ld-mips-elf/jalx-addend-n32.d: New test. 935 * testsuite/ld-mips-elf/jalx-addend-n64.d: New test. 936 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. 937 9382016-05-19 H.J. Lu <hongjiu.lu@intel.com> 939 940 PR ld/20117 941 * testsuite/ld-i386/i386.exp: Run pr20117. 942 * testsuite/ld-i386/pr19609-1i.d: Updated. 943 * testsuite/ld-i386/pr20117.d: New file. 944 * testsuite/ld-i386/pr20117.s: Likewise. 945 9462016-05-19 Cupertino Miranda <cmiranda@synopsys.com> 947 948 * testsuite/ld-elf/compressed1d.d: Removed from notarget. 949 * testsuite/ld-elf/group8a.d: Likewise. 950 * testsuite/ld-elf/group8b.d: Likewise. 951 * testsuite/ld-elf/group9a.d: Likewise. 952 * testsuite/ld-elf/group9b.d: Likewise. 953 * testsuite/ld-elf/pr12851.d: Likewise. 954 * testsuite/ld-elf/pr12975.d: Likewise. 955 * testsuite/ld-elf/pr13177.d: Likewise. 956 * testsuite/ld-elf/pr13195.d: Likewise. 957 * testsuite/ld-elf/pr17615.d: Likewise. 958 * testsuite/ld-elf/eh-frame-hdr.d: Removed from xfail. 959 * testsuite/ld-elf/group3b.d: Likewise. 960 * testsuite/ld-srec/srec.exp: Likewise. 961 * testsuite/lib/ld-lib.exp (check_gc_sections_available): Mark ARC 962 as supporting gc. 963 (check_shared_lib_support): Mark ARC as supporting. 964 9652016-05-19 Cupertino Miranda <cmiranda@synopsys.com> 966 967 * emulparams/arcelf.sh: Changed. 968 * emulparams/arclinux.sh: Likewise. 969 * scripttempl/arclinux.sc: Moved to a more standard implementation 970 similar to elf.sc. 971 9722016-05-19 Maciej W. Rozycki <macro@imgtec.com> 973 974 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Reorder 975 `ft32-*-*' behind `frv-*-*'. 976 9772016-05-19 Maciej W. Rozycki <macro@imgtec.com> 978 979 * configure.tgt: Remove `am34-*-linux*' support. 980 9812016-05-19 Alan Modra <amodra@gmail.com> 982 983 * testsuite/ld-scripts/crossref.exp: Remove -mcall-aixdesc hack. 984 * testsuite/ld-scripts/cross2.t: Tweak .opd and .toc placement. 985 * testsuite/ld-scripts/cross3.t: Likewise. 986 * testsuite/ld-scripts/cross4.t: Likewise. 987 * testsuite/ld-scripts/cross5.t: Likewise. 988 * testsuite/ld-scripts/cross6.t: Likewise. 989 * testsuite/ld-scripts/cross7.t: Likewise. 990 9912016-05-19 Alan Modra <amodra@gmail.com> 992 993 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Pass in 994 exe name rather than constructing testname. Fix typo in 995 sub-test name. Log copying. Use -rpath rather than -R. 996 9972016-05-18 Nick Clifton <nickc@redhat.com> 998 999 * scripttempl/ft32.sc: Use fixed constants for memory region 1000 lengths. Include DWARF debug sections. 1001 (.data .bss): Do not assign locations during relocatable links. 1002 * testsuite/ld-elf/compressed1d.d: Skip for FT32. 1003 * testsuite/ld-elf/sec-to-seg.exp: Likewise. 1004 * testsuite/ld-elf/sec64k.exp: Likewise. 1005 * testsuite/ld-elf/init-fini-array.d: XFail for FT32. 1006 * testsuite/ld-elf/merge.d: Likewise. 1007 * testsuite/ld-elf/orphan-region.d: Likewise. 1008 * testsuite/ld-elf/orphan.s: Likewise. 1009 * testsuite/ld-elf/orphan3.d: Likewise. 1010 * testsuite/ld-elf/pr349.d: Likewise. 1011 * testsuite/ld-elf/warn2.d: Likewise. 1012 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Note 1013 that the FT32 does not support shared libraries. 1014 10152016-05-17 H.J. Lu <hongjiu.lu@intel.com> 1016 1017 * testsuite/lib/ld-lib.exp (at_least_gcc_version): Check 1018 global CC. 1019 10202016-05-17 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1021 1022 * scripttempl/avr.sc (text): Place .progmem.data from avr-libc 1023 above .progmem*. 1024 * scripttempl/avrtiny.sc (text): Likewise. 1025 10262016-05-17 Maciej W. Rozycki <macro@imgtec.com> 1027 1028 * testsuite/ld-unique/unique.exp: Use `is_elf_format' and 1029 `supports_gnu_unique' to qualify testing. 1030 10312016-05-16 Maciej W. Rozycki <macro@imgtec.com> 1032 1033 * testsuite/ld-elf/flags1.d: Update the xfail list. 1034 10352016-05-15 Maciej W. Rozycki <macro@imgtec.com> 1036 1037 * testsuite/ld-elf/flags1.d: Update for `*-*-nacl*' xfail 1038 removal. 1039 10402016-05-14 H.J. Lu <hongjiu.lu@intel.com> 1041 1042 PR ld/20097 1043 * testplug2.c (onall_symbols_read): Remove redundant sizeof 1044 on EXPECTED_VIEW_LENGTH. 1045 * testplug4.c (onall_symbols_read): Likewise. 1046 10472016-05-13 H.J. Lu <hongjiu.lu@intel.com> 1048 1049 PR ld/20093 1050 * testsuite/ld-x86-64/pr20093-1.d: New file. 1051 * testsuite/ld-x86-64/pr20093-1.s: Likewise. 1052 * testsuite/ld-x86-64/pr20093-2.d: Likewise. 1053 * testsuite/ld-x86-64/pr20093-2.s: Likewise. 1054 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2. 1055 10562016-05-13 Alan Modra <amodra@gmail.com> 1057 1058 * testsuite/ld-arm/arm-elf.exp: Adjust for arm-no-rel-plt now passing. 1059 Use different output file name for static app without .rel.plt. 1060 * testsuite/ld-arm/arm-no-rel-plt.ld: Align .rel.dyn and .rela.dyn. 1061 * testsuite/ld-arm/arm-no-rel-plt.out: Delete. 1062 * testsuite/ld-arm/arm-no-rel-plt.r: New. 1063 * testsuite/ld-arm/arm-static-app.d: Don't check file name. 1064 * testsuite/ld-arm/arm-static-app.r: Likewise. 1065 10662016-05-12 H.J. Lu <hongjiu.lu@intel.com> 1067 1068 PR ld/20070 1069 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug4.la. 1070 (libldtestplug4_la_SOURCES): New. 1071 (libldtestplug4_la_CFLAGS): Likewise. 1072 (libldtestplug4_la_LDFLAGS): Likewise. 1073 * Makefile.in: Regenerated. 1074 * plugin.c (get_symbols): Return resolution based on IR symbol 1075 kinds for symbols defined/referenced only within IR. 1076 * testplug4.c: New file. 1077 * ld/testsuite/ld-plugin/pr20070.d: Likewise. 1078 * ld/testsuite/ld-plugin/pr20070a.c: Likewise. 1079 * ld/testsuite/ld-plugin/pr20070b.c: Likewise. 1080 * testsuite/ld-plugin/plugin.exp (plugin4_name): New. 1081 (plugin4_path): Likewise. 1082 Add a test for ld/20070. 1083 10842016-05-11 Alan Modra <amodra@gmail.com> 1085 1086 * emultempl/hppaelf.em (hppaelf_create_output_section_statements): 1087 Call elf32_hppa_init_stub_bfd. 1088 10892016-05-11 Alan Modra <amodra@gmail.com> 1090 1091 PR 20060 1092 * testsuite/ld-powerpc/powerpc.exp: Run new tests. 1093 * testsuite/ld-powerpc/tlsdll.s: New. 1094 * testsuite/ld-powerpc/tlsdll.ver: New. 1095 * testsuite/ld-powerpc/tlsdll_32.s: New. 1096 * testsuite/ld-powerpc/tlsopt5.d: New. 1097 * testsuite/ld-powerpc/tlsopt5.s: New. 1098 * testsuite/ld-powerpc/tlsopt5_32.d: New. 1099 * testsuite/ld-powerpc/tlsopt5_32.s: New. 1100 11012016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com> 1102 1103 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use 1104 ARM_GET_SYM_BRANCH_TYPE to get branch type of a symbol. 1105 11062016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com> 1107 1108 * emultempl/armelf.em (elf32_arm_add_stub_section): Add output_section 1109 parameter and rename input_section parameter to after_input_section. 1110 Append input stub section to the output section if after_input_section 1111 is NULL. 1112 11132016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com> 1114 1115 * testsuite/ld-arm/arm-elf.exp (EABI attribute merging 10 (DSP)): New 1116 test. 1117 * testsuite/ld-arm/attr-merge-10b-dsp.s: New file. 1118 * testsuite/ld-arm/attr-merge-10-dsp.attr: Likewise. 1119 11202016-05-10 Christophe Lyon <christophe.lyon@linaro.org> 1121 1122 * ld/testsuite/ld-elf/flags1.d (xfail): Remove *-*-nacl*". 1123 11242016-05-09 Christophe Monat <christophe.monat@st.com> 1125 1126 PR ld/20030 1127 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp 1128 tests. Fix misnamed stm32l4xx-fix-all. 1129 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple 1130 loads with DP registers. 1131 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file. 1132 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment. 1133 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple 1134 loads with DP registers. 1135 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference. 1136 11372016-05-09 Pitchumani Sivanupandi <pitchumani.s@atmel.com> 1138 1139 * testsuite/ld-elf/flags1.d (readelf): Dump section header instead 1140 program headers. 1141 (xfail): Remove avr-*-*. 1142 Update regex to check the section flags. 1143 * testsuite/ld-elf/merge.d (xfail): Remove avr-*-*. 1144 11452016-05-09 Alan Modra <amodra@gmail.com> 1146 1147 * Makefile.am (ealphavms.c, eelf64_ia64_vms): Correct .em deps. 1148 * Makefile.in: Regenerate. 1149 11502016-05-09 Alan Modra <amodra@gmail.com> 1151 1152 * testsuite/ld-scripts/pr14962-2.t: Match .text, not *.text. 1153 * testsuite/ld-scripts/rgn-at5.t: Similarly, .sec not *.sec. 1154 * testsuite/ld-scripts/section-match-1.t: Likewise. 1155 11562016-05-06 H.J. Lu <hongjiu.lu@intel.com> 1157 1158 PR ld/17550 1159 * testsuite/ld-elf/pr17550-1.s: New file. 1160 * testsuite/ld-elf/pr17550-2.s: Likewise. 1161 * testsuite/ld-elf/pr17550-3.s: Likewise. 1162 * testsuite/ld-elf/pr17550-4.s: Likewise. 1163 * testsuite/ld-elf/pr17550a.d: Likewise. 1164 * testsuite/ld-elf/pr17550b.d: Likewise. 1165 * testsuite/ld-elf/pr17550c.d: Likewise. 1166 * testsuite/ld-elf/pr17550d.d: Likewise. 1167 11682016-05-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1169 1170 * ld/testsuite/ld-srec/srec.exp: Mark test as XFAIL for AVR. 1171 11722016-05-06 H.J. Lu <hongjiu.lu@intel.com> 1173 1174 * testsuite/ld-i386/i386.exp: Run load7. 1175 * testsuite/ld-i386/load7.d: New file. 1176 * testsuite/ld-i386/load7.map: Likewise. 1177 * testsuite/ld-i386/load7.s: Likewise. 1178 * testsuite/ld-x86-64/load2.d: Likewise. 1179 * testsuite/ld-x86-64/load2.map: Likewise. 1180 * testsuite/ld-x86-64/load2.s: Likewise. 1181 * testsuite/ld-x86-64/x86-64.exp: Run load2. 1182 11832016-05-05 H.J. Lu <hongjiu.lu@intel.com> 1184 1185 * emulparams/elf_iamcu.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): New. 1186 * emulparams/elf_k1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1187 Likewise. 1188 * emulparams/elf_l1om.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1189 Likewise. 1190 11912016-05-05 H.J. Lu <hongjiu.lu@intel.com> 1192 1193 * testsuite/ld-x86-64/pr18591.d: Pass --no-relax to ld. 1194 11952016-05-04 H.J. Lu <hongjiu.lu@intel.com> 1196 1197 * ldlang.c (init_os): Pass %E to einfo when bfd_section == NULL. 1198 11992016-05-04 Maciej W. Rozycki <macro@imgtec.com> 1200 1201 * testsuite/ld-unique/unique.d: New test. 1202 * testsuite/ld-unique/unique.exp: Run the new test. Adjust 1203 messages for compiled tests. 1204 12052016-05-04 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1206 1207 * testsuite/ld-elf/pr18735.d: Allow other symbols. 1208 * testsuite/ld-elf/sec64k.exp: Skip 64ksec for avr. 1209 * testsuite/ld-gc/pr14265.d: Allow other symbols. 1210 * testsuite/ld-plugin/plugin.exp: Add PR ld/17973 to 1211 plugin_tests only if check_shared_lib_support is true. 1212 * testsuite/ld-selective/selective.exp: Add --section-start 1213 flag for avr. 1214 12152016-05-03 Maciej W. Rozycki <macro@imgtec.com> 1216 1217 PR 10549 1218 * testsuite/ld-unique/unique.exp: Also run for `mips*-*-*'. 1219 12202016-05-03 Jiong Wang <jiong.wang@arm.com> 1221 1222 * emultempl/aarch64elf.em (--no-apply-dynamic-relocs): New option. 1223 * NEWS: Mention --no-apply-dynamic-relocs. 1224 * ld.texinfo (ld and the ARM family): Document 1225 --no-apply-dynamic-relocs. 1226 * testsuite/ld-aarch64/rela-abs-relative.s: New test source. 1227 * testsuite/ld-aarch64/rela-abs-relative.d: New expected result. 1228 * testsuite/ld-aarch64/rela-abs-relative-be.d: Likewise for big-endian. 1229 * estsuite/ld-aarch64/rela-abs-relative-opt.d: Likewise, but enable new 1230 option. 1231 12322016-05-03 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1233 1234 * testsuite/ld-elfcomm/elfcomm.exp: Check for shared lib support 1235 before running STT_COMMON tests. 1236 12372016-04-29 H.J. Lu <hongjiu.lu@intel.com> 1238 1239 * config/default.exp (NOPIE_CFLAGS): Download source only on 1240 remote host. 1241 (NOPIE_LDFLAGS): Likewise. 1242 * testsuite/lib/ld-lib.exp (check_lto_available): Likewise. 1243 (check_lto_fat_available): Likewise. 1244 (check_lto_shared_available): Likewise. 1245 (check_ifunc_available): Likewise. 1246 (check_ifunc_attribute_available): Likewise. 1247 12482016-04-27 H.J. Lu <hongjiu.lu@intel.com> 1249 1250 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets. 1251 12522016-04-27 H.J. Lu <hongjiu.lu@intel.com> 1253 1254 PR ld/20006 1255 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New. 1256 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on 1257 ELF targets. 1258 12592016-04-27 H.J. Lu <hongjiu.lu@intel.com> 1260 1261 * testsuite/ld-elf/compressed1b.d: Pass 1262 --compress-debug-sections=none to ld. 1263 * testsuite/ld-elf/compressed1c.d: Likewise. 1264 12652016-04-27 Alan Modra <amodra@gmail.com> 1266 1267 PR target/19985 1268 * configure.tgt: Don't use var+=. 1269 12702016-04-25 Nick Clifton <nickc@redhat.com> 1271 1272 PR target/19985 1273 * configure.tgt: Include big endian PPC64 emulations with little 1274 endian PPC64 targets. 1275 12762016-04-25 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1277 1278 * scripttempl/avrtiny.sc (.text): Do not set LMA to zero. 1279 12802016-04-21 Nick Clifton <nickc@redhat.com> 1281 1282 * ldlang.c (lang_check_relocs): Use bfd_link_check_relocs in 1283 prefernce to _bfd_elf_link_check_relocs. Drop test for ELF 1284 targets. Do not stop the checks when problems are encountered. 1285 12862016-04-21 Alan Modra <amodra@gmail.com> 1287 1288 * testsuite/ld-scripts/cross3.t: Add commonly used data 1289 and text section names to output section statements. 1290 * testsuite/ld-scripts/cross4.t: Likewise. 1291 * testsuite/ld-scripts/cross5.t: Likewise. 1292 * testsuite/ld-scripts/cross6.t: Likewise. 1293 * testsuite/ld-scripts/cross7.t: Likewise. 1294 12952016-04-20 H.J. Lu <hongjiu.lu@intel.com> 1296 1297 * ldlang.c (lang_check_relocs): New function. 1298 (lang_process): Call lang_check_relocs after lang_gc_sections. 1299 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Don't 1300 call _bfd_elf_link_check_relocs here. 1301 13022016-04-20 H.J. Lu <hongjiu.lu@intel.com> 1303 1304 PR ld/19972 1305 * testsuite/ld-elf/eh6.d: Pass -rW to readelf and check for 1306 R_386_NONE or R_X86_64_NONE. 1307 13082016-04-20 H.J. Lu <hongjiu.lu@intel.com> 1309 1310 * testsuite/ld-x86-64/pic1.d: New file. 1311 * testsuite/ld-x86-64/pic1.s: Likewise. 1312 * testsuite/ld-x86-64/x86-64.exp: Run pic1. 1313 13142016-04-20 H.J. Lu <hongjiu.lu@intel.com> 1315 1316 * testsuite/ld-x86-64/pie2.d: New file. 1317 * testsuite/ld-x86-64/pie2.s: Likewise. 1318 * testsuite/ld-x86-64/x86-64.exp: Run pie2. 1319 13202016-04-20 H.J. Lu <hongjiu.lu@intel.com> 1321 1322 PR ld/19969 1323 * testsuite/ld-x86-64/pr19969.d: New file. 1324 * testsuite/ld-x86-64/pr19969a.S: Likewise. 1325 * testsuite/ld-x86-64/pr19969b.S: Likewise. 1326 * testsuite/ld-x86-64/x86-64.exp: Run pr19969 tests. 1327 13282016-04-20 H.J. Lu <hongjiu.lu@intel.com> 1329 1330 * emulparams/elf32_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1331 New. 1332 * emulparams/elf_i386.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1333 Likewise. 1334 * emulparams/elf_i386_be.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1335 Likewise. 1336 * emulparams/elf_i386_chaos.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1337 Likewise. 1338 * emulparams/elf_i386_ldso.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1339 Likewise. 1340 * emulparams/elf_i386_vxworks.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1341 Likewise. 1342 * emulparams/elf_x86_64.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1343 Likewise. 1344 * emulparams/i386nto.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): 1345 Likewise. 1346 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): 1347 Set check_relocs_after_open_input to TRUE if 1348 CHECK_RELOCS_AFTER_OPEN_INPUT is yes. 1349 (gld${EMULATION_NAME}_after_open): Call 1350 _bfd_elf_link_check_relocs on all inputs if 1351 check_relocs_after_open_input is TRUE. 1352 13532016-04-20 H.J. Lu <hongjiu.lu@intel.com> 1354 1355 * testsuite/ld-elf/eh6.s: Replace .long with .dc.a on 1356 my_personality_v0. 1357 13582016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> 1359 1360 * emultempl/scoreelf.em: Likewise. 1361 13622016-04-19 H.J. Lu <hongjiu.lu@intel.com> 1363 1364 PR ld/19719 1365 * testsuite/ld-x86-64/pr19719.d: New file. 1366 * testsuite/ld-x86-64/pr19719.s: Likewise. 1367 * testsuite/ld-x86-64/x86-64.exp: Run pr19719. 1368 13692016-04-18 Matthew Fortune <matthew.fortune@imgtec.com> 1370 1371 * ld.texinfo: Document NOCROSSREFS_TO script command. 1372 * ldlang.h (struct lang_nocrossrefs): Add onlyfirst field. 1373 (lang_add_nocrossref_to): New prototype. 1374 * ldcref.c (check_local_sym_xref): Use onlyfirst to only look for 1375 symbols defined in the first section. 1376 (check_nocrossref): Likewise. 1377 * ldgram.y (NOCROSSREFS_TO): New script command. 1378 * ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE. 1379 (lang_add_nocrossref_to): New function. 1380 * ldlex.l (NOCROSSREFS_TO): New token. 1381 * NEWS: Mention NOCROSSREFS_TO. 1382 * testsuite/ld-scripts/cross4.t: New file. 1383 * testsuite/ld-scripts/cross5.t: Likewise. 1384 * testsuite/ld-scripts/cross6.t: Likewise. 1385 * testsuite/ld-scripts/cross7.t: Likewise. 1386 * testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO 1387 tests. 1388 13892016-04-15 H.J. Lu <hongjiu.lu@intel.com> 1390 1391 * Makefile.in: Regenerated with automake 1.11.6. 1392 * aclocal.m4: Likewise. 1393 13942016-04-14 Andrew Burgess <andrew.burgess@embecosm.com> 1395 1396 * testsuite/ld-arc/arc.exp: New file. 1397 * testsuite/ld-arc/nps-1.s: New file. 1398 * testsuite/ld-arc/nps-1a.d: New file. 1399 * testsuite/ld-arc/nps-1b.d: New file. 1400 * testsuite/ld-arc/nps-1b.err: New file. 1401 14022016-04-14 Nick Clifton <nickc@redhat.com> 1403 1404 PR 19457 1405 * testsuite/ld-scripts/script.exp (extract_symbol_test): Add 1406 exceptions for Mingw and Cygwin. 1407 14082016-04-13 Andrew Burgess <andrew.burgess@embecosm.com> 1409 1410 * testsuite/lib/ld-lib.exp (run_dump_test): Initialise 1411 check_ld(terminal). 1412 14132016-04-13 H.J. Lu <hongjiu.lu@intel.com> 1414 1415 PR ld/19774 1416 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before 1417 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed 1418 tests. 1419 14202016-04-11 H.J. Lu <hongjiu.lu@intel.com> 1421 1422 PR ld/19939 1423 * testsuite/ld-i386/i386.exp: Run PR ld/19939 tests. 1424 * testsuite/ld-x86-64/x86-64.exp: Likewise. 1425 * testsuite/ld-i386/pr19939.s: New file. 1426 * testsuite/ld-i386/pr19939a.d: Likewise. 1427 * testsuite/ld-i386/pr19939b.d: Likewise. 1428 * testsuite/ld-x86-64/pr19939.s: Likewise. 1429 * testsuite/ld-x86-64/pr19939a.d: Likewise. 1430 * testsuite/ld-x86-64/pr19939b.d: Likewise. 1431 14322016-04-09 Oleg Endo <olegendo@gcc.gnu.org> 1433 1434 * emulparams/shelf.sh: Set stack area to 0x3FFFFF00. 1435 14362016-04-08 Alan Modra <amodra@gmail.com> 1437 1438 PR 18452 1439 * ldlang.c (maybe_overlays): Delete. 1440 (lang_size_sections_1): Remove code setting maybe_overlays. 1441 (lang_check_section_addresses): Instead detect overlays by 1442 exact match of section VMAs here. Fix memory leak. 1443 14442016-04-08 Dan Gisselquist <dgisselq@ieee.org> 1445 1446 * ldlang.c (print_output_section_statement): Show minfo size 1447 in target machine address units. 1448 (print_reloc_statement): Likewise. 1449 (print_padding_statement): Likewise. 1450 (print_data_statement): Likewise. Ensure minimum print_dot 1451 increment of one address unit. 1452 14532016-04-07 Andrew Burgess <andrew.burgess@embecosm.com> 1454 1455 * emulparams/arc-endianness.sh: Make little endian default choice. 1456 14572016-04-07 Nick Clifton <nickc@redhat.com> 1458 1459 * scripttempl/elf32msp430.sc (.MSP430.attributes): Fix typo in 1460 section name. 1461 * scripttempl/elf32msp430_3.sc (.MSP430.attributes): Likewise. 1462 14632016-04-05 Andrew Burgess <andrew.burgess@embecosm.com> 1464 1465 * emulparams/arc-endianness.sh: New file. 1466 * emulparams/arcebelf.sh: Deleted. 1467 * emulparams/arcebelf_prof.sh: Deleted. 1468 * emulparams/arceblinux.sh: Deleted. 1469 * emulparams/arceblinux_prof.sh: Deleted. 1470 * emulparams/arcelf.sh: Include arc-endinness.sh. 1471 * emulparams/arcelf_prof.sh: Include arc-endinness.sh. 1472 * emulparams/arclinux.sh: Include arc-endinness.sh. 1473 * emulparams/arclinux_prof.sh: Include arc-endinness.sh. 1474 * emulparams/arcv2elf.sh: Include arc-endinness.sh. 1475 * emulparams/arcv2elfx.sh: Include arc-endinness.sh. 1476 * testsuite/ld-elf/compressed1d.d: Update pattern for big and 1477 little endian arc targets. 1478 * testsuite/ld-elf/eh-frame-hdr.d: Likewise. 1479 * testsuite/ld-elf/group1.d: Likewise. 1480 * testsuite/ld-elf/group3b.d: Likewise. 1481 * testsuite/ld-elf/group8a.d: Likewise. 1482 * testsuite/ld-elf/group8b.d: Likewise. 1483 * testsuite/ld-elf/group9a.d: Likewise. 1484 * testsuite/ld-elf/group9b.d: Likewise. 1485 * testsuite/ld-elf/linkonce2.d: Likewise. 1486 * testsuite/ld-elf/pr12851.d: Likewise. 1487 * testsuite/ld-elf/pr12975.d: Likewise. 1488 * testsuite/ld-elf/pr13177.d: Likewise. 1489 * testsuite/ld-elf/pr13195.d: Likewise. 1490 * testsuite/ld-elf/pr17615.d: Likewise. 1491 * testsuite/ld-elf/pr19162.d: Likewise. 1492 * testsuite/ld-elf/sec64k.exp: Likewise. 1493 * testsuite/lib/ld-lib.exp: Likewise. 1494 14952016-04-05 Maciej W. Rozycki <macro@imgtec.com> 1496 1497 PR ld/19908 1498 * testsuite/ld-cris/tls-e-20.d: Adjust for hidden symbol 1499 handling fix. 1500 * testsuite/ld-cris/tls-e-20a.d: Likewise. 1501 * testsuite/ld-cris/tls-e-21.d: Likewise. 1502 * testsuite/ld-cris/tls-e-23.d: Likewise. 1503 * testsuite/ld-cris/tls-e-80.d: Likewise. 1504 * testsuite/ld-cris/tls-gd-3h.d: Likewise. 1505 * testsuite/ld-cris/tls-leie-19.d: Likewise. 1506 * testsuite/ld-mips-elf/export-class-ref-lib.sd: New test. 1507 * testsuite/ld-mips-elf/export-hidden-ref.sd: New test. 1508 * testsuite/ld-mips-elf/export-internal-ref.sd: New test. 1509 * testsuite/ld-mips-elf/export-protected-ref.sd: New test. 1510 * testsuite/ld-mips-elf/export-class-ref-f0.s: New test source. 1511 * testsuite/ld-mips-elf/export-class-ref-f1.s: New test source. 1512 * testsuite/ld-mips-elf/export-class-ref-f2.s: New test source. 1513 * testsuite/ld-mips-elf/mips-elf.exp: Run the new tests. 1514 15152016-04-05 Cupertino Miranda <cmiranda@synopsys.com> 1516 1517 * testsuite/ld-discard/extern.d: Removed xfail for ARC. 1518 * testsuite/ld-discard/start.d: Likewise. 1519 * testsuite/ld-discard/static.d: Likewise. 1520 * testsuite/ld-elf/group1.d: Likewise. 1521 * testsuite/ld-elf/group3b.d: Likewise. 1522 * testsuite/ld-elf/orphan-region.d: Likewise. 1523 * testsuite/ld-elf/orphan.d: Likewise. 1524 * testsuite/ld-elf/orphan3.d: Likewise. 1525 * testsuite/ld-elf/pr349.d: Likewise. 1526 * testsuite/ld-elf/warn1.d: Likewise. 1527 * testsuite/ld-elf/warn2.d: Likewise. 1528 * testsuite/ld-elf/warn3.d: Likewise. 1529 * testsuite/ld-scripts/crossref.exp: Add __SDATA_BEGIN__ symbol 1530 through linker flags. 1531 * testsuite/ld-srec/srec.exp: Set as xfail. 1532 15332016-04-04 H.J. Lu <hongjiu.lu@intel.com> 1534 1535 PR ld/19827 1536 * testsuite/ld-i386/pr19827-nacl.rd: New file. 1537 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise. 1538 15392016-04-04 Nick Clifton <nickc@redhat.com> 1540 1541 PR 19803 1542 * emultempl/pe.em (change_undef): New function. Encapsulates 1543 duplicated code in pe_fixup_stdcalls and adds the newly defined 1544 sym to the gc root list. 1545 (pe_fixup_stdcall): Use the new function. 1546 * pe-dll.c (process_def_file_and_drectve); Add alias of exported 1547 symbol to gc root list. 1548 15492016-03-31 Alan Modra <amodra@gmail.com> 1550 1551 * ldlang.c (TO_ADDR, TO_SIZE, opb_shift): Move earlier in file. 1552 (lang_insert_orphan): Use TO_ADDR in __stop sym calculation. 1553 (print_input_section): Don't use TO_ADDR when printing section 1554 size. 1555 (lang_size_sections_1): Use TO_ADDR in overlay lma calculation. 1556 (lang_size_sections): Use TO_ADDR in relro end calculation. 1557 15582016-03-30 Andrew Burgess <andrew.burgess@embecosm.com> 1559 1560 * testsuite/lib/ld-lib.exp (run_dump_test): Fix check of return 1561 value from regexp_diff. 1562 * testsuite/ld-elf/orphan-5.l: Fix expected output. 1563 * testsuite/ld-elf/orphan-6.l: Likewise. 1564 15652016-03-30 Alan Modra <amodra@gmail.com> 1566 1567 PR 18452 1568 * ldlang.c (maybe_overlays): New static var. 1569 (lang_size_sections_1): Set it here. 1570 (struct check_sec): New. 1571 (sort_sections_by_lma): Adjust for array of structs. 1572 (sort_sections_by_vma): New function. 1573 (lang_check_section_addresses): Check both LMA and VMA for overlap. 1574 * testsuite/ld-scripts/rgn-over7.d: Adjust. 1575 15762016-03-30 Alan Modra <amodra@gmail.com> 1577 1578 * ldlang.c (lang_size_sections_1): Correct code detecting a 1579 backward non-overlapping move. 1580 15812016-03-30 Alan Modra <amodra@gmail.com> 1582 1583 * ldlang.c (IS_TBSS): New macro, extracted from.. 1584 (IGNORE_SECTION): ..here. 1585 (lang_size_sections_1): Use IS_TBSS and IGNORE_SECTION. 1586 (lang_size_sections, lang_do_assignments_1): Use IS_TBSS. 1587 15882016-03-22 Nick Clifton <nickc@redhat.com> 1589 1590 PR ld/19803 1591 * ldlang.c (lang_add_gc_name): New function. Adds the provided 1592 symbol name to the list of gc symbols. 1593 (lang_process): Call lang_add_gc_name with entry_symbol_default if 1594 entry_symbol.name is NULL. Use lang_add_gc_name to add the init 1595 and fini function names. 1596 * pe-dll.c (process_def_file_and_drectve): Add exported names to 1597 the gc symbol list. 1598 * testsuite/ld-pe/pr19803.s: Do not export _testval symbol. 1599 * testsuite/ld-pe/pr19803.d: Tweak expected output. 1600 16012016-03-22 Nick Clifton <nickc@redhat.com> 1602 1603 * configure: Regenerate. 1604 16052016-03-21 Nick Clifton <nickc@redhat.com> 1606 1607 * emultempl/msp430.em: Replace use of alloca with call to xmalloc. 1608 * plugin.c: Likewise. 1609 * pe-dll.c: Likewise. 1610 16112016-03-18 Awson <kyrab@mail.ru> 1612 1613 PR 19531 1614 * scripttempl/pe.sc (.rdata_runtime_pseudo_reloc): Always KEEP 1615 this section. 1616 * scripttempl/pep.sc (.rdata_runtime_pseudo_reloc): Likewise. 1617 16182016-03-18 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1619 1620 * ld-avr/gc-section-debugline.d: Relax regex check for CU. 1621 16222016-03-15 H.J. Lu <hongjiu.lu@intel.com> 1623 1624 PR ld/19827 1625 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests. 1626 * testsuite/ld-x86-64/x86-64.exp: Likewise. 1627 * testsuite/ld-i386/pr19827.rd: New file. 1628 * testsuite/ld-i386/pr19827a.S: Likewise. 1629 * testsuite/ld-i386/pr19827b.S: Likewise. 1630 * testsuite/ld-x86-64/pr19827.rd: Likewise. 1631 * testsuite/ld-x86-64/pr19827a.S: Likewise. 1632 * testsuite/ld-x86-64/pr19827b.S: Likewise. 1633 16342016-03-15 H.J. Lu <hongjiu.lu@intel.com> 1635 1636 PR ld/19807 1637 * Makefile.am (ELF_X86_DEPS): Add 1638 $(srcdir)/emulparams/reloc_overflow.sh. 1639 * Makefile.in: Regenerated. 1640 * NEWS: Mention -z noreloc-overflow. 1641 * ld.texinfo: Document -z noreloc-overflow. 1642 * emulparams/elf32_x86_64.sh: Source 1643 ${srcdir}/emulparams/reloc_overflow.sh. 1644 * emulparams/elf_x86_64.sh: Likewise. 1645 * emulparams/reloc_overflow.sh: New file. 1646 * testsuite/ld-x86-64/pr19807-1.s: New file. 1647 * testsuite/ld-x86-64/pr19807-1a.d: Likewise. 1648 * testsuite/ld-x86-64/pr19807-1b.d: Likewise. 1649 * testsuite/ld-x86-64/pr19807-2.s: Likewise. 1650 * testsuite/ld-x86-64/pr19807-2a.d: Likewise. 1651 * testsuite/ld-x86-64/pr19807-2b.d: Likewise. 1652 * testsuite/ld-x86-64/pr19807-2c.d: Likewise. 1653 * testsuite/ld-x86-64/pr19807-2d.d: Likewise. 1654 * testsuite/ld-x86-64/pr19807-2e.d: Likewise. 1655 * testsuite/ld-x86-64/x86-64.exp: Run PR ld/19807 tests. 1656 16572016-03-13 H.J. Lu <hongjiu.lu@intel.com> 1658 1659 PR ld/19539 1660 * testsuite/ld-i386/i386.exp: Run pr19539. 1661 * testsuite/ld-i386/pr19539.d: New file. 1662 * testsuite/ld-i386/pr19539.s: Likewise. 1663 * testsuite/ld-i386/pr19539.t: Likewise. 1664 * testsuite/ld-x86-64/pr19539.s: Likewise. 1665 * testsuite/ld-x86-64/pr19539.t: Likewise. 1666 * testsuite/ld-x86-64/pr19539a.d: Likewise. 1667 * testsuite/ld-x86-64/pr19539b.d: Likewise. 1668 * testsuite/ld-x86-64/x86-64.exp: Run pr19539a and pr19539b. 1669 16702016-03-10 Mickael Guene <mickael.guene@st.com> 1671 1672 PR gas/19744 1673 * testsuite/ld-arm/arm-elf.exp: New tests. 1674 * testsuite/ld-arm/thumb1-adds-armv7-m.s: New. 1675 * testsuite/ld-arm/thumb1-movs-armv7-m.s: New. 1676 16772016-03-10 Nick Clifton <nickc@redhat.com> 1678 1679 * scripttempl/elf32msp430.sc (.rodata): Remove spurious LONG(0). 1680 16812016-03-09 Pedro Alves <palves@redhat.com> 1682 1683 * scripttempl/v850.sc: Use "v850:old-gcc-abi" as OUTPUT_ARCH. 1684 * scripttempl/v850_rh850.sc: Use "v850:rh850" as OUTPUT_ARCH. 1685 16862016-03-08 H.J. Lu <hongjiu.lu@intel.com> 1687 1688 PR ld/19789 1689 * testsuite/ld-elf/pr19789.d: New file. 1690 * testsuite/ld-elf/pr19789.s: Likewise. 1691 16922016-03-08 H.J. Lu <hongjiu.lu@intel.com> 1693 1694 PR ld/19784 1695 * testsuite/ld-i386/i386.exp: Remove pr19636-2e-nacl test. 1696 * testsuite/ld-i386/pr19636-2e-nacl.d: Moved to ... 1697 * testsuite/ld-i386/pr19636-2e.d: Here. Remove notarget. 1698 * testsuite/ld-ifunc/ifunc.exp: Run PR ld/19784 tests. 1699 * testsuite/ld-ifunc/pass.out: New file. 1700 * testsuite/ld-ifunc/pr19784a.c: Likewise. 1701 * testsuite/ld-ifunc/pr19784b.c: Likewise. 1702 * testsuite/ld-ifunc/pr19784c.c: Likewise. 1703 17042016-03-08 H.J. Lu <hongjiu.lu@intel.com> 1705 1706 PR ld/19774 1707 * testsuite/ld-ifunc/ifunc.exp: Link tmpdir/pr18808a.o before 1708 tmpdir/libpr18808.so. Link tmpdir/pr18841a.o before 1709 tmpdir/libpr18841b.so and tmpdir/libpr18841c.so. Test 1710 --as-needed for pr18841c. 1711 17122016-03-07 H.J. Lu <hongjiu.lu@intel.com> 1713 1714 PR ld/19774 1715 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before 1716 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o 1717 before tmpdir/got1d.so and test --as-needed. 1718 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before 1719 tmpdir/pr18900.so and test --as-needed. 1720 17212016-03-07 Jiong Wang <jiong.wang@arm.com> 1722 1723 * testsuite/ld-aarch64/implicit_got_section_1.s: New test source file. 1724 * testsuite/ld-aarch64/implicit_got_section_1.d: New test expected 1725 result. 1726 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test. 1727 17282016-03-06 H.J. Lu <hongjiu.lu@intel.com> 1729 1730 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o 1731 before tmpdir/copyreloc-lib.so and test --as-needed. 1732 * testsuite/ld-x86-64/x86-64.exp: Likewise. 1733 17342016-03-04 H.J. Lu <hongjiu.lu@intel.com> 1735 1736 PR ld/19579 1737 * testsuite/ld-elf/pr19579a.c: New file. 1738 * testsuite/ld-elf/pr19579b.c: Likewise. 1739 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test. 1740 17412016-03-02 H.J. Lu <hongjiu.lu@intel.com> 1742 1743 * testsuite/ld-elf/pr19162.d: Skip hppa-*-*. 1744 17452016-03-02 H.J. Lu <hongjiu.lu@intel.com> 1746 1747 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): Add xfails. 1748 Xfail mix_pic_and_non_pic on "arm*-*-*" "aarch64*-*-*". 1749 17502016-03-02 H.J. Lu <hongjiu.lu@intel.com> 1751 1752 PR ld/19739 1753 * emultempl/mmo.em (mmo_place_orphan): Don't merge flags of other 1754 input sections for relocatable link. 1755 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 1756 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 1757 17582016-03-01 H.J. Lu <hongjiu.lu@intel.com> 1759 1760 PR ld/19739 1761 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't 1762 merge flags of other input sections for relocatable link. 1763 17642016-03-01 H.J. Lu <hongjiu.lu@intel.com> 1765 1766 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6. 1767 17682016-03-01 H.J. Lu <hongjiu.lu@intel.com> 1769 1770 * testsuite/ld-elf/pr19162.d: Skip arc target. 1771 17722016-02-29 H.J. Lu <hongjiu.lu@intel.com> 1773 1774 PR ld/19162 1775 * testsuite/ld-elf/pr19162.d: New file. 1776 * testsuite/ld-elf/pr19162a.s: Likwise. 1777 * testsuite/ld-elf/pr19162b.s: Likwise. 1778 17792016-02-29 Cupertino Miranda <cmiranda@synopsys.com> 1780 1781 * testsuite/ld-elf/merge.d: Removed xfail for ARC. 1782 * testsuite/ld-elf/merge2.d: Likewise. 1783 * testsuite/ld-elf/merge3.d: Likewise. 1784 17852016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com> 1786 1787 * scripttempl/arclinux.sc: Force .tdata and .tbss to always be 1788 generated. 1789 17902016-02-26 Renlin Li <renlin.li@arm.com> 1791 1792 * testsuite/ld-aarch64/aarch64-elf.exp: Run new testcases. 1793 * testsuite/ld-aarch64/emit-relocs-270.d: Update to use new boundary. 1794 * testsuite/ld-aarch64/emit-relocs-271.d: Likewise. 1795 * testsuite/ld-aarch64/emit-relocs-272.d: Likewise. 1796 * testsuite/ld-aarch64/emit-relocs-270-overflow.d: New. 1797 * testsuite/ld-aarch64/emit-relocs-270-overflow.s: New. 1798 * testsuite/ld-aarch64/emit-relocs-271-overflow.d: New. 1799 * testsuite/ld-aarch64/emit-relocs-271-overflow.s: New. 1800 * testsuite/ld-aarch64/emit-relocs-272-overflow.d: New. 1801 * testsuite/ld-aarch64/emit-relocs-272-overflow.s: New. 1802 18032016-02-26 H.J. Lu <hongjiu.lu@intel.com> 1804 1805 PR ld/19609 1806 * testsuite/ld-i386/got1.dd: Updated. 1807 * testsuite/ld-i386/lea1c.d: Likewise. 1808 * testsuite/ld-i386/load1-nacl.d: Likewise. 1809 * testsuite/ld-i386/load1.d: Likewise. 1810 * testsuite/ld-i386/load4b.d: Likewise. 1811 * testsuite/ld-i386/load5b.d: Likewise. 1812 * testsuite/ld-i386/mov1b.d: Likewise. 1813 * testsuite/ld-x86-64/mov1b.d: Likewise. 1814 * testsuite/ld-x86-64/mov1d.d: Likewise. 1815 * testsuite/ld-ifunc/ifunc-21-i386.d: Likewise. 1816 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. 1817 * testsuite/ld-ifunc/ifunc-22-i386.d: Likewise. 1818 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. 1819 * testsuite/ld-x86-64/gotpcrel1.dd: Likewise. 1820 * testsuite/ld-x86-64/lea1a.d: Likewise. 1821 * testsuite/ld-x86-64/lea1b.d: Likewise. 1822 * testsuite/ld-x86-64/lea1c.d: Likewise. 1823 * testsuite/ld-x86-64/lea1d.d: Likewise. 1824 * testsuite/ld-x86-64/lea1e.d: Likewise. 1825 * testsuite/ld-x86-64/lea1f.d: Likewise. 1826 * testsuite/ld-x86-64/mov1b.d: Likewise. 1827 * testsuite/ld-x86-64/mov1d.d: Likewise. 1828 * testsuite/ld-x86-64/pr13082-3b.d: Likewise. 1829 * testsuite/ld-x86-64/pr13082-4b.d: Likewise. 1830 * testsuite/ld-x86-64/lea1.s: Add tests for 32-bit registers. 1831 * testsuite/ld-i386/pr19609-1.s: New file. 1832 * testsuite/ld-i386/pr19609-1a.d: Likewise. 1833 * testsuite/ld-i386/pr19609-1b.d: Likewise. 1834 * testsuite/ld-i386/pr19609-1c.d: Likewise. 1835 * testsuite/ld-i386/pr19609-1d.d: Likewise. 1836 * testsuite/ld-i386/pr19609-1e.d: Likewise. 1837 * testsuite/ld-i386/pr19609-1f.d: Likewise. 1838 * testsuite/ld-i386/pr19609-1g.d: Likewise. 1839 * testsuite/ld-i386/pr19609-1h.d: Likewise. 1840 * testsuite/ld-i386/pr19609-1i.d: Likewise. 1841 * testsuite/ld-i386/pr19609-2.s: Likewise. 1842 * testsuite/ld-i386/pr19609-2a.d: Likewise. 1843 * testsuite/ld-i386/pr19609-2b.d: Likewise. 1844 * testsuite/ld-i386/pr19609-2c.d: Likewise. 1845 * testsuite/ld-i386/undefweak.s: Likewise. 1846 * testsuite/ld-i386/undefweaka.d: Likewise. 1847 * testsuite/ld-i386/undefweakb.d: Likewise. 1848 * testsuite/ld-x86-64/pr13082-3c.d: Likewise. 1849 * testsuite/ld-x86-64/pr13082-3d.d: Likewise. 1850 * testsuite/ld-x86-64/pr19609-1.s: Likewise. 1851 * testsuite/ld-x86-64/pr19609-1a.d: Likewise. 1852 * testsuite/ld-x86-64/pr19609-1b.d: Likewise. 1853 * testsuite/ld-x86-64/pr19609-1c.d: Likewise. 1854 * testsuite/ld-x86-64/pr19609-1d.d: Likewise. 1855 * testsuite/ld-x86-64/pr19609-1e.d: Likewise. 1856 * testsuite/ld-x86-64/pr19609-1f.d: Likewise. 1857 * testsuite/ld-x86-64/pr19609-1g.d: Likewise. 1858 * testsuite/ld-x86-64/pr19609-1h.d: Likewise. 1859 * testsuite/ld-x86-64/pr19609-1i.d: Likewise. 1860 * testsuite/ld-x86-64/pr19609-1j.d: Likewise. 1861 * testsuite/ld-x86-64/pr19609-1k.d: Likewise. 1862 * testsuite/ld-x86-64/pr19609-1l.d: Likewise. 1863 * testsuite/ld-x86-64/pr19609-1m.d: Likewise. 1864 * testsuite/ld-x86-64/pr19609-2.s: Likewise. 1865 * testsuite/ld-x86-64/pr19609-2a.d: Likewise. 1866 * testsuite/ld-x86-64/pr19609-2b.d: Likewise. 1867 * testsuite/ld-x86-64/pr19609-2c.d: Likewise. 1868 * testsuite/ld-x86-64/pr19609-2d.d: Likewise. 1869 * testsuite/ld-x86-64/pr19609-3.s: Likewise. 1870 * testsuite/ld-x86-64/pr19609-3a.d: Likewise. 1871 * testsuite/ld-x86-64/pr19609-3b.d: Likewise. 1872 * testsuite/ld-x86-64/pr19609-4.s: Likewise. 1873 * testsuite/ld-x86-64/pr19609-4a.d: Likewise. 1874 * testsuite/ld-x86-64/pr19609-4b.d: Likewise. 1875 * testsuite/ld-x86-64/pr19609-4c.d: Likewise. 1876 * testsuite/ld-x86-64/pr19609-4d.d: Likewise. 1877 * testsuite/ld-x86-64/pr19609-4e.d: Likewise. 1878 * testsuite/ld-x86-64/pr19609-5.s: Likewise. 1879 * testsuite/ld-x86-64/pr19609-5a.d: Likewise. 1880 * testsuite/ld-x86-64/pr19609-5b.d: Likewise. 1881 * testsuite/ld-x86-64/pr19609-5c.d: Likewise. 1882 * testsuite/ld-x86-64/pr19609-5d.d: Likewise. 1883 * testsuite/ld-x86-64/pr19609-5e.d: Likewise. 1884 * testsuite/ld-x86-64/pr19609-6.s: Likewise. 1885 * testsuite/ld-x86-64/pr19609-6a.d: Likewise. 1886 * testsuite/ld-x86-64/pr19609-6b.d: Likewise. 1887 * testsuite/ld-x86-64/pr19609-6c.d: Likewise. 1888 * testsuite/ld-x86-64/pr19609-6d.d: Likewise. 1889 * testsuite/ld-x86-64/pr19609-7.s: Likewise. 1890 * testsuite/ld-x86-64/pr19609-7a.d: Likewise. 1891 * testsuite/ld-x86-64/pr19609-7b.d: Likewise. 1892 * testsuite/ld-x86-64/pr19609-7c.d: Likewise. 1893 * testsuite/ld-x86-64/pr19609-7d.d: Likewise. 1894 * testsuite/ld-i386/i386.exp: Run undefweak tests and tests for 1895 PR ld/19609. 1896 * testsuite/ld-x86-64/x86-64.exp: Run pr13082-3c, pr13082-3d 1897 and tests for PR ld/19609. 1898 18992016-02-26 H.J. Lu <hongjiu.lu@intel.com> 1900 1901 PR ld/19645 1902 * NEWS: Mention -z common/-z nocommon for ELF targets. 1903 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle 1904 -z common and -z nocommon. 1905 * ld.texinfo: Document -z common/-z nocommon. 1906 * lexsup.c (elf_shlib_list_options): Add -z common/-z nocommon. 1907 * testsuite/ld-elf/tls_common.exp: Test --elf-stt-common=no and 1908 --elf-stt-common=yes with assembler. 1909 * testsuite/ld-elfcomm/common-1.s: New file. 1910 * testsuite/ld-elfcomm/common-1a.d: Likewise. 1911 * testsuite/ld-elfcomm/common-1b.d: Likewise. 1912 * testsuite/ld-elfcomm/common-1c.d: Likewise. 1913 * testsuite/ld-elfcomm/common-1d.d: Likewise. 1914 * testsuite/ld-elfcomm/common-1e.d: Likewise. 1915 * testsuite/ld-elfcomm/common-1f.d: Likewise. 1916 * testsuite/ld-elfcomm/common-2.s: Likewise. 1917 * testsuite/ld-elfcomm/common-2a.d: Likewise. 1918 * testsuite/ld-elfcomm/common-2b.d: Likewise. 1919 * testsuite/ld-elfcomm/common-2c.d: Likewise. 1920 * testsuite/ld-elfcomm/common-2d.d: Likewise. 1921 * testsuite/ld-elfcomm/common-2e.d: Likewise. 1922 * testsuite/ld-elfcomm/common-2f.d: Likewise. 1923 * testsuite/ld-elfcomm/common-3a.rd: Likewise. 1924 * testsuite/ld-elfcomm/common-3b.rd: Likewise. 1925 * testsuite/ld-i386/pr19645.d: Likewise. 1926 * testsuite/ld-i386/pr19645.s: Likewise. 1927 * testsuite/ld-x86-64/largecomm-1.s: Likewise. 1928 * testsuite/ld-x86-64/largecomm-1a.d: Likewise. 1929 * testsuite/ld-x86-64/largecomm-1b.d: Likewise. 1930 * testsuite/ld-x86-64/largecomm-1c.d: Likewise. 1931 * testsuite/ld-x86-64/largecomm-1d.d: Likewise. 1932 * testsuite/ld-x86-64/largecomm-1e.d: Likewise. 1933 * testsuite/ld-x86-64/largecomm-1f.d: Likewise. 1934 * testsuite/ld-x86-64/pr19645.d: Likewise. 1935 * testsuite/ld-x86-64/pr19645.s: Likewise. 1936 * testsuite/ld-elfcomm/elfcomm.exp: Test --elf-stt-common=yes 1937 with assembler. 1938 (assembler_generates_commons): Removed. 1939 Run -z common/-z nocommon tests. Run *.d tests. 1940 * testsuite/ld-i386/i386.exp: Run pr19645. 1941 * testsuite/ld-x86-64/x86-64.exp: Likewise. 1942 * testsuite/ld-x86-64/dwarfreloc.exp: Test --elf-stt-common with 1943 assembler. Test STT_COMMON with readelf. 1944 19452016-02-26 H.J. Lu <hongjiu.lu@intel.com> 1946 1947 PR ld/19636 1948 PR ld/19704 1949 PR ld/19719 1950 * Makefile.am (ELF_X86_DEPS): Add dynamic_undefined_weak.sh. 1951 * Makefile.in: Regenerated. 1952 * NEWS: Mention -z nodynamic-undefined-weak. 1953 * ld.texinfo: Document -z nodynamic-undefined-weak. 1954 * ldmain.c (main): Initialize dynamic_undefined_weak to -1. 1955 * emulparams/dynamic_undefined_weak.sh: New file. 1956 * emulparams/elf32_x86_64.sh: Source dynamic_undefined_weak.sh. 1957 * emulparams/elf_i386.sh: Likewise. 1958 * emulparams/elf_i386_be.sh: Likewise. 1959 * emulparams/elf_i386_chaos.sh: Likewise. 1960 * emulparams/elf_i386_ldso.sh: Likewise. 1961 * emulparams/elf_i386_vxworks.sh: Likewise. 1962 * emulparams/elf_iamcu.sh: Likewise. 1963 * emulparams/elf_k1om.sh: Likewise. 1964 * emulparams/elf_l1om.sh: Likewise. 1965 * emulparams/elf_x86_64.sh: Likewise. 1966 * emulparams/extern_protected_data.sh (PARSE_AND_LIST_OPTIONS): 1967 Append. 1968 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise. 1969 * testsuite/ld-elf/pr19719a.c: New file. 1970 * testsuite/ld-elf/pr19719b.c: Likewise. 1971 * testsuite/ld-elf/pr19719c.c: Likewise. 1972 * testsuite/ld-elf/pr19719d.c: Likewise. 1973 * testsuite/ld-i386/pr19636-1.s: Likewise. 1974 * testsuite/ld-i386/pr19636-1a.d: Likewise. 1975 * testsuite/ld-i386/pr19636-1b.d: Likewise. 1976 * testsuite/ld-i386/pr19636-1c.d: Likewise. 1977 * testsuite/ld-i386/pr19636-1d-nacl.d: Likewise. 1978 * testsuite/ld-i386/pr19636-1d.d: Likewise. 1979 * testsuite/ld-i386/pr19636-1e.d: Likewise. 1980 * testsuite/ld-i386/pr19636-1f.d: Likewise. 1981 * testsuite/ld-i386/pr19636-1g.d: Likewise. 1982 * testsuite/ld-i386/pr19636-1h.d: Likewise. 1983 * testsuite/ld-i386/pr19636-1i.d: Likewise. 1984 * testsuite/ld-i386/pr19636-2.s: Likewise. 1985 * testsuite/ld-i386/pr19636-2a.d: Likewise. 1986 * testsuite/ld-i386/pr19636-2b.d: Likewise. 1987 * testsuite/ld-i386/pr19636-2c-nacl.d: Likewise. 1988 * testsuite/ld-i386/pr19636-2c.d: Likewise. 1989 * testsuite/ld-i386/pr19636-2d-nacl.d: Likewise. 1990 * testsuite/ld-i386/pr19636-2d.d: Likewise. 1991 * testsuite/ld-i386/pr19636-2e-nacl.d: Likewise. 1992 * testsuite/ld-i386/pr19636-2e.d: Likewise. 1993 * testsuite/ld-i386/pr19636-3.s: Likewise. 1994 * testsuite/ld-i386/pr19636-3a.d: Likewise. 1995 * testsuite/ld-i386/pr19636-3b.d: Likewise. 1996 * testsuite/ld-i386/pr19636-3c.d: Likewise. 1997 * testsuite/ld-i386/pr19636-3d.d: Likewise. 1998 * testsuite/ld-i386/pr19636-3e.d: Likewise. 1999 * testsuite/ld-i386/pr19636-3f.d: Likewise. 2000 * testsuite/ld-i386/pr19636-3g.d: Likewise. 2001 * testsuite/ld-i386/pr19636-4.s: Likewise. 2002 * testsuite/ld-i386/pr19636-4a.d: Likewise. 2003 * testsuite/ld-i386/pr19636-4b.d: Likewise. 2004 * testsuite/ld-i386/pr19636-4c.d: Likewise. 2005 * testsuite/ld-i386/pr19636-4d.d: Likewise. 2006 * testsuite/ld-i386/pr19704.out: Likewise. 2007 * testsuite/ld-i386/pr19704a.c: Likewise. 2008 * testsuite/ld-i386/pr19704b.c: Likewise. 2009 * testsuite/ld-x86-64/pr19636-1.s: Likewise. 2010 * testsuite/ld-x86-64/pr19636-1a.d: Likewise. 2011 * testsuite/ld-x86-64/pr19636-1b.d: Likewise. 2012 * testsuite/ld-x86-64/pr19636-1c.d: Likewise. 2013 * testsuite/ld-x86-64/pr19636-1d.d: Likewise. 2014 * testsuite/ld-x86-64/pr19636-1e.d: Likewise. 2015 * testsuite/ld-x86-64/pr19636-1f.d: Likewise. 2016 * testsuite/ld-x86-64/pr19636-1g.d: Likewise. 2017 * testsuite/ld-x86-64/pr19636-2.s: Likewise. 2018 * testsuite/ld-x86-64/pr19636-2a.d: Likewise. 2019 * testsuite/ld-x86-64/pr19636-2b.d: Likewise. 2020 * testsuite/ld-x86-64/pr19636-2c.d: Likewise. 2021 * testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise. 2022 * testsuite/ld-x86-64/pr19636-2d.d: Likewise. 2023 * testsuite/ld-x86-64/pr19636-2e.d: Likewise. 2024 * testsuite/ld-x86-64/pr19636-2f.d: Likewise. 2025 * testsuite/ld-x86-64/pr19636-2g.d: Likewise. 2026 * testsuite/ld-x86-64/pr19636-2h.d: Likewise. 2027 * testsuite/ld-x86-64/pr19636-2i.d: Likewise. 2028 * testsuite/ld-x86-64/pr19636-3.s: Likewise. 2029 * testsuite/ld-x86-64/pr19636-3a.d: Likewise. 2030 * testsuite/ld-x86-64/pr19636-3b.d: Likewise. 2031 * testsuite/ld-x86-64/pr19636-3c.d: Likewise. 2032 * testsuite/ld-x86-64/pr19636-3d.d: Likewise. 2033 * testsuite/ld-x86-64/pr19704.out: Likewise. 2034 * testsuite/ld-x86-64/pr19704a.c: Likewise. 2035 * testsuite/ld-x86-64/pr19704b.c: Likewise. 2036 * testsuite/ld-elf/shared.exp (mix_pic_and_non_pic): New. 2037 Run mix_pic_and_non_pic. 2038 * testsuite/ld-i386/i386.exp (undefined_weak): New. 2039 Run undefined_weak and PR ld/19636 tests. 2040 * testsuite/ld-x86-64/x86-64.exp: Likewise. 2041 * testsuite/ld-x86-64/pr13082-3b.d: Updated. 2042 * testsuite/ld-x86-64/pr13082-4b.d: Likewise. 2043 20442016-02-25 Nick Clifton <nickc@redhat.com> 2045 2046 * ld.h (struct ld_config_type): Remove specified_data_size field. 2047 20482016-02-24 H.J. Lu <hongjiu.lu@intel.com> 2049 2050 PR ld/19698 2051 * testsuite/ld-elf/pr19698.d: New file. 2052 * testsuite/ld-elf/pr19698.s: Likewise. 2053 * testsuite/ld-elf/pr19698.t: Likewise. 2054 20552016-02-23 H.J. Lu <hongjiu.lu@intel.com> 2056 2057 * Makefile.am (ELF_X86_DEPS): New. 2058 (eelf_i386.c): Replace $(ELF_DEPS) with $(ELF_X86_DEPS). 2059 (eelf_i386_chaos.c): Likewise. 2060 (eelf_i386_fbsd.c): Likewise. 2061 (eelf_i386_ldso.c): Likewise. 2062 (eelf_i386_nacl.c): Likewise. 2063 (eelf_i386_sol2.c): Likewise. 2064 (eelf_iamcu.c): Likewise. 2065 (eelf32_x86_64.c): Likewise. 2066 (eelf32_x86_64_nacl.c): Likewise. 2067 (eelf_l1om.c): Likewise. 2068 (eelf_l1om_fbsd.c): Likewise. 2069 (eelf_k1om.c): Likewise. 2070 (eelf_k1om_fbsd.c): Likewise. 2071 (eelf_x86_64.c): Likewise. 2072 (eelf_x86_64_cloudabi.c): Likewise. 2073 (eelf_x86_64_fbsd.c): Likewise. 2074 (eelf_x86_64_sol2.c): Likewise. 2075 * Makefile.in: Regenerated. 2076 20772016-02-23 H.J. Lu <hongjiu.lu@intel.com> 2078 2079 * testsuite/ld-frv/fdpic-pie-6.d: Updated. 2080 * testsuite/ld-mips-elf/pie-n32.d: Likewise. 2081 * testsuite/ld-mips-elf/pie-n64.d: Likewise. 2082 * testsuite/ld-mips-elf/pie-o32.d: Likewise. 2083 20842016-02-20 H.J. Lu <hongjiu.lu@intel.com> 2085 2086 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets. 2087 20882016-02-18 H.J. Lu <hongjiu.lu@intel.com> 2089 2090 * testsuite/ld-elf/pr19617a.d: Enable only for *-*-linux*, 2091 *-*-gnu* and *-*-solaris*. 2092 * testsuite/ld-elf/pr19617b.d: Likewise. 2093 * testsuite/ld-elf/pr19617c.d: Likewise. 2094 20952016-02-18 H.J. Lu <hongjiu.lu@intel.com> 2096 2097 PR ld/19617 2098 * testsuite/ld-elf/pr19617.s: New file. 2099 * testsuite/ld-elf/pr19617a.d: Likewise. 2100 * testsuite/ld-elf/pr19617b.d: Likewise. 2101 * testsuite/ld-elf/pr19617c.d: Likewise. 2102 21032016-02-18 Nick Clifton <nickc@redhat.com> 2104 2105 * Makefile.am (CXX_FOR_TARGET): Check for the presence of an 2106 in-tree xg++ executable after checking for the presence of an 2107 in-tree g++ executable. 2108 * Makefile.in: Regenerate. 2109 21102016-02-17 H.J. Lu <hongjiu.lu@intel.com> 2111 2112 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated. 2113 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. 2114 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. 2115 21162016-02-17 H.J. Lu <hongjiu.lu@intel.com> 2117 2118 * testsuite/ld-ifunc/ifunc-1-local-x86.d: Updated. 2119 * testsuite/ld-ifunc/ifunc-1-x86.d: Likewise. 2120 * testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise. 2121 * testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise. 2122 * testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise. 2123 * testsuite/ld-ifunc/pr17154-x86-64.d: Likewise. 2124 * testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise. 2125 * testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise. 2126 * testsuite/ld-x86-64/bnd-plt-1.d: Likewise. 2127 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise. 2128 * testsuite/ld-x86-64/ilp32-4.d: Likewise. 2129 * testsuite/ld-x86-64/load1c-nacl.d: Likewise. 2130 * testsuite/ld-x86-64/load1c.d: Likewise. 2131 * testsuite/ld-x86-64/load1d-nacl.d: Likewise. 2132 * testsuite/ld-x86-64/load1d.d: Likewise. 2133 * testsuite/ld-x86-64/pr14207.d: Likewise. 2134 * testsuite/ld-x86-64/pr19162.d: Likewise. 2135 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise. 2136 * testsuite/ld-x86-64/tlsdesc.rd: Likewise. 2137 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise. 2138 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise. 2139 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise. 2140 * testsuite/ld-x86-64/tlspic.rd: Likewise. 2141 21422016-02-17 Nick Clifton <nickc@redhat.com> 2143 2144 * testsuite/ld-elf/eh-frame-hdr.d: Skip for ARC ELF targets. 2145 21462016-02-15 Nick Clifton <nickc@redhat.com> 2147 2148 * testsuite/ld-i386/pr12718.d: Remove dependency upon the 2149 description of the flags produced by readelf. 2150 * testsuite/ld-i386/pr12921.d: Likewise. 2151 * testsuite/ld-i386/tlsbin-nacl.rd: Likewise. 2152 * testsuite/ld-i386/tlsbin.rd: Likewise. 2153 * testsuite/ld-i386/tlsbindesc-nacl.rd: Likewise. 2154 * testsuite/ld-i386/tlsbindesc.rd: Likewise. 2155 * testsuite/ld-i386/tlsdesc-nacl.rd: Likewise. 2156 * testsuite/ld-i386/tlsdesc.rd: Likewise. 2157 * testsuite/ld-i386/tlsgdesc-nacl.rd: Likewise. 2158 * testsuite/ld-i386/tlsgdesc.rd: Likewise. 2159 * testsuite/ld-i386/tlsnopic-nacl.rd: Likewise. 2160 * testsuite/ld-i386/tlsnopic.rd: Likewise. 2161 * testsuite/ld-i386/tlspic-nacl.rd: Likewise. 2162 * testsuite/ld-i386/tlspic.rd: Likewise. 2163 * testsuite/ld-s390/tlsbin.rd: Likewise. 2164 * testsuite/ld-s390/tlsbin_64.rd: Likewise. 2165 * testsuite/ld-s390/tlspic.rd: Likewise. 2166 * testsuite/ld-s390/tlspic_64.rd: Likewise. 2167 * testsuite/ld-sh/tlsbin-2.d: Likewise. 2168 * testsuite/ld-sh/tlspic-2.d: Likewise. 2169 * testsuite/ld-tic6x/common.d: Likewise. 2170 * testsuite/ld-tic6x/shlib-1.rd: Likewise. 2171 * testsuite/ld-tic6x/shlib-1b.rd: Likewise. 2172 * testsuite/ld-tic6x/shlib-1r.rd: Likewise. 2173 * testsuite/ld-tic6x/shlib-1rb.rd: Likewise. 2174 * testsuite/ld-tic6x/shlib-app-1.rd: Likewise. 2175 * testsuite/ld-tic6x/shlib-app-1b.rd: Likewise. 2176 * testsuite/ld-tic6x/shlib-app-1r.rd: Likewise. 2177 * testsuite/ld-tic6x/shlib-app-1rb.rd: Likewise. 2178 * testsuite/ld-tic6x/shlib-noindex.rd: Likewise. 2179 * testsuite/ld-tic6x/static-app-1.rd: Likewise. 2180 * testsuite/ld-tic6x/static-app-1b.rd: Likewise. 2181 * testsuite/ld-tic6x/static-app-1r.rd: Likewise. 2182 * testsuite/ld-tic6x/static-app-1rb.rd: Likewise. 2183 * testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise. 2184 * testsuite/ld-x86-64/ilp32-4.d: Likewise. 2185 * testsuite/ld-x86-64/pr12718.d: Likewise. 2186 * testsuite/ld-x86-64/pr12921.d: Likewise. 2187 * testsuite/ld-x86-64/split-by-file-nacl.rd: Likewise. 2188 * testsuite/ld-x86-64/split-by-file.rd: Likewise. 2189 * testsuite/ld-x86-64/tlsbin-nacl.rd: Likewise. 2190 * testsuite/ld-x86-64/tlsbin.rd: Likewise. 2191 * testsuite/ld-x86-64/tlsbindesc-nacl.rd: Likewise. 2192 * testsuite/ld-x86-64/tlsbindesc.rd: Likewise. 2193 * testsuite/ld-x86-64/tlsdesc-nacl.rd: Likewise. 2194 * testsuite/ld-x86-64/tlsdesc.rd: Likewise. 2195 * testsuite/ld-x86-64/tlsgdesc-nacl.rd: Likewise. 2196 * testsuite/ld-x86-64/tlsgdesc.rd: Likewise. 2197 * testsuite/ld-x86-64/tlspic-nacl.rd: Likewise. 2198 * testsuite/ld-x86-64/tlspic.rd: Likewise. 2199 * testsuite/ld-xtensa/tlsbin.rd: Likewise. 2200 * testsuite/ld-xtensa/tlspic.rd: Likewise. 2201 22022016-02-11 H.J. Lu <hongjiu.lu@intel.com> 2203 2204 PR ld/19615 2205 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for 2206 PIE. 2207 * lexsup.c (parse_args): Enable -Bsymbolic and 2208 -Bsymbolic-functions for PIE. 2209 * testsuite/ld-i386/i386.exp: Run pr19615. 2210 * testsuite/ld-i386/pr19615.d: New file. 2211 * testsuite/ld-i386/pr19615.s: Likewise. 2212 * testsuite/ld-x86-64/pr19615.d: Likewise. 2213 * testsuite/ld-x86-64/pr19615.s: Likewise. 2214 22152016-02-09 Nick Clifton <nickc@redhat.com> 2216 2217 * testsuite/ld-aarch64/reloc-overflow-bad.d: New test. 2218 * testsuite/ld-aarch64/reloc-overflow-1.s: New source file. 2219 * testsuite/ld-aarch64/reloc-overflow-2.s: New source file. 2220 * testsuite/ld-aarch64/aarch64-elf.exp: Run the new test. 2221 22222016-02-04 Nick Clifton <nickc@redhat.com> 2223 2224 * testsuite/ld-arm/arm-elf.exp: Remove ARM NOREAD section tests. 2225 * testsuite/ld-arm/thumb1-input-section-flag-match.d: Delete. 2226 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Delete. 2227 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.d: Delete. 2228 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: Delete. 2229 * testsuite/ld-arm/thumb1-noread-present-one-section.d: Delete. 2230 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Delete. 2231 * testsuite/ld-arm/thumb1-noread-present-two-section.d: Delete. 2232 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Delete. 2233 22342016-02-03 H.J. Lu <hongjiu.lu@intel.com> 2235 2236 PR gas/19520 2237 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as. 2238 * testsuite/ld-i386/call1.d: Likewise. 2239 * testsuite/ld-i386/call2.d: Likewise. 2240 * testsuite/ld-i386/call3a.d: Likewise. 2241 * testsuite/ld-i386/call3b.d: Likewise. 2242 * testsuite/ld-i386/call3c.d: Likewise. 2243 * testsuite/ld-i386/call3d.d: Likewise. 2244 * testsuite/ld-i386/call3e.d: Likewise. 2245 * testsuite/ld-i386/call3f.d: Likewise. 2246 * testsuite/ld-i386/call3g.d: Likewise. 2247 * testsuite/ld-i386/call3h.d: Likewise. 2248 * testsuite/ld-i386/jmp1.d: Likewise. 2249 * testsuite/ld-i386/jmp2.d: Likewise. 2250 * testsuite/ld-i386/lea1c.d: Likewise. 2251 * testsuite/ld-i386/load1.d: Likewise. 2252 * testsuite/ld-i386/load2.d: Likewise. 2253 * testsuite/ld-i386/load3.d: Likewise. 2254 * testsuite/ld-i386/load4a.d: Likewise. 2255 * testsuite/ld-i386/load5a.d: Likewise. 2256 * testsuite/ld-i386/mov2b.d: Likewise. 2257 * testsuite/ld-i386/mov3.d: Likewise. 2258 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. 2259 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. 2260 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise. 2261 * testsuite/ld-x86-64/call1a.d: Likewise. 2262 * testsuite/ld-x86-64/call1b.d: Likewise. 2263 * testsuite/ld-x86-64/call1c.d: Likewise. 2264 * testsuite/ld-x86-64/call1d.d: Likewise. 2265 * testsuite/ld-x86-64/call1e.d: Likewise. 2266 * testsuite/ld-x86-64/call1f.d: Likewise. 2267 * testsuite/ld-x86-64/call1h.d: Likewise. 2268 * testsuite/ld-x86-64/call1i.d: Likewise. 2269 * testsuite/ld-x86-64/load1a.d: Likewise. 2270 * testsuite/ld-x86-64/load1b.d: Likewise. 2271 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it. 2272 * testsuite/ld-i386/got1.dd: Updated. 2273 * testsuite/ld-i386/got1d.S (1): Removed. 2274 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes. 2275 * testsuite/ld-x86-64/x86-64.exp: Likewise. 2276 22772016-02-02 H.J. Lu <hongjiu.lu@intel.com> 2278 2279 PR ld/18591 2280 * testsuite/ld-x86-64/pr18591.d: New file. 2281 * testsuite/ld-x86-64/pr18591.s: Likewise. 2282 * testsuite/ld-x86-64/x86-64.exp: Run pr18591. 2283 22842016-02-01 H.J. Lu <hongjiu.lu@intel.com> 2285 2286 PR ld/19553 2287 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553. 2288 * testsuite/ld-elf/pr19553.map: New file. 2289 * testsuite/ld-elf/pr19553.map: Likewise. 2290 * testsuite/ld-elf/pr19553a.c: Likewise. 2291 * testsuite/ld-elf/pr19553b.c: Likewise. 2292 * testsuite/ld-elf/pr19553b.out: Likewise. 2293 * testsuite/ld-elf/pr19553c.c: Likewise. 2294 * testsuite/ld-elf/pr19553c.out: Likewise. 2295 * testsuite/ld-elf/pr19553d.c: Likewise. 2296 * testsuite/ld-elf/pr19553d.out: Likewise. 2297 22982016-01-30 H.J. Lu <hongjiu.lu@intel.com> 2299 2300 PR ld/19539 2301 * testsuite/ld-elf/pr19539.d: New file. 2302 * testsuite/ld-elf/pr19539.s: Likewise. 2303 * testsuite/ld-elf/pr19539.t: Likewise. 2304 23052016-01-29 H.J. Lu <hongjiu.lu@intel.com> 2306 2307 PR ld/19533 2308 * configure.ac (compressed_debug_sections): Replace == with =. 2309 * configure: Regenerated. 2310 23112016-01-22 Pitchumani Sivanupandi <pitchumani.s@atmel.com> 2312 2313 * scripttempl/avr.sc (.noinit): Force .noinit VMA to end of .bss VMA. 2314 * scripttempl/avrtiny.sc (.noinit): Likewise. 2315 23162016-01-21 Nick Clifton <nickc@redhat.com> 2317 2318 PR ld/19453 2319 * testsuite/ld-arm/arm-elf.exp: Skip tests that do not work for 2320 the arm-netbsdelf target. 2321 2322 PR ld/19455 2323 * testsuite/ld-arm/vxworks1-lib.dd: Update for current 2324 disassmebler output. 2325 * testsuite/ld-arm/vxworks1-lib.rd: Likewise. 2326 * testsuite/ld-arm/vxworks1.dd: Likewise. 2327 * testsuite/ld-arm/vxworks1.rd: Likewise. 2328 * testsuite/ld-arm/vxworks1.ld: Set the output format. 2329 23302016-01-20 Jiong Wang <jiong.wang@arm.com> 2331 2332 * testsuite/ld-aarch64/farcall-section.d: Delete. 2333 * testsuite/ld-aarch64/farcall-section.s: Delete. 2334 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file. 2335 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise. 2336 * testsuite/ld-aarch64/farcall-b-section.s: New testcase. 2337 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise. 2338 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise. 2339 23402016-01-20 Nick Clifton <nickc@redhat.com> 2341 2342 PR 19457 2343 * testsuite/ld-scripts/script.exp (extract_symbol_test): Stop test 2344 early for PE based targets. 2345 * testsuite/ld-scripts/align.t: Use 0x1000 as VMA alignment. 2346 * testsuite/ld-pe/tlssec32.d: Allow for relocatable output. 2347 23482016-01-20 Mickael Guene <mickael.guene@st.com> 2349 2350 * testsuite/ld-arm/thumb1-noread-not-present-mixing-two-section.s: 2351 Add 'y' attribute usage. 2352 * testsuite/ld-arm/thumb1-noread-present-one-section.s: Likewise. 2353 * testsuite/ld-arm/thumb1-noread-present-two-section.s: Likewise. 2354 * testsuite/ld-arm/thumb1-input-section-flag-match.s: Likewise. 2355 23562016-01-19 Nick Clifton <nickc@redhat.com> 2357 2358 * testsuite/ld-elf/pr18735.d: Allow for extra symbols between 2359 foo@FOO and bar@@FOO. 2360 23612016-01-18 Alan Modra <amodra@gmail.com> 2362 2363 * configure: Regenerate. 2364 23652016-01-18 Nick Clifton <nickc@redhat.com> 2366 2367 * testsuite/ld-plugin/plugin.exp: Skip plugin tests if the linker 2368 is not configured to support plugins. 2369 2370 * testsuite/ld-scripts/rgn-at11.s: New file - based on rgn-at10.s 2371 but with 16 byte section alignment. 2372 * testsuite/ld-scripts/rgn-at11.d: Use new source file. Reenable 2373 test for MIPS targets. 2374 23752016-01-17 Alan Modra <amodra@gmail.com> 2376 2377 * configure: Regenerate. 2378 23792016-01-17 Alan Modra <amodra@gmail.com> 2380 2381 * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate. 2382 * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate. 2383 * testsuite/ld-elf/pr14156a.d: Likewise. 2384 * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate. 2385 * testsuite/ld-elf/sec64k.exp: Likewise. 2386 23872016-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com> 2388 2389 * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)): 2390 Set address of .foo section when linking. 2391 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc 2392 in .foo section. 2393 * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected 2394 output to the above changes. 2395 23962016-01-13 Nick Clifton <nickc@redhat.com> 2397 2398 * testsuite/ld-elf/elf.exp (-Bymsolic-functions): Expect to fail 2399 for MIPS targets. 2400 2401 * testsuite/ld-scripts/script.exp (extract_symbol_test): Expect to 2402 fail for MIPS targets. 2403 2404 * testsuite/ld-scripts/rgn-at11.d: Expect this test to fail for 2405 MIPS targets. 2406 24072016-01-12 Yury Usishchev <y.usishchev@samsung.com> 2408 2409 * testsuite/ld-arm/arm-elf.exp: New test. 2410 * testsuite/ld-arm/unwind-mix.d: New file. 2411 * testsuite/ld-arm/unwind-mix1.s: New file. 2412 * testsuite/ld-arm/unwind-mix2.s: New file. 2413 24142016-01-08 Jiong Wang <jiong.wang@arm.com> 2415 2416 PR ld/19368 2417 * testsuite/ld-arm/ifunc-3.rd: Update expected result. 2418 * testsuite/ld-arm/ifunc-4.rd: Likewise. 2419 * testsuite/ld-arm/ifunc-9.rd: Likewise. 2420 * testsuite/ld-arm/ifunc-10.rd: Likewise. 2421 * testsuite/ld-arm/ifunc-12.rd: Likewise. 2422 * testsuite/ld-arm/ifunc-13.rd: Likewise. 2423 24242016-01-05 Nick Clifton <nickc@redhat.com> 2425 2426 * emulparams/msp430elf.sh (RAM_START): Move to 0x500 - above the 2427 MSP430 hardware multiply address range. 2428 * scripttempl/elf32msp430.sc (__romdatastart): Define. 2429 (__romdatacopysize): Define. 2430 * scripttempl/elf32msp430_3.sc: Likewise. 2431 24322016-01-04 Maciej W. Rozycki <macro@imgtec.com> 2433 2434 * emultempl/mipself.em (PARSE_AND_LIST_PROLOGUE): Convert 2435 OPTION_INSN32 and OPTION_NO_INSN32 macros to an enum. 2436 24372016-01-04 Maciej W. Rozycki <macro@imgtec.com> 2438 2439 * testsuite/ld-mips-elf/attr-gnu-4-14.d: Update the order of 2440 messages expected according to MIPS BFD private data merge 2441 changes. 2442 * testsuite/ld-mips-elf/attr-gnu-4-24.d: Likewise. 2443 * testsuite/ld-mips-elf/attr-gnu-4-34.d: Likewise. 2444 * testsuite/ld-mips-elf/attr-gnu-4-41.d: Likewise. 2445 * testsuite/ld-mips-elf/attr-gnu-4-42.d: Likewise. 2446 * testsuite/ld-mips-elf/attr-gnu-4-43.d: Likewise. 2447 * testsuite/ld-mips-elf/attr-gnu-4-45.d: Likewise. 2448 * testsuite/ld-mips-elf/attr-gnu-4-46.d: Likewise. 2449 * testsuite/ld-mips-elf/attr-gnu-4-47.d: Likewise. 2450 * testsuite/ld-mips-elf/attr-gnu-4-48.d: Likewise. 2451 * testsuite/ld-mips-elf/attr-gnu-4-49.d: Likewise. 2452 * testsuite/ld-mips-elf/attr-gnu-4-54.d: Likewise. 2453 * testsuite/ld-mips-elf/attr-gnu-4-64.d: Likewise. 2454 * testsuite/ld-mips-elf/attr-gnu-4-74.d: Likewise. 2455 24562016-01-01 Alan Modra <amodra@gmail.com> 2457 2458 Update year range in copyright notice of all files. 2459 2460For older changes see ChangeLog-2015 and testsuite/ChangeLog-2015 2461 2462Copyright (C) 2016 Free Software Foundation, Inc. 2463 2464Copying and distribution of this file, with or without modification, 2465are permitted in any medium without royalty provided the copyright 2466notice and this notice are preserved. 2467 2468Local Variables: 2469mode: change-log 2470left-margin: 8 2471fill-column: 74 2472version-control: never 2473End: 2474