xref: /netbsd-src/external/gpl3/binutils.old/dist/ld/ChangeLog-2007 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos2007-12-24  Hector Oron  <hector.oron@gmail.com>
2*75fd0b74Schristos
3*75fd0b74Schristos	* genscripts.sh (LIB_PATH): Include both {target_alias} and
4*75fd0b74Schristos	{TOOL_LIB} in the search paths for multilibbed targets.
5*75fd0b74Schristos
6*75fd0b74Schristos2007-12-15  Richard Sandiford  <rsandifo@nildram.co.uk>
7*75fd0b74Schristos
8*75fd0b74Schristos	* scripttempl/armbpabi.sc (.text): Don't KEEP (*(.text.*personality*)).
9*75fd0b74Schristos	(.data): Don't KEEP (*(.gnu.linkonce.d.*personality*)).
10*75fd0b74Schristos	* scripttempl/elf.sc: As for armbpabi.sc.
11*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
12*75fd0b74Schristos	* scripttempl/mep.sc: Likewise.
13*75fd0b74Schristos
14*75fd0b74Schristos2007-11-07  Nathan Sidwell  <nathan@codesourcery.com>
15*75fd0b74Schristos
16*75fd0b74Schristos	* emulparams/vxworks.sh (OTHER_READONLY_SECTIONS,
17*75fd0b74Schristos	OTHER_READWRITE_SECTIONS): Add TLS sections.
18*75fd0b74Schristos
19*75fd0b74Schristos2007-11-06  Kai Tietz  <kai.tietz@onevision.com>
20*75fd0b74Schristos
21*75fd0b74Schristos	* emultempl/pe.em: (init): Add __ImageBase symbol.
22*75fd0b74Schristos	(MSIMAGEBASEOFF): New.
23*75fd0b74Schristos	(set_pe_name): Keep __image_base and __ImageBase value synch.
24*75fd0b74Schristos	(_set_symbols): Likewise.
25*75fd0b74Schristos	* emultempl/pep.em: Likewise.
26*75fd0b74Schristos
27*75fd0b74Schristos2007-10-26  Alan Modra  <amodra@bigpond.net.au>
28*75fd0b74Schristos
29*75fd0b74Schristos	PR 5215
30*75fd0b74Schristos	* genscripts.sh: Move bash script to..
31*75fd0b74Schristos	* genscrba.sh: ..here.
32*75fd0b74Schristos
33*75fd0b74Schristos2007-10-25  Pedro Alves  <pedro_alves@portugalmail.pt>
34*75fd0b74Schristos
35*75fd0b74Schristos	* pe-dll.c (autofilter_symbollist_generic)
36*75fd0b74Schristos	(autofilter_symbollist_i386, autofilter_liblist)
37*75fd0b74Schristos	(autofilter_objlist, autofilter_symbolprefixlist)
38*75fd0b74Schristos	(autofilter_symbolsuffixlist): Don't use STRING_COMMA_LEN with
39*75fd0b74Schristos	NULL.
40*75fd0b74Schristos
41*75fd0b74Schristos2007-10-24  H.J. Lu  <hongjiu.lu@intel.com>
42*75fd0b74Schristos
43*75fd0b74Schristos	* configure.in: Move AM_PROG_LIBTOOL after AC_GNU_SOURCE.
44*75fd0b74Schristos	* configure: Regenerated.
45*75fd0b74Schristos
46*75fd0b74Schristos2007-10-24  Alan Modra  <amodra@bigpond.net.au>
47*75fd0b74Schristos
48*75fd0b74Schristos	* Makefile.am (INCLUDES): Remove -D_GNU_SOURCE.
49*75fd0b74Schristos	* configure.in: Invoke AC_GNU_SOURCE.
50*75fd0b74Schristos	* Makefile.in: Regenerate.
51*75fd0b74Schristos	* config.in: Regenerate.
52*75fd0b74Schristos	* configure: Regenerate.
53*75fd0b74Schristos	* po/POTFILES.in: Regenerate.
54*75fd0b74Schristos
55*75fd0b74Schristos2007-10-19  Nick Clifton  <nickc@redhat.com>
56*75fd0b74Schristos
57*75fd0b74Schristos	* configure.tgt: Add support for am34-linux-gnu target.
58*75fd0b74Schristos
59*75fd0b74Schristos2007-10-17  Zack Weinberg  <zack@codesourcery.com>
60*75fd0b74Schristos
61*75fd0b74Schristos	* ldlang.c (lang_check_section_addresses): Also report size of
62*75fd0b74Schristos	overflow for any overflowed memory regions.
63*75fd0b74Schristos	(os_region_check): Diagnose an overflowed region only once per
64*75fd0b74Schristos	region.  Do not reset region->current on overflow.
65*75fd0b74Schristos
66*75fd0b74Schristos2007-10-04  Nick Clifton  <nickc@redhat.com>
67*75fd0b74Schristos
68*75fd0b74Schristos	PR linker/4844
69*75fd0b74Schristos	* emultempl/pep.em (pep_find_data_imports): Issue a warning
70*75fd0b74Schristos	message if auto importing is triggered without
71*75fd0b74Schristos	--enable-auto-import having been specified on the command line.
72*75fd0b74Schristos	* emultempl/pe.em (pe_find_data_imports): Likewise.
73*75fd0b74Schristos
74*75fd0b74Schristos	PR linker/5097
75*75fd0b74Schristos	* emultempl/armelf.em (arm_elf_finish): Fix spelling typo.
76*75fd0b74Schristos
77*75fd0b74Schristos2007-10-01  Nick Clifton  <nickc@redhat.com>
78*75fd0b74Schristos
79*75fd0b74Schristos	PR linker/4844
80*75fd0b74Schristos	* genscripts.sh: Add support for generating a .xa script for use
81*75fd0b74Schristos	with the --auto-import option.
82*75fd0b74Schristos	* ld.texinfo: Document the new behaviour of the --auto-import
83*75fd0b74Schristos	option.
84*75fd0b74Schristos	* ldint.texinfo: Document new script generation.
85*75fd0b74Schristos	* emulparams/i386pe.sh (GENERATE_AUTO_IMPORT): Define.
86*75fd0b74Schristos	* emulparams/i386pe_posix.sh (GENERATE_AUTO_IMPORT): Define.
87*75fd0b74Schristos	* emulparams/i386pep.sh (GENERATE_AUTO_IMPORT): Define.
88*75fd0b74Schristos	* emultemp/pe.em (..._get_script): Support the use of the auto
89*75fd0b74Schristos	import script.
90*75fd0b74Schristos	* scripttempl/pe.sc: Put the .rdata input sections into the .data
91*75fd0b74Schristos	output section when creating an auto import script.
92*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
93*75fd0b74Schristos
94*75fd0b74Schristos2007-09-26  Brian Watt  <bwatt@us.ibm.com>
95*75fd0b74Schristos
96*75fd0b74Schristos	* emultempl/spu_ovl.S: Add debug printf code.
97*75fd0b74Schristos
98*75fd0b74Schristos2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
99*75fd0b74Schristos
100*75fd0b74Schristos	PR binutils/3281
101*75fd0b74Schristos	PR binutils/5037
102*75fd0b74Schristos	* ldexp.h (ldexp_control): Add relro, relro_start_stat and
103*75fd0b74Schristos	relro_end_stat.
104*75fd0b74Schristos
105*75fd0b74Schristos	* ldexp.c (fold_binary): Set expld.dataseg.relro to
106*75fd0b74Schristos	exp_dataseg_relro_start or exp_dataseg_relro_end when
107*75fd0b74Schristos	seeing DATA_SEGMENT_ALIGN or DATA_SEGMENT_RELRO_END,
108*75fd0b74Schristos	respectively.
109*75fd0b74Schristos
110*75fd0b74Schristos	* ldlang.c (lang_size_sections_1): Properly set
111*75fd0b74Schristos	expld.dataseg.relro_start_stat and
112*75fd0b74Schristos	expld.dataseg.relro_end_stat.
113*75fd0b74Schristos	(find_relro_section_callback): New function.
114*75fd0b74Schristos	(lang_find_relro_sections_1): Likewise.
115*75fd0b74Schristos	(lang_find_relro_sections): Likewise.
116*75fd0b74Schristos	(lang_process): Call lang_find_relro_sections for
117*75fd0b74Schristos	non-relocatable link.
118*75fd0b74Schristos
119*75fd0b74Schristos2007-09-17  Nick Clifton  <nickc@redhat.com>
120*75fd0b74Schristos
121*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
122*75fd0b74Schristos
123*75fd0b74Schristos2007-09-16  H.J. Lu  <hongjiu.lu@intel.com>
124*75fd0b74Schristos
125*75fd0b74Schristos	* emultempl/elf32.em: Check DF_BIND_NOW instead of DT_BIND_NOW.
126*75fd0b74Schristos
127*75fd0b74Schristos2007-09-15  Alan Modra  <amodra@bigpond.net.au>
128*75fd0b74Schristos
129*75fd0b74Schristos	PR ld/5025
130*75fd0b74Schristos	* emultempl/elf32.em (write_build_id_section): Correct test for
131*75fd0b74Schristos	"missing" .note.gnu.build-id.  Downgrade error to a warning if
132*75fd0b74Schristos	it has been discarded.
133*75fd0b74Schristos
134*75fd0b74Schristos2007-09-08  Alan Modra  <amodra@bigpond.net.au>
135*75fd0b74Schristos
136*75fd0b74Schristos	* ldwrite.c (build_link_order <lang_padding_statement_enum>): Correct
137*75fd0b74Schristos	condition under which we build a bfd_data_link_order.
138*75fd0b74Schristos
139*75fd0b74Schristos2007-08-31  Tristan Gingold  <gingold@adacore.com>
140*75fd0b74Schristos
141*75fd0b74Schristos	* ldlang.c (lang_map): Increment lang_statement_iteration so that
142*75fd0b74Schristos	DEFINED() expressions are correctly computed.
143*75fd0b74Schristos
144*75fd0b74Schristos2007-08-31  Alan Modra  <amodra@bigpond.net.au>
145*75fd0b74Schristos
146*75fd0b74Schristos	* ldlang.c (lang_record_phdrs): Give a fatal error if no sections
147*75fd0b74Schristos	assigned to phdrs.  Avoid multiple forward scans for a section
148*75fd0b74Schristos	with phdr assignment.
149*75fd0b74Schristos
150*75fd0b74Schristos2007-08-28  Mark Shinwell  <shinwell@codesourcery.com>
151*75fd0b74Schristos            Joseph Myers  <joseph@codesourcery.com>
152*75fd0b74Schristos
153*75fd0b74Schristos	* ldlang.c (sort_sections_by_lma): Sort by internal id after lma
154*75fd0b74Schristos	for stable sort.
155*75fd0b74Schristos
156*75fd0b74Schristos2007-08-28  Robert Sebastian Gerus  <arachnist@gmail.com>
157*75fd0b74Schristos
158*75fd0b74Schristos	* configure.host: Add support for i[3-7]86-*-dragonfly*.
159*75fd0b74Schristos	* configure.tgt: Likewise.
160*75fd0b74Schristos
161*75fd0b74Schristos2007-08-18  Alan Modra  <amodra@bigpond.net.au>
162*75fd0b74Schristos
163*75fd0b74Schristos	* ld.texinfo (Input Section Basics): Correct EXCLUDE_FILE example.
164*75fd0b74Schristos
165*75fd0b74Schristos2007-08-17  Jakub Jelinek  <jakub@redhat.com>
166*75fd0b74Schristos
167*75fd0b74Schristos	* configure.host: Handle sparcv*-*-linux-* the same as
168*75fd0b74Schristos	sparc-*-linux-*.  Change sparc64-*-linux-* to sparc64*-*-linux-*.
169*75fd0b74Schristos
170*75fd0b74Schristos2007-08-17  Alan Modra  <amodra@bigpond.net.au>
171*75fd0b74Schristos
172*75fd0b74Schristos	* emultempl/alphaelf.em: Format option help.
173*75fd0b74Schristos	* emultempl/armcoff.em: Likewise.
174*75fd0b74Schristos	* emultempl/armelf.em: Likewise.
175*75fd0b74Schristos	* emultempl/avrelf.em: Likewise.
176*75fd0b74Schristos	* emultempl/elf32.em: Likewise.
177*75fd0b74Schristos	* emultempl/hppaelf.em: Likewise.
178*75fd0b74Schristos	* emultempl/ia64elf.em: Likewise.
179*75fd0b74Schristos	* emultempl/m68hc1xelf.em: Likewise.
180*75fd0b74Schristos	* emultempl/ppc32elf.em: Likewise.
181*75fd0b74Schristos	* emultempl/ppc64elf.em: Likewise.
182*75fd0b74Schristos	* emultempl/scoreelf.em: Likewise.
183*75fd0b74Schristos	* emultempl/spuelf.em: Likewise.
184*75fd0b74Schristos	* emultempl/ticoff.em: Likewise.
185*75fd0b74Schristos	* emultempl/vxworks.em: Likewise.
186*75fd0b74Schristos	* emultempl/xtensaelf.em: Likewise.
187*75fd0b74Schristos
188*75fd0b74Schristos2007-08-17  Alan Modra  <amodra@bigpond.net.au>
189*75fd0b74Schristos
190*75fd0b74Schristos	* ldexp.c (exp_get_vma, exp_get_fill): Canonicalise error messages.
191*75fd0b74Schristos	* lexsup.c (ld_options): Don't use tabs in help text.
192*75fd0b74Schristos	* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Fix typo.
193*75fd0b74Schristos	* emultempl/pe.em (gld${EMULATION_NAME}_finish): Fix typo.
194*75fd0b74Schristos
195*75fd0b74Schristos2007-08-17  Alan Modra  <amodra@bigpond.net.au>
196*75fd0b74Schristos
197*75fd0b74Schristos	* po/Make-in: Add --msgid-bugs-address to xgettext invocation.
198*75fd0b74Schristos
199*75fd0b74Schristos2007-08-15  Alan Modra  <amodra@bigpond.net.au>
200*75fd0b74Schristos
201*75fd0b74Schristos	PR 4923
202*75fd0b74Schristos	* emultempl/elf32.em (after_open): Return immediately when
203*75fd0b74Schristos        non-ELF output.
204*75fd0b74Schristos
205*75fd0b74Schristos2007-08-12  Daniel Jacobowitz  <dan@codesourcery.com>
206*75fd0b74Schristos
207*75fd0b74Schristos	* configure.in (ALL_LINGUAS): Add fi.
208*75fd0b74Schristos	* po/fi.po: New file.
209*75fd0b74Schristos	* configure: Regenerated.
210*75fd0b74Schristos
211*75fd0b74Schristos2007-08-10  Nick Clifton  <nickc@redhat.com>
212*75fd0b74Schristos
213*75fd0b74Schristos	* NEWS: Add a marker for the 2.18 features.
214*75fd0b74Schristos
215*75fd0b74Schristos2007-08-10  Nick Clifton  <nickc@redhat.com>
216*75fd0b74Schristos
217*75fd0b74Schristos	* po/ga.po: Updated Irish translation.
218*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
219*75fd0b74Schristos
220*75fd0b74Schristos2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
221*75fd0b74Schristos
222*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
223*75fd0b74Schristos	* Makefile.in: Regenerate.
224*75fd0b74Schristos
225*75fd0b74Schristos2007-08-10  H.J. Lu  <hongjiu.lu@intel.com>
226*75fd0b74Schristos
227*75fd0b74Schristos	PR ld/4875
228*75fd0b74Schristos	* elf-hints-local.h: Include bfd_stdint.h.  Use uint32_t
229*75fd0b74Schristos	instead of u_int32_t.
230*75fd0b74Schristos
231*75fd0b74Schristos	* sha1.h: Include bfd_stdint.h instead of <stdint.h>.
232*75fd0b74Schristos
233*75fd0b74Schristos2007-08-09  Alan Modra  <amodra@bigpond.net.au>
234*75fd0b74Schristos
235*75fd0b74Schristos	PR 4515
236*75fd0b74Schristos	* genscripts.sh: Delete all references to NONPAGED_TEXT_START_ADDR.
237*75fd0b74Schristos	* ldint.texinfo: Likewise.
238*75fd0b74Schristos	* emulparams/armaoutb.sh (NONPAGED_TEXT_START_ADDRESS): Delete.
239*75fd0b74Schristos	* emulparams/armaoutl.sh: Likewise.
240*75fd0b74Schristos	* emulparams/arcelf.sh (NONPAGED_TEXT_START_ADDR): Delete.
241*75fd0b74Schristos	* emulparams/bfin.sh: Likewise
242*75fd0b74Schristos	* emulparams/crisaout.sh: Likewise
243*75fd0b74Schristos	* emulparams/elf32_sparc.sh: Likewise
244*75fd0b74Schristos	* emulparams/elf32am33lin.sh: Likewise
245*75fd0b74Schristos	* emulparams/elf32b4300.sh: Likewise
246*75fd0b74Schristos	* emulparams/elf32bmip.sh: Likewise
247*75fd0b74Schristos	* emulparams/elf32mcore.sh: Likewise
248*75fd0b74Schristos	* emulparams/elf32xtensa.sh: Likewise
249*75fd0b74Schristos	* emulparams/elf64_s390.sh: Likewise
250*75fd0b74Schristos	* emulparams/elf64_sparc.sh: Likewise
251*75fd0b74Schristos	* emulparams/elf64alpha.sh: Likewise
252*75fd0b74Schristos	* emulparams/elf_i386.sh: Likewise
253*75fd0b74Schristos	* emulparams/elf_i386_be.sh: Likewise
254*75fd0b74Schristos	* emulparams/elf_i386_chaos.sh: Likewise
255*75fd0b74Schristos	* emulparams/elf_i386_ldso.sh: Likewise
256*75fd0b74Schristos	* emulparams/elf_i386_vxworks.sh: Likewise
257*75fd0b74Schristos	* emulparams/elf_s390.sh: Likewise
258*75fd0b74Schristos	* emulparams/elf_x86_64.sh: Likewise
259*75fd0b74Schristos	* emulparams/i386aout.sh: Likewise
260*75fd0b74Schristos	* emulparams/i386moss.sh: Likewise
261*75fd0b74Schristos	* emulparams/i386msdos.sh: Likewise
262*75fd0b74Schristos	* emulparams/i386nto.sh: Likewise
263*75fd0b74Schristos	* emulparams/i386nw.sh: Likewise
264*75fd0b74Schristos	* emulparams/m68kaout.sh: Likewise
265*75fd0b74Schristos	* emulparams/m68kelf.sh: Likewise
266*75fd0b74Schristos	* emulparams/ppcnw.sh: Likewise
267*75fd0b74Schristos	* emulparams/sun4.sh: Likewise
268*75fd0b74Schristos	* emulparams/tic80coff.sh: Likewise
269*75fd0b74Schristos	* emulparams/vaxnbsd.sh: Likewise
270*75fd0b74Schristos	* emulparams/armnbsd.sh (NONPAGED_TEXT_START_ADDR): Delete.
271*75fd0b74Schristos	(TEXT_START_ADDR): Set for -n, -N.
272*75fd0b74Schristos	* emulparams/coff_sparc.sh: Likewise
273*75fd0b74Schristos	* emulparams/elf32vax.sh: Likewise
274*75fd0b74Schristos	* emulparams/i386bsd.sh: Likewise
275*75fd0b74Schristos	* emulparams/i386go32.sh: Likewise
276*75fd0b74Schristos	* emulparams/i386linux.sh: Likewise
277*75fd0b74Schristos	* emulparams/i386lynx.sh: Likewise
278*75fd0b74Schristos	* emulparams/i386mach.sh: Likewise
279*75fd0b74Schristos	* emulparams/m68k4knbsd.sh: Likewise
280*75fd0b74Schristos	* emulparams/m68klinux.sh: Likewise
281*75fd0b74Schristos	* emulparams/m68knbsd.sh: Likewise
282*75fd0b74Schristos	* emulparams/ns32knbsd.sh: Likewise
283*75fd0b74Schristos	* emulparams/pc532macha.sh: Likewise
284*75fd0b74Schristos	* emulparams/ppclynx.sh: Likewise
285*75fd0b74Schristos	* emulparams/scoreelf.sh: Likewise
286*75fd0b74Schristos	* emulparams/sparcaout.sh: Likewise
287*75fd0b74Schristos	* emulparams/sparclinux.sh: Likewise
288*75fd0b74Schristos	* emulparams/sun3.sh: Likewise
289*75fd0b74Schristos	* emulparams/vsta.sh: Likewise
290*75fd0b74Schristos
291*75fd0b74Schristos2007-08-07  Ralf Corsépius <ralf.corsepius@rtems.org>
292*75fd0b74Schristos
293*75fd0b74Schristos	* configure.tgt: Add bfin-*rtems*.
294*75fd0b74Schristos
295*75fd0b74Schristos2007-08-06  Kai Tietz  <kai.tietz@onevision.com>
296*75fd0b74Schristos
297*75fd0b74Schristos	* emultempl/pep.em: (pep_enable_stdcall_fixup): Set to value 1.
298*75fd0b74Schristos	(gld_xxx_recognized_file): Use pep_bfd_is_dll for detection of
299*75fd0b74Schristos	shared objects.
300*75fd0b74Schristos	* pe-dll.c: (autofilter_symbollist_i386): Define set for amd64
301*75fd0b74Schristos	mingw target.
302*75fd0b74Schristos
303*75fd0b74Schristos2007-08-01  Nick Clifton  <nickc@redhat.com>
304*75fd0b74Schristos
305*75fd0b74Schristos	* po/ga.po: Updated Irish translation.
306*75fd0b74Schristos
307*75fd0b74Schristos2007-07-29  Alan Modra  <amodra@bigpond.net.au>
308*75fd0b74Schristos
309*75fd0b74Schristos	* ldlang.c (lang_insert_orphan): When searching through linker
310*75fd0b74Schristos	script to place an orphan, don't stop on statements that appear
311*75fd0b74Schristos	outside of SECTIONS.
312*75fd0b74Schristos	* emultempl/elf32.em (output_rel_find): Prefer read-only alloc
313*75fd0b74Schristos	sections over read/write alloc sections.
314*75fd0b74Schristos
315*75fd0b74Schristos2007-07-28  Jakub Jelinek  <jakub@redhat.com>
316*75fd0b74Schristos
317*75fd0b74Schristos	* scripttempl/elf.sc: Add .note.gnu.build-id.
318*75fd0b74Schristos
319*75fd0b74Schristos2007-07-25  Nick Clifton  <nickc@redhat.com>
320*75fd0b74Schristos
321*75fd0b74Schristos	PR 4824
322*75fd0b74Schristos	* ld.texinfo (Options): Extend the description of the -O command
323*75fd0b74Schristos	line option.
324*75fd0b74Schristos
325*75fd0b74Schristos2007-07-24  Kai Tietz  <kai.tietz@onevision.com>
326*75fd0b74Schristos
327*75fd0b74Schristos	* pep.sc: Correct ctor/dtor sentinels for 64-bit targets.
328*75fd0b74Schristos
329*75fd0b74Schristos2007-07-21  Nick Clifton  <nickc@redhat.com>
330*75fd0b74Schristos
331*75fd0b74Schristos	* sha1.h: Change to use version 3 of the GNU General Public
332*75fd0b74Schristos	License and tidy up formatting.
333*75fd0b74Schristos	* sha1.c: Likewise.
334*75fd0b74Schristos
335*75fd0b74Schristos2007-07-19  Roland McGrath  <roland@redhat.com>
336*75fd0b74Schristos
337*75fd0b74Schristos	* genscripts.sh (source_em, fragment): New sh functions.
338*75fd0b74Schristos	Truncate e${EMULATION_NAME}.c file before .em script fills it.
339*75fd0b74Schristos	Use source_em in place of . for the .em script.
340*75fd0b74Schristos	* emultempl/generic.em: Use fragment and source_em functions.
341*75fd0b74Schristos	* emultempl/aix.em: Likewise.
342*75fd0b74Schristos	* emultempl/alphaelf.em: Likewise.
343*75fd0b74Schristos	* emultempl/armcoff.em: Likewise.
344*75fd0b74Schristos	* emultempl/armelf.em: Likewise.
345*75fd0b74Schristos	* emultempl/avrelf.em: Likewise.
346*75fd0b74Schristos	* emultempl/beos.em: Likewise.
347*75fd0b74Schristos	* emultempl/cr16elf.em: Likewise.
348*75fd0b74Schristos	* emultempl/crxelf.em: Likewise.
349*75fd0b74Schristos	* emultempl/elf-generic.em: Likewise.
350*75fd0b74Schristos	* emultempl/elf32.em: Likewise.
351*75fd0b74Schristos	* emultempl/genelf.em: Likewise.
352*75fd0b74Schristos	* emultempl/gld960.em: Likewise.
353*75fd0b74Schristos	* emultempl/gld960c.em: Likewise.
354*75fd0b74Schristos	* emultempl/hppaelf.em: Likewise.
355*75fd0b74Schristos	* emultempl/ia64elf.em: Likewise.
356*75fd0b74Schristos	* emultempl/irix.em: Likewise.
357*75fd0b74Schristos	* emultempl/linux.em: Likewise.
358*75fd0b74Schristos	* emultempl/lnk960.em: Likewise.
359*75fd0b74Schristos	* emultempl/m68hc1xelf.em: Likewise.
360*75fd0b74Schristos	* emultempl/m68kcoff.em: Likewise.
361*75fd0b74Schristos	* emultempl/m68kelf.em: Likewise.
362*75fd0b74Schristos	* emultempl/mipsecoff.em: Likewise.
363*75fd0b74Schristos	* emultempl/mipself.em: Likewise.
364*75fd0b74Schristos	* emultempl/mmix-elfnmmo.em: Likewise.
365*75fd0b74Schristos	* emultempl/mmixelf.em: Likewise.
366*75fd0b74Schristos	* emultempl/mmo.em: Likewise.
367*75fd0b74Schristos	* emultempl/needrelax.em: Likewise.
368*75fd0b74Schristos	* emultempl/netbsd.em: Likewise.
369*75fd0b74Schristos	* emultempl/pe.em: Likewise.
370*75fd0b74Schristos	* emultempl/pep.em: Likewise.
371*75fd0b74Schristos	* emultempl/ppc32elf.em: Likewise.
372*75fd0b74Schristos	* emultempl/ppc64elf.em: Likewise.
373*75fd0b74Schristos	* emultempl/scoreelf.em: Likewise.
374*75fd0b74Schristos	* emultempl/sh64elf.em: Likewise.
375*75fd0b74Schristos	* emultempl/spuelf.em: Likewise.
376*75fd0b74Schristos	* emultempl/sunos.em: Likewise.
377*75fd0b74Schristos	* emultempl/ticoff.em: Likewise.
378*75fd0b74Schristos	* emultempl/vanilla.em: Likewise.
379*75fd0b74Schristos	* emultempl/vxworks.em: Likewise.
380*75fd0b74Schristos	* emultempl/xtensaelf.em: Likewise.
381*75fd0b74Schristos	* emultempl/z80.em: Likewise.
382*75fd0b74Schristos
383*75fd0b74Schristos2007-07-18  Roland McGrath  <roland@redhat.com>
384*75fd0b74Schristos
385*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
386*75fd0b74Schristos	Use ASEC->contents for CONTENTS when missing, and allocate
387*75fd0b74Schristos	ASEC->size if needed.
388*75fd0b74Schristos
389*75fd0b74Schristos2007-07-13  Roland McGrath  <roland@redhat.com>
390*75fd0b74Schristos
391*75fd0b74Schristos	* emultempl/elf32.em (struct build_id_info): New type.
392*75fd0b74Schristos	(gld${EMULATION_NAME}_id_note_section_size): New function.
393*75fd0b74Schristos	(gld${EMULATION_NAME}_write_build_id_section): New function.
394*75fd0b74Schristos	(gld${EMULATION_NAME}_after_open): Use them.
395*75fd0b74Schristos	(DEFAULT_BUILD_ID_STYLE): Change to "sha1".
396*75fd0b74Schristos	* ld.texinfo (Options): Mention --build-id=sha1.
397*75fd0b74Schristos
398*75fd0b74Schristos	* sha1.h: New file (from gnulib).
399*75fd0b74Schristos	* sha1.c: New file (from gnulib).
400*75fd0b74Schristos	* Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
401*75fd0b74Schristos	(sha1.o): New target.
402*75fd0b74Schristos	* Makefile.in: Regenerated.
403*75fd0b74Schristos
404*75fd0b74Schristos2007-07-13  Alan Modra  <amodra@bigpond.net.au>
405*75fd0b74Schristos
406*75fd0b74Schristos	* ldlang.c (strip_excluded_output_sections): Don't ignore sections
407*75fd0b74Schristos	with update_dot_tree.
408*75fd0b74Schristos
409*75fd0b74Schristos2007-07-12  Nathan Sidwell  <nathan@codesourcery.com>
410*75fd0b74Schristos
411*75fd0b74Schristos	* scripttempl/pe.sc: Don't include .gcc_except_table and
412*75fd0b74Schristos	.eh_frame on partial links.
413*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
414*75fd0b74Schristos
415*75fd0b74Schristos2007-07-12  Alan Modra  <amodra@bigpond.net.au>
416*75fd0b74Schristos
417*75fd0b74Schristos	PR 4782
418*75fd0b74Schristos	* ldlang.c (lang_size_sections_1 <output_section_statement>): Only
419*75fd0b74Schristos	use expld.result when valid.
420*75fd0b74Schristos
421*75fd0b74Schristos2007-07-12  Alan Modra  <amodra@bigpond.net.au>
422*75fd0b74Schristos
423*75fd0b74Schristos	* emultempl/spuelf.em (embedded_spu_file): Test for NULL path
424*75fd0b74Schristos	before calling base_name, not after.
425*75fd0b74Schristos
426*75fd0b74Schristos2007-07-10  Alan Modra  <amodra@bigpond.net.au>
427*75fd0b74Schristos
428*75fd0b74Schristos	* scripttempl/elf.sc (DISCARDED): Renamed from STACKNOTE.  Add
429*75fd0b74Schristos	.gnu.debuglink.
430*75fd0b74Schristos	* scripttempl/armbpabi.sc: Likewise.
431*75fd0b74Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
432*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
433*75fd0b74Schristos	* scripttempl/mep.sc: Likewise.
434*75fd0b74Schristos
435*75fd0b74Schristos2007-07-09  Roland McGrath  <roland@redhat.com>
436*75fd0b74Schristos
437*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_add_option): Add --build-id.
438*75fd0b74Schristos	(gld${EMULATION_NAME}_handle_option): Handle --build-id.
439*75fd0b74Schristos	(gld${EMULATION_NAME}_list_options): List --build-id.
440*75fd0b74Schristos	(gld${EMULATION_NAME}_after_open): If --build-id was given,
441*75fd0b74Schristos	synthesize a ".note.gnu.build-id" section and cache it in elf_tdata.
442*75fd0b74Schristos	* ld.texinfo (Options): Describe --build-id.
443*75fd0b74Schristos	* NEWS: Mention --build-id.
444*75fd0b74Schristos
445*75fd0b74Schristos2007-07-06  Nick Clifton  <nickc@redhat.com>
446*75fd0b74Schristos
447*75fd0b74Schristos	* deffile.h: Update copyright notice to refer to GPLv3.
448*75fd0b74Schristos	* deffilep.y, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h,
449*75fd0b74Schristos	ldexp.c, ldexp.h, ldfile.c, ldfile.h, ldgram.y, ld.h, ldlang.c,
450*75fd0b74Schristos	ldlang.h, ldlex.h, ldlex.l, ldmain.c, ldmain.h, ldmisc.c,
451*75fd0b74Schristos	ldmisc.h, ldver.c, ldver.h, ldwrite.c, ldwrite.h, lexsup.c, mri.c,
452*75fd0b74Schristos	mri.h, pe-dll.c, pe-dll.h, pep-dll.c, pep-dll.h, stamp-h.in,
453*75fd0b74Schristos	sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
454*75fd0b74Schristos	emultempl/armcoff.em, emultempl/armelf.em, emultempl/avrelf.em,
455*75fd0b74Schristos	emultempl/beos.em, emultempl/cr16elf.em, emultempl/crxelf.em,
456*75fd0b74Schristos	emultempl/elf32.em, emultempl/elf-generic.em, emultempl/genelf.em,
457*75fd0b74Schristos	emultempl/generic.em, emultempl/gld960c.em, emultempl/gld960.em,
458*75fd0b74Schristos	emultempl/hppaelf.em, emultempl/ia64elf.em, emultempl/irix.em,
459*75fd0b74Schristos	emultempl/linux.em, emultempl/lnk960.em, emultempl/m68hc1xelf.em,
460*75fd0b74Schristos	emultempl/m68kcoff.em, emultempl/m68kelf.em,
461*75fd0b74Schristos	emultempl/mipsecoff.em, emultempl/mipself.em,
462*75fd0b74Schristos	emultempl/mmixelf.em, emultempl/mmix-elfnmmo.em, emultempl/mmo.em,
463*75fd0b74Schristos	emultempl/needrelax.em, emultempl/pe.em, emultempl/pep.em,
464*75fd0b74Schristos	emultempl/ppc32elf.em, emultempl/ppc64elf.em,
465*75fd0b74Schristos	emultempl/scoreelf.em, emultempl/sh64elf.em, emultempl/spuelf.em,
466*75fd0b74Schristos	emultempl/spu_ovl.S, emultempl/sunos.em, emultempl/ticoff.em,
467*75fd0b74Schristos	emultempl/vanilla.em, emultempl/xtensaelf.em: Likewise.
468*75fd0b74Schristos	* genscripts.sh: Add copyright notice.
469*75fd0b74Schristos	* emultempl/netbsd.em, emultempl/vxworks.em, emultempl/z80.em:
470*75fd0b74Schristos	Likewise.
471*75fd0b74Schristos	* NEWS: Mention that the sources are now under GPLv3.
472*75fd0b74Schristos	* configure: Regenerate.
473*75fd0b74Schristos
474*75fd0b74Schristos2007-07-05  Danny Smith  <dannysmith@users.sourceforge.net>
475*75fd0b74Schristos
476*75fd0b74Schristos	* ld.texinfo (--heap): Replace 'amount' with 'number of bytes'.
477*75fd0b74Schristos	(--stack): Likewise.
478*75fd0b74Schristos
479*75fd0b74Schristos2007-07-03  Matthias Klose  <doko@ubuntu.com>
480*75fd0b74Schristos
481*75fd0b74Schristos	* emultempl/spuelf.em (base_name): Correct backslash quoting.
482*75fd0b74Schristos
483*75fd0b74Schristos2007-07-02  Alan Modra  <amodra@bigpond.net.au>
484*75fd0b74Schristos
485*75fd0b74Schristos	* Makefile.in: Regenerate.
486*75fd0b74Schristos	* aclocal.m4: Regenerate.
487*75fd0b74Schristos	* config.in: Regenerate.
488*75fd0b74Schristos	* po/ld.pot: Regenerate.
489*75fd0b74Schristos
490*75fd0b74Schristos2007-06-30  H.J. Lu  <hongjiu.lu@intel.com>
491*75fd0b74Schristos
492*75fd0b74Schristos	* aclocal.m4: Regenerated.
493*75fd0b74Schristos	* Makefile.in: Likewise.
494*75fd0b74Schristos
495*75fd0b74Schristos2007-06-29  H.J. Lu  <hongjiu.lu@intel.com>
496*75fd0b74Schristos
497*75fd0b74Schristos	* NEWS: Remove a line with '*' only.
498*75fd0b74Schristos
499*75fd0b74Schristos2007-06-29  Joseph Myers  <joseph@codesourcery.com>
500*75fd0b74Schristos
501*75fd0b74Schristos	* emulparams/armelf.sh (OTHER_SECTIONS): Remove .ARM.attributes.
502*75fd0b74Schristos	(ATTRS_SECTIONS): Define.
503*75fd0b74Schristos	* scripttempl/elf.sc, scripttempl/elf32sh-symbian.sc,
504*75fd0b74Schristos	scripttempl/elf_chaos.sc, scripttempl/elfi370.sc,
505*75fd0b74Schristos	scripttempl/elfxtensa.sc: Handle ATTRS_SECTIONS.
506*75fd0b74Schristos
507*75fd0b74Schristos2007-06-29  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
508*75fd0b74Schristos
509*75fd0b74Schristos	* scripttemp/elf32cr16.sc: Default linker script.
510*75fd0b74Schristos	* emulparams/elf32cr16.sh: Emulation script.
511*75fd0b74Schristos	* emultempl/cr16elf.em: Emulation script.
512*75fd0b74Schristos	* Makefile.am: Add entry to make cr16 target.
513*75fd0b74Schristos	* Makefile.in: Regenerate.
514*75fd0b74Schristos	* configure.tgt: Specify default and other emulation parameters
515*75fd0b74Schristos	for cr16.
516*75fd0b74Schristos	* ChangeLog: Added CR16 target entry.
517*75fd0b74Schristos	* NEWS: Announce the support for the CR16 new target.
518*75fd0b74Schristos
519*75fd0b74Schristos2007-06-27  Alan Modra  <amodra@bigpond.net.au>
520*75fd0b74Schristos
521*75fd0b74Schristos	* pe-dll.c: Rename uses of bfd.next to bfd.archive_next throughout.
522*75fd0b74Schristos
523*75fd0b74Schristos2007-06-20  Alan Modra  <amodra@bigpond.net.au>
524*75fd0b74Schristos
525*75fd0b74Schristos	* emulparams/elf32_spu.sh (OTHER_SECTIONS): KEEP .note.spu_name.
526*75fd0b74Schristos
527*75fd0b74Schristos2007-06-18  Nathan Sidwell  <nathan@codesourcery.com>
528*75fd0b74Schristos
529*75fd0b74Schristos	* ldlex.l, ldgram.y: Add ALIGNOF.
530*75fd0b74Schristos	* ldexp.c (exp_print_token, foldname): Likewise.
531*75fd0b74Schristos	* ld.texinfo: Likewise.
532*75fd0b74Schristos
533*75fd0b74Schristos2007-06-18  Alan Modra  <amodra@bigpond.net.au>
534*75fd0b74Schristos
535*75fd0b74Schristos	* Makefile.am: Add eelf32_spu.o rule.
536*75fd0b74Schristos	* Makefile.in: Regenerate.
537*75fd0b74Schristos	* emultempl/spuelf.em: Revert last change.  Instead use EMBEDSPU
538*75fd0b74Schristos	defined in Makefile for embedspu name.
539*75fd0b74Schristos
540*75fd0b74Schristos2007-06-18  Alan Modra  <amodra@bigpond.net.au>
541*75fd0b74Schristos
542*75fd0b74Schristos	* emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
543*75fd0b74Schristos	name prefix from that of ld.
544*75fd0b74Schristos
545*75fd0b74Schristos2007-06-14  H.J. Lu  <hongjiu.lu@intel.com>
546*75fd0b74Schristos
547*75fd0b74Schristos	* Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
548*75fd0b74Schristos
549*75fd0b74Schristos	* acinclude.m4: Removed.
550*75fd0b74Schristos
551*75fd0b74Schristos	* Makefile.in: Regenerated.
552*75fd0b74Schristos	* aclocal.m4: Likewise.
553*75fd0b74Schristos	* configure: Likewise.
554*75fd0b74Schristos
555*75fd0b74Schristos2007-06-14  Alan Modra  <amodra@bigpond.net.au>
556*75fd0b74Schristos
557*75fd0b74Schristos	* emultempl/spu_ovl.S: Don't trash lr on tail call from one
558*75fd0b74Schristos	overlay to another.
559*75fd0b74Schristos	* emultempl/spu_ovl.o: Regenerate.
560*75fd0b74Schristos
561*75fd0b74Schristos2007-06-11  Bob Wilson  <bob.wilson@acm.org>
562*75fd0b74Schristos
563*75fd0b74Schristos	* emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
564*75fd0b74Schristos	for .xt_except_table.
565*75fd0b74Schristos	(OTHER_RELRO_SECTIONS): New.
566*75fd0b74Schristos
567*75fd0b74Schristos2007-06-11  Sterling Augustine  <sterling@tensilica.com>
568*75fd0b74Schristos	    Bob Wilson  <bob.wilson@acm.org>
569*75fd0b74Schristos
570*75fd0b74Schristos	* emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
571*75fd0b74Schristos	XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
572*75fd0b74Schristos
573*75fd0b74Schristos2007-06-01  Noah Misch  <noah@cs.caltech.edu>
574*75fd0b74Schristos	    Alan Modra  <amodra@bigpond.net.au>
575*75fd0b74Schristos
576*75fd0b74Schristos	* ldlang.c (ldlang_add_file): Use input_bfds_tail.
577*75fd0b74Schristos	* ldmain.c (main): Init input_bfds_tail.  Sort link_info
578*75fd0b74Schristos	initialization.
579*75fd0b74Schristos
580*75fd0b74Schristos2007-05-29  Alan Modra  <amodra@bigpond.net.au>
581*75fd0b74Schristos
582*75fd0b74Schristos	* emultempl/spuelf.em (base_name): New function, split out from..
583*75fd0b74Schristos	(embedded_spu_file) ..here.  Pass -fPIC or -fpie to embedspu
584*75fd0b74Schristos	invocation if we deduce a shared lib or position independent
585*75fd0b74Schristos	executable build by looking at ctrbegin* linker input files.
586*75fd0b74Schristos
587*75fd0b74Schristos2007-05-29  Alan Modra  <amodra@bigpond.net.au>
588*75fd0b74Schristos
589*75fd0b74Schristos	* emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
590*75fd0b74Schristos	types and sizes.
591*75fd0b74Schristos	* emultempl/spu_ovl.o: Regenerate.
592*75fd0b74Schristos
593*75fd0b74Schristos2007-05-24  Steve Ellcey  <sje@cup.hp.com>
594*75fd0b74Schristos
595*75fd0b74Schristos	* Makefile.in: Regnerate.
596*75fd0b74Schristos	* configure: Regenerate.
597*75fd0b74Schristos	* aclocal.m4: Regenerate.
598*75fd0b74Schristos
599*75fd0b74Schristos2007-05-24  Nathan Sidwell  <nathan@codesourcery.com>
600*75fd0b74Schristos
601*75fd0b74Schristos	* ldlex.l: ASSERT is recognized in SCRIPT env.  NAMES cannot
602*75fd0b74Schristos	contain commas in EXP env.
603*75fd0b74Schristos	* ldgram.y (extern_name_list): Push to EXP env, move body to ...
604*75fd0b74Schristos	(extern_name_list_body): ... here.
605*75fd0b74Schristos	(script_file, ifile_list): Reformat.
606*75fd0b74Schristos	(statement): Add ASSERT.
607*75fd0b74Schristos
608*75fd0b74Schristos2007-05-22  Nick Clifton  <nickc@redhat.com>
609*75fd0b74Schristos
610*75fd0b74Schristos	* ld.texinfo: Use @copying around the copyright notice.
611*75fd0b74Schristos	* ldint.texinfo: Likewise.
612*75fd0b74Schristos
613*75fd0b74Schristos2007-05-18  Richard Sandiford  <richard@codesourcery.com>
614*75fd0b74Schristos
615*75fd0b74Schristos	* emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
616*75fd0b74Schristos	(OTHER_READWRITE_SECTIONS): Define.  Add .rdata sections.
617*75fd0b74Schristos
618*75fd0b74Schristos2007-05-16  Richard Sandiford  <richard@codesourcery.com>
619*75fd0b74Schristos
620*75fd0b74Schristos	* configure.in: Allow sysroots to be relocated under $prefix as
621*75fd0b74Schristos	well as $exec_prefix.
622*75fd0b74Schristos	* configure: Regenerate.
623*75fd0b74Schristos
624*75fd0b74Schristos2007-05-14  Andreas Schwab  <schwab@suse.de>
625*75fd0b74Schristos
626*75fd0b74Schristos	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
627*75fd0b74Schristos	Handle null pattern.
628*75fd0b74Schristos
629*75fd0b74Schristos2007-05-11  Alan Modra  <amodra@bigpond.net.au>
630*75fd0b74Schristos
631*75fd0b74Schristos	* emultempl/ppc32elf.em (plt_style): New variable.
632*75fd0b74Schristos	(old_plt): Delete.
633*75fd0b74Schristos	(ppc_after_open): Adjust ppc_elf_select_plt_layout call.
634*75fd0b74Schristos	(PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
635*75fd0b74Schristos	OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
636*75fd0b74Schristos	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
637*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
638*75fd0b74Schristos	* ld.texinfo (--secure-plt): Document.
639*75fd0b74Schristos
640*75fd0b74Schristos2007-05-08  Alan Modra  <amodra@bigpond.net.au>
641*75fd0b74Schristos
642*75fd0b74Schristos	* ld.h (args_type, ld_config_type): Reorder fields.
643*75fd0b74Schristos	* ldmain.c (main): Don't initialise a bunch of vars we know are
644*75fd0b74Schristos	zero already.
645*75fd0b74Schristos
646*75fd0b74Schristos2007-05-05  Anatoly Sokolov <aesok@post.ru>
647*75fd0b74Schristos
648*75fd0b74Schristos	* multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
649*75fd0b74Schristos	"--pmem-wrap-around".
650*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
651*75fd0b74Schristos
652*75fd0b74Schristos2007-05-03  Bob Wilson  <bob.wilson@acm.org>
653*75fd0b74Schristos
654*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Merge changes from elf.sc.
655*75fd0b74Schristos
656*75fd0b74Schristos2007-05-03  Alan Modra  <amodra@bigpond.net.au>
657*75fd0b74Schristos
658*75fd0b74Schristos	* ld.texinfo (--no-warn-search-mismatch): Document.
659*75fd0b74Schristos	* ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
660*75fd0b74Schristos	incompatible libraries if --no-warn-search-mismatch.
661*75fd0b74Schristos	* ld.h (args_type): Add warn_search_mismatch.
662*75fd0b74Schristos	* ldmain.c (main): Init it.
663*75fd0b74Schristos	* lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
664*75fd0b74Schristos	(ld_options): Add entry for --no-warn-search-mismatch.
665*75fd0b74Schristos	(parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
666*75fd0b74Schristos
667*75fd0b74Schristos2007-05-03  Alan Modra  <amodra@bigpond.net.au>
668*75fd0b74Schristos
669*75fd0b74Schristos	* scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
670*75fd0b74Schristos
671*75fd0b74Schristos2007-05-01  Robert Millan  <rmh@aybabtu.com>
672*75fd0b74Schristos
673*75fd0b74Schristos	* ldlang.c (lang_check): Error on architecture mismatch.
674*75fd0b74Schristos
675*75fd0b74Schristos2007-04-30  Alan Modra  <amodra@bigpond.net.au>
676*75fd0b74Schristos
677*75fd0b74Schristos	* ldmain.c (link_callbacks): Init info and minfo fields.
678*75fd0b74Schristos	* ldmisc.c (minfo): Do nothing if no map file.
679*75fd0b74Schristos	* emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
680*75fd0b74Schristos	(spu_after_open): Adjust spu_elf_create_sections call.
681*75fd0b74Schristos	(spu_before_allocation): Likewise for spu_elf_size_stubs.
682*75fd0b74Schristos	(OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
683*75fd0b74Schristos	(PARSE_AND_LIST_LONGOPTS): Add new entries.
684*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
685*75fd0b74Schristos	* gen-doc.texi: Add @set for SPU and other missing targets.
686*75fd0b74Schristos	* ld.texinfo: Update man page selection to match gen-doc.texi.
687*75fd0b74Schristos	Document SPU features.
688*75fd0b74Schristos
689*75fd0b74Schristos2007-04-28  Alan Modra  <amodra@bigpond.net.au>
690*75fd0b74Schristos
691*75fd0b74Schristos	* ldcref.c (struct cref_hash_entry): Make "demangled" const.
692*75fd0b74Schristos	(cref_fill_array): Adjust for changed demangler.
693*75fd0b74Schristos	* ldlang.c (lang_one_common): Likewise.
694*75fd0b74Schristos
695*75fd0b74Schristos2007-04-27  Nathan Froyd  <froydnj@codesourcery.com>
696*75fd0b74Schristos
697*75fd0b74Schristos	* emulparams/elf32_sparc.sh: Update comments.
698*75fd0b74Schristos	* emulparams/elf32bmip.sh: Likewise.
699*75fd0b74Schristos	* emulparams/elf32ppc.sh: Likewise.
700*75fd0b74Schristos	* emulparams/vxworks.sh: Likewise.
701*75fd0b74Schristos
702*75fd0b74Schristos2007-04-27  Alan Modra  <amodra@bigpond.net.au>
703*75fd0b74Schristos
704*75fd0b74Schristos	Many files: Include sysdep.h first.  Remove duplicate headers.
705*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
706*75fd0b74Schristos	* Makefile.in: Regenerate.
707*75fd0b74Schristos
708*75fd0b74Schristos2007-04-24  Alan Modra  <amodra@bigpond.net.au>
709*75fd0b74Schristos
710*75fd0b74Schristos	* Makefile.in: Regenerate.
711*75fd0b74Schristos
712*75fd0b74Schristos2007-04-19  Alan Modra  <amodra@bigpond.net.au>
713*75fd0b74Schristos
714*75fd0b74Schristos	* ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
715*75fd0b74Schristos	* ldlang.c (lang_one_common): Likewise.
716*75fd0b74Schristos	* ldmisc.c (vfinfo): Likewise.
717*75fd0b74Schristos	(demangle): Delete.
718*75fd0b74Schristos	* ldmisc.h (demangle): Delete.
719*75fd0b74Schristos	* Makefile.am: Run "make dep-am".
720*75fd0b74Schristos	* Makefile.in: Regenerate.
721*75fd0b74Schristos
722*75fd0b74Schristos2007-04-18  Alan Modra  <amodra@bigpond.net.au>
723*75fd0b74Schristos
724*75fd0b74Schristos	* ldlang.h (enum section_type): Add overlay_section.
725*75fd0b74Schristos	* ldlang.c (lang_add_section): Handle flags for overlay_section
726*75fd0b74Schristos	as per normal_section.
727*75fd0b74Schristos	(lang_size_sections_1): When setting lma, detect overlays by
728*75fd0b74Schristos	os->sectype rather than by looking for overlapping vmas.
729*75fd0b74Schristos	(lang_enter_overlay_section): Use overlay_section type.
730*75fd0b74Schristos	(lang_leave_overlay): Set first overlay section to normal.
731*75fd0b74Schristos
732*75fd0b74Schristos2007-04-14  Steve Ellcey  <sje@cup.hp.com>
733*75fd0b74Schristos
734*75fd0b74Schristos	* Makefile.am: Add ACLOCAL_AMFLAGS.
735*75fd0b74Schristos	* Makefile.in: Regenerate.
736*75fd0b74Schristos
737*75fd0b74Schristos2007-04-12  Bob Wilson  <bob.wilson@acm.org>
738*75fd0b74Schristos
739*75fd0b74Schristos	* emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
740*75fd0b74Schristos
741*75fd0b74Schristos2007-04-10  Richard Henderson  <rth@redhat.com>
742*75fd0b74Schristos
743*75fd0b74Schristos	* ldlang.c (relax_sections): Initialize and increment
744*75fd0b74Schristos	link_info.relax_trip.
745*75fd0b74Schristos
746*75fd0b74Schristos2007-04-04  Paul Brook  <paul@codesourcery.com>
747*75fd0b74Schristos
748*75fd0b74Schristos	* configure.tgt: Loosen checks for arm uclinux eabi targets.
749*75fd0b74Schristos
750*75fd0b74Schristos2007-04-02  H.J. Lu  <hongjiu.lu@intel.com>
751*75fd0b74Schristos
752*75fd0b74Schristos	PR ld/4090
753*75fd0b74Schristos	* ldexp.h (node_type): Add lineno.
754*75fd0b74Schristos	* ldexp.c: Include "ldlex.h".
755*75fd0b74Schristos	(exp_intop): Set the lineno field from lineno.
756*75fd0b74Schristos	(exp_bigintop): Likewise.
757*75fd0b74Schristos	(exp_relop): Likewise.
758*75fd0b74Schristos	(exp_nameop): Likewise.
759*75fd0b74Schristos	(exp_binop): Set the lineno field from lineno of lhs.
760*75fd0b74Schristos	(exp_trinop): Likewise.
761*75fd0b74Schristos	(exp_unop): Set the lineno field from lineno of child.
762*75fd0b74Schristos	(exp_assop): Set the lineno field from lineno of src.
763*75fd0b74Schristos	(exp_provide): Likewise.
764*75fd0b74Schristos	(exp_assert): Set the lineno field from lineno of exp.
765*75fd0b74Schristos	(exp_get_abs_int): Set lineno from lineno of nonconstant
766*75fd0b74Schristos	expression when report problem.
767*75fd0b74Schristos
768*75fd0b74Schristos2007-03-29  Richard Sandiford  <richard@codesourcery.com>
769*75fd0b74Schristos	    Daniel Jacobowitz  <dan@codesourcery.com>
770*75fd0b74Schristos
771*75fd0b74Schristos	* NEWS: Mention -l:foo.
772*75fd0b74Schristos	* ld.texinfo: Document it.
773*75fd0b74Schristos	* ldlang.c (new_afile): If a lang_input_file_is_l_enum
774*75fd0b74Schristos	entry as a name beginning with a coloh, convert it to a
775*75fd0b74Schristos	lang_input_file_is_search_file_enum entry without the colon.
776*75fd0b74Schristos
777*75fd0b74Schristos2007-03-28  Richard Sandiford  <richard@codesourcery.com>
778*75fd0b74Schristos
779*75fd0b74Schristos	* ld.h (ld_config_type): Add rpath_separator.
780*75fd0b74Schristos	* ldmain.c (main): Initialize it.
781*75fd0b74Schristos	* lexsup.c (parse_args): Honor config.rpath_separator.
782*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
783*75fd0b74Schristos	(gld${EMULATION_NAME}_add_sysroot): Likewise.
784*75fd0b74Schristos	(gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
785*75fd0b74Schristos	rather than ':' when building the path.
786*75fd0b74Schristos	* emultempl/vxworks.em (vxworks_before_parse): New function.
787*75fd0b74Schristos	Override config.rpath_separator.
788*75fd0b74Schristos	(LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
789*75fd0b74Schristos	set to gld${EMULATION_NAME}_after_open; #define that identifier
790*75fd0b74Schristos	to vxworks_foo instead.
791*75fd0b74Schristos	(LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
792*75fd0b74Schristos
793*75fd0b74Schristos2007-03-28  Richard Sandiford  <richard@codesourcery.com>
794*75fd0b74Schristos	    Phil Edwards  <phil@codesourcery.com>
795*75fd0b74Schristos
796*75fd0b74Schristos	* ld.texinfo: Put the contents after the title page rather
797*75fd0b74Schristos	than at the end of the document.
798*75fd0b74Schristos
799*75fd0b74Schristos2007-03-26  Alan Modra  <amodra@bigpond.net.au>
800*75fd0b74Schristos
801*75fd0b74Schristos	* Makefile.am: Add dependency on ldemul-list.h for powerpc and
802*75fd0b74Schristos	spu target emul files.
803*75fd0b74Schristos	* configure.in: Check for mkstemp and waitpid.
804*75fd0b74Schristos	* Makefile.in: Regenerate.
805*75fd0b74Schristos	* configure: Regenerate.
806*75fd0b74Schristos	* config.in: Regenerate.
807*75fd0b74Schristos	* ldlang.c (input_file_chain): Make global.
808*75fd0b74Schristos	(lang_add_input_file): Don't set lang_has_input_file here.
809*75fd0b74Schristos	* ldlang.h (input_file_chain): Declare.
810*75fd0b74Schristos	* emultempl/ppc32elf.em (ppc_recognized_file): New function.
811*75fd0b74Schristos	(LDEMUL_RECOGNIZED_FILE): Define.
812*75fd0b74Schristos	* emultempl/ppc64elf.em (ppc64_recognized_file): New function.
813*75fd0b74Schristos	(LDEMUL_RECOGNIZED_FILE): Define.
814*75fd0b74Schristos	* emultempl/spuelf.em (struct tflist): New.
815*75fd0b74Schristos	(tmp_file_list): New var.
816*75fd0b74Schristos	(clean_tmp, embedded_spu_file): New functions.
817*75fd0b74Schristos
818*75fd0b74Schristos2007-03-24  Alan Modra  <amodra@bigpond.net.au>
819*75fd0b74Schristos
820*75fd0b74Schristos	* ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
821*75fd0b74Schristos	rather than defining unconditionally.
822*75fd0b74Schristos	(lang_leave_overlay_section): Likewise.
823*75fd0b74Schristos	* ld.texinfo (Overlay Description): Update description and examples
824*75fd0b74Schristos	for start/stop syms.
825*75fd0b74Schristos
826*75fd0b74Schristos2007-03-22  Joseph Myers  <joseph@codesourcery.com>
827*75fd0b74Schristos
828*75fd0b74Schristos	* ld.texinfo: Include VERSION_PACKAGE when reporting version.
829*75fd0b74Schristos
830*75fd0b74Schristos2007-03-20  Paul Brook  <paul@codesourcery.com>
831*75fd0b74Schristos
832*75fd0b74Schristos	* emultempl/armelf.em (pic_veneer): New variable.
833*75fd0b74Schristos	(PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
834*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Ditto.
835*75fd0b74Schristos	(PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
836*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Ditto.
837*75fd0b74Schristos	* ld.texinfo: Document --pic-veneer.
838*75fd0b74Schristos
839*75fd0b74Schristos2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
840*75fd0b74Schristos
841*75fd0b74Schristos	* ld.texinfo: Document --no-enum-size-warning.
842*75fd0b74Schristos	* emultempl/armelf.em (no_enum_size_warning): New.
843*75fd0b74Schristos	(arm_elf_create_output_section_statements): Correct typo
844*75fd0b74Schristos	in comment.  Pass no_enum_size_warning to
845*75fd0b74Schristos	bfd_elf32_arm_set_target_relocs.
846*75fd0b74Schristos	(PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
847*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
848*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
849*75fd0b74Schristos	case.
850*75fd0b74Schristos
851*75fd0b74Schristos2007-03-19  Bernd Schmidt  <bernd.schmidt@analog.com>
852*75fd0b74Schristos
853*75fd0b74Schristos	* configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
854*75fd0b74Schristos	(bfin-*-linux-uclibc*): New target.
855*75fd0b74Schristos
856*75fd0b74Schristos2007-03-16  Kai Tietz  <Kai.Tietz@onevision.com>
857*75fd0b74Schristos
858*75fd0b74Schristos	* pe-dll.c (make_one): Use pc-relative relocation instead of an
859*75fd0b74Schristos	absolute relocation for x86_64-pc-mingw32 target.
860*75fd0b74Schristos
861*75fd0b74Schristos2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
862*75fd0b74Schristos
863*75fd0b74Schristos	* Makefile.am (ld_TEXINFOS): Remove ldver.texi.
864*75fd0b74Schristos	(AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
865*75fd0b74Schristos	(TEXI2DVI): Likewise.
866*75fd0b74Schristos	(REPORT_BUGS_TO): Removed.
867*75fd0b74Schristos	(INCLUDES): Remove -DREPORT_BUGS_TO.
868*75fd0b74Schristos	(ldver.texi): Likewise.
869*75fd0b74Schristos	(ld.1): Don't depend on ldver.texi.
870*75fd0b74Schristos	(MOSTLYCLEANFILES): Remove ldver.texi.
871*75fd0b74Schristos	* Makefile.in: Regenerated.
872*75fd0b74Schristos
873*75fd0b74Schristos	* configure.in (--with-bugurl): Removed.
874*75fd0b74Schristos	* configure: Regenerated.
875*75fd0b74Schristos
876*75fd0b74Schristos	* lexsup.c: Include bfdver.h.
877*75fd0b74Schristos
878*75fd0b74Schristos	* ld.texinfo: Include bfdver.texi instead of ldver.texi.
879*75fd0b74Schristos
880*75fd0b74Schristos2007-03-11  Hans-Peter Nilsson  <hp@bitrange.com>
881*75fd0b74Schristos
882*75fd0b74Schristos	* emultempl/mmixelf.em: Remove incorrect '#line' directive.
883*75fd0b74Schristos
884*75fd0b74Schristos2007-03-08  Alan Modra  <amodra@bigpond.net.au>
885*75fd0b74Schristos
886*75fd0b74Schristos	* ldlang.c (lang_size_sections_1): Correct backwards dot move
887*75fd0b74Schristos	test to not trigger on overlays.  Only warn on backwards move
888*75fd0b74Schristos	if non-default lma.
889*75fd0b74Schristos
890*75fd0b74Schristos2007-03-07  Joseph Myers  <joseph@codesourcery.com>
891*75fd0b74Schristos
892*75fd0b74Schristos	* configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
893*75fd0b74Schristos	bug-reporting URL.
894*75fd0b74Schristos	* Makefile.am (ldver.texi): Define BUGURL.
895*75fd0b74Schristos	* ld.texinfo: Use BUGURL.
896*75fd0b74Schristos	* Makefile.in, configure: Regenerate.
897*75fd0b74Schristos
898*75fd0b74Schristos2007-03-07  Nick Clifton  <nickc@redhat.com>
899*75fd0b74Schristos
900*75fd0b74Schristos	PR ld/4023
901*75fd0b74Schristos	* emultempl/aix.em (..._before_allocation): Strip sysroot prefix
902*75fd0b74Schristos	from any paths being inserted into the output binary's DT_RPATH.
903*75fd0b74Schristos
904*75fd0b74Schristos2007-03-02  Nathan Sidwell  <nathan@codesourcery.com>
905*75fd0b74Schristos
906*75fd0b74Schristos	* emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
907*75fd0b74Schristos
908*75fd0b74Schristos2007-03-01  Joseph Myers  <joseph@codesourcery.com>
909*75fd0b74Schristos
910*75fd0b74Schristos	* ldver.c (ldversion): Remove word "version" from output.  Update
911*75fd0b74Schristos	copyright date.
912*75fd0b74Schristos
913*75fd0b74Schristos2007-02-28  Nathan Sidwell  <nathan@codesourcery.com>
914*75fd0b74Schristos
915*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
916*75fd0b74Schristos	(eshelf_uclinux.c): New target.
917*75fd0b74Schristos	* Makefile.in: Rebuilt.
918*75fd0b74Schristos	* configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
919*75fd0b74Schristos	* emulparams/shelf_uclinux.sh: New.
920*75fd0b74Schristos
921*75fd0b74Schristos2007-02-28  Alan Modra  <amodra@bigpond.net.au>
922*75fd0b74Schristos
923*75fd0b74Schristos	* configure.tgt: Fix type last change.
924*75fd0b74Schristos	* configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
925*75fd0b74Schristos
926*75fd0b74Schristos2007-02-27  Alan Modra  <amodra@bigpond.net.au>
927*75fd0b74Schristos
928*75fd0b74Schristos	* Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
929*75fd0b74Schristos	(eelf32_spu.c): Adjust dependencies.
930*75fd0b74Schristos	* Makefile.in: Regenerate.
931*75fd0b74Schristos	* emultempl/spuelf.em (ovl_mgr): New array.  Insert spu_ovl.o
932*75fd0b74Schristos	code using bin2c.
933*75fd0b74Schristos	(_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
934*75fd0b74Schristos	(ovl_mgr_stream): Update.
935*75fd0b74Schristos	* emultempl/spu_inc.s: Delete.
936*75fd0b74Schristos	* emultempl/spu_none.s: Delete.
937*75fd0b74Schristos
938*75fd0b74Schristos2007-02-26  Alan Modra  <amodra@bigpond.net.au>
939*75fd0b74Schristos
940*75fd0b74Schristos	* emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
941*75fd0b74Schristos	to _binary_spu_ovl_o_start.
942*75fd0b74Schristos	(_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
943*75fd0b74Schristos	(spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
944*75fd0b74Schristos	* emultempl/spu_inc.s: Rename symbols.
945*75fd0b74Schristos	* emultempl/spu_none.s: New file.
946*75fd0b74Schristos	* emultempl/spu_ovl.S: Update copyright.
947*75fd0b74Schristos	* Makefile.am (spu_inc.o): Try building with ld -r first, then
948*75fd0b74Schristos	gas incbin, then build without overlay manager.
949*75fd0b74Schristos	* Makefile.in: Regenerate.
950*75fd0b74Schristos
951*75fd0b74Schristos2007-02-22  Joseph Myers  <joseph@codesourcery.com>
952*75fd0b74Schristos
953*75fd0b74Schristos	* configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
954*75fd0b74Schristos	mips*el-*-linux-*, mips*-*-linux-*): Set
955*75fd0b74Schristos	targ_extra_libpath=$targ_extra_emuls.
956*75fd0b74Schristos
957*75fd0b74Schristos2007-02-21  Nick Clifton  <nickc@redhat.com>
958*75fd0b74Schristos
959*75fd0b74Schristos	* ldlang.c (ldlang_override_segment_assignment): New function.
960*75fd0b74Schristos	* ldlang.h (ldlang_override_segment_assignment): Prototype.
961*75fd0b74Schristos	* ldmain.c (link_callbacks): Add
962*75fd0b74Schristos	ldlang_override_segment_assignment.
963*75fd0b74Schristos
964*75fd0b74Schristos2007-02-20  Alan Modra  <amodra@bigpond.net.au>
965*75fd0b74Schristos
966*75fd0b74Schristos	* ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
967*75fd0b74Schristos
968*75fd0b74Schristos2007-02-17  Mark Mitchell  <mark@codesourcery.com>
969*75fd0b74Schristos            Nathan Sidwell  <nathan@codesourcery.com>
970*75fd0b74Schristos            Vladimir Prus  <vladimir@codesourcery.com
971*75fd0b74Schristos            Joseph Myers  <joseph@codesourcery.com>
972*75fd0b74Schristos
973*75fd0b74Schristos	* configure.in (--with-bugurl): New option.
974*75fd0b74Schristos	* configure: Regenerate.
975*75fd0b74Schristos	* Makefile.am (REPORT_BUGS_TO): Define.
976*75fd0b74Schristos	(INCLUDES): Define REPORT_BUGS_TO.
977*75fd0b74Schristos	Regenerate dependencies.
978*75fd0b74Schristos	* Makefile.in: Regenerate.
979*75fd0b74Schristos	* ld.h: Remove include of bin-bugs.h.
980*75fd0b74Schristos	* lexsup.c (help): Don't print empty REPORT_BUGS_TO.
981*75fd0b74Schristos
982*75fd0b74Schristos2007-02-17  Alan Modra  <amodra@bigpond.net.au>
983*75fd0b74Schristos
984*75fd0b74Schristos	* ldcref.c (check_reloc_refs): Compare section for local syms.
985*75fd0b74Schristos
986*75fd0b74Schristos2007-02-13  Alan Modra  <amodra@bigpond.net.au>
987*75fd0b74Schristos
988*75fd0b74Schristos	* emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
989*75fd0b74Schristos	(__ovly_load_event): Define.
990*75fd0b74Schristos	(size): Rename to osize.
991*75fd0b74Schristos	* emultempl/spu_ovl.o: Regenerate.
992*75fd0b74Schristos
993*75fd0b74Schristos2007-02-13  Alan Modra  <amodra@bigpond.net.au>
994*75fd0b74Schristos
995*75fd0b74Schristos	* emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
996*75fd0b74Schristos	* emultempl/ppc64elf.em (ppc_add_stub_section): Create without
997*75fd0b74Schristos	SEC_RELOC flag set.
998*75fd0b74Schristos
999*75fd0b74Schristos2007-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1000*75fd0b74Schristos
1001*75fd0b74Schristos	* configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
1002*75fd0b74Schristos	want64 is true.
1003*75fd0b74Schristos	(targ_extra_libpath): Add $targ64_extra_libpath if want64 is
1004*75fd0b74Schristos	true
1005*75fd0b74Schristos	* configure: Regenerated.
1006*75fd0b74Schristos
1007*75fd0b74Schristos	* configure.tgt (targ_extra_libpath): Initialize.
1008*75fd0b74Schristos	(targ64_extra_emuls): New. Document. Initialize.
1009*75fd0b74Schristos	(targ64_extra_libpath): Likewise.
1010*75fd0b74Schristos	(i[3-7]86-*-linux-*): Set targ64_extra_emuls and
1011*75fd0b74Schristos	targ64_extra_libpath.
1012*75fd0b74Schristos	(powerpc*-*-linux*): Likewise.
1013*75fd0b74Schristos	(s390-*-linux*): Likewise.
1014*75fd0b74Schristos
1015*75fd0b74Schristos2007-02-07  Paul Brook  <paul@codesourcery.com>
1016*75fd0b74Schristos
1017*75fd0b74Schristos	* configure.tgt: Add arm*-*-uclinux-*eabi.
1018*75fd0b74Schristos
1019*75fd0b74Schristos2007-02-06  H.J. Lu  <hongjiu.lu@intel.com>
1020*75fd0b74Schristos
1021*75fd0b74Schristos	* ldlang.c (lang_size_sections_1): Add a missing `)'.
1022*75fd0b74Schristos
1023*75fd0b74Schristos2007-02-06  Alan Modra  <amodra@bigpond.net.au>
1024*75fd0b74Schristos
1025*75fd0b74Schristos	PR ld/3966
1026*75fd0b74Schristos	* ldlang.c (lang_size_sections_1): Don't warn on backwards dot
1027*75fd0b74Schristos	move unless section size is non-zero.
1028*75fd0b74Schristos
1029*75fd0b74Schristos2007-02-05  Dave Brolley  <brolley@redhat.com>
1030*75fd0b74Schristos
1031*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
1032*75fd0b74Schristos	* configure.tgt: Likewise.
1033*75fd0b74Schristos	* scripttempl/mep.sc: New file.
1034*75fd0b74Schristos	* emulparams/elf32mep.sh: New file.
1035*75fd0b74Schristos	* Makefile.in: Regenerate.
1036*75fd0b74Schristos
1037*75fd0b74Schristos2006-01-29  Julian Brown  <julian@codesourcery.com>
1038*75fd0b74Schristos
1039*75fd0b74Schristos	* NEWS: Mention --vfp11-denorm-fix option.
1040*75fd0b74Schristos	* ld.texinfo: Document above.
1041*75fd0b74Schristos	* emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
1042*75fd0b74Schristos	.vfp11_veneer section.
1043*75fd0b74Schristos	* emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
1044*75fd0b74Schristos	* emultempl/armelf.em (vfp11_denorm_fix): New static variable.
1045*75fd0b74Schristos	(arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
1046*75fd0b74Schristos	bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
1047*75fd0b74Schristos	(arm_elf_after_allocation): New function. Call
1048*75fd0b74Schristos	bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
1049*75fd0b74Schristos	(arm_elf_create_output_section_statements): Pass vfp11 fix command
1050*75fd0b74Schristos	line option to BFD.
1051*75fd0b74Schristos	(OPTION_VFP11_DENORM_FIX): New option.
1052*75fd0b74Schristos	(PARSE_AND_LIST_LONGOPTS): Handle new option.
1053*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Likewise.
1054*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Likewise.
1055*75fd0b74Schristos	(LDEMUL_AFTER_ALLOCATION): Define.
1056*75fd0b74Schristos
1057*75fd0b74Schristos2007-01-24  H.J. Lu  <hongjiu.lu@intel.com>
1058*75fd0b74Schristos
1059*75fd0b74Schristos	* ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
1060*75fd0b74Schristos	(DEFSYMEND): Likewise.
1061*75fd0b74Schristos	(NAME): Likewise.
1062*75fd0b74Schristos	(LNAME): Likewise.
1063*75fd0b74Schristos
1064*75fd0b74Schristos2007-01-19  Murali Vemulapati  <murali.vemulapati@gmail.com>
1065*75fd0b74Schristos
1066*75fd0b74Schristos	* pe-dll.c: (make_one) Conditionally include jump stubs.
1067*75fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
1068*75fd0b74Schristos	redundant jump stubs from import libraries and exclude them from
1069*75fd0b74Schristos	link.
1070*75fd0b74Schristos
1071*75fd0b74Schristos2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1072*75fd0b74Schristos
1073*75fd0b74Schristos	* ld.h (args_type): Add new symbolic and dynamic_list fields.
1074*75fd0b74Schristos
1075*75fd0b74Schristos	* ld.texinfo: Update -Bsymbolic-functions.
1076*75fd0b74Schristos
1077*75fd0b74Schristos	* ldmain.c (main): Initialize command_line.symbolic to
1078*75fd0b74Schristos	symbolic_unset and command_line.dynamic_list to
1079*75fd0b74Schristos	dynamic_list_unset.  Check -Bsymbolic, -Bsymbolic-functions and
1080*75fd0b74Schristos	--dynamic-list* before setting link_info.symbolic,
1081*75fd0b74Schristos	link_info.dynamic and link_info.dynamic_data.
1082*75fd0b74Schristos
1083*75fd0b74Schristos	* lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
1084*75fd0b74Schristos	(ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
1085*75fd0b74Schristos	-Bsymbolic-functions.
1086*75fd0b74Schristos	(parse_args): Handle -Bsymbolic-functions.  Don't set
1087*75fd0b74Schristos	link_info.dynamic, link_info.dynamic_data and link_info.symbolic
1088*75fd0b74Schristos	here.  Set command_line.symbolic for -Bsymbolic.  Set
1089*75fd0b74Schristos	command_line.dynamic_list and command_line.symbolic for
1090*75fd0b74Schristos	--dynamic-list-data, --dynamic-list-cpp-new,
1091*75fd0b74Schristos	--dynamic-list-cpp-typeinfo and --dynamic-list.
1092*75fd0b74Schristos
1093*75fd0b74Schristos2007-01-19  Jakub Jelinek  <jakub@redhat.com>
1094*75fd0b74Schristos	    H.J. Lu  <hongjiu.lu@intel.com>
1095*75fd0b74Schristos
1096*75fd0b74Schristos	* emultempl/elf32.em (handle_option): Make sure -z max-page-size
1097*75fd0b74Schristos	or -z common-page-size argument is a power of 2.  Call
1098*75fd0b74Schristos	bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
1099*75fd0b74Schristos
1100*75fd0b74Schristos2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1101*75fd0b74Schristos
1102*75fd0b74Schristos	* ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
1103*75fd0b74Schristos	bfd_emul_set_commonpagesize.
1104*75fd0b74Schristos
1105*75fd0b74Schristos2007-01-19  H.J. Lu  <hongjiu.lu@intel.com>
1106*75fd0b74Schristos
1107*75fd0b74Schristos	* NEWS: Mention --default-script/-dT.
1108*75fd0b74Schristos
1109*75fd0b74Schristos	* ld.h (args_type): Add a default_script field.
1110*75fd0b74Schristos
1111*75fd0b74Schristos	* ld.texinfo: Document --default-script/-dT.
1112*75fd0b74Schristos
1113*75fd0b74Schristos	* ldmain.c (main): Handle command_line.default_script.
1114*75fd0b74Schristos
1115*75fd0b74Schristos	* lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
1116*75fd0b74Schristos	(ld_options): Add entries for --default-script and -dT.
1117*75fd0b74Schristos	(parse_args): Handle --default-script/-dT.
1118*75fd0b74Schristos
1119*75fd0b74Schristos2007-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1120*75fd0b74Schristos
1121*75fd0b74Schristos	PR ld/3831
1122*75fd0b74Schristos	* NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
1123*75fd0b74Schristos	--dynamic-list-cpp-new.
1124*75fd0b74Schristos
1125*75fd0b74Schristos	* ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
1126*75fd0b74Schristos	and --dynamic-list-cpp-new.
1127*75fd0b74Schristos
1128*75fd0b74Schristos	* ldlang.c (lang_append_dynamic_list_cpp_new): New.
1129*75fd0b74Schristos	(lang_process): Change link_info.dynamic to
1130*75fd0b74Schristos	link_info.dynamic_list.
1131*75fd0b74Schristos	(lang_append_dynamic_list): Likewise.
1132*75fd0b74Schristos	* ldmain.c (main): Likewise.  Initialize link_info.dynamic and
1133*75fd0b74Schristos	link_info.dynamic_data to FALSE.
1134*75fd0b74Schristos
1135*75fd0b74Schristos	* ldlang.h (lang_append_dynamic_list_cpp_new): New.
1136*75fd0b74Schristos
1137*75fd0b74Schristos	* lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
1138*75fd0b74Schristos	OPTION_DYNAMIC_LIST_CPP_NEW.
1139*75fd0b74Schristos	(ld_options): Add entries for -Bsymbolic-functions,
1140*75fd0b74Schristos	--dynamic-list-data and --dynamic-list-cpp-new.  Make
1141*75fd0b74Schristos	-Bsymbolic-functions an alias of --dynamic-list-data.
1142*75fd0b74Schristos	(parse_args): Change link_info.dynamic to link_info.dynamic_list.
1143*75fd0b74Schristos	Set link_info.dynamic to TRUE for --dynamic-list and
1144*75fd0b74Schristos	--dynamic-list-cpp-typeinfo.  Handle --dynamic-list-data and
1145*75fd0b74Schristos	--dynamic-list-cpp-new.
1146*75fd0b74Schristos
1147*75fd0b74Schristos2007-01-11  Nathan Sidwell  <nathan@codesourcery.com>
1148*75fd0b74Schristos
1149*75fd0b74Schristos	* emultempl/elf-generic.em (gdl_map_segments): Only allow header
1150*75fd0b74Schristos	shrinkage for the first few iterations.
1151*75fd0b74Schristos
1152*75fd0b74Schristos2007-01-08  Kai Tietz	<kai.tietz@onevision.com>
1153*75fd0b74Schristos
1154*75fd0b74Schristos	* configure.tgt: Renamed target x86_64-*-mingw64 to
1155*75fd0b74Schristos	x86_64-*-mingw*.
1156*75fd0b74Schristos
1157*75fd0b74Schristos2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
1158*75fd0b74Schristos
1159*75fd0b74Schristos	* configure.host: Add i[3-7]86-*-mingw* case.
1160*75fd0b74Schristos
1161*75fd0b74Schristos2007-01-08  Nick Clifton  <nickc@redhat.com>
1162*75fd0b74Schristos
1163*75fd0b74Schristos	* pep-dll.h (pep_bfd_is_dll): Add prototype.
1164*75fd0b74Schristos
1165*75fd0b74Schristos2007-01-08  Aurelien Jarno  <aurelien@aurel32.net>
1166*75fd0b74Schristos
1167*75fd0b74Schristos	PR ld/3843
1168*75fd0b74Schristos	* configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
1169*75fd0b74Schristos	tdir_elf_i386_fbsd.
1170*75fd0b74Schristos
1171*75fd0b74Schristos2007-01-06  Nathan Sidwell  <nathan@codesourcery.com>
1172*75fd0b74Schristos
1173*75fd0b74Schristos	* ldexp.c (fold_name): Issue error on undefined sections.
1174*75fd0b74Schristos
1175*75fd0b74Schristos2007-01-02  Alan Modra  <amodra@bigpond.net.au>
1176*75fd0b74Schristos
1177*75fd0b74Schristos	* pe-dll.c: Include pe-dll.h.
1178*75fd0b74Schristos	* pep-dll.c (pe_bfd_is_dll): Define.
1179*75fd0b74Schristos
1180*75fd0b74SchristosFor older changes see ChangeLog-2006
1181*75fd0b74Schristos
1182*75fd0b74SchristosCopyright (C) 2007 Free Software Foundation, Inc.
1183*75fd0b74Schristos
1184*75fd0b74SchristosCopying and distribution of this file, with or without modification,
1185*75fd0b74Schristosare permitted in any medium without royalty provided the copyright
1186*75fd0b74Schristosnotice and this notice are preserved.
1187*75fd0b74Schristos
1188*75fd0b74SchristosLocal Variables:
1189*75fd0b74Schristosmode: change-log
1190*75fd0b74Schristosleft-margin: 8
1191*75fd0b74Schristosfill-column: 74
1192*75fd0b74Schristosversion-control: never
1193*75fd0b74SchristosEnd:
1194