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