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