12016-06-29 Tristan Gingold <gingold@adacore.com> 2 3 * configure: Regenerate. 4 52016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 6 7 Backport from master 8 2016-06-14 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 9 10 PR ld/20254 11 * testsuite/ld-avr/avr-prop-6.d: New test. 12 * testsuite/ld-avr/avr-prop-6.s: New test. 13 142016-06-14 H.J. Lu <hongjiu.lu@intel.com> 15 16 Backport from master 17 2016-06-13 H.J. Lu <hongjiu.lu@intel.com> 18 19 PR ld/20244 20 * testsuite/ld-i386/i386.exp: Run pr20244-2a, pr20244-2b, 21 pr20244-2c and pr20244-2d. 22 * testsuite/ld-i386/no-plt.exp: Run pr20244-3a and pr20244-3b. 23 * testsuite/ld-i386/pr20244-2.s: New file. 24 * testsuite/ld-i386/pr20244-2a.d: Likewise. 25 * testsuite/ld-i386/pr20244-2b.d: Likewise. 26 * testsuite/ld-i386/pr20244-2c.d: Likewise. 27 * testsuite/ld-i386/pr20244-2d.d: Likewise. 28 * testsuite/ld-i386/pr20244-3a.c: Likewise. 29 * testsuite/ld-i386/pr20244-3b.S: Likewise. 30 * testsuite/ld-i386/pr20244-3c.S: Likewise. 31 * testsuite/ld-i386/pr20244-3d.S: Likewise. 32 33 2016-06-13 H.J. Lu <hongjiu.lu@intel.com> 34 35 * testsuite/ld-i386/i386.exp: Run ifunc-1a and ifunc-1b. 36 * testsuite/ld-i386/ifunc-1a.c: New file. 37 * testsuite/ld-i386/ifunc-1b.S: Likewise. 38 * testsuite/ld-i386/ifunc-1c.S: Likewise. 39 * testsuite/ld-i386/ifunc-1d.S: Likewise. 40 412016-06-14 H.J. Lu <hongjiu.lu@intel.com> 42 43 Backport from master 44 2016-06-11 H.J. Lu <hongjiu.lu@intel.com> 45 46 PR ld/20244 47 * testsuite/ld-i386/i386.exp: Run pr20244-1a and pr20244-1b. 48 * testsuite/ld-i386/pr20244-1.s: New file. 49 * testsuite/ld-i386/pr20244-1a.d: Likewise. 50 * testsuite/ld-i386/pr20244-1b.d: Likewise. 51 * testsuite/ld-i386/pr20244-1c.d: Likewise. 52 532016-06-14 H.J. Lu <hongjiu.lu@intel.com> 54 55 Backport from master 56 2016-06-08 H.J. Lu <hongjiu.lu@intel.com> 57 58 * testsuite/ld-i386/libno-plt-1b.dd: New file. 59 * testsuite/ld-i386/libno-plt-1b.rd: Likewise. 60 * testsuite/ld-i386/no-plt-1a.dd: Likewise. 61 * testsuite/ld-i386/no-plt-1a.rd: Likewise. 62 * testsuite/ld-i386/no-plt-1b.dd: Likewise. 63 * testsuite/ld-i386/no-plt-1b.rd: Likewise. 64 * testsuite/ld-i386/no-plt-1c.dd: Likewise. 65 * testsuite/ld-i386/no-plt-1c.rd: Likewise. 66 * testsuite/ld-i386/no-plt-1d.dd: Likewise. 67 * testsuite/ld-i386/no-plt-1d.rd: Likewise. 68 * testsuite/ld-i386/no-plt-1e.dd: Likewise. 69 * testsuite/ld-i386/no-plt-1e.rd: Likewise. 70 * testsuite/ld-i386/no-plt-1f.dd: Likewise. 71 * testsuite/ld-i386/no-plt-1f.rd: Likewise. 72 * testsuite/ld-i386/no-plt-1g.dd: Likewise. 73 * testsuite/ld-i386/no-plt-1g.rd: Likewise. 74 * testsuite/ld-i386/no-plt-1h.dd: Likewise. 75 * testsuite/ld-i386/no-plt-1h.rd: Likewise. 76 * testsuite/ld-i386/no-plt-1i.dd: Likewise. 77 * testsuite/ld-i386/no-plt-1i.rd: Likewise. 78 * testsuite/ld-i386/no-plt-1j.dd: Likewise. 79 * testsuite/ld-i386/no-plt-1j.rd: Likewise. 80 * testsuite/ld-i386/no-plt-check1a.S: Likewise. 81 * testsuite/ld-i386/no-plt-check1b.S: Likewise. 82 * testsuite/ld-i386/no-plt-extern1a.S: Likewise. 83 * testsuite/ld-i386/no-plt-extern1b.S: Likewise. 84 * testsuite/ld-i386/no-plt-func1.c: Likewise. 85 * testsuite/ld-i386/no-plt-main1.c: Likewise. 86 * testsuite/ld-i386/no-plt.exp: Likewise. 87 * testsuite/ld-i386/pass.out Likewise. 88 892016-06-14 H.J. Lu <hongjiu.lu@intel.com> 90 91 Backport from master 92 2016-06-12 H.J. Lu <hongjiu.lu@intel.com> 93 94 * testsuite/ld-x86-64/libno-plt-1b.dd: Updated for x32. 95 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise. 96 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. 97 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise. 98 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. 99 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. 100 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. 101 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. 102 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. 103 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. 104 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. 105 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. 106 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. 107 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. 108 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. 109 110 2016-06-08 H.J. Lu <hongjiu.lu@intel.com> 111 112 * testsuite/ld-x86-64/no-plt-1a.rd: Support any relocation order. 113 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. 114 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. 115 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise. 116 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. 117 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. 118 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. 119 * testsuite/ld-x86-64/no-plt.exp: Fix a typo. 120 121 2016-06-08 H.J. Lu <hongjiu.lu@intel.com> 122 123 * testsuite/ld-x86-64/libno-plt-1b.dd: Likewise. 124 * testsuite/ld-x86-64/libno-plt-1b.rd: Likewise. 125 * testsuite/ld-x86-64/no-plt-1a.dd: Likewise. 126 * testsuite/ld-x86-64/no-plt-1a.rd: Likewise. 127 * testsuite/ld-x86-64/no-plt-1b.dd: Likewise. 128 * testsuite/ld-x86-64/no-plt-1b.rd: Likewise. 129 * testsuite/ld-x86-64/no-plt-1c.dd: Likewise. 130 * testsuite/ld-x86-64/no-plt-1c.rd: Likewise. 131 * testsuite/ld-x86-64/no-plt-1d.dd: Likewise. 132 * testsuite/ld-x86-64/no-plt-1d.rd: Likewise. 133 * testsuite/ld-x86-64/no-plt-1e.dd: Likewise. 134 * testsuite/ld-x86-64/no-plt-1e.rd: Likewise. 135 * testsuite/ld-x86-64/no-plt-1f.dd: Likewise. 136 * testsuite/ld-x86-64/no-plt-1f.rd: Likewise. 137 * testsuite/ld-x86-64/no-plt-1g.dd: Likewise. 138 * testsuite/ld-x86-64/no-plt-1g.rd: Likewise. 139 * testsuite/ld-x86-64/no-plt-check1.S: Likewise. 140 * testsuite/ld-x86-64/no-plt.exp: Likewise. 141 * testsuite/ld-x86-64/no-plt-extern1.S: Likewise. 142 * testsuite/ld-x86-64/no-plt-func1.c: Likewise. 143 * testsuite/ld-x86-64/no-plt-main1.c: Likewise. 144 * testsuite/ld-x86-64/pass.out Likewise. 145 1462016-06-13 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 147 148 Backport from master 149 2016-06-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 150 151 PR ld/20221 152 * testsuite/ld-avr/avr-prop-5.d: New. 153 * testsuite/ld-avr/avr-prop-5.s: New. 154 1552016-06-11 H.J. Lu <hongjiu.lu@intel.com> 156 157 Backport from master 158 2016-04-13 H.J. Lu <hongjiu.lu@intel.com> 159 160 PR ld/19774 161 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr17689b.o before 162 tmpdir/pr17689.so, fix gotpcrel1 test and add more --as-needed 163 tests. 164 165 2016-03-07 H.J. Lu <hongjiu.lu@intel.com> 166 167 PR ld/19774 168 * testsuite/ld-i386/i386.exp: Link tmpdir/pr18900.o before 169 tmpdir/pr18900.so and test --as-needed. Link tmpdir/gotpc1.o 170 before tmpdir/got1d.so and test --as-needed. 171 * testsuite/ld-x86-64/x86-64.exp: Link tmpdir/pr18900.o before 172 tmpdir/pr18900.so and test --as-needed. 173 174 2016-03-06 H.J. Lu <hongjiu.lu@intel.com> 175 176 * testsuite/ld-i386/i386.exp: Link tmpdir/copyreloc-main.o 177 before tmpdir/copyreloc-lib.so and test --as-needed. 178 * testsuite/ld-x86-64/x86-64.exp: Likewise. 179 1802016-05-20 H.J. Lu <hongjiu.lu@intel.com> 181 182 Backport from master 183 2016-05-19 H.J. Lu <hongjiu.lu@intel.com> 184 185 PR ld/20117 186 * testsuite/ld-i386/i386.exp: Run pr20117. 187 * testsuite/ld-i386/pr20117.d: New file. 188 * testsuite/ld-i386/pr20117.s: Likewise. 189 1902016-05-18 Christophe Monat <christophe.monat@st.com> 191 192 Backport from master 193 2016-05-09 Christophe Monat <christophe.monat@st.com> 194 PR ld/20030 195 * testsuite/ld-arm/arm-elf.exp: Run new stm32l4xx-fix-vldm-dp 196 tests. Fix misnamed stm32l4xx-fix-all. 197 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.s: New tests for multiple 198 loads with DP registers. 199 * testsuite/ld-arm/stm32l4xx-fix-vldm-dp.d: New reference file. 200 * testsuite/ld-arm/stm32l4xx-fix-vldm.s: Add missing comment. 201 * testsuite/ld-arm/stm32l4xx-fix-all.s: Add tests for multiple 202 loads with DP registers. 203 * testsuite/ld-arm/stm32l4xx-fix-all.d: Update reference. 204 2052016-05-15 H.J. Lu <hongjiu.lu@intel.com> 206 207 Backport from master 208 2016-05-13 H.J. Lu <hongjiu.lu@intel.com> 209 210 PR ld/20093 211 * testsuite/ld-x86-64/pr20093-1.d: New file. 212 * testsuite/ld-x86-64/pr20093-1.s: Likewise. 213 * testsuite/ld-x86-64/pr20093-2.d: Likewise. 214 * testsuite/ld-x86-64/pr20093-2.s: Likewise. 215 * testsuite/ld-x86-64/x86-64.exp: Run pr20093-1 and pr20093-2. 216 2172016-05-11 Alan Modra <amodra@gmail.com> 218 219 PR 20060 220 * testsuite/ld-powerpc/powerpc.exp: Run new tests. 221 * testsuite/ld-powerpc/tlsdll.s: New. 222 * testsuite/ld-powerpc/tlsdll.ver: New. 223 * testsuite/ld-powerpc/tlsdll_32.s: New. 224 * testsuite/ld-powerpc/tlsopt5.d: New. 225 * testsuite/ld-powerpc/tlsopt5.s: New. 226 * testsuite/ld-powerpc/tlsopt5_32.d: New. 227 * testsuite/ld-powerpc/tlsopt5_32.s: New. 228 2292016-04-30 H.J. Lu <hongjiu.lu@intel.com> 230 231 Backport from master 232 2016-04-27 H.J. Lu <hongjiu.lu@intel.com> 233 234 PR ld/20006 235 * testsuite/ld-elfvsb/elfvsb.exp (COMPRESS_LDFLAG): New. 236 (visibility_run): Pass COMPRESS_LDFLAG to visibility_test on 237 ELF targets. 238 2392016-04-30 H.J. Lu <hongjiu.lu@intel.com> 240 241 Backport from master 242 2016-04-27 H.J. Lu <hongjiu.lu@intel.com> 243 244 * testsuite/ld-elf/compressed1b.d: Only run for Linux/GNU targets. 245 246 2016-04-27 H.J. Lu <hongjiu.lu@intel.com> 247 248 * testsuite/ld-elf/compressed1b.d: Pass 249 --compress-debug-sections=none to ld. 250 * testsuite/ld-elf/compressed1c.d: Likewise. 251 2522016-04-04 H.J. Lu <hongjiu.lu@intel.com> 253 254 Backport from master 255 2016-04-04 H.J. Lu <hongjiu.lu@intel.com> 256 257 PR ld/19827 258 * testsuite/ld-i386/pr19827-nacl.rd: New file. 259 * testsuite/ld-x86-64/pr19827-nacl.rd: Likewise. 260 2612016-03-17 H.J. Lu <hongjiu.lu@intel.com> 262 263 Backport from master 264 2016-03-15 H.J. Lu <hongjiu.lu@intel.com> 265 266 PR ld/19827 267 * testsuite/ld-i386/i386.exp: Run PR ld/19827 tests. 268 * testsuite/ld-x86-64/x86-64.exp: Likewise. 269 * testsuite/ld-i386/pr19827.rd: New file. 270 * testsuite/ld-i386/pr19827a.S: Likewise. 271 * testsuite/ld-i386/pr19827b.S: Likewise. 272 * testsuite/ld-x86-64/pr19827.rd: Likewise. 273 * testsuite/ld-x86-64/pr19827a.S: Likewise. 274 * testsuite/ld-x86-64/pr19827b.S: Likewise. 275 2762016-03-15 H.J. Lu <hongjiu.lu@intel.com> 277 278 Backport from master 279 2016-02-20 H.J. Lu <hongjiu.lu@intel.com> 280 281 * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets. 282 283 2016-01-30 H.J. Lu <hongjiu.lu@intel.com> 284 285 PR ld/19539 286 * testsuite/ld-elf/pr19539.d: New file. 287 * testsuite/ld-elf/pr19539.s: Likewise. 288 * testsuite/ld-elf/pr19539.t: Likewise. 289 2902016-03-14 H.J. Lu <hongjiu.lu@intel.com> 291 292 Backport from master 293 2015-12-07 Jan Beulich <jbeulich@suse.com> 294 295 * ld-elf/gabiend.rt: Accept any alignment. 296 * ld-elf/gabinormal.rt: Likewise. 297 2982016-03-09 H.J. Lu <hongjiu.lu@intel.com> 299 300 Backport from master 301 2016-03-04 H.J. Lu <hongjiu.lu@intel.com> 302 303 PR ld/19579 304 * testsuite/ld-elf/pr19579a.c: New file. 305 * testsuite/ld-elf/pr19579b.c: Likewise. 306 * testsuite/ld-elf/shared.exp: Run PR ld/19579 test. 307 3082016-03-04 H.J. Lu <hongjiu.lu@intel.com> 309 310 Backport from master 311 2016-03-02 H.J. Lu <hongjiu.lu@intel.com> 312 313 PR ld/19739 314 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't 315 merge flags of other input sections for relocatable link. 316 * emultempl/mmo.em (mmo_place_orphan): Likewise. 317 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 318 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 319 3202016-03-01 H.J. Lu <hongjiu.lu@intel.com> 321 322 Backport from master 323 2016-03-01 H.J. Lu <hongjiu.lu@intel.com> 324 325 * testsuite/ld-plugin/lto.exp: Update PR ld/12365 test for GCC 6. 326 3272016-02-26 H.J. Lu <hongjiu.lu@intel.com> 328 329 Backport from master 330 2016-02-24 H.J. Lu <hongjiu.lu@intel.com> 331 332 PR ld/19698 333 * testsuite/ld-elf/pr19698.d: New file. 334 * testsuite/ld-elf/pr19698.s: Likewise. 335 * testsuite/ld-elf/pr19698.t: Likewise. 336 3372016-02-26 H.J. Lu <hongjiu.lu@intel.com> 338 339 Backport from master 340 2016-02-01 H.J. Lu <hongjiu.lu@intel.com> 341 342 PR ld/19553 343 * testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553. 344 * testsuite/ld-elf/pr19553.map: New file. 345 * testsuite/ld-elf/pr19553.map: Likewise. 346 * testsuite/ld-elf/pr19553a.c: Likewise. 347 * testsuite/ld-elf/pr19553b.c: Likewise. 348 * testsuite/ld-elf/pr19553b.out: Likewise. 349 * testsuite/ld-elf/pr19553c.c: Likewise. 350 * testsuite/ld-elf/pr19553c.out: Likewise. 351 * testsuite/ld-elf/pr19553d.c: Likewise. 352 * testsuite/ld-elf/pr19553d.out: Likewise. 353 3542016-02-25 Jiong Wang <jiong.wang@arm.com> 355 356 Backport from master 357 2016-01-20 Jiong Wang <jiong.wang@arm.com> 358 359 * testsuite/ld-aarch64/farcall-section.d: Delete. 360 * testsuite/ld-aarch64/farcall-section.s: Delete. 361 * testsuite/ld-aarch64/farcall-b-section.d: New expectation file. 362 * testsuite/ld-aarch64/farcall-bl-section.d: Likewise. 363 * testsuite/ld-aarch64/farcall-b-section.s: New testcase. 364 * testsuite/ld-aarch64/farcall-bl-section.s: Likewise. 365 * testsuite/ld-aarch64/aarch64-elf.exp: Likewise. 366 3672016-02-11 H.J. Lu <hongjiu.lu@intel.com> 368 369 Backport from master 370 2016-02-11 H.J. Lu <hongjiu.lu@intel.com> 371 372 PR ld/19615 373 * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for 374 PIE. 375 * lexsup.c (parse_args): Enable -Bsymbolic and 376 -Bsymbolic-functions for PIE. 377 * testsuite/ld-i386/i386.exp: Run pr19615. 378 * testsuite/ld-i386/pr19615.d: New file. 379 * testsuite/ld-i386/pr19615.s: Likewise. 380 * testsuite/ld-x86-64/pr19615.d: Likewise. 381 * testsuite/ld-x86-64/pr19615.s: Likewise. 382 3832016-02-03 H.J. Lu <hongjiu.lu@intel.com> 384 385 Backport from master 386 2016-02-03 H.J. Lu <hongjiu.lu@intel.com> 387 388 PR gas/19520 389 * testsuite/ld-i386/branch1.d: Pass -mrelax-relocations=yes to as. 390 * testsuite/ld-i386/call1.d: Likewise. 391 * testsuite/ld-i386/call2.d: Likewise. 392 * testsuite/ld-i386/call3a.d: Likewise. 393 * testsuite/ld-i386/call3b.d: Likewise. 394 * testsuite/ld-i386/call3c.d: Likewise. 395 * testsuite/ld-i386/call3d.d: Likewise. 396 * testsuite/ld-i386/call3e.d: Likewise. 397 * testsuite/ld-i386/call3f.d: Likewise. 398 * testsuite/ld-i386/call3g.d: Likewise. 399 * testsuite/ld-i386/call3h.d: Likewise. 400 * testsuite/ld-i386/jmp1.d: Likewise. 401 * testsuite/ld-i386/jmp2.d: Likewise. 402 * testsuite/ld-i386/lea1c.d: Likewise. 403 * testsuite/ld-i386/load1.d: Likewise. 404 * testsuite/ld-i386/load2.d: Likewise. 405 * testsuite/ld-i386/load3.d: Likewise. 406 * testsuite/ld-i386/load4a.d: Likewise. 407 * testsuite/ld-i386/load5a.d: Likewise. 408 * testsuite/ld-i386/mov2b.d: Likewise. 409 * testsuite/ld-i386/mov3.d: Likewise. 410 * testsuite/ld-ifunc/ifunc-21-x86-64.d: Likewise. 411 * testsuite/ld-ifunc/ifunc-22-x86-64.d: Likewise. 412 * testsuite/ld-ifunc/ifunc-5r-local-x86-64.d: Likewise. 413 * testsuite/ld-x86-64/call1a.d: Likewise. 414 * testsuite/ld-x86-64/call1b.d: Likewise. 415 * testsuite/ld-x86-64/call1c.d: Likewise. 416 * testsuite/ld-x86-64/call1d.d: Likewise. 417 * testsuite/ld-x86-64/call1e.d: Likewise. 418 * testsuite/ld-x86-64/call1f.d: Likewise. 419 * testsuite/ld-x86-64/call1h.d: Likewise. 420 * testsuite/ld-x86-64/call1i.d: Likewise. 421 * testsuite/ld-x86-64/load1a.d: Likewise. 422 * testsuite/ld-x86-64/load1b.d: Likewise. 423 * testsuite/ld-i386/got1a.S: Load GOT into %ecx and use it. 424 * testsuite/ld-i386/got1.dd: Updated. 425 * testsuite/ld-i386/got1d.S (1): Removed. 426 * testsuite/ld-i386/i386.exp: Add -Wa,-mrelax-relocations=yes. 427 * testsuite/ld-x86-64/x86-64.exp: Likewise. 428 4292016-02-02 H.J. Lu <hongjiu.lu@intel.com> 430 431 Backport from master 432 2016-02-02 H.J. Lu <hongjiu.lu@intel.com> 433 434 PR ld/18591 435 * testsuite/ld-x86-64/pr18591.d: New file. 436 * testsuite/ld-x86-64/pr18591.s: Likewise. 437 * testsuite/ld-x86-64/x86-64.exp: Run pr18591. 438 4392016-01-29 H.J. Lu <hongjiu.lu@intel.com> 440 441 Backport from master 442 2016-01-29 H.J. Lu <hongjiu.lu@intel.com> 443 444 PR ld/19533 445 * configure.ac (compressed_debug_sections): Replace == with =. 446 * configure: Regenerated. 447 4482016-01-25 Tristan Gingold <gingold@adacore.com> 449 450 * configure: Regenerate. 451 4522016-01-25 Tristan Gingold <gingold@adacore.com> 453 454 * configure: Regenerate. 455 4562016-01-18 Alan Modra <amodra@gmail.com> 457 458 * configure: Regenerate. 459 4602016-01-11 Kwok Cheung Yeung <kcy@codesourcery.com> 461 462 PR ld/18199 463 * plugin.c (plugin_get_ir_dummy_bfd): Use srctemplate as the 464 template when calling bfd_create if it does not use the BFD 465 plugin target vector. 466 4672015-12-10 Alan Modra <amodra@gmail.com> 468 469 Apply from master. 470 2015-11-19 Alan Modra <amodra@gmail.com> 471 PR ld/19264 472 * ldlang.c (lang_size_sections): Don't ignore .tbss when 473 adjusting start of relro region. 474 4752015-11-13 Tristan Gingold <gingold@adacore.com> 476 477 * configure: Regenerate. 478 4792015-11-13 Tristan Gingold <gingold@adacore.com> 480 481 * configure: Regenerate. 482 4832015-11-13 Tristan Gingold <gingold@adacore.com> 484 485 * NEWS: Add marker for 2.26. 486 4872015-11-05 Alan Modra <amodra@gmail.com> 488 489 * Makefile.in: Regenerate. 490 4912015-11-05 Alan Modra <amodra@gmail.com> 492 493 PR ld/19203 494 * ld.texinfo (DATA_SEGMENT_ALIGN): Correct second expression. 495 4962015-10-30 Nick Clifton <nickc@redhat.com> 497 498 * po/zh_CN.po: Updated (simplified) Chinese translation. 499 5002015-10-29 Ed Schouten <ed@nuxi.nl> 501 502 * Makefile.am (ALL_64_EMULATION_SOURCES): Add support for 503 CloudABI on aarch64. For this target we have to make sure we use 504 ELFOSABI_CLOUDABI instead of ELFOSABI_NONE. 505 * configure.tgt (targ_emul): Likewise. 506 * emulparams/aarch64cloudabi.sh: New file. 507 * emulparams/aarch64cloudabib.sh: New file. 508 * Makefile.in: Regenerate. 509 5102015-10-29 Nick Clifton <nickc@redhat.com> 511 512 PR ld/19146 513 * lexsup.c (parse_args): Correct error message for an option that 514 is missing its argument if that option is the last one on the 515 command line. 516 5172015-10-29 Alan Modra <amodra@gmail.com> 518 519 PR ld/19162 520 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Pass 521 updated flags to lang_output_section_find_by_flags. 522 * emultempl/mmo.em (mmo_place_orphan): Merge flags for any 523 other input sections that might match a new output section to 524 decide placement. 525 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 526 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. 527 * ldlang.c (lang_output_section_find_by_flags): Add sec_flags param. 528 * ldlang.h (lang_output_section_find_by_flags): Update prototype. 529 5302015-10-29 Matthias Klose <doko@ubuntu.com> 531 532 * ld.texinfo (Options <-rpath>): Fix typo. 533 5342015-10-28 Alan Modra <amodra@gmail.com> 535 536 PR ld/19162 537 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Check flags 538 before calling _bfd_elf_match_sections_by_type. Merge flags for 539 any other input sections that might match a new output section to 540 decide placement. 541 5422015-10-27 Laurent Alfonsi <laurent.alfonsi@st.com> 543 Christophe Monat <christophe.monat@st.com> 544 545 * ld.texinfo: Add description of the STM32L4xx erratum 546 workaround. 547 * NEWS: Mention the new feature. 548 * emultempl/armelf.em (stm32l4xx_fix): New. 549 (arm_elf_before_allocation): Choose the type of fix, scan for 550 erratum. 551 (gld${EMULATION_NAME}_finish): Fix veneer locations. 552 (arm_elf_create_output_section_statements): Propagate 553 stm32l4xx_fix value. 554 (PARSE_AND_LIST_PROLOGUE): Define OPTION_STM32L4XX_FIX. 555 (PARSE_AND_LIST_LONGOPTS): Add entry for handling 556 --fix-stm32l4xx-629360. 557 (PARSE_AND_LIST_OPTION): Add entry for helping on 558 --fix-stm32l4xx-629360. 559 (PARSE_AND_LIST_ARGS_CASES): Treat OPTION_STM32L4XX_FIX. 560 5612015-10-27 Alan Modra <amodra@gmail.com> 562 563 PR ld/19175 564 * ldlang.c (lang_insert_orphan): Evaluate __start_* and __stop_* 565 symbol PROVIDE expressions. 566 * ldexp.c (exp_fold_tree_1 <etree_provide>): Define undefweak 567 references. 568 5692015-10-22 H.J. Lu <hongjiu.lu@intel.com> 570 571 * configure.ac: Properly check 572 --enable-compressed-debug-sections={yes,all}. 573 * configure: Regenerated. 574 5752015-10-22 H.J. Lu <hongjiu.lu@intel.com> 576 577 PR gas/19109 578 * configure.ac: Handle --enable-compressed-debug-sections=*,ld,*. 579 * configure: Regenerated. 580 5812015-10-22 H.J. Lu <hongjiu.lu@intel.com> 582 583 * ld.texinfo: Document "-z call-nop=PADDING" option. 584 * emulparams/call_nop.sh: New file. 585 * emulparams/elf_i386_be.sh: Source 586 ${srcdir}/emulparams/call_nop.sh. 587 * emulparams/elf_i386_chaos.sh: Likewise. 588 * emulparams/elf_i386_ldso.sh: Likewise. 589 * emulparams/elf_i386_vxworks.sh: Likewise. 590 * emulparams/elf_iamcu.sh: Likewise. 591 * emulparams/elf_k1om.sh: Likewise. 592 * emulparams/elf_l1om.sh: Likewise. 593 * emulparams/elf_x86_64.sh: Likewise. 594 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set 595 link_info.call_nop_byte if $CALL_NOP_BYTE isn't empty. 596 5972015-10-21 Nick Clifton <nickc@redhat.com> 598 599 PR gas/19109 600 * configure.ac: Add --enable-compressed-debug-sections with 601 options of all, none or ld. 602 * configure: Regenerate. 603 * config.in: Regenerate. 604 * ld.texinfo: Document how to determine the default action for 605 debug sections. 606 * ldmain.c (main): If DEFAULT_FLAG_COMPRESS_DEBUG is defined then 607 set the compress_debug field of the link_info structure to 608 zlib-gabi. 609 * lexsup.c (elf_static_list_options): Output the default setting 610 for the --compress-debug-sections option. 611 * NEWS: Mention the new configure option. 612 6132015-10-15 H.J. Lu <hongjiu.lu@intel.com> 614 615 * ld.texinfo: Fix a typo for "-z noextern-protected-data". 616 6172015-10-15 Simon Dardis <Simon.Dardis@imgtec.com> 618 619 * ldexp.c: (try_copy_symbol_flags): New. Factored out from... 620 (exp_fold_tree_1): Here. Cope with ternary operator in 621 assignments. Use new helper. 622 6232015-10-14 Nick Clifton <nickc@redhat.com> 624 625 * po/zh_TW.po: Updated Chinese translation. 626 6272015-10-13 Nick Clifton <nickc@redhat.com> 628 629 * po/zh_TW.po: Updated Chinese translation. 630 6312015-10-07 Claudiu Zissulescu <claziss@synopsys.com> 632 Cupertino Miranda <cmiranda@synopsys.com> 633 634 * configure.tgt: Added target arc-*-elf* and arc*-*-linux-uclibc*. 635 * emulparams/arcebelf_prof.sh: New file 636 * emulparams/arcebelf.sh: Likewise. 637 * emulparams/arceblinux_prof.sh: Likewise. 638 * emulparams/arceblinux.sh: Likewise. 639 * emulparams/arcelf_prof.sh: Likewise. 640 * emulparams/arcelf.sh: Likewise. 641 * emulparams/arclinux_prof.sh: Likewise. 642 * emulparams/arclinux.sh: Likewise. 643 * emulparams/arcv2elfx.sh: Likewise. 644 * emulparams/arcv2elf.sh: Likewise. 645 * emultempl/arclinux.em: Likewise. 646 * scripttempl/arclinux.sc: Likewise. 647 * scripttempl/elfarc.sc: Likewise. 648 * scripttempl/elfarcv2.sc: Likewise 649 * Makefile.am: Add new ARC emulations. 650 * Makefile.in: Regenerate. 651 * NEWS: Mention the new feature. 652 6532015-10-04 H.J. Lu <hongjiu.lu@intel.com> 654 655 * configure.tgt (targ_extra_emuls): Add elf_iamcu for Solaris2/x86. 656 6572015-10-01 Kaz Kojima <kkojima@rr.iij4u.or.jp> 658 659 * configure.tgt (targ_extra_emuls): Remove shlelf and 660 shelf from sh*-*-linux cases. 661 6622015-09-30 Rich Felker <dalias@libc.org> 663 664 * configure.tgt (targ_extra_emuls): Add fdpic and misc 665 emulations to sh*-*-linux* targets. 666 6672015-09-29 Nick Clifton <nickc@redhat.com> 668 669 PR ld/19014 670 * ld.texinfo (Options): Fix spelling mistake. 671 6722015-09-24 Alan Modra <amodra@gmail.com> 673 674 PR ld/18992 675 * ldmain.c (main): Always enable --sysroot. 676 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't 677 prepend sysroot to relative rpath/runpath. 678 6792015-09-23 Nick Clifton <nickc@redhat.com> 680 681 * emultempl/elf32.em (ehdr_start_empty): New static variable. 682 (before_allocation): Use it to initialise ehdr_start_save. 683 * emultempl/pe.em (write_build_id): Remove useless double 684 parenthesis. 685 * emultempl/pep.em (write_build_id): Likewise. 686 6872015-09-22 H.J. Lu <hongjiu.lu@intel.com> 688 689 * emultempl/alphaelf.em (alpha_after_parse): Call 690 gld${EMULATION_NAME}_after_parse instead of 691 after_parse_default. 692 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise. 693 * emultempl/crxelf.em (crxelf_after_parse); Likewise. 694 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise. 695 * emultempl/mipself.em (mips_after_parse): Likewise. 696 * emultempl/nds32elf.em (nds32_elf_after_parse): Likewise. 697 * emultempl/elf32.em: Don't include ldlex.h. 698 (gld${EMULATION_NAME}_after_parse): New function. 699 (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT] 700 <OPTION_PIE>: Removed. 701 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default 702 with gld${EMULATION_NAME}_after_parse. 703 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): 704 Renamed to ... 705 (ia64elf_after_parse): This. Call 706 gld${EMULATION_NAME}_after_parse instead of after_parse_default. 707 (LDEMUL_AFTER_PARSE): Replace gld${EMULATION_NAME}_after_parse 708 with ia64elf_after_parse. 709 7102015-09-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 711 712 * emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes. 713 714 * emultempl/elf32.em: Include ldlex.h. 715 (gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT] 716 <OPTION_PIE>: Set DF_1_PIE. 717 7182015-09-22 Alan Modra <amodra@gmail.com> 719 720 * ld.texinfo: Put --dotsyms/--no-dotsyms on separate lines. 721 Ditto for --save-restore-funcs and --tls-get-addr-optimize. 722 7232015-09-20 Rich Felker <dalias@libc.org> 724 725 * ld.texinfo (--no-dynamic-linker): Document. 726 * ldlex.h (enum option_values): Add OPTION_NO_DYNAMIC_LINKER. 727 * lexsup.c (ld_options, parse_args): Handle --no-dynamic-linker. 728 7292015-09-18 Alan Modra <amodra@gmail.com> 730 731 * ld.texinfo: Document PowerPC64 --{no-,}save-restore-funcs. 732 7332015-09-18 Alan Modra <amodra@gmail.com> 734 735 * emultempl/ppc64elf.em (params): Init tls_get_addr_opt field to -1. 736 (OPTION_TLS_GET_ADDR_OPT): Define. 737 (PARSE_AND_LIST_LONGOPTS): Handle --tls-get-addr-opt. 738 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise. 739 * ld.texinfo: Document --tls-get-addr-optimize and 740 --no-tls-get-addr-optimize. 741 7422015-09-18 Alan Modra <amodra@gmail.com> 743 744 PR ld/18963 745 * ldexp.h (struct ldexp_control): Add rel_from_abs. 746 (ldexp_finalize_syms): Declare. 747 * ldexp.c (new_rel_from_abs): Keep absolute for expressions 748 outside of output section statements. Set rel_from_abs. 749 (make_abs, exp_fold_tree, exp_fold_tree_no_dot): Clear rel_from_abs. 750 (struct definedness_hash_entry): Add final_sec, and comment. 751 (update_definedness): Set final_sec. 752 (set_sym_sections, ldexp_finalize_syms): New functions. 753 * ldlang.c (lang_process): Call ldexp_finalize_syms. 754 7552015-09-10 Nick Clifton <nickc@redhat.com> 756 757 * po/zh_CN.po: Updated simplified Chinese translation. 758 7592015-09-09 James Bowman <james.bowman@ftdichip.com> 760 761 * scripttempl/ft32.sc: default linker script RAM and 762 FLASH size symbols 763 7642015-09-09 Nick Clifton <nickc@redhat.com> 765 766 * po/zh_CN.po: Updated simplified Chinese translation. 767 7682015-09-08 Nick Clifton <nickc@redhat.com> 769 770 * ld.texinfo (Source Code Reference): Extend description to 771 include an example using arrays. 772 7732015-07-28 Andrew Burgess <andrew.burgess@embecosm.com> 774 775 * ld.h (enum orphan_handling_enum): New. 776 (ld_config_type): Remove warn_orphan, add orphan_handling. 777 * ldemul.c (ldemul_place_orphan): Remove warning about orphan 778 sections. 779 * ldlang.c (ldlang_place_orphan): New function. 780 (lang_place_orphans): Call ldlang_place_orphan. 781 * ldlex.h (enum option_values): Remove OPTION_WARN_ORPHAN and 782 OPTION_NO_WARN_ORPHAN, add OPTION_ORPHAN_HANDLING. 783 * lexsup.c (ld_options): Remove 'warn-orphan' and 784 'no-warn-orphan', add 'orphan-handling'. 785 (parse_args): Remove handling for OPTION_WARN_ORPHAN and 786 OPTION_NO_WARN_ORPHAN, add handling for OPTION_ORPHAN_HANDLING. 787 * NEWS: Replace text about --warn-orphan with --orphan-handling. 788 * ld.texinfo (Options): Remove --warn-orphan entry and add 789 entry on --orphan-handling. 790 (Orphan Sections): Add reference to relevant command line options. 791 7922015-09-03 Nick Clifton <nickc@redhat.com> 793 794 * ld.texinfo (--build-id): Fix typo. The COFF/PE build-id section 795 is called .buildid not .build-id. 796 7972015-09-03 Nick Clifton <nickc@redhat.com> 798 799 (Source Code Reference): Fix off-by-one typo in example of how to 800 use linker script symbols in C source code. 801 8022015-08-19 Alan Modra <amodra@gmail.com> 803 804 * emultempl/aix.em: Don't set link_info.pic. 805 * emultempl/pe.em: Likewise. 806 * emultempl/pep.em: Likewise. 807 * emultempl/sunos.em: Likewise. 808 * lexsup.c (parse_args): Likewise. Set type_pie for -pie. 809 * plugin.c (set_tv_header <LDPT_LINKER_OUTPUT>): Simplify. 810 8112015-08-18 H.J. Lu <hongjiu.lu@intel.com> 812 813 * ldctor.c: Replace shared, executable, relocatable and pie 814 fields with bfd_link_executable, bfd_link_dll, 815 bfd_link_relocatable, bfd_link_pic and bfd_link_pie. 816 * ldemul.c: Likewise. 817 * ldfile.c: Likewise. 818 * ldlang.c: Likewise. 819 * ldmain.c: Likewise. 820 * ldwrite.c: Likewise. 821 * lexsup.c: Likewise. 822 * pe-dll.c: Likewise. 823 * plugin.c: Likewise. 824 * emultempl/aarch64elf.em: Likewise. 825 * emultempl/aix.em: Likewise. 826 * emultempl/alphaelf.em: Likewise. 827 * emultempl/armcoff.em: Likewise. 828 * emultempl/armelf.em: Likewise. 829 * emultempl/avrelf.em: Likewise. 830 * emultempl/beos.em: Likewise. 831 * emultempl/cr16elf.em: Likewise. 832 * emultempl/elf-generic.em: Likewise. 833 * emultempl/elf32.em: Likewise. 834 * emultempl/genelf.em: Likewise. 835 * emultempl/generic.em: Likewise. 836 * emultempl/gld960.em: Likewise. 837 * emultempl/gld960c.em: Likewise. 838 * emultempl/hppaelf.em: Likewise. 839 * emultempl/irix.em: Likewise. 840 * emultempl/linux.em: Likewise. 841 * emultempl/lnk960.em: Likewise. 842 * emultempl/m68hc1xelf.em: Likewise. 843 * emultempl/m68kcoff.em: Likewise. 844 * emultempl/m68kelf.em: Likewise. 845 * emultempl/metagelf.em: Likewise. 846 * emultempl/mipself.em: Likewise. 847 * emultempl/mmo.em: Likewise. 848 * emultempl/msp430.em: Likewise. 849 * emultempl/nds32elf.em: Likewise. 850 * emultempl/needrelax.em: Likewise. 851 * emultempl/nios2elf.em: Likewise. 852 * emultempl/pe.em: Likewise. 853 * emultempl/pep.em: Likewise. 854 * emultempl/ppc32elf.em: Likewise. 855 * emultempl/ppc64elf.em: Likewise. 856 * emultempl/sh64elf.em: Likewise. 857 * emultempl/solaris2.em: Likewise. 858 * emultempl/spuelf.em: Likewise. 859 * emultempl/sunos.em: Likewise. 860 * emultempl/tic6xdsbt.em: Likewise. 861 * emultempl/ticoff.em: Likewise. 862 * emultempl/v850elf.em: Likewise. 863 * emultempl/vms.em: Likewise. 864 * emultempl/vxworks.em: Likewise. 865 8662015-08-18 Alan Modra <amodra@gmail.com> 867 868 * ldexp.c (exp_fold_tree_1): Clear linker_def on symbol assignment. 869 8702015-08-06 Alan Modra <amodra@gmail.com> 871 872 * ldexp.c (align_dot_val): Delete. 873 (fold_unary <ALIGN_K, NEXT>): Revert 2015-07-10 change. 874 (is_align_conditional): Revert 2015-07-20 change. 875 (exp_fold_tree_1): Likewise, but keep expanded comment. 876 * scripttempl/elf.sc (.ldata, .bss): Revert 2015-07-20 change. 877 * ld.texinfo (<ALIGN>): Correct description. 878 8792015-08-04 Andrew Burgess <andrew.burgess@embecosm.com> 880 881 * ld.texinfo (Options): Document --require-defined option. 882 * ldlang.c (struct require_defined_symbol): New structure. 883 (require_defined_symbol_list): New variable. 884 (ldlang_add_require_defined): New function. 885 (ldlang_check_require_defined_symbols): New function. 886 (lang_process): Check required symbols are defined. 887 * ldlang.h (ldlang_add_require_defined): Declare. 888 * ldlex.h (enum option_values): Add OPTION_REQUIRE_DEFINED_SYMBOL. 889 * lexsup.c (ld_options): Add '--require-defined' entry. 890 (parse_args): Handle '--requre-defined' entry. 891 * NEWS: Mention new '--require-defined' option. 892 8932015-08-03 Andrew Burgess <andrew.burgess@embecosm.com> 894 895 * ld.texinfo (MEMORY): Explain that multiple MEMORY commands are 896 acceptable. 897 8982015-07-29 H.J. Lu <hongjiu.lu@intel.com> 899 900 * lexsup.c (parse_args): Don't set link_info.executable to 901 TRUE for link_info.relocatable. 902 9032015-07-27 H.J. Lu <hongjiu.lu@intel.com> 904 905 * configure: Regenerated. 906 9072015-07-24 Nick Clifton <nickc@redhat.com> 908 909 * emulparams/elf32rl78.sh (OTHER_SECTIONS): Provide a value for 910 the _-rl78_abs__ symbol. 911 9122015-07-20 Alan Modra <amodra@gmail.com> 913 914 * emulparams/criself.sh (INIT_ADDR, FINI_ADDR): Define. 915 (INIT_START, FINI_START): Don't ALIGN. 916 * scriptempl/elf.sc (.init, .fini): Apply INIT_ADDR/FINI_ADDR. 917 9182015-07-20 Alan Modra <amodra@gmail.com> 919 920 * scripttempl/elf.sc (.ldata, .bss): Align absolute value of dot. 921 * ldexp.c (is_align_conditional): Handle binary ALIGN. 922 (exp_fold_tree_1): Move code setting SEC_KEEP for assignments to 923 dot inside output sections. Handle absolute expressions. 924 9252015-07-14 H.J. Lu <hongjiu.lu@intel.com> 926 927 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Make 928 --compress-debug-sections=zlib the same as 929 --compress-debug-sections=zlib-gabi. 930 * ld.texinfo: Change --compress-debug-sections=zlib to zlib-gabi. 931 9322015-07-14 Nick Clifton <nickc@redhat.com> 933 934 * ld.texinfo (Options): Add missing period after @xref. 935 9362015-07-10 Alan Modra <amodra@gmail.com> 937 938 * ldexp.c (align_dot_val): New function. 939 (fold_unary <ALIGN_K, NEXT>): Use it. 940 9412015-07-03 Kai Tietz <ktietz@redhat.com> 942 943 PR ld/11539 944 * scripttempl/pep.sc: Mark .idata*, .CRT*, .tls*, 945 .rsrc*, .init, .ctor*, .dtor*, .fini, .jcr, 946 .eh_frame, .pdata. .xdata, and .gcc_except_table sections 947 as KEEP. 948 * scripttempl/pe.sc: Likewise. 949 * ld.texinfo: Document that --gc-sections has experimental support 950 for COFF and PE targets. 951 * NEWS: Mention experimental support. 952 9532015-07-03 Alan Modra <amodra@gmail.com> 954 955 * Makefile.am (eelf32or1k.c, eelf32or1k_linux.c): Depend on ELF_DEPS. 956 * Makefile.in: Regenerate. 957 9582015-06-28 H.J. Lu <hongjiu.lu@intel.com> 959 960 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): 961 Replace COMPRESS_DEBUG_ZLIB with COMPRESS_DEBUG_GNU_ZLIB. 962 9632015-06-26 H.J. Lu <hongjiu.lu@intel.com> 964 965 * emulparams/elf_iamcu.sh (COMPILE_IN): New. 966 9672015-06-15 Nick Clifton <nickc@redhat.com> 968 969 PR ld/18466 970 * emultempl/pe.em (pe_find_data_imports): Generate an error if a 971 symbol name is too long to handle. 972 * emultempl/pep.em (pep_find_data_imports): Likewise. 973 9742015-06-12 Tristan Gingold <gingold@adacore.com> 975 976 * NEWS: Mention new option. 977 * lexsup.c (parse_args): Handle --print-memory-usage. 978 (ld_options): Add --print-memory-usage. 979 * ldmain.c (main): Call lang_print_memory_usage. 980 * ldlex.h (enum option_values): Add OPTION_PRINT_MEMORY_USAGE. 981 * ldlang.h: Add prototype of lang_print_memory_usage. 982 * ldlang.c (lang_print_memory_size, lang_print_memory_usage): New 983 functions. 984 * ld.texinfo (Options): Document --print-memory-usage. 985 * ld.h (args_type): Add print_memory_usage field. 986 9872015-06-08 Nick Clifton <nickc@redhat.com> 988 989 * po/fr.po: Updated French Translation. 990 9912015-05-28 Catherine Moore <clm@codesourcery.com> 992 Paul Brook <paul@codesourcery.com> 993 994 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): 995 Add Compact EH support. 996 * scripttempl/elf.sc: Handle .eh_frame_entry and .gnu_extab 997 sections. 998 9992015-05-17 Chung-Lin Tang <cltang@codesourcery.com> 1000 1001 * configure.ac (AC_PROG_GREP): Check for grep program. 1002 (elf_list_options,elf_shlib_list_options,elf_plt_unwind_list_options): 1003 Enable ELF option printing for emulations containing 1004 'TEMPLATE_NAME=elf32'. 1005 * configure: Regenerate. 1006 10072015-05-14 Nick Clifton <nickc@redhat.com> 1008 1009 * ld.texinfo (ASSERT): Describe the interaction with PROVIDEd 1010 symbols. 1011 10122015-05-11 H.J. Lu <hongjiu.lu@intel.com> 1013 1014 * configure.tgt: Support i[3-7]86-*-elfiamcu target. 1015 10162015-05-11 H.J. Lu <hongjiu.lu@intel.com> 1017 1018 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf_iamcu.c. 1019 (eelf_iamcu.c): New. 1020 * configure.tgt (targ_extra_emuls): Add elf_iamcu if elf_i386 is 1021 enabled in BFD. 1022 * Makefile.in: Regenerated. 1023 * emulparams/elf_iamcu.sh: New file. 1024 10252015-05-05 Nick Clifton <nickc@redhat.com> 1026 1027 * emulparams/msp430elf.sh (TEMPLATE_NAME): Change to msp430. 1028 * scripttempl/msp430.sc (.text): Add .lower.text and .either.text. 1029 (.data): Add .lower.data and .either.data. 1030 (.bss): Add .lower.bss and .either.bss. 1031 (.rodata): Add .lower.rodata and .either.rodata. 1032 * emultempl/msp430.em: New file. Implements a new orphan 1033 placement algorithm that divides sections between lower and upper 1034 memory regions. 1035 * Makefile.am (emsp430elf.c): Depend upon msp430.em. 1036 *emsp430X.c): Likewise. 1037 * Makefine.in: Regenerate. 1038 10392015-04-28 Andreas Schwab <schwab@linux-m68k.org> 1040 1041 PR ld/18344 1042 * ldlex.l (INPUTLIST): Increment lineno on newline. 1043 10442015-04-24 Alan Modra <amodra@gmail.com> 1045 1046 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): 1047 Call gld${EMULATION_NAME}_map_segments regardless of need_laying_out. 1048 10492015-04-24 DJ Delorie <dj@redhat.com> 1050 1051 * Makefile.am (msp430): Rename primary emulation to msp430elf. 1052 (emsp430.c): Rename to emsp430elf.c, update dependencies 1053 (emsp430X.c): Update dependencies. 1054 * Makefile.in: Likewise. 1055 * configure.tgt (msp430-*-*): Rename primary emulation to msp430elf. 1056 * emulparams/msp430.sh: Rename to msp430elf.sh. 1057 * emulparams/msp430X.sh: Update. 1058 10592015-04-23 H.J. Lu <hongjiu.lu@intel.com> 1060 1061 PR binutils/18209 1062 * ldfile.c (ldfile_try_open_bfd): Set is_linker_input to 1. 1063 10642015-04-23 Alan Modra <amodra@gmail.com> 1065 1066 * emulparams/elf64ppc.sh (GOT): Align. 1067 10682015-04-22 Alan Modra <amodra@gmail.com> 1069 1070 * ldexp.h (struct ldexp_control): Delete dataseg.min_base. Add 1071 data_seg.relro_offset. 1072 * ldexp.c (fold_binary <DATA_SEGMENT_ALIGN>): Don't set min_base. 1073 (fold_binary <DATA_SEGMENT_RELRO_END>): Do set relro_offset. 1074 * ldlang.c (lang_size_sections): Rewrite code adjusting relro 1075 segment base to line up last section on page boundary. 1076 10772015-04-15 H.J. Lu <hongjiu.lu@intel.com> 1078 1079 * NEWS: Mention 1080 --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]. 1081 10822015-04-14 H.J. Lu <hongjiu.lu@intel.com> 1083 1084 * ld.texinfo: Document --compress-debug-sections=. 1085 * ldmain.c (main): Set BFD_COMPRESS on output_bfd if 1086 COMPRESS_DEBUG is set. Set BFD_COMPRESS_GABI on output_bfd 1087 for COMPRESS_DEBUG_GABI_ZLIB. 1088 * lexsup.c (elf_static_list_options): Add 1089 --compress-debug-sections=. 1090 * emultempl/elf32.em (OPTION_COMPRESS_DEBUG): New. 1091 (xtra_long): Add "compress-debug-sections". 1092 (gld${EMULATION_NAME}_handle_option): Handle 1093 OPTION_COMPRESS_DEBUG. 1094 10952015-04-14 H.J. Lu <hongjiu.lu@intel.com> 1096 1097 PR ld/pr17709 1098 * ld.texinfo: Document "-z noextern-protected-data". 1099 * ldmain.c (main): Initialize link_info.extern_protected_data 1100 to -1. 1101 * lexsup.c (elf_shlib_list_options): Add 1102 "-z [no]extern-protected-data". 1103 * emulparams/elf32_x86_64.sh: Source extern_protected_data.sh. 1104 * emulparams/elf_i386.sh: Likewise. 1105 * emulparams/elf_i386_be.sh: Likewise. 1106 * emulparams/elf_i386_chaos.sh: Likewise. 1107 * emulparams/elf_i386_ldso.sh: Likewise. 1108 * emulparams/elf_i386_vxworks.sh: Likewise. 1109 * emulparams/elf_k1om.sh: Likewise. 1110 * emulparams/elf_l1om.sh: Likewise. 1111 * emulparams/elf_x86_64.sh: Source extern_protected_data.sh. 1112 (PARSE_AND_LIST_OPTIONS): Renamed to ... 1113 (PARSE_AND_LIST_OPTIONS_BNDPLT): This. 1114 (PARSE_AND_LIST_ARGS_CASE_Z): Renamed to ... 1115 (PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT): This. 1116 (PARSE_AND_LIST_OPTIONS): Append $PARSE_AND_LIST_OPTIONS_BNDPLT. 1117 (PARSE_AND_LIST_ARGS_CASE_Z): Append 1118 $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT. 1119 * emulparams/extern_protected_data.sh: New file. 1120 11212015-04-11 H.J. Lu <hongjiu.lu@intel.com> 1122 1123 * plugin.c (plugin_load_plugins): Removed an extra ';'. 1124 11252015-04-10 Nick Clifton <nickc@redhat.com> 1126 1127 PR binutils/18198 1128 * ld.texinfo (--be8): Add a note about the interaction of this 1129 option with the assembler's -EB option. 1130 11312015-04-10 Alan Modra <amodra@gmail.com> 1132 1133 * configure.ac: Set elf_list_options etc. in proper case. 1134 * configure: Regenerate. 1135 11362015-04-10 Alan Modra <amodra@gmail.com> 1137 1138 PR ld/18223 1139 * ldlang.c (lang_process): Add _init and _fini to gc_sym_list. 1140 11412015-04-09 H.J. Lu <hongjiu.lu@intel.com> 1142 1143 * emulparams/elf_x86_64.sh (BNDPLT): Removed. 1144 (PARSE_AND_LIST_OPTIONS): New. 1145 (PARSE_AND_LIST_ARGS_CASE_Z): Likewise. 1146 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Remove 1147 BNDPLT check. Handle PARSE_AND_LIST_ARGS_CASE_Z. 1148 (gld${EMULATION_NAME}_list_options): Remove BNDPLT check. 1149 11502015-04-09 Nick Clifton <nickc@redhat.com> 1151 1152 * po/fr.po: Updated French translation. 1153 11542015-04-08 H.J. Lu <hongjiu.lu@intel.com> 1155 1156 * configure.ac (elf_list_options): Set to TRUE for 1157 --enable-targets=all. 1158 (elf_shlib_list_options): Likewise. 1159 (elf_plt_unwind_list_options): Likewise. 1160 * configure: Regenerated. 1161 11622015-04-08 H.J. Lu <hongjiu.lu@intel.com> 1163 1164 * emulparams/elf32bmipn32-defs.sh: Skip empty EMULATION_NAME. 1165 11662015-04-08 H.J. Lu <hongjiu.lu@intel.com> 1167 1168 * Makefile.am (ELF_CLFAGS): New. 1169 (AM_CFLAGS): Add $(ELF_CLFAGS). 1170 * configure.ac (elf_list_options): New. AC_SUBST. 1171 (elf_shlib_list_options): Likewise. 1172 (elf_plt_unwind_list_options): Likewise. 1173 * lexsup.c (elf_shlib_list_options): New. 1174 (elf_static_list_options): Likewise. 1175 (elf_plt_unwind_list_options): Likewise. 1176 (ld_list_options): Likewise. 1177 (help): Call ld_list_options. 1178 * Makefile.in: Regenerated. 1179 * configure: Likewise. 1180 * emulparams/plt_unwind.sh (PLT_UNWIND): New. 1181 (PARSE_AND_LIST_OPTIONS): Removed. 1182 * emultempl/elf32.em (gld_list_options): New. 1183 (gld${EMULATION_NAME}_list_options): Define only if BNDPLT or 1184 PARSE_AND_LIST_OPTIONS is defined. 1185 (ld_${EMULATION_NAME}_emulation): Replace 1186 gld${EMULATION_NAME}_list_options with ${gld_list_options. 1187 11882015-04-07 Alan Modra <amodra@gmail.com> 1189 1190 PR ld/18176 1191 * ldlang.c (lang_size_sections): Cast shift expression. 1192 11932015-04-07 Alan Modra <amodra@gmail.com> 1194 1195 * emultempl/ppc32elf.em: Handle --no-pic-fixup. 1196 (params): Init new field. 1197 (ppc_before_allocation): Enable relaxation for pic_fixup. 1198 11992015-04-07 Nick Clifton <nickc@redhat.com> 1200 1201 * ld.h (struct ld_config_type): Add new field: warn_orphan. 1202 * ldlex.h (enum option_values): Add OPTION_WARN_ORPHAN and 1203 OPTION_NO_WARN_ORPHAN. 1204 * lexsup.c (ld_options): Add --warn-orphan and --no-warn-orphan. 1205 (parse_args): Handle the new options. 1206 * ldemul.c (ldemul_place_orphan): If requested, generate a warning 1207 message when an orphan section is placed in the output file. 1208 * ld.texinfo: Document the new option. 1209 * NEWS: Mention the new feature. 1210 12112015-04-02 Andrew Turner <andrew@freebsd.org> 1212 1213 * Makefile.am: Add FreeBSD aarch64 files. 1214 * Makefile.in: Regenerate. 1215 * configure.tgt: Add aarch64-*-freebsd* target triple. 1216 * emulparams/aarch64fbsd.sh: New file. 1217 * emulparams/aarch64fbsdb.sh: New file. 1218 12192015-04-01 H.J. Lu <hongjiu.lu@intel.com> 1220 1221 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Work 1222 around a GCC uninitialized warning bug fixed in GCC 4.6. 1223 12242015-04-01 Tejas Belagod <tejas.belagod@arm.com> 1225 1226 * emultempl/aarch64elf.em 1227 (aarch64_elf_create_output_section_statements): Add parameter in 1228 bfd_elf${ELFSIZE}_aarch64_set_options call. 1229 (OPTION_FIX_ERRATUM_843419): Define. 1230 (PARSE_AND_LIST_LONGOPTS): Add fix-cortex-a53-843419. 1231 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_FIX_ERRATUM_843419. 1232 12332015-04-01 Chen Gang <gang.chen.5i5j@gmail.com> 1234 1235 * emulparams/elf32_tic6x_le.sh: Skip OTHER_BSS_SECTIONS for 1236 relocating operation. 1237 12382015-04-01 Alan Modra <amodra@gmail.com> 1239 1240 PR ld/18176 1241 * ldlang.c (lang_size_sections): When alignment of sections 1242 results in relro base adjustment being too large, don't go lower 1243 than the initial value. 1244 * ldexp.c (fold_binary <DATA_SEGMENT_RELRO_END>): Comment. 1245 * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Omit SEGMENT_SIZE 1246 alignment when SEGMENT_SIZE is the same as MAXPAGESIZE. 1247 12482015-04-01 Alan Modra <amodra@gmail.com> 1249 1250 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Don't 1251 init ehdr_start_save. 1252 12532015-04-01 Alan Modra <amodra@gmail.com> 1254 1255 * Makefile.am (eelf32ppcvxworks.c): Depend on ppc32elf.em and 1256 ldemul-list.h. 1257 (eelf32lppc.c, eelf32lppclinux.c, eelf32lppcnto.c, eelf32lppcsim.c, 1258 eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppclinux.c, eelf32ppcnto.c, 1259 eelf32ppcsim.c): Rearrange deps for consistency. 1260 * Makefile.in: Regenerate. 1261 12622015-04-01 Ed Schouten <ed@nuxi.nl> 1263 1264 * emultempl/elf32.em (gld*_before_allocation): Zero-initialize 1265 the ehdr_start_save variable. 1266 12672015-03-31 Ed Schouten <ed@nuxi.nl> 1268 1269 * Makefile.am (ALL_64_EMULATION_SOURCES): Add 1270 eelf_x86_64_cloudabi.c. 1271 (eelf_x86_64_cloudabi.c): New. 1272 * configure.tgt (targ_emul): Set to elf_x86_64_cloudabi for 1273 x86_64-*-cloudabi*. 1274 * Makefile.in: Regenerated. 1275 * emulparams/elf_x86_64_cloudabi.sh: New file. 1276 12772015-03-31 H.J. Lu <hongjiu.lu@intel.com> 1278 1279 * configure.ac (AM_ZLIB): Removed. 1280 * Makefile.in: Regenerated. 1281 * config.in: Likewise. 1282 * configure: Likewise. 1283 12842015-03-24 Marcus Shawcroft <marcus.shawcroft@arm.com> 1285 1286 * emultempl/aarch64elf.em (_aarch64_add_stub_section): Set section 1287 alignment to 2. 1288 12892015-03-23 Marcus Shawcroft <marcus.shawcroft@arm.com> 1290 1291 * emultempl/aarch64elf.em 1292 (elf${ELFSIZE}_aarch64_add_stub_section): Adjust layout. 1293 12942015-03-18 Chen Gang <gang.chen.5i5j@gmail.com> 1295 1296 * ldmain.c (main): Use %F instead of %X for einfo. 1297 12982015-03-02 Alan Modra <amodra@gmail.com> 1299 1300 * ld.texinfo (Options <-z nocopyreloc>): Rewrite. 1301 13022015-02-27 Nick Clifton <nickc@redhat.com> 1303 1304 PR ld/17900 1305 * ldlang.c (lang_set_flags): Allow exclamation mark to reverse the 1306 sense of the following memory region attribute characters. 1307 13082015-02-27 Alan Modra <amodra@gmail.com> 1309 1310 * Makefile.am (ALL_EMULATION_SOURCES): Sort new h8300 entries. 1311 (eh8300elf_linux.c, eh8300helf_linux.c, eh8300self_linux.c, 1312 eh8300sxelf_linux.c): Do not invoke genscripts here. 1313 * Makefile.in: Regenerate. 1314 13152015-02-24 Nick Clifton <nickc@redhat.com> 1316 1317 * Makefile.am (ev850.c): Add dependency upon 1318 $(srcdir)/emultempl/v850elf.em. 1319 (ev850_rh850.c): Likewise. 1320 * Makefile.in: Regenerate. 1321 * emultempl/v850elf.em: New file. 1322 * emulparams/v850.sh (EXTRA_EM_FILE): Define. 1323 * emulparams/v850_rh850.sh (EXTRA_EM_FILE): Define. 1324 * scripttempl/v850.sc: Add .note.renesas section. 1325 * scripttempl/v850_rh850.sc: Likewise. 1326 13272015-02-24 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1328 1329 * scripttempl/avr.sc: Add new user_signatures region. Define and 1330 use symbols for all region lengths. 1331 * scripttempl/avrtiny.sc: Define and use symbols for all region 1332 lengths. 1333 13342015-01-21 Yoshinori Sato <ysato@users.sourceforge.jp> 1335 1336 * Makefile.am: (ALL_EMULATION_SOURCES): Add new emulations. 1337 * Makefile.in: Regenerate. 1338 * configure.tgt: Add h8300-*-linux 1339 * emulparams/h8300elf_linux.sh: Add new emulation. 1340 * emulparams/h8300helf_linux.sh: Likewise. 1341 * emulparams/h8300self_linux.sh: Likewise. 1342 * emulparams/h8300sxelf_linux.sh: Likewise. 1343 13442015-02-23 Nick Clifton <nickc@redhat.com> 1345 1346 * lexsup.c (parse_args): Produce a more reasonable error message 1347 when -ixxx or -rxxx is the last option on the linker command line. 1348 13492015-02-14 H.J. Lu <hongjiu.lu@intel.com> 1350 1351 PR ld/17973 1352 * testplug2.c (allsymbolsread_silent): New. 1353 (set_register_hook): Handle allsymbolsreadsilent. 1354 (onall_symbols_read): Skip a message if allsymbolsread_silent is 1355 TRUE. 1356 13572015-02-14 Alan Modra <amodra@gmail.com> 1358 1359 PR ld/17973 1360 * ldlang.h (struct lang_input_statement_flags): Add lto_output. 1361 * ldlang.c (lang_process): Don't set loading_lto_outputs. 1362 * ldfile.c (ldfile_try_open_bfd): Transfer entry flags.lto_output 1363 to bfd. 1364 * plugin.c (add_input_file, add_input_library): Set flags.lto_output. 1365 13662015-02-13 H.J. Lu <hongjiu.lu@intel.com> 1367 1368 * NEWS: Mention support for LLVM plugin. 1369 13702015-02-13 Alan Modra <amodra@gmail.com> 1371 1372 * ld.texinfo (Options <--defsym>): Correct cross reference. 1373 13742015-02-11 H.J. Lu <hongjiu.lu@intel.com> 1375 1376 * lexsup.c (ld_options): Add --[no-]map-whole-files for gold 1377 option compatibility. 1378 13792015-02-11 H.J. Lu <hongjiu.lu@intel.com> 1380 1381 * plugin.c (message): Output "warning:" for LDPL_WARNING. Output 1382 "error:" for LDPL_FATAL and LDPL_ERROR. 1383 * testplug2.c (parse_option): Handle fatal, error and warning. 1384 13852015-02-11 H.J. Lu <hongjiu.lu@intel.com> 1386 1387 * testplug2.c (dump_tv_tag): Removed. 1388 (onall_symbols_read): Return LDPS_ERR if the file descriptor isn't 1389 closed. 1390 * testplug3.c (dump_tv_tag): Removed. 1391 (onclaim_file): Fix typo. 1392 13932015-02-11 H.J. Lu <hongjiu.lu@intel.com> 1394 1395 PR ld/17878 1396 * Makefile.am (noinst_LTLIBRARIES): Add libldtestplug2.la and 1397 libldtestplug3.la. 1398 (libldtestplug2_la_SOURCES): New. 1399 (libldtestplug2_la_CFLAGS): Likewise. 1400 (libldtestplug2_la_LDFLAGS): Likewise. 1401 (libldtestplug3_la_SOURCES): New. 1402 (libldtestplug3_la_CFLAGS): Likewise. 1403 (libldtestplug3_la_LDFLAGS): Likewise. 1404 * Makefile.in: Regenerated. 1405 * testplug2.c: New file. 1406 * testplug3.c: Likewise. 1407 14082015-02-11 H.J. Lu <hongjiu.lu@intel.com> 1409 1410 PR ld/17878 1411 * plugin.c: Include ../bfd/plugin.h. 1412 (plugin_get_ir_dummy_bfd): Call bfd_create with 1413 link_info.output_bfd instead of srctemplate. Copy BFD info 1414 from srctemplate only if it doesn't use BFD plugin target 1415 vector. 1416 (plugin_load_plugins): Call register_ld_plugin_object_p with 1417 (plugin_object_p) 1418 (plugin_maybe_claim): Renamed to ... 1419 (plugin_object_p): This. Return dummy BFD target vector if 1420 input is calimed by plugin library, otherwise return NULL. 1421 Update plugin_format and plugin_dummy_bfd. 1422 (plugin_maybe_claim): New. Use plugin_object_p. 1423 14242015-02-10 H.J. Lu <hongjiu.lu@intel.com> 1425 1426 * plugin.c (plugin_maybe_claim): Initialize use_mmap. 1427 14282015-02-10 H.J. Lu <hongjiu.lu@intel.com> 1429 1430 * plugin.c (plugin_input_file_t): Add use_mmap. 1431 (plugin_pagesize): New. 1432 (get_view): Use plugin_pagesize. Set use_mmap if mmap is used. 1433 (plugin_load_plugins): Initialize plugin_pagesize. 1434 (plugin_maybe_claim): Unmap the buffer if plugin didn't claim the 1435 file. 1436 14372015-02-10 H.J. Lu <hongjiu.lu@intel.com> 1438 1439 * plugin.c (get_view): Align offset passed to mmap. 1440 14412015-02-08 H.J. Lu <hongjiu.lu@intel.com> 1442 1443 * ldfile.c (ldfile_try_open_bfd): Don't call bfd_check_format 1444 if plugin isn't active or there is no thing more to claim. 1445 14462015-02-08 H.J. Lu <hongjiu.lu@intel.com> 1447 1448 * plugin.c (plugin_maybe_claim): Check format against bfd_object 1449 directly. 1450 14512015-02-07 H.J. Lu <hongjiu.lu@intel.com> 1452 1453 * plugin.c (plugin_maybe_claim): Replace entry->the_bfd with 1454 ibfd. 1455 14562015-02-07 H.J. Lu <hongjiu.lu@intel.com> 1457 1458 * plugin.c: Include "libbfd.h". 1459 (plugin_strdup): New. 1460 (plugin_maybe_claim): Remove the argument of pointer to struct 1461 ld_plugin_input_file. Open and handle input entry. 1462 * plugin.h (plugin_maybe_claim): Updated. 1463 * ldfile.c (ldfile_try_open_bfd): Call plugin_maybe_claim directly 1464 without passing a pointer to struct ld_plugin_input_file. 1465 * ldmain.c: Don't include "libbfd.h". 1466 (add_archive_element): Call plugin_maybe_claim directly without 1467 passing a pointer to struct ld_plugin_input_file. 1468 14692015-02-06 H.J. Lu <hongjiu.lu@intel.com> 1470 1471 * ld.texinfo: Document -z text, -z notext and -z textoff. 1472 * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Add 1473 -z text, -z notext and -z textoff. 1474 14752015-02-06 H.J. Lu <hongjiu.lu@intel.com> 1476 1477 * configure.ac: Add AC_FUNC_MMAP. 1478 * config.in: Regenerated. 1479 * configure: Likewise. 1480 * plugin.c: Include <sys/mman.h>. 1481 (MAP_FAILED): New. Defined if not defined. 1482 (PROT_READ): Likewise. 1483 (MAP_PRIVATE): Likewise. 1484 (view_buffer_t): New. 1485 (plugin_input_file_t): Add view_buffer. 1486 (get_view): Try mmap and cache the view buffer. 1487 (plugin_maybe_claim): Initialize view_buffer. 1488 14892015-02-05 H.J. Lu <hongjiu.lu@intel.com> 1490 1491 * plugin.c (release_input_file): Set fd to -1 after closing it. 1492 (plugin_maybe_claim): Close fd only if fd != -1. 1493 14942015-02-05 H.J. Lu <hongjiu.lu@intel.com> 1495 1496 PR ld/17878 1497 * plugin.c: Include <errno.h>. 1498 (errno): New. Declare if needed. 1499 (plugin_input_file_t): New. 1500 (get_input_file): Implemented. 1501 (get_view): Likewise. 1502 (release_input_file): Likewise. 1503 (add_symbols): Updated. 1504 (get_symbols): Likewise. 1505 (plugin_maybe_claim): Allocate a plugin_input_file_t. Close fd 1506 only for a bfd_object input. 1507 15082015-02-02 Alan Modra <amodra@gmail.com> 1509 1510 * emultempl/ppc64elf.em (toc_section_name): New var. 1511 (ppc_after_open): Set it. 1512 (ppc_before_allocation): Use it. 1513 (gld${EMULATION_NAME}_after_allocation): Here too. 1514 15152015-01-29 H.J. Lu <hongjiu.lu@intel.com> 1516 1517 * ldfile.c (ldfile_try_open_bfd): Replace plugin_active_plugins_p() 1518 with link_info.lto_plugin_active. 1519 * ldlang.c (lang_process): Likewise. 1520 * ldmain.c (add_archive_element): Likewise. 1521 * plugin.c (plugin_active_plugins_p): Removed. 1522 * plugin.h (plugin_active_plugins_p): Likewise. 1523 15242015-01-28 H.J. Lu <hongjiu.lu@intel.com> 1525 1526 * plugin.h (plugin_get_ir_dummy_bfd): Removed. Move comments to 1527 ... 1528 * plugin.c (plugin_get_ir_dummy_bfd): Here. Make it static. 1529 15302015-01-28 H.J. Lu <hongjiu.lu@intel.com> 1531 1532 PR ld/17878 1533 * plugin.c (tv_header_tags(): Add LDPT_GET_VIEW. 1534 (get_view): New function. 1535 (set_tv_header): Handle LDPT_GET_VIEW. 1536 * testplug.c (tag_names): Add LDPT_GET_VIEW. 1537 (tv_get_view): New. 1538 (dump_tv_tag): Handle LDPT_GET_VIEW. 1539 (parse_tv_tag): Likewise. 1540 15412015-01-28 Alan Modra <amodra@gmail.com> 1542 1543 * emulparams/elf64ppc.sh (INITIAL_READWRITE_SECTIONS): Define. 1544 * emultempl/ppc64elf.em (params): Init new field. 1545 (ppc_after_open): New function. 1546 (LDEMUL_AFTER_OPEN): Define. 1547 * ldlang.c (lang_final): Whitespace fix. 1548 15492015-01-28 James Bowman <james.bowman@ftdichip.com> 1550 1551 * Makefile.am: Add FT32 files. 1552 * configure.tgt: Handle FT32 target. 1553 * emulparams/elf32ft32.sh: New file. 1554 * scripttempl/ft32.sc: New file. 1555 * Makefile.in: Regenerate. 1556 15572015-01-28 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> 1558 1559 PR 4643 1560 * ldexp.c (fold_name): Fold LENGTH only after 1561 lang_first_phase_enum. 1562 * ldgram.y (memory_spec): Don't evaluate ORIGIN and LENGTH 1563 rightaway. 1564 * ldlang.h (struct memory_region_struct): Add origin_exp and 1565 length_exp fields. 1566 * ldlang.c (lang_do_memory_regions): New. 1567 (lang_memory_region_lookup): Initialize origin_exp and 1568 length_exp fields. 1569 (lang_process): Call lang_do_memory_regions. 1570 15712015-01-20 Andrew Burgess <andrew.burgess@embecosm.com> 1572 1573 * ldlang.c (print_assignment): Only evaluate the expression for a 1574 PROVIDE'd assignment when the destination is being defined. 1575 Display a special message for PROVIDE'd symbols that are not being 1576 provided. 1577 15782015-01-20 Alan Modra <amodra@gmail.com> 1579 1580 * emulparams/elf64ppc.sh (OTHER_SDATA_SECTIONS): Use in place of.. 1581 (OTHER_BSS_SYMBOLS): ..this. 1582 (OTHER_PLT_RELOC_SECTIONS): Don't define. 1583 (OTHER_GOT_RELOC_SECTIONS): Add rela.toc1 and rela.tocbss. 1584 (OTHER_READWRITE_SECTIONS): Don't define. Move .toc1 to.. 1585 (OTHER_RELRO_SECTIONS_2): ..here. 1586 * scripttempl/elf.sc: Move SBSS too when DATA_SDATA. 1587 15882015-01-20 Alan Modra <amodra@gmail.com> 1589 1590 * emulparams/elf64ppc.sh (BSS_PLT): Don't define. 1591 (OTHER_READWRITE_SECTIONS): Move .branch_lt to.. 1592 (OTHER_RELRO_SECTIONS_2): ..here. 1593 (DATA_GOT, SEPARATE_GOTPLT, DATA_SDATA, DATA_PLT, 1594 PLT_BEFORE_GOT): Define. 1595 * scripttempl/elf.sc: Handle DATA_SDATA and DATA_GOT/DATA_PLT/ 1596 PLT_BEFORE_GOT combination. 1597 (DATA_GOT, SDATA_GOT): Don't define if either is already defined. 1598 15992015-01-20 Alan Modra <amodra@gmail.com> 1600 1601 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Move .opd to.. 1602 (OTHER_RELRO_SECTIONS_2): ..here, new define. 1603 * scripttempl/elf.sc: Add OTHER_RELRO_SECTIONS_2. 1604 16052015-01-19 Alan Modra <amodra@gmail.com> 1606 1607 PR ld/17615 1608 * ldlang.c (lang_process): Run lang_common before lang_gc_sections. 1609 16102015-01-14 Jiong Wang <jiong.wang@arm.com> 1611 1612 * ld-arm/elf32-reject.s: New testcase. 1613 * ld-arm/elf32-reject.d: Likewise. 1614 * ld-arm/elf32-reject-pie.s: Likewise. 1615 * ld-arm/elf32-reject-pie.d: Likewise. 1616 * ld-arm/arm-elf.exp: Run new testcases. 1617 * ld-arm/ifunc-7.s: Delete f2/f4 test items. 1618 * ld-arm/ifunc-7.rd: Likewise. 1619 * ld-arm/ifunc-7.gd: Likewise. 1620 * ld-arm/ifunc-7.dd: Likewise. 1621 * ld-arm/ifunc-8.s: Likewise. 1622 * ld-arm/ifunc-8.rd: Likewise. 1623 * ld-arm/ifunc-8.gd: Likewise. 1624 * ld-arm/ifunc-8.dd: Likewise. 1625 16262015-01-01 Alan Modra <amodra@gmail.com> 1627 1628 * ldver.c (ldversion): Just print current year. 1629 16302015-01-01 Alan Modra <amodra@gmail.com> 1631 1632 Update year range in copyright notice of all files. 1633 1634For older changes see ChangeLog-2014 1635 1636Copyright (C) 2015 Free Software Foundation, Inc. 1637 1638Copying and distribution of this file, with or without modification, 1639are permitted in any medium without royalty provided the copyright 1640notice and this notice are preserved. 1641 1642Local Variables: 1643mode: change-log 1644left-margin: 8 1645fill-column: 74 1646version-control: never 1647End: 1648