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