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