4582adb1a4e7d4ab15e12cd494f83e3f76284beb
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2013-11-22 Cory Fields <cory@coryfields.com>
2
3 * pe-dll.c (fill_edata): Only use a real timestamp if
4 --insert-timestamp was used.
5 * emultempl/pe.em: Add the --insert-timestamp option.
6 * emultempl/pep.em: Likewise for 64bit.
7 * ld.texinfo: Document the --insert-timestamp option.
8
9 2013-11-22 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
10
11 * scripttempl/avr.sc: Set .data section's LMA to next available
12 address in text region.
13
14 2013-11-21 Andrew Pinski <apinski@cavium.com>
15
16 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
17 and eaarch64linux32b.c
18 (eaarch64linux32.c): New target.
19 (eaarch64linux32b.c): Likewise.
20 * Makefile.in: Regenerate.
21 * configure.tgt (aarch64_be-*-linux*): Add
22 aarch64linux32 and aarch64linux32b to targ_extra_libpath.
23 (aarch64-*-linux*): Likewise.
24 * emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
25 * emulparams/aarch64linux32.sh: New file.
26 * emulparams/aarch64linux32b.sh: New file.
27
28 2013-11-21 Andrew Pinski <apinski@cavium.com>
29
30 * configure.tgt (aarch64_be-*-linux*): Split out the linux targets
31 into targ_extra_libpath.
32 (aarch64-*-linux*): Likewise.
33
34 2013-11-21 Nick Clifton <nickc@redhat.com>
35
36 PR ld/16192
37 * pe-dll.c (pe_create_runtime_relocator_reference): Zero the
38 newly allocated idata5 block.
39
40 2013-11-20 Nick Clifton <nickc@redhat.com>
41
42 * scripttempl/elf32msp430.sc (.data): Set the based on the next
43 free location in the text memory region, not a computation based
44 upon the size of the text section. Orphaned sections or other
45 linker scripts might insert new sections between the .text section
46 and the .data section.
47 * scripttempl/elf32msp430_3.sc (.data): Likewise.
48
49 2013-11-19 Roland McGrath <mcgrathr@google.com>
50 Alan Modra <amodra@gmail.com>
51
52 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
53 Don't use bfd_elf_record_link_assignment to mark __ehdr_start
54 hidden. Instead, just do it directly here, and only if it was
55 referenced but not defined.
56
57 2013-11-18 Chung-Lin Tang <cltang@codesourcery.com>
58
59 * emulparams/nios2linux.sh: New emulation file.
60 * configure.tgt: Add nios2*-*-linux* emulation case.
61 * Makefile.am (enios2linux.c): New emulation entry.
62 * Makefile.in: Regenerate.
63
64 2013-10-14 Nick Clifton <nickc@redhat.com>
65
66 * emultempl/aix.em (_read_file): Close file at end of function.
67
68 2013-10-10 Roland McGrath <mcgrathr@google.com>
69
70 * ldmisc.c (vfinfo): Use Boolean ? "" : ":" in place of ":" + Boolean.
71 It silences some compilers' warnings and is much less bizarre to read.
72
73 2013-10-09 Roland McGrath <mcgrathr@google.com>
74
75 * emultempl/elf32.em (id_note_section_size): Use ATTRIBUTE_UNUSED
76 rather than a dummy assignment for unused parameter.
77 * plugin.c (get_input_file, release_input_file): Likewise.
78
79 2013-10-09 Nick Clifton <nickc@redhat.com>
80
81 PR ld/16028
82 * ldmain.c (add_keepsyms_file): Close file at end of function.
83
84 2013-10-03 Will Newton <will.newton@linaro.org>
85
86 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
87 * emulparams/aarch64elf32.sh: Likewise.
88
89 2013-09-30 Nick Clifton <nickc@redhat.com>
90
91 * emulparams/msp430all.sh: Update ARCH names.
92
93 2013-09-24 Alan Modra <amodra@gmail.com>
94
95 * emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Provide 32-bit
96 and cross-endian values.
97 * emulparams/elf64ppc.sh: Source elf32ppccomon.sh. Delete duplicate,
98 and unset unwanted variables.
99
100 2013-09-24 Alan Modra <amodra@gmail.com>
101
102 * genscripts.sh (LIB_PATH): Don't exclude libdir or tooldir when
103 sysrooted. Also, don't always add tooldir when non-sysrooted.
104 Instead add both when native and tooldir also when TOOL_DIR is
105 defined. Always prepend '=' to paths when sysrooted. Always
106 put paths with LIBPATH_SUFFIX first in search order.
107
108 2013-09-20 Chung-Lin Tang <cltang@codesourcery.com>
109
110 * Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
111 * Makefile.in: Regenerate.
112
113 2013-09-20 Alan Modra <amodra@gmail.com>
114
115 * configure: Regenerate.
116
117 2013-09-18 Tristan Gingold <gingold@adacore.com>
118
119 * NEWS: Add marker for 2.24.
120
121 2013-09-17 Nick Clifton <nickc@redhat.com>
122
123 PR ld/15957
124 * deffilep.y (def_file_add_directive): Avoid readin past end of
125 buffer.
126
127 2013-08-28 Nick Clifton <nickc@redhat.com>
128
129 PR ld/15896
130 * ld.texinfo: Fix uses of MB abbreviation.
131
132 2013-08-26 Roland McGrath <mcgrathr@google.com>
133
134 * emulparams/elf_i386_nacl.sh (ARCH): Set to i386:nacl.
135 * emulparams/elf_x86_64_nacl.sh (ARCH): Set to i386:x86-64:nacl.
136 * emulparams/elf32_x86_64_nacl.sh (ARCH): Set to i386:x64-32:nacl.
137
138 2013-08-23 Roland McGrath <mcgrathr@google.com>
139
140 * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
141 SIZEOF_HEADERS here; elf.sc does it already.
142
143 2013-08-23 Nick Clifton <nickc@redhat.com>
144
145 PR ld/15839
146 * scripttempl/avr.sc: Do not include gc'able sections into general
147 sections during relocatable links.
148
149 2013-08-22 Christian Franke <franke@computer.org>
150
151 * emultempl/pe.em: Add --disable-large-address-aware option.
152 * ld.texinfo (--disable-large-address-aware): Add documentation.
153
154 2013-08-14 Clemens Lang <clemens.lang@fau.de>
155
156 * ldexp.c: Add LOG2CEIL() builtin function to linker script language
157 * ldgram.y: Likewise
158 * ldlex.l: Likewise
159 * NEWS: Mention the new feature.
160 * ld.texinfo: Document the new feature.
161
162 2013-07-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
163
164 * ldgram.y: Add ALIGN_WITH_INPUT output section attribute.
165 * ldlang.c: Likewise.
166 * ldlang.h: Likewise.
167 * ldlex.l: Likewise.
168 * mri.c: Likewise.
169 * ld.texinfo: Document new feature.
170 * NEWS: Mention new feature.
171
172 2013-07-18 Roland McGrath <mcgrathr@google.com>
173
174 * emultempl/armelf.em (elf32_arm_add_stub_section): Take third
175 argument ALIGNMENT_POWER, use it instead of constant 3.
176
177 2013-07-08 Jeff Law <law@redhat.com>
178
179 * scripttempl/elf.sc: Handle function names and other text after
180 .text.unlikely too.
181
182 2013-07-08 Tristan Gingold <gingold@adacore.com>
183
184 * scripttempl/ia64vms.sc: Add support of per data and per function
185 sections.
186
187 2013-07-01 Alan Modra <amodra@gmail.com>
188
189 * emultempl/ppc64elf.em: (ppc_layout_sections_again): Call
190 ppc64_elf_set_toc rather than ppc64_elf_toc/_bfd_set_gp_value.
191 (gld${EMULATION_NAME}_after_allocation): Likewise.
192
193 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
194
195 * emulparams/aarch64elf32.sh: New file.
196
197 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
198
199 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32b.c.
200 (eaarch64elf32b.c): New dependency and rule.
201 * Makefile.in: Re-generated.
202 * configure.tgt (aarch64-*-elf): Add aarch64elf32b.
203 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
204 * emulparams/aarch64elf32b.sh: New file.
205
206 2013-06-26 Yufeng Zhang <yufeng.zhang@arm.com>
207
208 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64elf32.c.
209 (eaarch64elf32.c): New dependency and rule.
210 * Makefile.in: Re-generated.
211 * configure.tgt (aarch64-*-elf): Add aarch64elf32.
212 (aarch64_be-*-elf, aarch64_be-*-linux*, aarch64-*-linux*): Likewise.
213 * emulparams/aarch64elf32.sh: New file.
214
215 2013-06-25 Maciej W. Rozycki <macro@codesourcery.com>
216
217 * emultempl/mipself.em (insn32): New variable.
218 (mips_create_output_section_statements): Handle insn32 mode.
219 (PARSE_AND_LIST_PROLOGUE): New macro.
220 (PARSE_AND_LIST_LONGOPTS): Likewise.
221 (PARSE_AND_LIST_OPTIONS): Likewise.
222
223 * gen-doc.texi: Set MIPS.
224 * ld.texinfo: Likewise.
225 (Options specific to MIPS targets): New section.
226 (ld and MIPS family): New node.
227 (Top, Machine Dependent): List the new node.
228
229 2013-06-24 Maciej W. Rozycki <macro@codesourcery.com>
230
231 * emulparams/elf32btsmip.sh: Arrange for .got.plt to be placed
232 as close to .plt as possible.
233 * scripttempl/elf.sc: Handle $INITIAL_READWRITE_SECTIONS and
234 $PLT_NEXT_DATA variables.
235
236 2013-06-23 Richard Sandiford <rdsandiford@googlemail.com>
237
238 * Makefile.am (ALL_EMULATION_SOURCES): Move MIPS ELF emulations to...
239 (ALL_64_EMULATION_SOURCES): ...here.
240 * Makefile.in: Regenerate.
241
242 2013-06-22 Richard Sandiford <rdsandiford@googlemail.com>
243
244 * NEWS: Document the removal of MIPS ECOFF targets.
245 * ld.texinfo (--gpsize=@var{value}): Use MIPS ELF rather than
246 MIPS ECOFF as an example of a target that supports small data.
247 * ldmain.c (g_switch_value): Likewise.
248 * configure.tgt (mips*-*-pe, mips*-dec-ultrix*, mips*-dec-osf*)
249 (mips*-sgi-irix* [v4 and earlier], mips*el-*-ecoff*, mips*-*-ecoff*)
250 (mips*-*-bsd*, mips*-*-lnews*): Remove cases.
251 * Makefile.am (ALL_EMULATION_SOURCES): Remove emipsbig.c, emipsbsd.c,
252 emipsidt.c, emipsidtl.c, emipslit.c, emipslnews.c and emipspe.c.
253 (emipsbig.c, emipsbsd.c, emipsidt.c, emipsidtl.c, emipslit.c)
254 (emipslnews.c, emipspe.c): Delete rules.
255 * Makefile.in: Regenerate.
256 * emulparams/mipsbig.sh, emulparams/mipsbsd.sh, emulparams/mipsidt.sh,
257 emulparams/mipsidtl.sh, emulparams/mipslit.sh, emulparams/mipslnews.sh,
258 emulparams/mipspe.sh, emultempl/mipsecoff.em: Delete.
259 * emultempl/m68kcoff.em: Update comment to say that MIPS ECOFF support
260 has now been removed.
261 * emultempl/pe.em: Remove TARGET_IS_mipspe checks.
262
263 2013-06-19 Will Newton <will.newton@linaro.org>
264
265 * emulparams/aarch64elf.sh: Remove IREL_IN_PLT.
266
267 2013-06-14 Yufeng Zhang <yufeng.zhang@arm.com>
268
269 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
270
271 2013-06-12 Nick Clifton <nickc@redhat.com>
272
273 * ldcref.c (output_one_cref): Place common definitions after
274 ordinary definitions but before references.
275
276 2013-06-10 Dilyan Palauzov <dilyan.palauzov@aegee.org>
277
278 PR ld/15598
279 * ld.texinfo (Source Code Reference): Fix typos.
280
281 2013-06-07 Will Newton <will.newton@linaro.org>
282
283 * emulparams/aarch64elf.sh: Add IREL_IN_PLT.
284
285 2013-06-07 Nick Clifton <nickc@redhat.com>
286
287 * ld.texinfo (SEGMENT_START): Rephrase to indicate that a -T
288 option must appear before the SEGMENT_START is encountered in
289 order for the default value to be overridden.
290
291 2013-05-03 Alan Modra <amodra@gmail.com>
292
293 PR ld/15365
294 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
295 Restrict __ehdr_start's export class to no less than STV_HIDDEN.
296
297 2013-05-03 Alan Modra <amodra@gmail.com>
298
299 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
300 Only call lang_for_each_statement if an ELF hash table is used.
301
302 2013-05-02 Nick Clifton <nickc@redhat.com>
303
304 * Makefile.am: Add emsp430X.c
305 * Makefine.in: Regenerate.
306 * configure.tgt (msp430): Add msp430X emulation.
307 * ldmain.c (multiple_definition): Only disable relaxation if it
308 was enabled by the user.
309 * ldmain.h (RELAXATION_ENABLED_BY_USER): New macro.
310 * emulparams/msp430all.sh: Add support for MSP430X.
311 * emultempl/generic.em: (before_parse): Enable relaxation for the
312 MSP430.
313 * scripttempl/msp430.sc: Reorganize sections. Add .rodata
314 section.
315 * scripttempl/msp430_3.sc: Likewise.
316 * NEWS: Mention support for MSP430X.
317
318 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
319
320 * configure.tgt: Replace alpha*-*-linuxecoff* pattern with
321 alpha*-*-linux*ecoff*. Update the `sed' pattern used to convert
322 from alpha*-*-linux-* to alpha*-*-linux*ecoff*.
323
324 2013-05-01 Maciej W. Rozycki <macro@codesourcery.com>
325
326 * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
327 Use is_elf_hash_table rather than a handcoded condition.
328
329 2013-04-30 Nick Clifton <nickc@redhat.com>
330
331 * ld.texinfo (SORT_BY_ALIGNMENT): Fix and clarify typo - sections
332 are sorted by descending order of alignment.
333
334 2013-04-29 Nick Clifton <nickc@redhat.com>
335
336 * scripttempl/DWARF.sc: Add support for .debug_line.* and
337 .debug_line_end.
338
339 2013-04-29 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
340
341 * emultempl/pe.em [cygwin]: Do not merge rdata with v2
342 psuedo-relocs.
343
344 2013-04-28 Thomas Schwinge <thomas@codesourcery.com>
345
346 * scripttempl/armbpabi.sc: Replace "source" usage with ".".
347 * scripttempl/avr.sc: Likewise.
348 * scripttempl/elf.sc: Likewise.
349 * scripttempl/elf32cr16.sc: Likewise.
350 * scripttempl/elf32crx.sc: Likewise.
351 * scripttempl/elf32msp430.sc: Likewise.
352 * scripttempl/elf32msp430_3.sc: Likewise.
353 * scripttempl/elf32sh-symbian.sc: Likewise.
354 * scripttempl/elf64hppa.sc: Likewise.
355 * scripttempl/elf_chaos.sc: Likewise.
356 * scripttempl/elfd10v.sc: Likewise.
357 * scripttempl/elfd30v.sc: Likewise.
358 * scripttempl/elfi370.sc: Likewise.
359 * scripttempl/elfm68hc11.sc: Likewise.
360 * scripttempl/elfm68hc12.sc: Likewise.
361 * scripttempl/elfxgate.sc: Likewise.
362 * scripttempl/elfxtensa.sc: Likewise.
363 * scripttempl/epiphany_4x4.sc: Likewise.
364 * scripttempl/i386beos.sc: Likewise.
365 * scripttempl/i386go32.sc: Likewise.
366 * scripttempl/ia64vms.sc: Likewise.
367 * scripttempl/ip2k.sc: Likewise.
368 * scripttempl/iq2000.sc: Likewise.
369 * scripttempl/mep.sc: Likewise.
370 * scripttempl/mmo.sc: Likewise.
371 * scripttempl/v850.sc: Likewise.
372 * scripttempl/v850_rh850.sc: Likewise.
373 * scripttempl/xstormy16.sc: Likewise.
374
375 2013-04-26 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
376
377 * scripttempl/avr.sc: Add ALIGN directive after *(.progmem*).
378
379 2013-04-26 Alan Modra <amodra@gmail.com>
380
381 * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Test
382 unresolved_syms_in_shared_libs rather than !executable to
383 determine whether to load DT_NEEDED libraries.
384
385 2013-04-25 Alan Modra <amodra@gmail.com>
386
387 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32lppclinux.c.
388 (eelf32lppclinux.c): New rule.
389 * Makefile.in: Regenerate.
390 * configure.tgt: Merge powerpc-linux and other powerpc-elf targets
391 with corresponding little-endian targets.
392 * emulparams/elf32lppc.sh: Update comment.
393 * emulparams/elf32lppclinux.sh: New.
394
395 2013-04-24 H.J. Lu <hongjiu.lu@intel.com>
396
397 * configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
398 x86_64-*-elf*.
399 (targ_extra_libpath): Likewise.
400 (tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
401
402 2013-04-24 Yufeng Zhang <yufeng.zhang@arm.com>
403
404 * emulparams/aarch64elf.sh: Define ELFSIZE=64.
405 * emulparams/aarch64linux.sh: Ditto.
406 * emultempl/aarch64elf.em (aarch64_elf_before_allocation):
407 Replace elf64 with elf${ELFSIZE}.
408 (elf64_aarch64_add_stub_section): Likewise.
409 (build_section_lists): Likewise.
410 (gld${EMULATION_NAME}_after_allocation): Likewise.
411 (gld${EMULATION_NAME}_finish): Likewise.
412 (aarch64_elf_create_output_section_statements): Likewise.
413
414 2013-04-24 Nick Clifton <nickc@redhat.com>
415
416 PR ld/15389
417 * scripttempl/avr.sc: Add .note.gnu.build-id section.
418
419 2013-04-22 Alan Modra <amodra@gmail.com>
420
421 * emultempl/ppc64elf.em (ppc_create_output_section_statements):
422 Check return from ppc64_elf_init_stub_bfd.
423
424 2013-04-15 Nick Clifton <nickc@redhat.com>
425
426 * Makefile.am (ELF_DEPS): Add a dependency upon
427 scripttempl/DWARF.sc.
428 (ELF_GEN_DEPS): Likewise.
429 (emmo.c): Likewise.
430 * Makefile.in: Regenerate.
431
432 * scripttempl/armbpabi.sc: Replace DWARF sections with an
433 inclusion of DWARF.sc.
434 * scripttempl/avr.sc: Likewise.
435 * scripttempl/elf.sc: Likewise.
436 * scripttempl/elf32cr16.sc: Likewise.
437 * scripttempl/elf32crx.sc: Likewise.
438 * scripttempl/elf32msp430.sc: Likewise.
439 * scripttempl/elf32msp430_3.sc: Likewise.
440 * scripttempl/elf32sh-symbian.sc: Likewise.
441 * scripttempl/elf64hppa.sc: Likewise.
442 * scripttempl/elf_chaos.sc: Likewise.
443 * scripttempl/elfd10v.sc: Likewise.
444 * scripttempl/elfd30v.sc: Likewise.
445 * scripttempl/elfi370.sc: Likewise.
446 * scripttempl/elfm68hc11.sc: Likewise.
447 * scripttempl/elfm68hc12.sc: Likewise.
448 * scripttempl/elfxgate.sc: Likewise.
449 * scripttempl/elfxtensa.sc: Likewise.
450 * scripttempl/epiphany_4x4.sc: Likewise.
451 * scripttempl/i386beos.sc: Likewise.
452 * scripttempl/i386go32.sc: Likewise.
453 * scripttempl/ia64vms.sc: Likewise.
454 * scripttempl/ip2k.sc: Likewise.
455 * scripttempl/iq2000.sc: Likewise.
456 * scripttempl/mep.sc: Likewise.
457 * scripttempl/mmo.sc: Likewise.
458 * scripttempl/v850.sc: Likewise.
459 * scripttempl/v850_rh850.sc: Likewise.
460 * scripttempl/xstormy16.sc: Likewise.
461 * scripttempl/DWARF.sc: New.
462
463 2013-04-04 Alan Modra <amodra@gmail.com>
464
465 * ldlang.c (load_symbols): Report "error adding symbols" on
466 bfd_link_add_symbols failure.
467 * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
468 * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
469 (gld${EMULATION_NAME}_try_needed): Likewise.
470
471 2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
472
473 PR ld/13812
474 * scripttempl/avr.sc: Place trampolines before .progmem section.
475
476 2013-03-25 Kai Tietz <ktietz@redhat.com>
477
478 * ld.texinfo (--disable-runtime-pseudo-reloc): Adjust default.
479
480 2013-03-21 Michael Schewe <michael.schewe@gmx.net>
481
482 * ld.texinfo (H8/300): Add description of relaxation of
483 mov @(disp:32,ERx) to mov @(disp:16,ERx).
484
485 2013-03-21 Kai Tietz <ktietz@redhat.com>
486
487 * pe-dll.c (process_def_file_and_drectve): Don't handle VC
488 generated C++-symbols as stdcall/fastcall.
489
490 2013-03-18 Alan Modra <amodra@gmail.com>
491
492 * ld.texinfo (--as-needed): Update.
493
494 2013-03-14 Jakub Jelinek <jakub@redhat.com>
495
496 * emulparams/aarch64linux.sh (LIBPATH_SUFFIX): Set to 64 for
497 aarch64linux* emulations.
498
499 2013-03-07 Alan Modra <amodra@gmail.com>
500
501 * ldfile.c (ldfile_open_command_file_1): Return after einfo
502 to avoid warning.
503
504 2013-03-05 Corinna Vinschen <vinschen@redhat.com>
505
506 * configure.host: Add x86_64-*-cygwin* as valid host.
507 * configure.tgt: Add x86_64-*-cygwin* as valid target.
508 * emultempl/pep.em: Handle different requirements for Cygwin in terms
509 of start addresses for executables and DLLs, based on memory model in
510 http://cygwin.com/ml/cygwin-developers/2013-02/msg00027.html
511
512 2013-03-05 Alan Modra <amodra@gmail.com>
513
514 PR ld/15222
515 * ldlang.c (lang_size_sections_1): When given an lma_region align
516 LMA as per VMA only if lma_region is the same as region.
517
518 2013-02-27 Nick Clifton <nickc@redhat.com>
519
520 * scripttempl/elf32msp430.sc: Add placement of .data.* sections.
521 Add alignment of .bss section.
522 * scripttempl/elf32msp430_3.sc: Likewise.
523
524 2013-02-26 Nick Clifton <nickc@redhat.com>
525
526 PR ld/15188
527 * ld.texinfo: Fix typos.
528
529 2013-02-21 Alan Modra <amodra@gmail.com>
530
531 * scripttempl/elf.sc (.init_array, .fini_array): Don't sort all
532 .init_array/.fini_array input sections before .ctors/.dtors input
533 sections.
534 (CTORS_IN_INIT_ARRAY, DTORS_IN_INIT_ARRAY): Adjust to suit.
535
536 2013-02-21 Alan Modra <amodra@gmail.com>
537
538 * emultempl/elf32.em (write_build_id, setup_build_id): Adjust
539 for elf_tdata changes.
540
541 2013-02-21 Alan Modra <amodra@gmail.com>
542
543 * emultempl/elf-generic.em: Use newly defined elf_obj_tdata
544 accessor macros.
545
546 2013-02-20 Alan Modra <amodra@gmail.com>
547
548 * Makefile.am: Use $(ELF_DEPS) on a number of eelf*.c rules.
549 * Makefile.in: Regenerate.
550
551 2013-02-19 Sandra Loosemore <sandra@codesourcery.com>
552
553 PR ld/15146
554 * plugin.c (plugin_notice): Add null check before dereferencing
555 pointer.
556
557 2013-02-19 Alan Modra <amodra@gmail.com>
558
559 * emultempl/elf32.em (emit_note_gnu_build_id): New static var.
560 Replace all info->emit_note_gnu_build_id refs.
561 (id_note_section_size): Rename from
562 gld${EMULATION_NAME}_id_note_section_size.
563 (struct build_id_info): Delete.
564 (write_build_id): Rename from
565 gld${EMULATION_NAME}_write_build_id_section.
566 Update elf_tdata usage. Style, formatting.
567 (setup_build_id): New function.
568 (gld${EMULATION_NAME}_after_open): Use setup_build_id.
569
570 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
571
572 PR ld/15146
573 * plugin.c (plugin_notice): Replace the undefined dummy bfd with
574 the real one.
575
576 2013-02-16 H.J. Lu <hongjiu.lu@intel.com>
577
578 PR ld/15141
579 * plugin.c (plugin_notice): Also trace symbol from the IR bfd.
580
581 2013-02-15 Kai Tietz <ktietz@redhat.com>
582
583 * scripttempl/pep.sc (.xdata): Merge .xdata* into .xdata section.
584 (.pdata): Merge .pdata* into .pdata section.
585
586 2013-02-11 Alan Modra <amodra@gmail.com>
587
588 * ldlang.c (get_init_priority): Comment typo.
589 (lang_finish): Free link_info.hash and lang_definedness_table.
590 (lang_end): Delete lang_definedness_table comment.
591
592 2013-02-11 Alan Modra <amodra@gmail.com>
593
594 PR ld/15130
595 * ld.texinfo (-rpath-link): Typo fix.
596
597 2013-02-08 Markos Chandras <markos.chandras@imgtec.com>
598
599 * emultempl/metagelf.em (build_section_lists): Use sec_info_type
600 rather than userdata->flags.just_syms.
601
602 2013-02-06 Sandra Loosemore <sandra@codesourcery.com>
603 Andrew Jenner <andrew@codesourcery.com>
604
605 Based on patches from Altera Corporation.
606
607 * Makefile.am (enios2elf.c): New rule.
608 * Makefile.in: Regenerated.
609 * configure.tgt: Add case for nios2*-*-*.
610 * emulparams/nios2elf.sh: New file.
611 * NEWS: Note Altera Nios II support.
612
613 2013-02-06 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
614
615 * emultempl/avrelf.em (avr_elf_before_parse): New function.
616 (LDEMUL_BEFORE_PARSE): Define.
617
618 2013-02-06 Alan Modra <amodra@gmail.com>
619
620 PR ld/15096
621 * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21.
622 * emultempl/alphaelf.em: Revert 2013-02-04.
623 * emultempl/cr16elf.em: Likewise.
624 * emultempl/crxelf.em: Likewise.
625 * emultempl/hppaelf.em: Likewise.
626 * emultempl/ia64elf.em: Likewise.
627 * emultempl/mipself.em: Likewise.
628 * NEWS: Revert 2013-01-21.
629
630 2013-02-04 H.J. Lu <hongjiu.lu@intel.com>
631
632 PR ld/15096
633 * emultempl/alphaelf.em (alpha_after_parse): Call
634 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
635 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
636 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
637 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
638 * emultempl/mipself.em (mips_after_parse): Likewise.
639
640 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Renamed
641 to ...
642 (gld_${EMULATION_NAME}_after_parse): This. Call
643 gld${EMULATION_NAME}_after_parse instead of after_parse_default.
644 (LDEMUL_AFTER_PARSE): Set to gld_${EMULATION_NAME}_after_parse.
645
646 * emultempl/elf32.em (new_dtags_set): New variable.
647 (gld${EMULATION_NAME}_before_parse): Don't set link_info.new_dtags
648 here.
649 (gld${EMULATION_NAME}_after_parse): New function.
650 (ld_${EMULATION_NAME}_emulation): Replace after_parse_default'
651 with gld${EMULATION_NAME}_after_parse.
652 (gld${EMULATION_NAME}_handle_option): Set new_dtags_set to TRUE
653 when setting link_info.new_dtags.
654
655 2013-01-25 Kai Tietz <ktietz@redhat.com>
656
657 * deffilep.y (def_image_name): Adjust type of base-address
658 argument.
659 (%union): Add new type bfd_vma as vma.
660 (VMA): New rule.
661 (opt_base): Use VMA instead of NUMBER rule to evaluate value.
662 (def_file_print): Use bfd's fprintf_vma to output base-address.
663
664 2013-01-24 Nick Clifton <nickc@redhat.com>
665
666 * NEWS: Mention support for V850E3V5 architecture.
667
668 2013-01-23 Martin Koegler <martin.koegler@chello.at>
669
670 PR ld/15041
671 * scripttempl/pep.sc (.pdata): Only accept .pdata sections.
672 (.xdata): Similarly.
673 (.debug_frame): Similarly.
674
675 2013-01-23 Georg-Johann Lay <avr@gjlay.de>
676
677 PR ld/15037
678 * scripttempl/avr.sc (.eeprom): Keep it.
679
680 2013-01-23 Leif Ekblad <leif@rdos.net>
681
682 * Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64rdos.c.
683 (eelf64rdos.c): New rule.
684 * emulparams/elf64rdos.sh: New file.
685 * configure.tgt (x86_64-*-rdos*): Use above.
686 * Makefile.in: Regenerate.
687
688 2013-01-22 Roland McGrath <mcgrathr@google.com>
689
690 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
691 new_dtags to TRUE for *-*-nacl* targets.
692
693 2013-01-21 Mike Frysinger <vapier@gentoo.org>
694
695 * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
696 link_info.new_dtags to TRUE for linux/gnu targets.
697 * NEWS: Mention new dtags default.
698
699 2013-01-19 H.J. Lu <hongjiu.lu@intel.com>
700
701 * Makefile.am (HOSTING_SCRT0): New.
702
703 * configure.host (HOSTING_SCRT0): New. Used for PIE.
704
705 * configure.in (HOSTING_SCRT0): New AC_SUBST.
706
707 * Makefile.in: Regenerated.
708 * configure: Likewise.
709
710 2013-01-18 Mike Frysinger <vapier@gentoo.org>
711
712 * NEWS: Mention change in behavior with --enable-new-dtags.
713 * ld.texinfo (Options): Clarify --enable-new-dtags behavior.
714
715 2013-01-14 Leif Ekblad <leif@rdos.net>
716 Alan Modra <amodra@gmail.com>
717
718 * ld.texinfo (-Tldata-segment): Describe.
719 * ldlex.h (OPTION_TLDATA_SEGMENT): New enum value.
720 * lexsup.c (ld_options): Add -Tldata-segment.
721 (parse_args): Handle OPTION_TLDATA_SEGMENT.
722 * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
723
724 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
725
726 * deffilep.y: Remove trailing white spaces.
727 * elf-hints-local.h: Likewise.
728 * ldexp.c: Likewise.
729 * ldlang.h: Likewise.
730 * ldmisc.c: Likewise.
731 * ldwrite.c: Likewise.
732 * pe-dll.c: Likewise.
733 * emulparams/criself.sh: Likewise.
734 * emulparams/crislinux.sh: Likewise.
735 * emulparams/elf32_tic6x_le.sh: Likewise.
736 * emulparams/elf32bmipn32-defs.sh: Likewise.
737 * emulparams/elf32mb_linux.sh: Likewise.
738 * emulparams/elf32mep.sh: Likewise.
739 * emulparams/elf32microblaze.sh: Likewise.
740 * emulparams/elf32ppc.sh: Likewise.
741 * emulparams/elf64_s390.sh: Likewise.
742 * emulparams/elf64alpha.sh: Likewise.
743 * emulparams/elf_s390.sh: Likewise.
744 * emulparams/elf_x86_64.sh: Likewise.
745 * emulparams/tic80coff.sh: Likewise.
746 * emultempl/aix.em: Likewise.
747 * emultempl/avrelf.em: Likewise.
748 * emultempl/cr16elf.em: Likewise.
749 * emultempl/pe.em: Likewise.
750 * emultempl/pep.em: Likewise.
751 * emultempl/spuelf.em: Likewise.
752 * emultempl/tic6xdsbt.em: Likewise.
753
754 2013-01-10 Will Newton <will.newton@imgtec.com>
755
756 * Makefile.am: Add Meta.
757 * Makefile.in: Regenerate.
758 * configure.tgt: Add Meta.
759 * emulparams/elf32metag.sh: New file.
760 * emultempl/metagelf.em: New file.
761
762 2013-01-09 Alan Modra <amodra@gmail.com>
763
764 * emulparams/elf_x86_64.sh (LARGE_BSS_AFTER_BSS): Define.
765 * emulparams/elf32_x86_64.sh: Likewise.
766 * emulparams/elf_k1om.sh: Likewise.
767 * emulparams/elf_l1om.sh: Likewise.
768 * scripttempl/elf.sc (LARGE_BSS): Define rather than appending to
769 OTHER_BSS_SECTIONS. Substitute in script.
770
771 2013-01-08 Leif Ekblad <leif@rdos.net>
772
773 * scripttempl/elf.sc (RODATA_ADDR): Typo fix.
774
775 2013-01-08 Alan Modra <amodra@gmail.com>
776
777 * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace
778 "name" param with a bfd_link_needed_list pointer. Update caller.
779 (gld${EMULATION_NAME}_check_ld_elf_hints): Likewise.
780
781 2013-01-08 Alan Modra <amodra@gmail.com>
782
783 * Makefile.am (ALL_EMULATION_SOURCES): Correct eavrxmega entries.
784 * Makefile.in: Regenerate.
785
786 2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
787
788 * lexsup.c (ld_options): Add fuse-ld= for GCC linker option
789 compatibility.
790
791 2013-01-07 Patrice Dumas <pertusus@free.fr>
792
793 * ld.texinfo: Replace @ with @@ when it is part of the text.
794 Correct ordering of M68HC11 entry.
795
796 2013-01-04 Juergen Urban <JuergenUrban@gmx.de>
797
798 * configure.tgt: Support ELF files for Sony Playstation 2 (for
799 ps2dev and ps2sdk).
800 * emulparams/elf32lr5900n32.sh: Create linker script for Sony
801 Playstation 2 ELF files using MIPS ABI n32.
802 * emulparams/elf32lr5900.sh: Create linker script for Sony
803 Playstation 2 ELF files using MIPS ABI o32.
804 * Makefile.am: Add linker scripts for Sony Playstation 2 ELF
805 files.
806
807 2013-01-02 H.J. Lu <hongjiu.lu@intel.com>
808
809 * ldver.c (ldversion): Update copyright year to 2013.
810
811 For older changes see ChangeLog-2012
812 \f
813 Copyright (C) 2013 Free Software Foundation, Inc.
814
815 Copying and distribution of this file, with or without modification,
816 are permitted in any medium without royalty provided the copyright
817 notice and this notice are preserved.
818
819 Local Variables:
820 mode: change-log
821 left-margin: 8
822 fill-column: 74
823 version-control: never
824 End:
This page took 0.044128 seconds and 3 git commands to generate.