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