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