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