1214571Sdim2006-12-23  Kazu Hirata  <kazu@codesourcery.com>
2214571Sdim
3214571Sdim	* configure.tgt: Recognize fido.
4214571Sdim
5214571Sdim2006-12-18  Pedro Alves  <pedro_alves@portugalmail.pt>
6214571Sdim
7214571Sdim	* pe-dll.c (pe_bfd_is_dll): New function.
8214571Sdim	* pe-dll.h (pe_bfd_is_dll): Declare.
9214571Sdim	* emultempl/pe.em (gld_${EMULATION_NAME}_recognized_file): Recognize
10214571Sdim	dlls using pe_bfd_is_dll instead of using the filename extension.
11214571Sdim
12214571Sdim2006-12-15  Ulrich Weigand  <uweigand@de.ibm.com>
13214571Sdim
14214571Sdim	* configure.tgt (NATIVE_LIB_DIRS): Specify for spu-*-elf*.
15214571Sdim
16214571Sdim2006-12-12  Daniel Jacobowitz  <dan@codesourcery.com>
17214571Sdim
18214571Sdim	* Makefile.am (ld_TEXINFOS): Set.
19214571Sdim	(ld.info ld.dvi ld.html): Delete rule.
20214571Sdim	* Makefile.in: Regenerated.
21214571Sdim
22214571Sdim2006-12-12  Ina Pandit  <inap@kpitcummins.com>
23214571Sdim
24214571Sdim	* ldlang.c (print_output_section_statement): Print load address
25214571Sdim	when lma differs from vma.
26214571Sdim
27214571Sdim2006-12-11  Daniel Jacobowitz  <dan@codesourcery.com>
28214571Sdim
29214571Sdim	* configure.in: Define GENINSRC_NEVER.
30214571Sdim	* doc/Makefile.am (ld.info): Remove srcdir prefix.
31214571Sdim	(MAINTAINERCLEANFILES): Add info file.
32214571Sdim	(DISTCLEANFILES): Pretend to add info file.
33214571Sdim	* po/Make-in (.po.gmo): Put gmo files in objdir.
34214571Sdim	* configure, Makefile.in: Regenerated.
35214571Sdim
36214571Sdim2006-12-04  Jan Beulich  <jbeulich@novell.com>
37214571Sdim
38214571Sdim	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Create
39214571Sdim	.eh_frame_hdr section here.
40214571Sdim
41214571Sdim2006-11-27  Ian Lance Taylor  <ian@airs.com>
42214571Sdim
43214571Sdim	* Makefile.am (EXTRA_DIST): Put spu_ovl.o in the emultempl
44214571Sdim	subdirectory.
45214571Sdim	* Makefile.in: Regenerate.
46214571Sdim
47214571Sdim2006-11-27  Bob Wilson  <bob.wilson@acm.org>
48214571Sdim
49214571Sdim	* emultempl/xtensaelf.em (XSHAL_ABI): Add default definition.
50214571Sdim	(replace_insn_sec_with_prop_sec): Use bfd_make_section_with_flags.
51214571Sdim	Delete redundant code to set sections flags and alignment.
52214571Sdim	(xt_config_info_unpack_and_check, check_xtensa_info): New.
53214571Sdim	(elf_xtensa_after_open): Iterate over input statements instead of
54214571Sdim	link_info.input_bfds.
55214571Sdim	(elf_xtensa_before_allocation): Likewise.  Call check_xtensa_info for
56214571Sdim	each input, and write a new .xtensa.info section in the output.
57214571Sdim
58214571Sdim2006-11-22  Nick Clifton  <nickc@redhat.com>
59214571Sdim
60214571Sdim	* configure.in (LINGUAS): Add ga.
61214571Sdim	* po/ga.po: New Irish translation.
62214571Sdim
63214571Sdim2006-11-20  H.J. Lu  <hongjiu.lu@intel.com>
64214571Sdim
65214571Sdim	* ld.texinfo: Fix a typo.
66214571Sdim
67214571Sdim2006-11-20  Alan Modra  <amodra@bigpond.net.au>
68214571Sdim
69214571Sdim	* emulparams/elf32_spu.sh (OTHER_SECTIONS): Define.
70214571Sdim
71214571Sdim2006-11-13  Daniel Jacobowitz  <dan@codesourcery.com>
72214571Sdim
73214571Sdim	* emultempl/armelf.em (arm_elf_before_allocation): Only call
74214571Sdim	bfd_elf32_arm_process_before_allocation if no dynamic sections.
75214571Sdim
76214571Sdim2006-11-08  Alan Modra  <amodra@bigpond.net.au>
77214571Sdim
78214571Sdim	* emultempl/elf32.em (gld*_before_allocation): Adjust output section
79214571Sdim	size for warning sections.
80214571Sdim
81214571Sdim2006-11-06  Vladimir Prus  <vladimir@codesourcery.com>
82214571Sdim
83214571Sdim	* emultempl/elf32.em (gld*_before_allocation): Don't prepend
84214571Sdim	"warning" to the message.
85214571Sdim
86214571Sdim2006-10-31  Pedro Alves  <pedro_alves@portugalmail.pt>
87214571Sdim
88214571Sdim	* pe-dll.c (autofilter_entry_type): Change name to const.
89214571Sdim	(pe_details_type) : Change target_name, object_target and
90214571Sdim	autofilter_symbollist to const.
91214571Sdim	(autofilter_symbollist_generic): Change to const.
92214571Sdim	(autofilter_symbollist_i386, pe_detail_list, pe_details,
93214571Sdim	autofilter_liblist, autofilter_objlist autofilter_symbolprefixlist,
94214571Sdim	autofilter_symbolsuffixlist): Likewise.
95214571Sdim	(is_import): Fix indentation.
96214571Sdim	(auto_export): Change afptr to const.  Move name declaration to
97214571Sdim	beginning of scope.
98214571Sdim	(make_tail): Clear undefined byte.
99214571Sdim	(jmp_ix86_bytes, jmp_sh_bytes, jmp_mips_bytes, jmp_arm_bytes): Change
100214571Sdim	to const.
101214571Sdim	(make_one): Change jmp_bytes to const.  Make idata$6 member size
102214571Sdim	arithmetic explicit and add comment.
103214571Sdim
104214571Sdim2006-10-30  H.J. Lu  <hongjiu.lu@intel.com>
105214571Sdim
106214571Sdim	PR ld/3111
107214571Sdim	* ld.h (args_type): Remove reduce_memory_overheads.
108214571Sdim
109214571Sdim	* ldlang.c (lang_map): Updated.
110214571Sdim	(section_already_linked): Likewise.
111214571Sdim	(print_input_section): Likewise.
112214571Sdim	* ldmain.c (main): Likewise.
113214571Sdim	* lexsup.c (parse_args): Likewise.
114214571Sdim
115214571Sdim2006-10-29  Pedro Alves  <pedro_alves@portugalmail.pt>
116214571Sdim
117214571Sdim	* pe-dll.c (make_singleton_name_thunk): Re-add the NULL terminator.
118214571Sdim
119214571Sdim2006-10-27  Alan Modra  <amodra@bigpond.net.au>
120214571Sdim
121214571Sdim	* ldlang.c (lang_map): Don't say SEC_LINKER_CREATED and SEC_KEEP
122214571Sdim	sections have been discarded.
123214571Sdim	(lang_do_version_exports_section): Set SEC_KEEP on export section.
124214571Sdim	* emultempl/elf32.em (before_allocation): Set SEC_KEEP on warning
125214571Sdim	sections.
126214571Sdim
127214571Sdim2006-10-26  Joseph S. Myers  <joseph@codesourcery.com>
128214571Sdim            Mark Mitchell  <mark@codesourcery.com>
129214571Sdim
130214571Sdim	* configure.tgt (arm*linux*): Support both big- and little-endian.
131214571Sdim
132214571Sdim2006-10-25  H.J. Lu  <hongjiu.lu@intel.com>
133214571Sdim
134214571Sdim	* emulparams/hppa64linux.sh (LARGE_SECTIONS): Renamed to ...
135214571Sdim	(OTHER_BSS_SECTIONS): This.
136214571Sdim	* scripttempl/elf.sc (OTHER_BSS_SECTIONS): Support LARGE_SECTIONS.
137214571Sdim	(LARGE_SECTIONS): Move .lbss sections to OTHER_BSS_SECTIONS.
138214571Sdim
139214571Sdim2006-10-25  Alan Modra  <amodra@bigpond.net.au>
140214571Sdim	    Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
141214571Sdim	    Yukishige Shibata  <shibata@rd.scei.sony.co.jp>
142214571Sdim	    Nobuhisa Fujinami  <fnami@rd.scei.sony.co.jp>
143214571Sdim	    Takeaki Fukuoka  <fukuoka@rd.scei.sony.co.jp>
144214571Sdim
145214571Sdim	* emulparams/elf32_spu.sh: New file.
146214571Sdim	* emultempl/spu_inc.s: New file.
147214571Sdim	* emultempl/spu_ovl.S: New file.
148214571Sdim	* emultempl/spu_ovl.o: New file.
149214571Sdim	* emultempl/spuelf.em: New file.
150214571Sdim	* Makefile.am: Add SPU support.
151214571Sdim	* configure.tgt: Likewise.
152214571Sdim	* ldlang.c (load_symbols): Make global.
153214571Sdim	* ldlang.h (load_symbols): Declare.
154214571Sdim	* scripttempl/elf.sc (OTHER_BSS_SECTIONS): Add.
155214571Sdim	* Makefile.in: Regenerate.
156214571Sdim
157214571Sdim2006-10-24  Ben Elliston  <bje@au.ibm.com>
158214571Sdim
159214571Sdim	* lexsup.c (parse_args): Add a comment noting a fall-through.
160214571Sdim
161214571Sdim2006-10-24  H.J. Lu  <hongjiu.lu@intel.com>
162214571Sdim
163214571Sdim	* configure.in (AC_CHECK_HEADERS): Add limits.h and sys/param.h.
164214571Sdim	* configure: Regenerated.
165214571Sdim	* config.in: Likewise.
166214571Sdim
167214571Sdim2006-10-23  Alan Modra  <amodra@bigpond.net.au>
168214571Sdim
169214571Sdim	* emulparams/h8300elf.sh (TINY_DATA_SECTION, TINY_BSS_SECTION): Don't
170214571Sdim	set section address on a relocatable link.
171214571Sdim
172214571Sdim	* ld.texinfo (Output Section Discarding): Fix xref.
173214571Sdim
174214571Sdim2006-10-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
175214571Sdim
176214571Sdim	* emulparams/shelf32.sh: Set default stack to 0x80000.
177214571Sdim	* emulparams/shelf64.sh: Likewise.
178214571Sdim
179214571Sdim2006-10-20  Richard Sandiford  <richard@codesourcery.com>
180214571Sdim
181214571Sdim	* emulparams/elf32bmip.sh (OTHER_GOT_RELOC_SECTIONS): Define.
182214571Sdim	* emulparams/elf32bmipn32-defs.sh (OTHER_GOT_RELOC_SECTIONS): Likewise.
183214571Sdim
184214571Sdim2006-10-19  Alan Modra  <amodra@bigpond.net.au>
185214571Sdim
186214571Sdim	* emultempl/armelf.em (arm_elf_before_allocation): Run
187214571Sdim	gld${EMULATION_NAME}_before_allocation later.
188214571Sdim	* ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
189214571Sdim
190214571Sdim2006-10-18  Roy Marples  <uberlord@gentoo.org>
191214571Sdim
192214571Sdim	* emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
193214571Sdim	elf64-sparc-freebsd.
194214571Sdim
195214571Sdim2006-10-18  Joseph Myers  <joseph@codesourcery.com>
196214571Sdim
197214571Sdim	* configure.tgt (i[3-7]86-*-linux-*): Also define
198214571Sdim	targ_extra_libpath in want64 case.
199214571Sdim	* emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
200214571Sdim	x86_64*-linux*.
201214571Sdim
202214571Sdim2006-10-17  Alan Modra  <amodra@bigpond.net.au>
203214571Sdim
204214571Sdim	* scripttempl/elf.sc (INTERP): Delete.  Move definition to..
205214571Sdim	(INITIAL_READONLY_SECTIONS): ..here.
206214571Sdim	* emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
207214571Sdim	* emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
208214571Sdim	* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.
209214571Sdim
210214571Sdim2006-10-17  Alan Modra  <amodra@bigpond.net.au>
211214571Sdim
212214571Sdim	* ldlang.c (strip_excluded_output_sections): Do strip sections
213214571Sdim	that define syms, but don't ignore them.
214214571Sdim	* ld.texinfo (Output Section Discarding): Revise.
215214571Sdim	* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
216214571Sdim	finish_default.
217214571Sdim
218214571Sdim2006-10-16  Richard Sandiford  <richard@codesourcery.com>
219214571Sdim
220214571Sdim	* Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
221214571Sdim	(eelf64btsmip.c, eelf64ltsmip.c): Likewise.
222214571Sdim	* Makefile.in: Regenerate.
223214571Sdim	* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
224214571Sdim	.reginfo rather than .MIPS.options.
225214571Sdim	* emulparams/elf64bmip-defs.sh: New file.
226214571Sdim	* emulparams/elf64bmip.sh: Include it.
227214571Sdim	(COMMONPAGESIZE): Delete.
228214571Sdim	* emulparams/elf64btsmip.sh: As for elf64bmip.sh.
229214571Sdim
230214571Sdim2006-10-12  Bob Wilson  <bob.wilson@acm.org>
231214571Sdim
232214571Sdim	* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
233214571Sdim	for linkonce XCC exception tables (".e" and ".h").
234214571Sdim
235214571Sdim2006-10-11  Bob Wilson  <bob.wilson@acm.org>
236214571Sdim
237214571Sdim	* emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
238214571Sdim	(OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
239214571Sdim	(OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
240214571Sdim	(OTHER_SDATA_SECTIONS): New.
241214571Sdim	* scripttempl/elfxtensa.sc: Import changes from elf.sc.
242214571Sdim
243214571Sdim2006-10-11  Jakub Jelinek  <jakub@redhat.com>
244214571Sdim
245214571Sdim	* ldlang.c (lang_append_dynamic_list): When appending, add all elements
246214571Sdim	of the dynamic list rather than just the first entry.
247214571Sdim
248214571Sdim2006-10-10  Bob Wilson  <bob.wilson@acm.org>
249214571Sdim
250214571Sdim	* emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
251214571Sdim
252214571Sdim2006-10-06  Mike Frysinger  <vapier@gentoo.org>
253214571Sdim
254214571Sdim	* genscripts.sh: Respect LIBPATH_SUFFIX when not using sysroot.
255214571Sdim
256214571Sdim2006-10-04  Bob Wilson  <bob.wilson@acm.org>
257214571Sdim
258214571Sdim	* emulparams/xtensa-config.sh: Delete file.
259214571Sdim	* emulparams/elf32xtensa.sh: Set MAXPAGESIZE here instead of including
260214571Sdim	xtensa-config.sh.
261214571Sdim	* Makefile.am (eelf32xtensa.c): Remove dependency on xtensa-config.sh.
262214571Sdim	* Makefile.in: Regenerate.
263214571Sdim
264214571Sdim2006-10-03  Pedro Alves  <pedro_alves@portugalmail.pt>
265214571Sdim
266214571Sdim	* pe-dll.c : Fix typo.
267214571Sdim	(autofilter_symbolprefixlist) : Remove __imp_.
268214571Sdim	(is_import) : New.
269214571Sdim	(auto-export) : Remove  re-import check. Moved to callers.
270214571Sdim	(process_def_file) : Check is symbol is an import. Always
271214571Sdim	underscore __imp_.
272214571Sdim	Only skip underscore on underscored targets.
273214571Sdim	(make_one) : Always underscore __imp_.
274214571Sdim	(pe_create_runtime_relocator_reference) : Only underscore
275214571Sdim	_pei386_runtime_relocator on underscored targets.
276214571Sdim	(pe_process_import_defs) : Always underscore __imp_.
277214571Sdim	* pe.em (U) : New macro.
278214571Sdim	(set_pe_subsystem) : Remove underscore from _WinMainCRTStartup
279214571Sdim	on wince subsystem case.
280214571Sdim	(pe_find_data_imports) : Use U on "_head_".
281214571Sdim	(gld_${EMULATION_NAME}_unrecognized_file) : Use U.
282214571Sdim
283214571Sdim2006-09-26  H.J. Lu  <hongjiu.lu@intel.com>
284214571Sdim
285214571Sdim	PR ld/3223
286214571Sdim	PR ld/3267
287214571Sdim	* ld.texinfo: Updated Output Section Discarding.
288214571Sdim
289214571Sdim	* ldlang.h (lang_output_section_statement_type): Add
290214571Sdim	section_relative_symbol.
291214571Sdim	* ldlang.c (strip_excluded_output_sections): Don't strip a
292214571Sdim	section with a symbol relative to it.
293214571Sdim	(lang_size_sections_1): Mark if an output section has a symbol
294214571Sdim	symbol relative to it.
295214571Sdim
296214571Sdim2006-09-25  Bob Wilson  <bob.wilson@acm.org>
297214571Sdim
298214571Sdim	* ld.texinfo (Options): Update description of local symbols for -X.
299214571Sdim
300214571Sdim2006-09-23  H.J. Lu  <hongjiu.lu@intel.com>
301214571Sdim
302214571Sdim	PR ld/3249
303214571Sdim	* scripttempl/elf.sc: Don't combine .gnu.linkonce.d.*personality*
304214571Sdim	and .gnu.linkonce.wi.* sections with .data and .debug_info for
305214571Sdim	relocatable link.
306214571Sdim
307214571Sdim2006-09-20  Kai Tietz  <Kai.Tietz@onevision.com>
308214571Sdim
309214571Sdim	* configure.in: Add new target x86_64-pc-mingw64.
310214571Sdim	* configure: Regenerate.
311214571Sdim	* configure.tgt: Add definition of target emulation i386pep.
312214571Sdim	* Makefile.am: Add new target files for target-all.
313214571Sdim	* Makefile.in: Regenerate.
314214571Sdim	* pe-dll.c: Adjust to be inheritable by pep_dll.c as include.
315214571Sdim	Fix memory out of bounds excess for idata relocation section data.
316214571Sdim	* pep-dll.c: Add target specific shared object handling.
317214571Sdim	* pep-dll.h: Add target specific definitions for shared object handling.
318214571Sdim	* emulparams/i386pep.sh: Add new emulation params for target x86_64 coff.
319214571Sdim	* emultempl/pep.em: Add new emulation file for target x86_64 coff.
320214571Sdim	* po/POTFILES.in: Regenerate.
321214571Sdim	* scripttempl/pep.sc: Add linker script template for target x86_64 coff.
322214571Sdim	* NEWS: Mention new target.
323214571Sdim
324214571Sdim2006-09-18  Thiemo Seufer  <ths@networkno.de>
325214571Sdim
326214571Sdim	* configure.tgt: Add mips*el-sde-elf* and mips*-sde-elf*
327214571Sdim	configurations.
328214571Sdim
329214571Sdim2006-09-17  Mei Ligang  <ligang@sunnorth.com.cn>
330214571Sdim
331214571Sdim	* emulparams/scoreelf.sh: New file.
332214571Sdim	* emultempl/scoreelf.em: New file.
333214571Sdim	* Makefile.am: Add Score files.
334214571Sdim	* Makefile.in: Regenerate.
335214571Sdim	* configure.tgt: Add Score target.
336214571Sdim	* NEWS: Mention new target support.
337214571Sdim
338214571Sdim2006-09-16  Nick Clifton  <nickc@redhat.com>
339214571Sdim	    Pedro Alves  <pedro_alves@portugalmail.pt>
340214571Sdim
341214571Sdim	* ldctor.c: Make use of new STRING_COMMA_LEN and CONST_STRNEQ
342214571Sdim	macros defined in bfd.h.
343214571Sdim	* ldmain.c: Likewise.
344214571Sdim	* ldwrite.c: Likewise.
345214571Sdim	* lexsup.c: Likewise.
346214571Sdim	* pe-dll.c: Likewise.
347214571Sdim	* emultempl/aix.em: Likewise.
348214571Sdim	* emultempl/beos.em: Likewise.
349214571Sdim	* emultempl/elf32.em: Likewise.
350214571Sdim	* emultempl/pe.em: Likewise.
351214571Sdim	* emultempl/sunos.em: Likewise.
352214571Sdim	* emultempl/xtensaelf.em: Likewise.
353214571Sdim
354214571Sdim2006-09-15  Nick Clifton  <nickc@redhat.com>
355214571Sdim
356214571Sdim	PR ld/3107
357214571Sdim	* ldlang.c (lang_size_sections_1): Do not abort when encountering
358214571Sdim	a non-empty section that is ignored.  Instead produce a warning
359214571Sdim	message.
360214571Sdim
361214571Sdim2006-09-08  H.J. Lu  <hongjiu.lu@intel.com>
362214571Sdim
363214571Sdim	* ld.texinfo: Document --dynamic-list-cpp-typeinfo.
364214571Sdim
365214571Sdim2006-09-07  H.J. Lu  <hongjiu.lu@intel.com>
366214571Sdim
367214571Sdim	* Makefile.am (CXX): Set to g++.
368214571Sdim	(CXX_FOR_TARGET): Likewise.
369214571Sdim	* Makefile.in: Regenerated.
370214571Sdim
371214571Sdim	* NEWS: Mention --dynamic-list.
372214571Sdim
373214571Sdim	* ld.texinfo: Document --dynamic-list.
374214571Sdim
375214571Sdim	* ldgram.y: Support dynamic list.
376214571Sdim
377214571Sdim	* ldlang.c (lang_process): Call lang_finalize_version_expr_head
378214571Sdim	on link_info.dynamic if needed.
379214571Sdim	(lang_append_dynamic_list): New.
380214571Sdim	(lang_append_dynamic_list_cpp_typeinfo): New.
381214571Sdim	* ldlang.h (lang_append_dynamic_list): Likewise.
382214571Sdim	* ldlang.h (lang_append_dynamic_list_cpp_typeinfo): Likewise.
383214571Sdim
384214571Sdim	* ldlex.h (input_enum): Add input_dynamic_list.
385214571Sdim	* ldlex.l: Handle it.
386214571Sdim
387214571Sdim	* ldmain.c (main): Initialize link_info.dynamic.
388214571Sdim
389214571Sdim	* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST and
390214571Sdim	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
391214571Sdim	(ld_options): Add entries for OPTION_DYNAMIC_LIST and
392214571Sdim	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
393214571Sdim	(parse_args): Handle OPTION_DYNAMIC_LIST and
394214571Sdim	OPTION_DYNAMIC_LIST_CPP_TYPEINFO.
395214571Sdim
396214571Sdim2006-09-07  Joel Sherrill <joel.sherrill@oarcorp.com>
397214571Sdim
398214571Sdim	* emulparams/h8300elf.sh: _tinydata should not be placed in
399214571Sdim	relocatables.
400214571Sdim	* emulparams/h8300.sh: Likewise.
401214571Sdim	* emulparams/h8300sxelf.sh: Likewise.
402214571Sdim
403214571Sdim2006-09-05  H.J. Lu  <hongjiu.lu@intel.com>
404214571Sdim
405214571Sdim	PR ld/3015
406214571Sdim	* emultempl/elf32.em: Enable "-z relro" only if $COMMONPAGESIZE
407214571Sdim	is defined.
408214571Sdim
409214571Sdim2006-08-29  Nathan Sidwell  <nathan@codesourcery.com>
410214571Sdim
411214571Sdim	* ldlang.c (walk_wild): Allow * to glob '/' in wildcarded match.
412214571Sdim
413214571Sdim2006-08-28  Alan Modra  <amodra@bigpond.net.au>
414214571Sdim
415214571Sdim	* scripttempl/elf.sc: Ensure that crtbegin and crtend entries will
416214571Sdim	not match random object files in a path containing "crtbegin" or
417214571Sdim	"crtend" as part of a directory name.
418214571Sdim	* scripttempl/armbpabi.sc: Likewise.
419214571Sdim	* scripttempl/crisaout.sc: Likewise.
420214571Sdim	* scripttempl/elf32crx.sc: Likewise.
421214571Sdim	* scripttempl/elf32sh-symbian.sc: Likewise.
422214571Sdim	* scripttempl/elf_chaos.sc: Likewise.
423214571Sdim	* scripttempl/elfd10v.sc: Likewise.
424214571Sdim	* scripttempl/elfd30v.sc: Likewise.
425214571Sdim	* scripttempl/elfxtensa.sc: Likewise.
426214571Sdim	* scripttempl/iq2000.sc: Likewise.
427214571Sdim	* scripttempl/mmo.sc: Likewise.
428214571Sdim	* scripttempl/xstormy16.sc: Likewise.
429214571Sdim
430214571Sdim2006-08-24  Bob Wilson  <bob.wilson@acm.org>
431214571Sdim
432214571Sdim	* emulparams/elf32xtensa.sh (.xt.prop): Add .xt.prop.*.
433214571Sdim	* scripttempl/elfxtensa.sc (.text): Add .literal.*.
434214571Sdim
435214571Sdim2006-08-24  Pedro Alves  <pedro_alves@portugalmail.pt>
436214571Sdim
437214571Sdim	* ldlang.c (lang_size_sections_1, lang_assignment_statement_enum):
438214571Sdim	Adjust the current address of DEFAULT_MEMORY_REGION even
439214571Sdim	when dot hasn't changed.
440214571Sdim
441214571Sdim2006-08-23  Alan Modra  <amodra@bigpond.net.au>
442214571Sdim
443214571Sdim	* ldexp.c (fold_name <LOADADDR>): Return an absolute value
444214571Sdim	rather than a section relative value.
445214571Sdim
446214571Sdim2006-08-22  Alan Modra  <amodra@bigpond.net.au>
447214571Sdim
448214571Sdim	* NEWS: Mention LMA default change.
449214571Sdim	* ld.texinfo (Output Section LMA): Update default description.
450214571Sdim	(Location Counter): Clarify backward movement.
451214571Sdim	* ldlang.c (lang_size_sections_1): Leave non-alloc sections with
452214571Sdim	default lma equal to vma.  Warn on backward movement of dot.
453214571Sdim
454214571Sdim2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
455214571Sdim
456214571Sdim	* configure.tgt: Set targ_emul to arm_wince_pe for ARM
457214571Sdim	Windows CE targets.
458214571Sdim
459214571Sdim2006-08-22  Pedro Alves  <pedro_alves@portugalmail.pt>
460214571Sdim
461214571Sdim	* Makefile.am: Split arm-wince into its own emulation.
462214571Sdim	* Makefile.in: Regenerate.
463214571Sdim	* pe-dll.c : Define PE_ARCH_arm_wince.
464214571Sdim	(pe_detail_list): Add PE_ARCH_arm_wince case.
465214571Sdim	(make_one): Handle PE_ARCH_arm_epoc and PE_ARCH_arm_wince cases.
466214571Sdim	* emulparams/arm_wince_pe.sh: New file.
467214571Sdim	* emultempl/pe.em: Handle new TARGET_IS_arm_wince_pe define.
468214571Sdim	Remap bfd_arm_allocate_interworking_sections,
469214571Sdim	bfd_arm_get_bfd_for_interworking and
470214571Sdim	bfd_arm_process_before_allocation for arm-pe and arm-wince-pe
471214571Sdim	targets too.
472214571Sdim	(gld_${EMULATION_NAME}_recognized_file): Handle arm-wince and
473214571Sdim	arm-epoc bfd format names.
474214571Sdim
475214571Sdim2006-08-18  Paul Brook  <paul@codesourcery.com>
476214571Sdim
477214571Sdim	* emultempl/armelf.em (arm_elf_before_allocation): Call
478214571Sdim	gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
479214571Sdim
480214571Sdim2006-08-17  Pedro Alves  <pedro_alves@portugalmail.pt>
481214571Sdim
482214571Sdim	* pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
483214571Sdim	(generate_reloc): Revert to skipping sections without a SEC_LOAD flag,
484214571Sdim	and to not skipping .idata* sections.
485214571Sdim
486214571Sdim2006-08-16  Alan Modra  <amodra@bigpond.net.au>
487214571Sdim
488214571Sdim	PR 3052
489214571Sdim	* ldlang.h (lang_output_section_statement_type): Replace
490214571Sdim	"processed" field with "processed_vma" and "processed_lma".
491214571Sdim	* ldlang.c (lang_do_assignments_1): Move lma setting code..
492214571Sdim	(lang_size_sections_1): ..to here.
493214571Sdim	(lang_reset_memory_regions): Adjust for
494214571Sdim	lang_output_section_statement_type change.
495214571Sdim	* ldexp.c (fold_name): Likewise.
496214571Sdim
497214571Sdim2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>
498214571Sdim
499214571Sdim	* emulparams/armelf.sh (MAXPAGESIZE): Changed to
500214571Sdim	"CONSTANT (MAXPAGESIZE)".
501214571Sdim
502214571Sdim2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
503214571Sdim
504214571Sdim	PR ld/3006
505214571Sdim	* ldlang.c (lang_section_bst_type): Moved to ...
506214571Sdim	* ldlang.h: Here.
507214571Sdim
508214571Sdim	* ldlang.h (lang_wild_statement_struct): Add a tree field.
509214571Sdim
510214571Sdim	* ldlang.c (wild_sort_fast): Use the tree field for BST.
511214571Sdim	(wild): Likeise.
512214571Sdim	(analyze_walk_wild_section_handler): Initialize the tree field.
513214571Sdim
514214571Sdim2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
515214571Sdim
516214571Sdim	PR ld/3009
517214571Sdim	* ldlang.c (update_wild_statements): Update the whole wild
518214571Sdim	section list.
519214571Sdim
520214571Sdim2006-08-04  Nick Clifton  <nickc@redhat.com>
521214571Sdim	    Mike Frysinger  <michael.frysinger@analog.com>
522214571Sdim
523214571Sdim	* scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
524214571Sdim	(__preinit_array_start, __preinit_array_end, __init_array_start,
525214571Sdim	__init_array_end, __fini_array_start, __fini_array_end, edata, end):
526214571Sdim	Use ${USER_LABEL_PREFIX}.
527214571Sdim	* emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
528214571Sdim	(USER_LABEL_PREFIX): Set.
529214571Sdim
530214571Sdim2006-08-04  Marcelo Tosatti  <marcelo@kvack.org>
531214571Sdim
532214571Sdim	* ldmain.c (main): Initialise print_gc_sections field of link_info
533214571Sdim	structure.
534214571Sdim	* lexsup.c: Add --print-gc-sections and --no-print-gc-sections
535214571Sdim	switches.
536214571Sdim	* ld.texinfo: Document new switches.
537214571Sdim	* NEWS: Mention new switches.
538214571Sdim
539214571Sdim2006-08-04  Richard Sandiford  <richard@codesourcery.com>
540214571Sdim	    Kazu Hirata  <kazu@codesourcery.com>
541214571Sdim	    Phil Edwards  <phil@codesourcery.com>
542214571Sdim
543214571Sdim	* Makefile.am (ALL_EMULATIONS): Add eshelf_vxworks.o and
544214571Sdim	eshlelf_vxworks.o.
545214571Sdim	(eshelf_vxworks.c, eshlelf_vxworks.c): New rules.
546214571Sdim	* Makefile.in: Regenerate.
547214571Sdim	* configure.tgt (sh-*-vxworks): Use shelf_vxworks and
548214571Sdim	shlelf_vxworks.
549214571Sdim	* emulparams/shelf_vxworks.sh: New file.
550214571Sdim	* emulparams/shlelf_vxworks.sh: Likewise.
551214571Sdim	* emulparams/vxworks.sh (FINI): Prefix _etext with ${SYMPREFIX}.
552214571Sdim	(OTHER_END_SYMBOLS): Likewise _ehdr.
553214571Sdim	(DATA_END_SYMBOLS): Likewise _edata.
554214571Sdim	* emultempl/vxworks.em (vxworks_after_open): Check whether output_bfd
555214571Sdim	is indeed an ELF file before dealing with --force-dynamic.
556214571Sdim
557214571Sdim2006-08-02  Petr Salinger  <Petr.Salinger@seznam.cz>
558214571Sdim
559214571Sdim	PR binutils/2983
560214571Sdim	* emulparams/elf_x86_64_fbsd.sh (OUTPUT_FORMAT): Define as
561214571Sdim	elf64-x86-64-freebsd.
562214571Sdim
563214571Sdim2006-08-01  H.J. Lu  <hongjiu.lu@intel.com>
564214571Sdim
565214571Sdim	* ldlang.c (init_os): Add flags. Replace bfd_make_section with
566214571Sdim	bfd_make_section_with_flags.
567214571Sdim	(exp_init_os): Updated.
568214571Sdim	(lang_add_section): Call init_os with flags.
569214571Sdim	(map_input_to_output_sections): Likewise.
570214571Sdim
571214571Sdim2006-07-29  Richard Sandiford  <richard@codesourcery.com>
572214571Sdim
573214571Sdim	* Makefile.am (eelf32b4300.c): Update dependencies.
574214571Sdim	(eelf32bmip.c): Likewise.
575214571Sdim	(eelf32bsmip.c): Likewise.
576214571Sdim	(eelf32btsmip.c): Likewise.
577214571Sdim	(eelf32btsmipn32.c): Likewise.
578214571Sdim	(eelf32ltsmip.c): Likewise.
579214571Sdim	(eelf32ltsmipn32.c): Likewise.
580214571Sdim	(eelf32ebmip.c): Likewise.
581214571Sdim	(eelf32ebmipvxworks.c): Likewise.
582214571Sdim	(eelf32elmip.c): Likewise.
583214571Sdim	(eelf32elmipvxworks.c): Likewise.
584214571Sdim	(eelf32bmipn32.c): Likewise.
585214571Sdim	(eelf32lmip.c): Likewise.
586214571Sdim	(eelf32mipswindiss.c): Likewise.
587214571Sdim	(eelf32lsmip.c): Likewise.
588214571Sdim	(eelf64bmip.c): Likewise.
589214571Sdim	(eelf64btsmip.c): Likewise.
590214571Sdim	(eelf64ltsmip.c): Likewise.
591214571Sdim	(emipsbig.c): Likewise.  Canonicalize ${GENSCRIPTS} line.
592214571Sdim	(emipsbsd.c): Likewise.
593214571Sdim	(emipsidt.c): Update dependencies.
594214571Sdim	(emipsidtl.c): Likewise.
595214571Sdim	(emipslit.c): Likewise.
596214571Sdim	(emipslnews.c): Likewise.
597214571Sdim	(emipspe.c): Likewise.  Fix ${GENSCRIPTS} invocation.
598214571Sdim	* Makefile.in: Regenerate.
599214571Sdim	* emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define.
600214571Sdim	* emulparams/elf32bmipn32-defs.sh (EXTRA_EM_FILE): Likewise.
601214571Sdim	* emultempl/irix.em: Include emultempl/mipself.em.
602214571Sdim	* emultempl/mipself.em: New file.
603214571Sdim
604214571Sdim2006-07-26  Alan Modra  <amodra@bigpond.net.au>
605214571Sdim
606214571Sdim	* emultempl/elf-generic.em (map_segments): Reorganise loop so that
607214571Sdim	layout happens before segment map.  Don't do segment map on
608214571Sdim	relocatable link.
609214571Sdim
610214571Sdim2006-07-26  Alan Modra  <amodra@bigpond.net.au>
611214571Sdim
612214571Sdim	* ldexp.c (fold_name <LOADADDR>): Use the lma.
613214571Sdim	* ldlang.h (lang_memory_region_type): Delete old_length.  Add
614214571Sdim	last_os.
615214571Sdim	* ldlang.c (lang_memory_region_lookup): Init new field.
616214571Sdim	(lang_reset_memory_regions): Reset new field.
617214571Sdim	(lang_insert_orphan): Don't set load_base.
618214571Sdim	(lang_leave_overlay): Likewise.
619214571Sdim	(lang_size_sections_1): Delete unnecessary code setting lma_region
620214571Sdim	to region.  Correct lma region check.
621214571Sdim	(lang_do_assignments_1): Rename output_section_statement parm
622214571Sdim	to current_os.  Set lma from previous section in region.
623214571Sdim
624214571Sdim	* ldlang.c: Formatting.
625214571Sdim
626214571Sdim2006-07-25  Bob Wilson  <bob.wilson@acm.org>
627214571Sdim
628214571Sdim	* emultempl/xtensaelf.em (xtensa_strip_inconsistent_linkonce_sections):
629214571Sdim	Set discarded section's output_section to bfd_abs_section_ptr.
630214571Sdim
631214571Sdim2006-07-26  Alan Modra  <amodra@bigpond.net.au>
632214571Sdim
633214571Sdim	* ldlang.c (analyze_walk_wild_section_handler): Init handler_data
634214571Sdim	earlier.
635214571Sdim
636214571Sdim2006-07-24  Bob Wilson  <bob.wilson@acm.org>
637214571Sdim
638214571Sdim	* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Add space
639214571Sdim	in dep_sec_name for null terminator.  Make sure dep_sec_name has a
640214571Sdim	".t" linkonce tag.
641214571Sdim
642214571Sdim2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
643214571Sdim
644214571Sdim	* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME):
645214571Sdim	Set for *-*-solaris2*.
646214571Sdim
647214571Sdim2006-07-24  Ralk Wildenhues  <Ralf.Wildenhues@gmx.de>
648214571Sdim
649214571Sdim	* ld.texinfo: Fix spelling mistakes.
650214571Sdim	* ldint.texinfo: Likewise.
651214571Sdim
652214571Sdim2006-07-23  Sonal Santan  <sonal.santan@xilinx.com>
653214571Sdim
654214571Sdim	* ldlang.c (lang_section_bst): New structure for sorting sections
655214571Sdim	by name.
656214571Sdim	(wild_sort_fast): New function: Insert a section into a binary
657214571Sdim	search tree.
658214571Sdim	(output_section_callback_fast): New function: Store a section in
659214571Sdim	BST.
660214571Sdim	(output_section_callback_tree_to_list): New function: Convert a
661214571Sdim	BST into a list.
662214571Sdim	(analyze_walk_wild_section_handler): Initialize handler_data
663214571Sdim	elements.
664214571Sdim	(wild): If the data is sorted by name use the BST method to sort
665214571Sdim	the names.
666214571Sdim
667214571Sdim2006-07-19  Alan Modra  <amodra@bigpond.net.au>
668214571Sdim
669214571Sdim	* ld.h (handle_asneeded_cref): Declare.
670214571Sdim	* ldcref.c: Include objalloc.h.
671214571Sdim	(old_table, old_count, old_tab, alloc_mark): New variables.
672214571Sdim	(tabsize, entsize, refsize, old_symcount): Likewise.
673214571Sdim	(add_cref): Use bfd_hash_allocate for refs.
674214571Sdim	(handle_asneeded_cref): New function.
675214571Sdim	* ldmain.c (notice): Call handle_asneeded_cref for NULL name.
676214571Sdim
677214571Sdim2006-07-14  Michael Wetherell  <mike.wetherell@ntlworld.com>
678214571Sdim
679214571Sdim	* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Correct
680214571Sdim	typo setting targ_extra_libpath.
681214571Sdim
682214571Sdim2006-07-10  Jakub Jelinek  <jakub@redhat.com>
683214571Sdim
684214571Sdim	* scripttempl/elf.sc: Add .gnu.hash section.
685214571Sdim	* emultempl/elf32.em (OPTION_HASH_STYLE): Define.
686214571Sdim	(gld${EMULATION_NAME}_add_options): Register --hash-style option.
687214571Sdim	(gld${EMULATION_NAME}_handle_option): Handle it.
688214571Sdim	(gld${EMULATION_NAME}_list_options): Document it.
689214571Sdim	* ldmain.c (main): Initialize emit_hash and emit_gnu_hash.
690214571Sdim	* ld.texinfo: Document --hash-style option.
691214571Sdim
692214571Sdim2006-07-10  Nick Clifton  <nickc@redhat.com>
693214571Sdim
694214571Sdim	* po/zh_TW.po: New Chinese (traditional) translation.
695214571Sdim	* configure.in (ALL_LINGUAS): Add zh_TW.
696214571Sdim	* configure: Regenerate.
697214571Sdim
698214571Sdim2006-07-07  Nick Clifton  <nickc@redhat.com>
699214571Sdim
700214571Sdim	PR ld/2874
701214571Sdim	* ld.texinfo: Remove "Using LD" from the title since it is
702214571Sdim	redundant.
703214571Sdim
704214571Sdim2006-07-06  Mohammed Adn��ne Trojette  <adn@diwi.org>
705214571Sdim
706214571Sdim	PR ld/2877
707214571Sdim	* ld.texinfo: Fix spelling mistakes.
708214571Sdim
709214571Sdim2006-06-27  Pedro Alves  <pedro_alves@portugalmail.pt>
710214571Sdim	    Nick Clifton  <nickc@redhat.com>
711214571Sdim
712214571Sdim	* emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum
713214571Sdim	length of format strings in the libname_fmt[] array, rather than
714214571Sdim	relying upon a statically chosen value.  Adjust xmalloc call to
715214571Sdim	use this longest length.
716214571Sdim
717214571Sdim2006-06-27  Nick Clifton  <nickc@redhat.com>
718214571Sdim
719214571Sdim	* ld.texinfo (-rpath-link): Clarify distinction between -rpath and
720214571Sdim	-rpath-link.
721214571Sdim
722214571Sdim2006-06-23  Daniel Jacobowitz  <dan@codesourcery.com>
723214571Sdim
724214571Sdim	* configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
725214571Sdim	targ_extra_libpath.
726214571Sdim
727214571Sdim2006-06-23  Pedro Alves <pedro_alves@portugalmail.pt>
728214571Sdim
729214571Sdim	* pe-dll.c (pe_details_type): Add new pointer for symbols list
730214571Sdim	autofilter.
731214571Sdim	(autofilter_symbollist): Split into autofilter_symbollist_generic
732214571Sdim	and autofilter_symbollist_i386.
733214571Sdim	(pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
734214571Sdim	autofilter_symbollist_generic for all the others.
735214571Sdim	(autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
736214571Sdim	cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3, environ,
737214571Sdim	into autofilter_symbollist_i386.
738214571Sdim	(auto_export): Get autofilter_symbollist from pe_details.
739214571Sdim
740214571Sdim2006-06-22  Nick Clifton  <nickc@redhat.com>
741214571Sdim
742214571Sdim	PR ld/2757
743214571Sdim	* emultempl/pe.em (gld_$_after_open): When reporting non PE format
744214571Sdim	output files mention the file name and the fact that it is an
745214571Sdim	output file.
746214571Sdim
747214571Sdim2006-06-22  Danny Smith  <dannysmith@users.sourceforge.net>
748214571Sdim
749214571Sdim	* emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive):
750214571Sdim	Restructure.  Add native "%s.lib" format to search list
751214571Sdim	* ld.texinfo (node WIN32): Update documentation on dynamic lib
752214571Sdim	search order. Add another reason for using import libs.
753214571Sdim
754214571Sdim2006-06-21  Mark Shinwell  <shinwell@codesourcery.com>
755214571Sdim
756214571Sdim	* ldlang.c (lang_insert_orphan): Correctly handle the case where
757214571Sdim	the section is to end up after the section currently at the end
758214571Sdim	of the list in output_bfd.
759214571Sdim
760214571Sdim2006-06-21  Hans-Peter Nilsson  <hp@bitrange.com>
761214571Sdim
762214571Sdim	* emultempl/mmo.em: Improve comments.  Explain why there's
763214571Sdim	ELF-stuff here.
764214571Sdim
765214571Sdim2006-06-21  Alan Modra  <amodra@bigpond.net.au>
766214571Sdim
767214571Sdim	* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
768214571Sdim	loop to ten iterations.  Throw away any previous linker generated
769214571Sdim	segment map.
770214571Sdim	* ldlang.c (lang_phdr_list): Make global.
771214571Sdim	* ldlang.h (lang_phdr_list): Declare.
772214571Sdim	* Makefile.am (ELF_GEN_DEPS): Define.  Use in emul deps.
773214571Sdim	* Makefile.in: Regenerate.
774214571Sdim
775214571Sdim2006-06-20  Alan Modra  <amodra@bigpond.net.au>
776214571Sdim
777214571Sdim	* Makefile.am (ELF_DEPS): Define.  Use in emul file deps.  Fix
778214571Sdim	many ELF emul file deps that incorrectly said they needed elf32.em
779214571Sdim	instead of generic.em.  Add genelf.em as required.
780214571Sdim	* Makefile.in: Regenerate.
781214571Sdim	* ldlang.c (lang_process): Call ldemul_finish before
782214571Sdim	lang_check_section_addresses.
783214571Sdim	* emulparams/arcelf.sh: Generic elf target needs genelf.
784214571Sdim	* emulparams/d30v_e.sh: Likewise.
785214571Sdim	* emulparams/d30v_o.sh: Likewise.
786214571Sdim	* emulparams/d30velf.sh: Likewise.
787214571Sdim	* emulparams/elf32_dlx.sh: Likewise.
788214571Sdim	* emulparams/elf32_i860.sh: Likewise.
789214571Sdim	* emulparams/elf32fr30.sh: Likewise.
790214571Sdim	* emulparams/elf32frv.sh: Likewise.
791214571Sdim	* emulparams/elf32iq10.sh: Likewise.
792214571Sdim	* emulparams/elf32iq2000.sh: Likewise.
793214571Sdim	* emulparams/elf32mt.sh: Likewise.
794214571Sdim	* emulparams/mn10200.sh: Likewise.
795214571Sdim	* emulparams/or32.sh: Likewise.
796214571Sdim	* emulparams/or32elf.sh: Likewise.
797214571Sdim	* emulparams/pjelf.sh: Likewise.
798214571Sdim	* emulparams/msp430all.sh: Likewise.  Extract common entries.
799214571Sdim	* emulparams/pjlelf.sh: Include pjelf.sh.
800214571Sdim	* emulparams/elf32frvfd.sh (EXTRA_EM_FILE): Unset.
801214571Sdim	* emulparams/mn10300.sh (EXTRA_EM_FILE): Unset.
802214571Sdim	* emultempl/elf-generic.em: New file.
803214571Sdim	* emultempl/genelf.em: New file.
804214571Sdim	* emultempl/elf32.em: Include elf-generic.em.
805214571Sdim	(gld${EMULATION_NAME}_layout_sections_again): Delete.
806214571Sdim	(gld${EMULATION_NAME}_finish): Call gld${EMULATION_NAME}_map_segments.
807214571Sdim	* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
808214571Sdim	(gld${EMULATION_NAME}_finish): Rename from hppaelf_finish.  Call
809214571Sdim	gld${EMULATION_NAME}_map_segments.
810214571Sdim	(LDEMUL_FINISH): Update.
811214571Sdim	* emultempl/mmo.em: Correct comment.  Include elf-bfd.h and
812214571Sdim	source elf-generic.em.
813214571Sdim	(mmo_finish): Call gld${EMULATION_NAME}_map_segments.
814214571Sdim	* emultempl/ppc64elf.em (ppc_layout_sections_again): Likewise.
815214571Sdim	(gld${EMULATION_NAME}_finish): Rename from ppc_finish.  Call
816214571Sdim	gld${EMULATION_NAME}_map_segments.
817214571Sdim	(LDEMUL_FINISH): Update.
818214571Sdim
819214571Sdim2006-06-19  Alan Modra  <amodra@bigpond.net.au>
820214571Sdim
821214571Sdim	* ldexp.c (fold_name): Adjust bfd_sizeof_headers call.
822214571Sdim
823214571Sdim2006-06-14  Kevin F. Quinn  <kevquinn@gentoo.org>
824214571Sdim
825214571Sdim	* ld.texinfo: Document new -z lazy option.
826214571Sdim	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
827214571Sdim	new option.
828214571Sdim	(gld${EMULATION_NAME}_list_options): Update help text.
829214571Sdim
830214571Sdim2006-06-12  Fred Fish  <fnf@specifix.com>
831214571Sdim
832214571Sdim	* emulparams/elf32bmip.sh (OTHER_SECTIONS): Keep the
833214571Sdim	".mdebug.<abi>" and ".gcc_compiled_long<size>" sections
834214571Sdim	generated by mips gcc.
835214571Sdim
836214571Sdim2006-06-12  Thiemo Seufer  <ths@mips.com>
837214571Sdim
838214571Sdim	* emulparams/elf64bmip.sh, emulparams/elf64btsmip.sh (COMMONPAGESIZE):
839214571Sdim	Define.
840214571Sdim
841214571Sdim2006-06-09  Alan Modra  <amodra@bigpond.net.au>
842214571Sdim
843214571Sdim	* ldlang.h (lang_input_statement_type): Use bitfields for booleans.
844214571Sdim	* ldlang.c (struct out_section_hash_entry): Rename from
845214571Sdim	output_statement_hash_entry.  Delete output_section_statement_type
846214571Sdim	entry.  Add statement_union_type entry.  Adjust all users.
847214571Sdim	(output_section_statement_table): Rename from output_statement_table.
848214571Sdim	Adjust all users.
849214571Sdim	(output_section_statement_newfunc): Rename from
850214571Sdim	output_statement_newfunc.  Adjust all users.
851214571Sdim	(output_section_statement_table_init): Rename from
852214571Sdim	output_statement_table_init.  Adjust all users.
853214571Sdim	(output_section_statement_table_free): Rename from
854214571Sdim	output_statement_table_free.  Adjust all users.
855214571Sdim
856214571Sdim2006-06-07  Joseph S. Myers  <joseph@codesourcery.com>
857214571Sdim
858214571Sdim	* po/Make-in (pdf, ps): New dummy targets.
859214571Sdim
860214571Sdim2006-06-07  Alan Modra  <amodra@bigpond.net.au>
861214571Sdim
862214571Sdim	* ldlang.h (enum section_type): Delete dsect_section, copy_section,
863214571Sdim	info_section and overlay_section.  Add noalloc_section.
864214571Sdim	* ldlang.c (lang_add_section): Adjust.
865214571Sdim	* ldgram.y (type): Adjust.
866214571Sdim
867214571Sdim2006-06-06  Alan Modra  <amodra@bigpond.net.au>
868214571Sdim
869214571Sdim	* ldlang.c (init_os): Whitespace.
870214571Sdim	(map_input_to_output_sections): Don't init_os for lang_input_section.
871214571Sdim	(print_all_symbols): Remove forward declaration.  Convert to ISO C.
872214571Sdim
873214571Sdim2006-06-05  Daniel Jacobowitz  <dan@codesourcery.com>
874214571Sdim
875214571Sdim	* po/Make-in (top_builddir): Define.
876214571Sdim
877214571Sdim2006-06-05  Alan Modra  <amodra@bigpond.net.au>
878214571Sdim
879214571Sdim	* ldexp.c (exp_get_abs_int): Make error message the same as
880214571Sdim	others emitted in this file.
881214571Sdim
882214571Sdim2006-06-05  Alan Modra  <amodra@bigpond.net.au>
883214571Sdim
884214571Sdim	* config.in: Regenerate.
885214571Sdim
886214571Sdim2006-06-05  Alan Modra  <amodra@bigpond.net.au>
887214571Sdim
888214571Sdim	* ldlang.c (lookup_name): Delete dead code.  Remove FIXMEs.
889214571Sdim
890214571Sdim2006-06-03  Alan Modra  <amodra@bigpond.net.au>
891214571Sdim
892214571Sdim	* emultempl/elf32.em (global_found): Make it a pointer.
893214571Sdim	(stat_needed, try_needed): Adjust.
894214571Sdim	(check_needed): Don't skip non-loaded as-needed entries.  Only
895214571Sdim	consider entries with both filename and the_bfd non-null.
896214571Sdim	(after_open): Try loading non-loaded as-needed libs to satisfy
897214571Sdim	DT_NEEDED libs.
898214571Sdim
899214571Sdim2006-06-02  Joseph S. Myers  <joseph@codesourcery.com>
900214571Sdim
901214571Sdim	* Makefile.am (TEXI2DVI): Add -I $(top_srcdir)/../libiberty.
902214571Sdim	* Makefile.in: Regenerate.
903214571Sdim
904214571Sdim2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
905214571Sdim
906214571Sdim	* Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
907214571Sdim	and LIBINTL_DEP everywhere.
908214571Sdim	(INTLLIBS): Remove.
909214571Sdim	(INCLUDES): Use @INCINTL@.
910214571Sdim	* configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
911214571Sdim	Remove local code for po/Makefile.
912214571Sdim	* Makefile.in, configure: Regenerated.
913214571Sdim
914214571Sdim2006-05-30  H.J. Lu  <hongjiu.lu@intel.com>
915214571Sdim
916214571Sdim	* emulparams/arcelf.sh (MAXPAGESIZE): Changed to
917214571Sdim	"CONSTANT (MAXPAGESIZE)".
918214571Sdim	* emulparams/armelf_nbsd.sh: Likewise.
919214571Sdim	* emulparams/armelf_vxworks.sh: Likewise.
920214571Sdim	* emulparams/armnto.sh: Likewise.
921214571Sdim	* emulparams/armsymbian.sh: Likewise.
922214571Sdim	* emulparams/crislinux.sh: Likewise.
923214571Sdim	* emulparams/elf32_i860.sh: Likewise.
924214571Sdim	* emulparams/elf32_i960.sh: Likewise.
925214571Sdim	* emulparams/elf32am33lin.sh: Likewise.
926214571Sdim	* emulparams/elf32bfinfd.sh: Likewise.
927214571Sdim	* emulparams/elf32bmipn32-defs.sh: Likewise.
928214571Sdim	* emulparams/elf32frvfd.sh: Likewise.
929214571Sdim	* emulparams/elf32i370.sh: Likewise.
930214571Sdim	* emulparams/elf32lppcnto.sh: Likewise.
931214571Sdim	* emulparams/elf32mcore.sh: Likewise.
932214571Sdim	* emulparams/elf32openrisc.sh: Likewise.
933214571Sdim	* emulparams/elf32ppcnto.sh: Likewise.
934214571Sdim	* emulparams/elf32ppcwindiss.sh: Likewise.
935214571Sdim	* emulparams/elf32vax.sh: Likewise.
936214571Sdim	* emulparams/elf32xc16x.sh: Likewise.
937214571Sdim	* emulparams/elf32xc16xl.sh: Likewise.
938214571Sdim	* emulparams/elf32xc16xs.sh: Likewise.
939214571Sdim	* emulparams/elf64_aix.sh: Likewise.
940214571Sdim	* emulparams/elf64hppa.sh: Likewise.
941214571Sdim	* emulparams/elf64mmix.sh: Likewise.
942214571Sdim	* emulparams/elf_i386_be.sh: Likewise.
943214571Sdim	* emulparams/elf_i386_chaos.sh: Likewise.
944214571Sdim	* emulparams/elf_i386_ldso.sh: Likewise.
945214571Sdim	* emulparams/hppa64linux.sh: Likewise.
946214571Sdim	* emulparams/hppalinux.sh: Likewise.
947214571Sdim	* emulparams/hppaobsd.sh: Likewise.
948214571Sdim	* emulparams/i386lynx.sh: Likewise.
949214571Sdim	* emulparams/i386moss.sh: Likewise.
950214571Sdim	* emulparams/i386nto.sh: Likewise.
951214571Sdim	* emulparams/i386nw.sh: Likewise.
952214571Sdim	* emulparams/m32relf_linux.sh: Likewise.
953214571Sdim	* emulparams/m68kpsos.sh: Likewise.
954214571Sdim	* emulparams/or32elf.sh: Likewise.
955214571Sdim	* emulparams/pjelf.sh: Likewise.
956214571Sdim	* emulparams/pjlelf.sh: Likewise.
957214571Sdim	* emulparams/ppclynx.sh: Likewise.
958214571Sdim	* emulparams/ppcnw.sh: Likewise.
959214571Sdim	* emulparams/shelf32_nbsd.sh : Likewise.
960214571Sdim	* emulparams/shelf_nbsd.sh: Likewise.
961214571Sdim	* emulparams/shelf_nto.sh: Likewise.
962214571Sdim	* emulparams/shlelf_nto.sh: Likewise.
963214571Sdim	* emulparams/xtensa-config.sh: Likewise.
964214571Sdim
965214571Sdim	* emulparams/armelf_linux.sh (MAXPAGESIZE): Changed to
966214571Sdim	"CONSTANT (MAXPAGESIZE)".
967214571Sdim	(COMMONPAGESIZE): Changed to "CONSTANT (COMMONPAGESIZE)".
968214571Sdim	* emulparams/elf32_sparc.sh: Likewise.
969214571Sdim	* emulparams/elf32bmip.sh: Likewise.
970214571Sdim	* emulparams/elf32ppccommon.sh: Likewise.
971214571Sdim	* emulparams/elf64_ia64.sh: Likewise.
972214571Sdim	* emulparams/elf64_s390.sh: Likewise.
973214571Sdim	* emulparams/elf64_sparc.sh: Likewise.
974214571Sdim	* emulparams/elf64alpha.sh: Likewise.
975214571Sdim	* emulparams/elf64ppc.sh: Likewise.
976214571Sdim	* emulparams/elf_i386.sh: Likewise.
977214571Sdim	* emulparams/elf_i386_vxworks.sh: Likewise.
978214571Sdim	* emulparams/elf_s390.sh: Likewise.
979214571Sdim	* emulparams/elf_x86_64.sh: Likewise.
980214571Sdim	* emulparams/shlelf32_linux.sh: Likewise.
981214571Sdim	* emulparams/shlelf_linux.sh: Likewise.
982214571Sdim
983214571Sdim	* emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Changed to
984214571Sdim	"CONSTANT (COMMONPAGESIZE)".
985214571Sdim	* emulparams/elf32btsmipn32.sh: Likewise.
986214571Sdim
987214571Sdim	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
988214571Sdim	"-z max-page-size=" and "-z common-page-size=".
989214571Sdim	(gld${EMULATION_NAME}_list_options): Likewise.
990214571Sdim
991214571Sdim	* ld.h (ld_config_type): Add maxpagesize and commonpagesize.
992214571Sdim
993214571Sdim	* ld.texinfo: Document "-z max-page-size=" and
994214571Sdim	"-z common-page-size=".
995214571Sdim
996214571Sdim	* ldexp.c (exp_print_token): Handle CONSTANT.
997214571Sdim	(fold_name): Likewise.
998214571Sdim	* ldgram.y: Likewise.
999214571Sdim	* ldlex.l: Likewise.
1000214571Sdim
1001214571Sdim	* ldmain.c (main): Initiliaze config.maxpagesize and
1002214571Sdim	config.commonpagesize. Call bfd_emul_set_maxpagesize if
1003214571Sdim	config.maxpagesize isn't 0. Call bfd_emul_set_commonpagesize if
1004214571Sdim	config.commonpagesize config.maxpagesize isn't 0.
1005214571Sdim
1006214571Sdim2006-05-30  Nick Clifton  <nickc@redhat.com>
1007214571Sdim
1008214571Sdim	* po/es.po: Updated Spanish translation.
1009214571Sdim
1010214571Sdim2006-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1011214571Sdim
1012214571Sdim	* emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000.
1013214571Sdim
1014214571Sdim2006-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1015214571Sdim
1016214571Sdim	PR ld/1485
1017214571Sdim	* configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit
1018214571Sdim	bfd.  Support 64bit host for --enable-targets=all.
1019214571Sdim	* configure: Regenerated.
1020214571Sdim
1021214571Sdim2006-05-24  Nick Clifton  <nickc@redhat.com>
1022214571Sdim
1023214571Sdim	* po/vi.po: Updated Vietnamese translation.
1024214571Sdim
1025214571Sdim2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de>
1026214571Sdim
1027214571Sdim	* configure.tgt: Add avr6 to emulation list.
1028214571Sdim	* Makefile.am: Add eavr6.o and corresponding rule.
1029214571Sdim	* Makefile.in: Regenerate.
1030214571Sdim	* emulparams/avr6.sh: New file.
1031214571Sdim	* emulparams/avrX.sh (TEMPLATE_NAME): Use elf32 instead of generic
1032214571Sdim	for target option support.
1033214571Sdim	(EXTRA_EM_FILE): Add reference to new em template file avrelf.
1034214571Sdim	* scripttempl/avr.sc: Add ".trampolines" section.
1035214571Sdim	* emultempl/avrelf.em: Add new file for target specific options.
1036214571Sdim
1037214571Sdim2006-05-22  Nick Clifton  <nickc@redhat.com>
1038214571Sdim
1039214571Sdim	* scripttempl/elf32crx.sc (.rdata): Add .rodata.*.
1040214571Sdim
1041214571Sdim2006-05-19  Alan Modra  <amodra@bigpond.net.au>
1042214571Sdim
1043214571Sdim	* ldlang.c (lang_size_sections_1): Don't check mem regions for
1044214571Sdim	os->ignored sections.
1045214571Sdim
1046214571Sdim2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
1047214571Sdim
1048214571Sdim	* ldlang.c (lang_size_sections): Call lang_reset_memory_regions
1049214571Sdim	before redoing one_lang_size_sections_pass.
1050214571Sdim
1051214571Sdim2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
1052214571Sdim
1053214571Sdim	* ld.texinfo: Rename "Index" to "LD Index"
1054214571Sdim
1055214571Sdim2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
1056214571Sdim
1057214571Sdim	* pe-dll.c (autofilter_symbollist): Add Dllmain,
1058214571Sdim	DllMainCRTStartup, _DllMainCRTStartup and .text.
1059214571Sdim	(autofilter_liblist): Add libcegcc.
1060214571Sdim	(autofilter_symbolprefixlist): Add __imp_ and .idata$.
1061214571Sdim	(generate_reloc): Do not skip sections without a SEC_LOAD flag,
1062214571Sdim	they can still contain relocs that need processing.
1063214571Sdim	Skip the .idata$6 section.
1064214571Sdim	(jmp_arm_bytes): New array: Contains byte codes for an ARM jump.
1065214571Sdim	(make_one): Use the new array.
1066214571Sdim	(make_import_fixup_entry): Use .idata$2 instead of .idata$3.
1067214571Sdim	* emultempl/pe.em (MajorSubsystemVersion): Set to 3 for armpe.
1068214571Sdim
1069214571Sdim2006-05-05  Alan Modra  <amodra@bigpond.net.au>
1070214571Sdim
1071214571Sdim	* ld.texinfo: Document PowerPC and PowerPC64 options.
1072214571Sdim	* gen-doc.texi: Enable.
1073214571Sdim
1074214571Sdim2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
1075214571Sdim
1076214571Sdim	* Makefile.am (AM_MAKEINFOFLAGS): Add libiberty.
1077214571Sdim	(TEXI2POD): Use AM_MAKEINFOFLAGS.
1078214571Sdim	(configdoc.texi): Don't set top_srcdir.
1079214571Sdim	* ld.texinfo: Don't use top_srcdir.
1080214571Sdim	* aclocal.m4, Makefile.in: Regenerated.
1081214571Sdim
1082214571Sdim2006-04-19  Alan Modra  <amodra@bigpond.net.au>
1083214571Sdim
1084214571Sdim	* ldlang.c (wild): Tidy default_common_section loop.
1085214571Sdim	(print_input_section): Format.
1086214571Sdim
1087214571Sdim	* configure: Regenerate.
1088214571Sdim
1089214571Sdim2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
1090214571Sdim
1091214571Sdim	* po/POTFILES.in: Regenerated.
1092214571Sdim
1093214571Sdim2006-04-16  Daniel Jacobowitz  <dan@codesourcery.com>
1094214571Sdim
1095214571Sdim	* config.in: Regenerated.
1096214571Sdim
1097214571Sdim2006-04-14  David Heine  <dlheine@tensilica.com>
1098214571Sdim	    Bob Wilson  <bob.wilson@acm.org>
1099214571Sdim
1100214571Sdim	* emultempl/xtensaelf.em (elf_xtensa_before_allocation): Call new
1101214571Sdim	function to strip inconsistent linkonce sections.
1102214571Sdim	(input_section_linked_worker, input_section_linked): New.
1103214571Sdim	(is_inconsistent_linkonce_section): New.
1104214571Sdim	(xtensa_strip_inconsistent_linkonce_sections): New.
1105214571Sdim
1106214571Sdim2006-04-11  Diego Petten�  <flameeyes@gentoo.org>
1107214571Sdim
1108214571Sdim	* emultempl/elf32.em: Add support for elf-hints.h on FreeBSD
1109214571Sdim	and Dragonfly targets.
1110214571Sdim	* configure.in (AC_CHECK_HEADERS): Add elf-hints.h.
1111214571Sdim	* Makefile.am (HFILES): Add elf-hints-local.h.
1112214571Sdim	* elf-hints-local.h: New file.
1113214571Sdim	* Makefile.in: Regenerate.
1114214571Sdim	* configure: Regenerate.
1115214571Sdim
1116214571Sdim2006-04-07  Bernhard Fischer  <aldot@gcc.gnu.org>
1117214571Sdim
1118214571Sdim	* ld.texinfo: Fix typo in documentation of --check-sections.
1119214571Sdim
1120214571Sdim2006-04-07  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1121214571Sdim
1122214571Sdim	* ldlang.c (load_symbols): Set as_needed and add_needed according
1123214571Sdim	to the corresponding script's fields while processing it.
1124214571Sdim
1125214571Sdim2006-04-06  Carlos O'Donell  <carlos@codesourcery.com>
1126214571Sdim
1127214571Sdim	* Makefile.am: Add install-html, install-html-am, and
1128214571Sdim	install-html-recursive targets.
1129214571Sdim	* Makefile.in: Regenerate.
1130214571Sdim	* configure.in: AC_SUBST datarootdir, docdir, htmldir.
1131214571Sdim	* configure: Regenerate.
1132214571Sdim	* po/Make-in: Add install-html target.
1133214571Sdim
1134214571Sdim2006-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1135214571Sdim
1136214571Sdim	* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
1137214571Sdim	link_info.need_relax_finalize.
1138214571Sdim
1139214571Sdim	* ldlang.c (relax_sections): New.
1140214571Sdim	(lang_process): Use. Call relax_sections link_info.relax_pass
1141214571Sdim	times.
1142214571Sdim
1143214571Sdim	* ldmain.c (main): Set link_info.relax_pass to 1. Remove
1144214571Sdim	link_info.need_relax_finalize.
1145214571Sdim
1146214571Sdim2006-04-05  Alan Modra  <amodra@bigpond.net.au>
1147214571Sdim
1148214571Sdim	* Makefile.am (GENSCRIPTS): Pass prefix.
1149214571Sdim	* Makefile.in: Regenerate.
1150214571Sdim	* genscripts.sh: Adjust for extra parameter.
1151214571Sdim	* emultempl/elf32.em (parse_ld_so_conf): Return true iff file
1152214571Sdim	exists.
1153214571Sdim	(check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
1154214571Sdim	* NEWS: Update.
1155214571Sdim
1156214571Sdim2006-04-05  Richard Sandiford  <richard@codesourcery.com>
1157214571Sdim	    Daniel Jacobowitz  <dan@codesourcery.com>
1158214571Sdim
1159214571Sdim	* configure.tgt (sparc*-*-vxworks*): New stanza.
1160214571Sdim	* emulparams/elf32_sparc_vxworks.sh: New file.
1161214571Sdim	* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
1162214571Sdim	(eelf32_sparc_vxworks.c): New rule.
1163214571Sdim	* Makefile.in: Regenerate.
1164214571Sdim
1165214571Sdim2006-04-04  Eric Botcazou  <ebotcazou@adacore.com>
1166214571Sdim
1167214571Sdim	* ldlang.c (lang_map): Print the list of discarded input sections.
1168214571Sdim	(print_input_section): Change parameter and print zero-sized sections.
1169214571Sdim	(print_statement): Adjust call to print_input_section.
1170214571Sdim
1171214571Sdim2006-04-01  Danny Smith  <dannysmith@users.sourceforge.net>
1172214571Sdim
1173214571Sdim	* deffilep.y (def_image_name): If LIBRARY or NAME statement
1174214571Sdim	specifies an empty string, retain the name specified on command
1175214571Sdim	line.
1176214571Sdim	* ld.texinfo: Document above.
1177214571Sdim
1178214571Sdim2006-03-31  Jakub Jelinek  <jakub@redhat.com>
1179214571Sdim
1180214571Sdim	* ldmisc.c (vfinfo): Revert 2005-10-05 changes.  If
1181214571Sdim	bfd_find_nearest_line succeeded for %C or %D, but filename
1182214571Sdim	is NULL, print section+offset at the end.
1183214571Sdim
1184214571Sdim2006-03-25  Bernd Schmidt  <bernd.schmidt@analog.com>
1185214571Sdim
1186214571Sdim	* emulparams/elf32bfinfd.sh: New file.
1187214571Sdim	* emultempl/bfin.em: Delete.
1188214571Sdim	* emulparams/bfin.sh: Lose reference to bfin.em.
1189214571Sdim	* Makefile.am (eelf32bfin.c): Likewise.
1190214571Sdim	(eelf32bfinfd.c): New.
1191214571Sdim	* Makefile.in: Regenerate.
1192214571Sdim	* configure.tgt (bfin-*-elf, bfin-*-uclinux): Add elf32bfinfd to
1193214571Sdim	targ_extra_emuls.
1194214571Sdim
1195214571Sdim2006-03-22  Richard Sandiford  <richard@codesourcery.com>
1196214571Sdim	    Daniel Jacobowitz  <dan@codesourcery.com>
1197214571Sdim	    Phil Edwards  <phil@codesourcery.com>
1198214571Sdim	    Zack Weinberg  <zack@codesourcery.com>
1199214571Sdim	    Mark Mitchell  <mark@codesourcery.com>
1200214571Sdim	    Nathan Sidwell  <nathan@codesourcery.com>
1201214571Sdim
1202214571Sdim	* configure.tgt (mips*el-*-vxworks*, mips*-*-vxworks*): Use
1203214571Sdim	separate VxWorks emulations.
1204214571Sdim	* emulparams/elf32ebmipvxworks.sh: New file.
1205214571Sdim	* emulparams/elf32elmipvxworks.sh: New file.
1206214571Sdim	* Makefile.am (ALL_EMULATIONS): Add eelf32ebmipvxworks.o and
1207214571Sdim	eelf32elmipvxworks.o.
1208214571Sdim	(eelf32ebmipvxworks.c, eelf32elmipvxworks.c): New rules.
1209214571Sdim	* Makefile.in: Regenerate.
1210214571Sdim
1211214571Sdim2006-03-16  Alan Modra  <amodra@bigpond.net.au>
1212214571Sdim
1213214571Sdim	PR 2434
1214214571Sdim	* ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
1215214571Sdim	* ldlang.c (output_statement_table_init, lang_init): Likewise.
1216214571Sdim	* ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
1217214571Sdim	(undefined_symbol): Likewise.
1218214571Sdim
1219214571Sdim2006-03-07  Richard Sandiford  <richard@codesourcery.com>
1220214571Sdim	    Daniel Jacobowitz  <dan@codesourcery.com>
1221214571Sdim	    Zack Weinberg  <zack@codesourcery.com>
1222214571Sdim	    Nathan Sidwell  <nathan@codesourcery.com>
1223214571Sdim	    Paul Brook  <paul@codesourcery.com>
1224214571Sdim	    Ricardo Anguiano  <anguiano@codesourcery.com>
1225214571Sdim	    Phil Edwards  <phil@codesourcery.com>
1226214571Sdim
1227214571Sdim	* emulparams/armelf_vxworks.sh: Include vxworks.sh.
1228214571Sdim	(MAXPAGESIZE): Define.
1229214571Sdim	* emulparams/vxworks.sh: Undefine EMBEDDED.
1230214571Sdim	* Makefile.am (earmelf_vxworks.c): Depend on vxworks.sh and vxworks.em.
1231214571Sdim	* Makefile.in: Regenerate.
1232214571Sdim
1233214571Sdim2006-03-03  Bjoern Haase  <bjoern.m.haase@web.de>
1234214571Sdim
1235214571Sdim	* scripttempl/avr.sc:  Add *(.jumptables) *(.lowtext) sections.
1236214571Sdim	Add KEEP() directives.
1237214571Sdim	Add *(.data*) *(.rodata) and *(.rodata*) and *(.bss*) to .data and
1238214571Sdim	.bss output sections.
1239214571Sdim
1240214571Sdim2006-03-03  Richard Sandiford  <richard@codesourcery.com>
1241214571Sdim
1242214571Sdim	* emulparams/vxworks.sh (VXWORKS_BASE_EM_FILE): New variable.
1243214571Sdim	(EXTRA_EM_FILE): Define.
1244214571Sdim	* emultempl/vxworks.em: New file.
1245214571Sdim	* ld.texinfo (--force-dynamic): Document.
1246214571Sdim	* Makefile.am (eelf32ppcvxworks.cm, eelf_i386_vxworks.c): Depend
1247214571Sdim	on vxworks.em.
1248214571Sdim	* Makefile.in: Regenerate.
1249214571Sdim
1250214571Sdim2006-03-02  Richard Sandiford  <richard@codesourcery.com>
1251214571Sdim
1252214571Sdim	* emulparams/elf32ppccommon.sh: New file, extracted from...
1253214571Sdim	* emulparams/elf32ppc.sh: ...here.
1254214571Sdim	* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
1255214571Sdim	instead of elf32ppc.sh.
1256214571Sdim	(BSS_PLT): Remove override.
1257214571Sdim	* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
1258214571Sdim	(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
1259214571Sdim	(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
1260214571Sdim	(eelf32ppclinux.c): Likewise.
1261214571Sdim	(eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
1262214571Sdim	* Makefile.in: Regenerate.
1263214571Sdim
1264214571Sdim2006-02-27  Carlos O'Donell  <carlos@codesourcery.com>
1265214571Sdim
1266214571Sdim	* Makefile.am: Add html target.
1267214571Sdim	* Makefile.in: Regenerate.
1268214571Sdim	* po/Make-in: Add html target.
1269214571Sdim
1270214571Sdim2006-02-17  Shrirang Khisti  <shrirangk@kpitcummins.com>
1271214571Sdim            Anil Paranjape   <anilp1@kpitcummins.com>
1272214571Sdim            Shilin Shakti    <shilins@kpitcummins.com>
1273214571Sdim
1274214571Sdim	* scripttemp/elf32xc16x.sc: Default linker script for tiny model.
1275214571Sdim	* scripttemp/elf32xc16xl.sc: Default linker script for large model.
1276214571Sdim	* scripttemp/elf32xc16xs.sc: Default linker script for small model.
1277214571Sdim	* emulparams/elf32xc16x.sh: Emulation script for tiny model.
1278214571Sdim	* emulparams/elf32xc16xl.sh: Emulation script for large model.
1279214571Sdim	* emulparams/elf32xc16xs.sh: Emulation script for small model.
1280214571Sdim	* Makefile.am: Add entry to make xc16x target.
1281214571Sdim	* Makefile.in: Regenerate.
1282214571Sdim	* configure.tgt: Specify default and other emulation parameters
1283214571Sdim	for xc16x.
1284214571Sdim	* NEWS: Announce the support for the new target.
1285214571Sdim
1286214571Sdim2006-02-16  Nick Hudson  <nick.hudson@dsl.pipex.com>
1287214571Sdim
1288214571Sdim	* configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
1289214571Sdim	Use the traditional target.
1290214571Sdim
1291214571Sdim2006-02-13  Joseph S. Myers  <joseph@codesourcery.com>
1292214571Sdim
1293214571Sdim	* configure.tgt (arm*b-*-linux-gnueabi): Change to
1294214571Sdim	arm*b-*-linux-*eabi.
1295214571Sdim	(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
1296214571Sdim
1297214571Sdim2006-02-08  H.J. Lu  <hongjiu.lu@intel.com>
1298214571Sdim
1299214571Sdim	PR ld/2290
1300214571Sdim	* NEWS: Updated for the Linux linker search order change.
1301214571Sdim
1302214571Sdim	* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Call
1303214571Sdim	gld${EMULATION_NAME}_check_ld_so_conf before checking default
1304214571Sdim	search directories for DT_NEEDED entries.
1305214571Sdim
1306214571Sdim2006-02-07  Paul Brook  <paul@codesourcery.com>
1307214571Sdim
1308214571Sdim	* emultempl/armelf.em: Include elf/arm.h.
1309214571Sdim	(arm_elf_finish): Set low address bit if enty point is a Thumb
1310214571Sdim	function.
1311214571Sdim
1312214571Sdim2006-02-01  Danny Smith  <dannysmith@users.sourceforge.net>
1313214571Sdim
1314214571Sdim	* deffilep.y (def_image_name): If the image name does not have
1315214571Sdim	a suffix, append the default.
1316214571Sdim	* ld.texinfo: Document NAME, LIBRARY usage in PE-COFF .def files.
1317214571Sdim
1318214571Sdim2006-01-31  Danny Smith  dannysmith@users.sourceforge.net
1319214571Sdim
1320214571Sdim	* NEWS: Mention support for forward exports in PE-COFF dll's.
1321214571Sdim	* ld.texinfo: Expand documentation of EXPORT statements in
1322214571Sdim	PE-COFF .def files.
1323214571Sdim
1324214571Sdim2006-01-31  Filip Navara  <navaraf@reactos.com>
1325214571Sdim
1326214571Sdim	* deffile.h (struct def_file_export): Add field flag_forward.
1327214571Sdim	* pe-dll.c (process_def_file): Check for forward exports.
1328214571Sdim	(generate_edata): Generate forward export symbols.
1329214571Sdim	(fill_edata): Emit them.
1330214571Sdim
1331214571Sdim	* pe-dll.c (process_def_file): Don't crash on malformed
1332214571Sdim	fastcall symbol names in .def file.
1333214571Sdim
1334214571Sdim2006-01-30  Nick Clifton  <nickc@redhat.com>
1335214571Sdim
1336214571Sdim	* po/vi.po: Updated Vietnamese translation.
1337214571Sdim
1338214571Sdim2006-01-27  Yitzchak Scott-Thoennes  <sthoenna@efn.org>
1339214571Sdim
1340214571Sdim	* pe-dll.c (pe_dll_generate_implib): Issue "Creating library
1341214571Sdim	file:" as informational message, not a warning.
1342214571Sdim
1343214571Sdim2006-01-18  Roger Sayle  <roger@eyesopen.com>
1344214571Sdim
1345214571Sdim	* emultempl/irix.em: Use lbasename instead of basename.
1346214571Sdim
1347214571Sdim2006-01-16  Nick Clifton  <nickc@redhat.com>
1348214571Sdim
1349214571Sdim	* po/zh_CN.po: New Chinese (simplified) translation.
1350214571Sdim	* configure.in (ALL_LINGUAS): Add "zh_CH".
1351214571Sdim	* configure: Regenerate.
1352214571Sdim
1353214571Sdim2006-01-16  Bernhard Fischer  <aldot@gcc.gnu.org>
1354214571Sdim
1355214571Sdim	* ld.texinfo (Options): Fix typo.
1356214571Sdim
1357214571SdimFor older changes see ChangeLog-2005
1358214571Sdim
1359214571SdimLocal Variables:
1360214571Sdimmode: change-log
1361214571Sdimleft-margin: 8
1362214571Sdimfill-column: 74
1363214571Sdimversion-control: never
1364214571SdimEnd:
1365