1218822Sdim2007-07-03  Matthias Klose  <doko@ubuntu.com>
2107492Sobrien
3218822Sdim	* emultempl/spuelf.em (base_name): Correct backslash quoting.
4107492Sobrien
5218822Sdim2007-07-02  Alan Modra  <amodra@bigpond.net.au>
6107492Sobrien
7218822Sdim	* Makefile.in: Regenerate.
8218822Sdim	* aclocal.m4: Regenerate.
9218822Sdim	* config.in: Regenerate.
10218822Sdim	* po/ld.pot: Regenerate.
11107492Sobrien
12218822Sdim2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13107492Sobrien
14218822Sdim	* aclocal.m4: Regenerated.
15218822Sdim	* Makefile.in: Likewise.
16107492Sobrien
17218822Sdim2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
18107492Sobrien
19218822Sdim	* NEWS: Remove a line with '*' only.
20107492Sobrien
21218822Sdim2007-06-29  Joseph Myers  <joseph@codesourcery.com>
22107492Sobrien
23218822Sdim	* emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
24218822Sdim	(ATTRS_SECTIONS): Define.
25218822Sdim	* scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
26218822Sdim	scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
27218822Sdim	scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
28107492Sobrien
29218822Sdim2006-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
30107492Sobrien
31218822Sdim	* scripttemp/elf32cr16.sc: Default linker script.
32218822Sdim	* emulparams/elf32cr16.sh: Emulation script.
33218822Sdim	* emultempl/cr16elf.em: Emulation script.
34218822Sdim	* Makefile.am: Add entry to make cr16 target.
35218822Sdim	* Makefile.in: Regenerate.
36218822Sdim	* configure.tgt: Specify default and other emulation parameters
37218822Sdim	for cr16.
38218822Sdim	* ChangeLog: Added CR16 target entry.
39218822Sdim	* NEWS: Announce the support for the CR16 new target.
40107492Sobrien
41218822Sdim2007-06-27  Alan Modra  <amodra@bigpond.net.au>
42107492Sobrien
43218822Sdim	* pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
44107492Sobrien
45218822Sdim2007-06-20  Alan Modra  <amodra@bigpond.net.au>
46107492Sobrien
47218822Sdim	* emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
48104834Sobrien
49218822Sdim2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
50104834Sobrien
51218822Sdim	* ldlex.l, ldgram.y: Add ALIGNOF.
52218822Sdim	* ldexp.c (exp_print_token, foldname): Likewise.
53218822Sdim	* ld.texinfo: Likewise.
54104834Sobrien
55218822Sdim2007-06-18  Alan Modra  <amodra@bigpond.net.au>
56104834Sobrien
57218822Sdim	* Makefile.am: Add eelf32_spu.o rule.
58218822Sdim	* Makefile.in: Regenerate.
59218822Sdim	* emultempl/spuelf.em: Revert last change.  Instead use EMBEDSPU
60218822Sdim	defined in Makefile for embedspu name.
61104834Sobrien
62218822Sdim2007-06-18  Alan Modra  <amodra@bigpond.net.au>
63104834Sobrien
64218822Sdim	* emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
65218822Sdim	name prefix from that of ld.
66104834Sobrien
67218822Sdim2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
68218822Sdim
69218822Sdim	* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
70218822Sdim
71218822Sdim	* acinclude.m4: Removed.
72218822Sdim
73218822Sdim	* Makefile.in: Regenerated.
74218822Sdim	* aclocal.m4: Likewise.
75218822Sdim	* configure: Likewise.
76218822Sdim
77218822Sdim2007-06-14  Alan Modra  <amodra@bigpond.net.au>
78218822Sdim
79218822Sdim	* emultempl/spu_ovl.S: Don't trash lr on tail call from one
80218822Sdim	overlay to another.
81218822Sdim	* emultempl/spu_ovl.o: Regenerate.
82218822Sdim
83218822Sdim2007-06-11  Bob Wilson  <bob.wilson@acm.org>
84218822Sdim
85218822Sdim	* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
86218822Sdim	for .xt_except_table.
87218822Sdim	(OTHER_RELRO_SECTIONS): New.
88218822Sdim
89218822Sdim2007-06-11  Sterling Augustine  <sterling@tensilica.com>
90218822Sdim	    Bob Wilson  <bob.wilson@acm.org>
91218822Sdim	
92218822Sdim	* emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
93218822Sdim	XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
94218822Sdim	
95218822Sdim2007-06-01  Noah Misch  <noah@cs.caltech.edu>
96218822Sdim	    Alan Modra  <amodra@bigpond.net.au>
97218822Sdim
98218822Sdim	* ldlang.c (ldlang_add_file): Use input_bfds_tail.
99218822Sdim	* ldmain.c (main): Init input_bfds_tail.  Sort link_info
100218822Sdim	initialization.
101218822Sdim
102218822Sdim2007-05-29  Alan Modra  <amodra@bigpond.net.au>
103218822Sdim
104218822Sdim	* emultempl/spuelf.em (base_name): New function, split out from..
105218822Sdim	(embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
106218822Sdim	invocation if we deduce a shared lib or position independent
107218822Sdim	executable build by looking at ctrbegin* linker input files.
108218822Sdim
109218822Sdim2007-05-29  Alan Modra  <amodra@bigpond.net.au>
110218822Sdim
111218822Sdim	* emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
112218822Sdim	types and sizes.
113218822Sdim	* emultempl/spu_ovl.o: Regenerate.
114218822Sdim
115218822Sdim2007-05-24  Steve Ellcey  <sje@cup.hp.com>
116218822Sdim
117218822Sdim	* Makefile.in: Regnerate.
118218822Sdim	* configure: Regenerate.
119218822Sdim	* aclocal.m4: Regenerate.
120218822Sdim
121218822Sdim2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
122218822Sdim
123218822Sdim	* ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
124218822Sdim	contain commas in EXP env.
125218822Sdim	* ldgram.y (extern_name_list): Push to EXP env, move body to ...
126218822Sdim	(extern_name_list_body): ... here.
127218822Sdim	(script_file, ifile_list): Reformat.
128218822Sdim	(statement): Add ASSERT.
129218822Sdim
130218822Sdim2007-05-22  Nick Clifton  <nickc@redhat.com>
131218822Sdim
132218822Sdim	* ld.texinfo: Use @copying around the copyright notice.
133218822Sdim	* ldint.texinfo: Likewise.
134218822Sdim
135218822Sdim2007-05-18  Richard Sandiford  <richard@codesourcery.com>
136218822Sdim
137218822Sdim	* emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
138218822Sdim	(OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.
139218822Sdim
140218822Sdim2007-05-16  Richard Sandiford  <richard@codesourcery.com>
141218822Sdim
142218822Sdim	* configure.in: Allow sysroots to be relocated under $prefix as
143218822Sdim	well as $exec_prefix.
144218822Sdim	* configure: Regenerate.
145218822Sdim
146218822Sdim2007-05-14  Andreas Schwab  <schwab@suse.de>
147218822Sdim
148218822Sdim	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
149218822Sdim	Handle null pattern.
150218822Sdim
151218822Sdim2007-05-11  Alan Modra  <amodra@bigpond.net.au>
152218822Sdim
153218822Sdim	* emultempl/ppc32elf.em (plt_style): New variable.
154218822Sdim	(old_plt): Delete.
155218822Sdim	(ppc_after_open): Adjust ppc_elf_select_plt_layout call.
156218822Sdim	(PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
157218822Sdim	OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
158218822Sdim	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
159218822Sdim	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
160218822Sdim	* ld.texinfo (--secure-plt): Document.
161218822Sdim
162218822Sdim2007-05-08  Alan Modra  <amodra@bigpond.net.au>
163218822Sdim
164218822Sdim	* ld.h (args_type, ld_config_type): Reorder fields.
165218822Sdim	* ldmain.c (main): Don't initialise a bunch of vars we know are
166218822Sdim	zero already.
167218822Sdim
168218822Sdim2007-05-05  Anatoly Sokolov <aesok@post.ru>
169218822Sdim
170218822Sdim	* multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for 
171218822Sdim	"--pmem-wrap-around".
172218822Sdim	(PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
173218822Sdim
174218822Sdim2007-05-03  Bob Wilson  <bob.wilson@acm.org>
175218822Sdim
176218822Sdim	* scripttempl/elfxtensa.sc: Merge changes from elf.sc.
177218822Sdim
178218822Sdim2007-05-03  Alan Modra  <amodra@bigpond.net.au>
179218822Sdim
180218822Sdim	* ld.texinfo (--no-warn-search-mismatch): Document.
181218822Sdim	* ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
182218822Sdim	incompatible libraries if --no-warn-search-mismatch.
183218822Sdim	* ld.h (args_type): Add warn_search_mismatch.
184218822Sdim	* ldmain.c (main): Init it.
185218822Sdim	* lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
186218822Sdim	(ld_options): Add entry for --no-warn-search-mismatch.
187218822Sdim	(parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
188218822Sdim
189218822Sdim2007-05-03  Alan Modra  <amodra@bigpond.net.au>
190218822Sdim
191218822Sdim	* scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
192218822Sdim
193218822Sdim2007-05-01  Robert Millan  <rmh@aybabtu.com>
194218822Sdim
195218822Sdim	* ldlang.c (lang_check): Error on architecture mismatch.
196218822Sdim
197218822Sdim2007-04-30  Alan Modra  <amodra@bigpond.net.au>
198218822Sdim
199218822Sdim	* ldmain.c (link_callbacks): Init info and minfo fields.
200218822Sdim	* ldmisc.c (minfo): Do nothing if no map file.
201218822Sdim	* emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
202218822Sdim	(spu_after_open): Adjust spu_elf_create_sections call.
203218822Sdim	(spu_before_allocation): Likewise for spu_elf_size_stubs.
204218822Sdim	(OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
205218822Sdim	(PARSE_AND_LIST_LONGOPTS): Add new entries.
206218822Sdim	(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
207218822Sdim	* gen-doc.texi: Add @set for SPU and other missing targets.
208218822Sdim	* ld.texinfo: Update man page selection to match gen-doc.texi.
209218822Sdim	Document SPU features.
210218822Sdim
211218822Sdim2007-04-28  Alan Modra  <amodra@bigpond.net.au>
212218822Sdim
213218822Sdim	* ldcref.c (struct cref_hash_entry): Make "demangled" const.
214218822Sdim	(cref_fill_array): Adjust for changed demangler.
215218822Sdim	* ldlang.c (lang_one_common): Likewise.
216218822Sdim
217218822Sdim2007-04-27  Nathan Froyd  <froydnj@codesourcery.com>
218218822Sdim
219218822Sdim	* emulparams/elf32_sparc.sh: Update comments.
220218822Sdim	* emulparams/elf32bmip.sh: Likewise.
221218822Sdim	* emulparams/elf32ppc.sh: Likewise.
222218822Sdim	* emulparams/vxworks.sh: Likewise.
223218822Sdim
224218822Sdim2007-04-27  Alan Modra  <amodra@bigpond.net.au>
225218822Sdim
226218822Sdim	Many files: Include sysdep.h first.  Remove duplicate headers.
227218822Sdim	* Makefile.am: Run "make dep-am".
228104834Sobrien	* Makefile.in: Regenerate.
229104834Sobrien
230218822Sdim2007-04-24  Alan Modra  <amodra@bigpond.net.au>
231104834Sobrien
232218822Sdim	* Makefile.in: Regenerate.
233102729Sobrien
234218822Sdim2007-04-19  Alan Modra  <amodra@bigpond.net.au>
23599461Sobrien
236218822Sdim	* ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
237218822Sdim	* ldlang.c (lang_one_common): Likewise.
238218822Sdim	* ldmisc.c (vfinfo): Likewise.
239218822Sdim	(demangle): Delete.
240218822Sdim	* ldmisc.h (demangle): Delete.
241218822Sdim	* Makefile.am: Run "make dep-am".
242218822Sdim	* Makefile.in: Regenerate.
243104834Sobrien
244218822Sdim2007-04-18  Alan Modra  <amodra@bigpond.net.au>
245104834Sobrien
246218822Sdim	* ldlang.h (enum section_type): Add overlay_section.
247218822Sdim	* ldlang.c (lang_add_section): Handle flags for overlay_section
248218822Sdim	as per normal_section.
249218822Sdim	(lang_size_sections_1): When setting lma, detect overlays by
250218822Sdim	os->sectype rather than by looking for overlapping vmas.
251218822Sdim	(lang_enter_overlay_section): Use overlay_section type.
252218822Sdim	(lang_leave_overlay): Set first overlay section to normal.
253104834Sobrien
254218822Sdim2007-04-14  Steve Ellcey  <sje@cup.hp.com>
255104834Sobrien
256218822Sdim	* Makefile.am: Add ACLOCAL_AMFLAGS.
257218822Sdim	* Makefile.in: Regenerate.
258104834Sobrien
259218822Sdim2007-04-12  Bob Wilson  <bob.wilson@acm.org>
260104834Sobrien
261218822Sdim	* emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
262104834Sobrien
263218822Sdim2007-04-10  Richard Henderson  <rth@redhat.com>
264104834Sobrien
265218822Sdim	* ldlang.c (relax_sections): Initialize and increment
266218822Sdim	link_info.relax_trip.
267104834Sobrien
268218822Sdim2007-04-04  Paul Brook  <paul@codesourcery.com>
269104834Sobrien
270218822Sdim	* configure.tgt: Loosen checks for arm uclinux eabi targets.
271104834Sobrien
272218822Sdim2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
273104834Sobrien
274218822Sdim	PR ld/4090
275218822Sdim	* ldexp.h (node_type): Add lineno.
276218822Sdim	* ldexp.c: Include "ldlex.h".
277218822Sdim	(exp_intop): Set the lineno field from lineno.
278218822Sdim	(exp_bigintop): Likewise.
279218822Sdim	(exp_relop): Likewise.
280218822Sdim	(exp_nameop): Likewise.
281218822Sdim	(exp_binop): Set the lineno field from lineno of lhs.
282218822Sdim	(exp_trinop): Likewise.
283218822Sdim	(exp_unop): Set the lineno field from lineno of child.
284218822Sdim	(exp_assop): Set the lineno field from lineno of src.
285218822Sdim	(exp_provide): Likewise.
286218822Sdim	(exp_assert): Set the lineno field from lineno of exp.
287218822Sdim	(exp_get_abs_int): Set lineno from lineno of nonconstant
288218822Sdim	expression when report problem.
289104834Sobrien
290218822Sdim2007-03-29  Richard Sandiford  <richard@codesourcery.com>
291218822Sdim	    Daniel Jacobowitz  <dan@codesourcery.com>
292104834Sobrien
293218822Sdim	* NEWS: Mention -l:foo.
294218822Sdim	* ld.texinfo: Document it.
295218822Sdim	* ldlang.c (new_afile): If a lang_input_file_is_l_enum
296218822Sdim	entry as a name beginning with a coloh, convert it to a
297218822Sdim	lang_input_file_is_search_file_enum entry without the colon.
298104834Sobrien
299218822Sdim2007-03-28  Richard Sandiford  <richard@codesourcery.com>
300104834Sobrien
301218822Sdim	* ld.h (ld_config_type): Add rpath_separator.
302218822Sdim	* ldmain.c (main): Initialize it.
303218822Sdim	* lexsup.c (parse_args): Honor config.rpath_separator.
304218822Sdim	* emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
305218822Sdim	(gld${EMULATION_NAME}_add_sysroot): Likewise.
306218822Sdim	(gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
307218822Sdim	rather than ':' when building the path.
308218822Sdim	* emultempl/vxworks.em (vxworks_before_parse): New function.
309218822Sdim	Override config.rpath_separator.
310218822Sdim	(LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
311218822Sdim	set to gld${EMULATION_NAME}_after_open; #define that identifier
312218822Sdim	to vxworks_foo instead.
313218822Sdim	(LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
314104834Sobrien
315218822Sdim2007-03-28  Richard Sandiford  <richard@codesourcery.com>
316218822Sdim	    Phil Edwards  <phil@codesourcery.com>
317104834Sobrien
318218822Sdim	* ld.texinfo: Put the contents after the title page rather
319218822Sdim	than at the end of the document.
320104834Sobrien
321218822Sdim2007-03-26  Alan Modra  <amodra@bigpond.net.au>
322104834Sobrien
323218822Sdim	* Makefile.am: Add dependency on ldemul-list.h for powerpc and
324218822Sdim	spu target emul files.
325218822Sdim	* configure.in: Check for mkstemp and waitpid.
326218822Sdim	* Makefile.in: Regenerate.
327218822Sdim	* configure: Regenerate.
328218822Sdim	* config.in: Regenerate.
329218822Sdim	* ldlang.c (input_file_chain): Make global.
330218822Sdim	(lang_add_input_file): Don't set lang_has_input_file here.
331218822Sdim	* ldlang.h (input_file_chain): Declare.
332218822Sdim	* emultempl/ppc32elf.em (ppc_recognized_file): New function.
333218822Sdim	(LDEMUL_RECOGNIZED_FILE): Define.
334218822Sdim	* emultempl/ppc64elf.em (ppc64_recognized_file): New function.
335218822Sdim	(LDEMUL_RECOGNIZED_FILE): Define.
336218822Sdim	* emultempl/spuelf.em (struct tflist): New.
337218822Sdim	(tmp_file_list): New var.
338218822Sdim	(clean_tmp, embedded_spu_file): New functions.
339104834Sobrien
340218822Sdim2007-03-24  Alan Modra  <amodra@bigpond.net.au>
341104834Sobrien
342218822Sdim	* ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
343218822Sdim	rather than defining unconditionally.
344218822Sdim	(lang_leave_overlay_section): Likewise.
345218822Sdim	* ld.texinfo (Overlay Description): Update description and examples
346218822Sdim	for start/stop syms.
347104834Sobrien
348218822Sdim2007-03-22  Joseph Myers  <joseph@codesourcery.com>
349104834Sobrien
350218822Sdim	* ld.texinfo: Include VERSION_PACKAGE when reporting version.
351104834Sobrien
352218822Sdim2007-03-20  Paul Brook  <paul@codesourcery.com>
353104834Sobrien
354218822Sdim	* emultempl/armelf.em (pic_veneer): New variable.
355218822Sdim	(PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
356218822Sdim	(PARSE_AND_LIST_ARGS_CASES): Ditto.
357218822Sdim	(PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
358218822Sdim	(PARSE_AND_LIST_OPTIONS): Ditto.
359218822Sdim	* ld.texinfo: Document --pic-veneer.
360104834Sobrien
361218822Sdim2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
362104834Sobrien
363218822Sdim	* ld.texinfo: Document --no-enum-size-warning.
364218822Sdim	* emultempl/armelf.em (no_enum_size_warning): New.
365218822Sdim	(arm_elf_create_output_section_statements): Correct typo
366218822Sdim	in comment.  Pass no_enum_size_warning to
367218822Sdim	bfd_elf32_arm_set_target_relocs.
368218822Sdim	(PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
369218822Sdim	(PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
370218822Sdim	(PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
371218822Sdim	case.
372104834Sobrien
373218822Sdim2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
374104834Sobrien
375218822Sdim	* configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
376218822Sdim	(bfin-*-linux-uclibc*): New target.
377104834Sobrien
378218822Sdim2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
379104834Sobrien
380218822Sdim	* pe-dll.c (make_one): Use pc-relative relocation instead of an
381218822Sdim	absolute relocation for x86_64-pc-mingw32 target.
382104834Sobrien
383218822Sdim2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
384104834Sobrien
385218822Sdim	* Makefile.am (ld_TEXINFOS): Remove ldver.texi.
386218822Sdim	(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
387218822Sdim	(TEXI2DVI): Likewise.
388218822Sdim	(REPORT_BUGS_TO): Removed.
389218822Sdim	(INCLUDES): Remove -DREPORT_BUGS_TO.
390218822Sdim	(ldver.texi): Likewise.
391218822Sdim	(ld.1): Don't depend on ldver.texi.
392218822Sdim	(MOSTLYCLEANFILES): Remove ldver.texi.
393218822Sdim	* Makefile.in: Regenerated.
394104834Sobrien
395218822Sdim	* configure.in (--with-bugurl): Removed.
396218822Sdim	* configure: Regenerated.
397104834Sobrien
398218822Sdim	* lexsup.c: Include bfdver.h.
399104834Sobrien
400218822Sdim	* ld.texinfo: Include bfdver.texi instead of ldver.texi.
401104834Sobrien
402218822Sdim2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
403104834Sobrien
404218822Sdim	* emultempl/mmixelf.em: Remove incorrect '#line' directive.
405104834Sobrien
406218822Sdim2007-03-08  Alan Modra  <amodra@bigpond.net.au>
407104834Sobrien
408218822Sdim	* ldlang.c (lang_size_sections_1): Correct backwards dot move
409218822Sdim	test to not trigger on overlays.  Only warn on backwards move
410218822Sdim	if non-default lma.
411104834Sobrien
412218822Sdim2007-03-07  Joseph Myers  <joseph@codesourcery.com>
413104834Sobrien
414218822Sdim	* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
415218822Sdim	bug-reporting URL.
416218822Sdim	* Makefile.am (ldver.texi): Define BUGURL.
417218822Sdim	* ld.texinfo: Use BUGURL.
418218822Sdim	* Makefile.in, configure: Regenerate.
419104834Sobrien
420218822Sdim2007-03-07  Nick Clifton  <nickc@redhat.com>
421104834Sobrien
422218822Sdim	PR ld/4023
423218822Sdim	* emultempl/aix.em (..._before_allocation): Strip sysroot prefix
424218822Sdim	from any paths being inserted into the output binary's DT_RPATH.
425104834Sobrien
426218822Sdim2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
427104834Sobrien
428218822Sdim	* emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
429104834Sobrien
430218822Sdim2007-03-01  Joseph Myers  <joseph@codesourcery.com>
431218822Sdim
432218822Sdim	* ldver.c (ldversion): Remove word "version" from output.  Update
433218822Sdim	copyright date.
434218822Sdim
435218822Sdim2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
436218822Sdim
437218822Sdim	* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
438218822Sdim	(eshelf_uclinux.c): New target.
439130561Sobrien	* Makefile.in: Rebuilt.
440218822Sdim	* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
441218822Sdim	* emulparams/shelf_uclinux.sh: New.
442104834Sobrien
443218822Sdim2007-02-28  Alan Modra  <amodra@bigpond.net.au>
444104834Sobrien
445218822Sdim	* configure.tgt: Fix type last change.
446218822Sdim	* configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
447104834Sobrien
448218822Sdim2007-02-27  Alan Modra  <amodra@bigpond.net.au>
449104834Sobrien
450218822Sdim	* Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
451218822Sdim	(eelf32_spu.c): Adjust dependencies.
452218822Sdim	* Makefile.in: Regenerate.
453218822Sdim	* emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
454218822Sdim	code using bin2c.
455218822Sdim	(_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
456218822Sdim	(ovl_mgr_stream): Update.
457218822Sdim	* emultempl/spu_inc.s: Delete.
458218822Sdim	* emultempl/spu_none.s: Delete.
45989857Sobrien
460218822Sdim2007-02-26  Alan Modra  <amodra@bigpond.net.au>
46189857Sobrien
462218822Sdim	* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
463218822Sdim	to _binary_spu_ovl_o_start.
464218822Sdim	(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
465218822Sdim	(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
466218822Sdim	* emultempl/spu_inc.s: Rename symbols.
467218822Sdim	* emultempl/spu_none.s: New file.
468218822Sdim	* emultempl/spu_ovl.S: Update copyright.
469218822Sdim	* Makefile.am (spu_inc.o): Try building with ld -r first, then
470218822Sdim	gas incbin, then build without overlay manager.
471218822Sdim	* Makefile.in: Regenerate.
47289857Sobrien
473218822Sdim2007-02-22  Joseph Myers  <joseph@codesourcery.com>
47489857Sobrien
475218822Sdim	* configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
476218822Sdim	mips*el-*-linux-*, mips*-*-linux-*): Set
477218822Sdim	targ_extra_libpath=$targ_extra_emuls.
478218822Sdim
479218822Sdim2007-02-21  Nick Clifton  <nickc@redhat.com>
480218822Sdim
481218822Sdim	* ldlang.c (ldlang_override_segment_assignment): New function.
482218822Sdim	* ldlang.h (ldlang_override_segment_assignment): Prototype.
483218822Sdim	* ldmain.c (link_callbacks): Add
484218822Sdim	ldlang_override_segment_assignment.
485218822Sdim
486218822Sdim2007-02-20  Alan Modra  <amodra@bigpond.net.au>
487218822Sdim
488218822Sdim	* ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
489218822Sdim
490218822Sdim2007-02-17  Mark Mitchell  <mark@codesourcery.com>
491218822Sdim            Nathan Sidwell  <nathan@codesourcery.com>
492218822Sdim            Vladimir Prus  <vladimir@codesourcery.com
493218822Sdim            Joseph Myers  <joseph@codesourcery.com>
494218822Sdim
495218822Sdim	* configure.in (--with-bugurl): New option.
496218822Sdim	* configure: Regenerate.
497218822Sdim	* Makefile.am (REPORT_BUGS_TO): Define.
498218822Sdim	(INCLUDES): Define REPORT_BUGS_TO.
499218822Sdim	Regenerate dependencies.
500218822Sdim	* Makefile.in: Regenerate.
501218822Sdim	* ld.h: Remove include of bin-bugs.h.
502218822Sdim	* lexsup.c (help): Don't print empty REPORT_BUGS_TO.
503218822Sdim
504218822Sdim2007-02-17  Alan Modra  <amodra@bigpond.net.au>
505218822Sdim
506218822Sdim	* ldcref.c (check_reloc_refs): Compare section for local syms.
507218822Sdim
508218822Sdim2007-02-13  Alan Modra  <amodra@bigpond.net.au>
509218822Sdim
510218822Sdim	* emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
511218822Sdim	(__ovly_load_event): Define.
512218822Sdim	(size): Rename to osize.
513218822Sdim	* emultempl/spu_ovl.o: Regenerate.
514218822Sdim
515218822Sdim2007-02-13  Alan Modra  <amodra@bigpond.net.au>
516218822Sdim
517218822Sdim	* emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
518218822Sdim	* emultempl/ppc64elf.em (ppc_add_stub_section): Create without
519218822Sdim	SEC_RELOC flag set.
520218822Sdim
521218822Sdim2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
522218822Sdim
523218822Sdim	* configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
524218822Sdim	want64 is true.
525218822Sdim	(targ_extra_libpath): Add $targ64_extra_libpath if want64 is
526218822Sdim	true
527218822Sdim	* configure: Regenerated.
528218822Sdim
529218822Sdim	* configure.tgt (targ_extra_libpath): Initialize.
530218822Sdim	(targ64_extra_emuls): New. Document. Initialize.
531218822Sdim	(targ64_extra_libpath): Likewise.
532218822Sdim	(i[3-7]86-*-linux-*): Set targ64_extra_emuls and
533218822Sdim	targ64_extra_libpath.
534218822Sdim	(powerpc*-*-linux*): Likewise.
535218822Sdim	(s390-*-linux*): Likewise.
536218822Sdim
537218822Sdim2007-02-07  Paul Brook  <paul@codesourcery.com>
538218822Sdim
539218822Sdim	* configure.tgt: Add arm*-*-uclinux-*eabi.
540218822Sdim
541218822Sdim2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
542218822Sdim
543218822Sdim	* ldlang.c (lang_size_sections_1): Add a missing `)'.
544218822Sdim
545218822Sdim2007-02-06  Alan Modra  <amodra@bigpond.net.au>
546218822Sdim
547218822Sdim	PR ld/3966
548218822Sdim	* ldlang.c (lang_size_sections_1): Don't warn on backwards dot
549218822Sdim	move unless section size is non-zero.
550218822Sdim
551218822Sdim2007-02-05  Dave Brolley  <brolley@redhat.com>
552218822Sdim
553218822Sdim	* Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
554218822Sdim	* configure.tgt: Likewise.
555218822Sdim	* scripttempl/mep.sc: New file.
556218822Sdim	* emulparams/elf32mep.sh: New file.
557218822Sdim	* Makefile.in: Regenerate.
558218822Sdim
559218822Sdim2006-01-29  Julian Brown  <julian@codesourcery.com>
560218822Sdim
561218822Sdim	* NEWS: Mention --vfp11-denorm-fix option.
562218822Sdim	* ld.texinfo: Document above.
563218822Sdim	* emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
564218822Sdim	.vfp11_veneer section.
565218822Sdim	* emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
566218822Sdim	* emultempl/armelf.em (vfp11_denorm_fix): New static variable.
567218822Sdim	(arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
568218822Sdim	bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
569218822Sdim	(arm_elf_after_allocation): New function. Call
570218822Sdim	bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
571218822Sdim	(arm_elf_create_output_section_statements): Pass vfp11 fix command
572218822Sdim	line option to BFD.
573218822Sdim	(OPTION_VFP11_DENORM_FIX): New option.
574218822Sdim	(PARSE_AND_LIST_LONGOPTS): Handle new option.
575218822Sdim	(PARSE_AND_LIST_OPTIONS): Likewise.
576218822Sdim	(PARSE_AND_LIST_ARGS_CASES): Likewise.
577218822Sdim	(LDEMUL_AFTER_ALLOCATION): Define.
578218822Sdim
579218822Sdim2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
580218822Sdim
581218822Sdim	* ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
582218822Sdim	(DEFSYMEND): Likewise.
583218822Sdim	(NAME): Likewise.
584218822Sdim	(LNAME): Likewise.
585218822Sdim
586218822Sdim2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
587218822Sdim
588218822Sdim	* pe-dll.c: (make_one) Conditionally include jump stubs.
589218822Sdim	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
590218822Sdim	redundant jump stubs from import libraries and exclude them from
591218822Sdim	link.
592218822Sdim
593218822Sdim2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
594218822Sdim
595218822Sdim	* ld.h (args_type): Add new symbolic and dynamic_list fields.
596218822Sdim
597218822Sdim	* ld.texinfo: Update -Bsymbolic-functions.
598218822Sdim
599218822Sdim	* ldmain.c (main): Initialize command_line.symbolic to
600218822Sdim	symbolic_unset and command_line.dynamic_list to
601218822Sdim	dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
602218822Sdim	--dynamic-list* before setting link_info.symbolic,
603218822Sdim	link_info.dynamic and link_info.dynamic_data.
604218822Sdim
605218822Sdim	* lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
606218822Sdim	(ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
607218822Sdim	-Bsymbolic-functions.
608218822Sdim	(parse_args): Handle -Bsymbolic-functions.  Don't set
609218822Sdim	link_info.dynamic, link_info.dynamic_data and link_info.symbolic
610218822Sdim	here.  Set command_line.symbolic for -Bsymbolic.  Set
611218822Sdim	command_line.dynamic_list and command_line.symbolic for
612218822Sdim	--dynamic-list-data, --dynamic-list-cpp-new,
613218822Sdim	--dynamic-list-cpp-typeinfo and --dynamic-list.
614218822Sdim
615218822Sdim2007-01-19  Jakub Jelinek  <jakub@redhat.com>
616218822Sdim	    H.J. Lu  <hongjiu.lu@intel.com>
617218822Sdim
618218822Sdim	* emultempl/elf32.em (handle_option): Make sure -z max-page-size
619218822Sdim	or -z common-page-size argument is a power of 2.  Call
620218822Sdim	bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
621218822Sdim
622218822Sdim2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
623218822Sdim
624218822Sdim	* ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
625218822Sdim	bfd_emul_set_commonpagesize.
626218822Sdim
627218822Sdim2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
628218822Sdim
629218822Sdim	* NEWS: Mention --default-script/-dT.
630218822Sdim
631218822Sdim	* ld.h (args_type): Add a default_script field.
632218822Sdim
633218822Sdim	* ld.texinfo: Document --default-script/-dT.
634218822Sdim
635218822Sdim	* ldmain.c (main): Handle command_line.default_script.
636218822Sdim
637218822Sdim	* lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
638218822Sdim	(ld_options): Add entries for --default-script and -dT.
639218822Sdim	(parse_args): Handle --default-script/-dT.
640218822Sdim
641218822Sdim2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
642218822Sdim
643218822Sdim	PR ld/3831
644218822Sdim	* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
645218822Sdim	--dynamic-list-cpp-new.
646218822Sdim
647218822Sdim	* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
648218822Sdim	and --dynamic-list-cpp-new.
649218822Sdim
650218822Sdim	* ldlang.c (lang_append_dynamic_list_cpp_new): New.
651218822Sdim	(lang_process): Change link_info.dynamic to
652218822Sdim	link_info.dynamic_list.
653218822Sdim	(lang_append_dynamic_list): Likewise.
654218822Sdim	* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
655218822Sdim	link_info.dynamic_data to FALSE.
656218822Sdim
657218822Sdim	* ldlang.h (lang_append_dynamic_list_cpp_new): New.
658218822Sdim
659218822Sdim	* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
660218822Sdim	OPTION_DYNAMIC_LIST_CPP_NEW.
661218822Sdim	(ld_options): Add entries for -Bsymbolic-functions,
662218822Sdim	--dynamic-list-data and --dynamic-list-cpp-new.  Make
663218822Sdim	-Bsymbolic-functions an alias of --dynamic-list-data.
664218822Sdim	(parse_args): Change link_info.dynamic to link_info.dynamic_list.
665218822Sdim	Set link_info.dynamic to TRUE for --dynamic-list and
666218822Sdim	--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
667218822Sdim	--dynamic-list-cpp-new.
668218822Sdim
669218822Sdim2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
670218822Sdim
671218822Sdim	* emultempl/elf-generic.em (gdl_map_segments): Only allow header
672218822Sdim	shrinkage for the first few iterations.
673218822Sdim
674218822Sdim2007-01-08  Kai Tietz	<kai.tietz@onevision.com>
675218822Sdim
676218822Sdim	* configure.tgt: Renamed target x86_64-*-mingw64 to
677218822Sdim	x86_64-*-mingw*.
678218822Sdim
679218822Sdim2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
680218822Sdim
681218822Sdim	* configure.host: Add i[3-7]86-*-mingw* case.
682218822Sdim
683218822Sdim2007-01-08  Nick Clifton  <nickc@redhat.com>
684218822Sdim
685218822Sdim	* pep-dll.h (pep_bfd_is_dll): Add prototype.
686218822Sdim
687218822Sdim2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
688218822Sdim
689218822Sdim	PR ld/3843
690218822Sdim	* configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
691218822Sdim	tdir_elf_i386_fbsd.
692218822Sdim
693218822Sdim2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
694218822Sdim
695218822Sdim	* ldexp.c (fold_name): Issue error on undefined sections.
696218822Sdim
697218822Sdim2007-01-02  Alan Modra  <amodra@bigpond.net.au>
698218822Sdim
699218822Sdim	* pe-dll.c: Include pe-dll.h.
700218822Sdim	* pep-dll.c (pe_bfd_is_dll): Define.
701218822Sdim
702218822SdimFor older changes see ChangeLog-2006
70333965Sjdp
70433965SjdpLocal Variables:
70533965Sjdpmode: change-log
70633965Sjdpleft-margin: 8
70733965Sjdpfill-column: 74
70833965Sjdpversion-control: never
70933965SjdpEnd:
710