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