xref: /netbsd-src/external/gpl3/binutils.old/dist/ld/ChangeLog-2010 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos2010-12-31  Robert Millan  <rmh@gnu.org>
2*75fd0b74Schristos	    Richard Sandiford  <rdsandiford@googlemail.com>
3*75fd0b74Schristos
4*75fd0b74Schristos	* configure.tgt: Recognize mips-freebsd and mips-kfreebsd-gnu.
5*75fd0b74Schristos
6*75fd0b74Schristos	* emulparams/elf32btsmip_fbsd.sh: New file.
7*75fd0b74Schristos	* emulparams/elf32btsmipn32_fbsd.sh: Likewise.
8*75fd0b74Schristos	* emulparams/elf32ltsmip_fbsd.sh: Likewise.
9*75fd0b74Schristos	* emulparams/elf32ltsmipn32_fbsd.sh: Likewise.
10*75fd0b74Schristos	* emulparams/elf64btsmip_fbsd.sh: Likewise.
11*75fd0b74Schristos	* emulparams/elf64ltsmip_fbsd.sh: Likewise.
12*75fd0b74Schristos
13*75fd0b74Schristos	* Makefile.am: Add build rules for `eelf32btsmip_fbsd.c',
14*75fd0b74Schristos	`eelf32btsmipn32_fbsd.c', `eelf32ltsmip_fbsd.c',
15*75fd0b74Schristos	`eelf32ltsmipn32_fbsd.c', `eelf64btsmip_fbsd.c' and
16*75fd0b74Schristos	`eelf64ltsmip_fbsd.c'.
17*75fd0b74Schristos	* Makefile.in: Regenerate.
18*75fd0b74Schristos
19*75fd0b74Schristos2010-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20*75fd0b74Schristos
21*75fd0b74Schristos	* emulparams/elf32_x86_64.sh: New.
22*75fd0b74Schristos
23*75fd0b74Schristos	* configure.tgt (targ64_extra_emuls): Add elf32_x86_64 for
24*75fd0b74Schristos	i[3-7]86-*-linux-*.
25*75fd0b74Schristos	(targ_extra_libpath): Likewise.
26*75fd0b74Schristos	(targ_extra_emuls): Add elf32_x86_64 for x86_64-*-linux-*.
27*75fd0b74Schristos	(targ_extra_libpath): Likewise.
28*75fd0b74Schristos
29*75fd0b74Schristos	* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf32_x86_64.c.
30*75fd0b74Schristos	(eelf32_x86_64.c): New.
31*75fd0b74Schristos	* Makefile.in: Regenerated.
32*75fd0b74Schristos
33*75fd0b74Schristos2010-12-20  Alan Modra  <amodra@gmail.com>
34*75fd0b74Schristos
35*75fd0b74Schristos	PR ld/12327
36*75fd0b74Schristos	* ld.texinfo (Expression Section): Describe treatment of numbers
37*75fd0b74Schristos	and absolute symbols.
38*75fd0b74Schristos	* ldemul.c (after_open_default): Look up __ld_compatibility.
39*75fd0b74Schristos	* ldexp.c (fold_name): Convert absolute symbols to numbers when
40*75fd0b74Schristos	inside output section definitions, or when __ld_compatibility >= 221.
41*75fd0b74Schristos	(exp_fold_tree_1): Convert numbers to absolute when not in output
42*75fd0b74Schristos	section definition and __ld_compatibility < 221.  Don't always
43*75fd0b74Schristos	convert values outside an output section definition to absolute.
44*75fd0b74Schristos	* ldexp.h (uses_defined): Comment.
45*75fd0b74Schristos	* ldlang.c (ld_compatibility): New variable.
46*75fd0b74Schristos	* ldlang.h (ld_compatibility): Declare.
47*75fd0b74Schristos	* emultempl/aix.em, * emultempl/armcoff.em, * emultempl/beos.em,
48*75fd0b74Schristos	* emultempl/elf32.em, * emultempl/genelf.em, * emultempl/lnk960.em,
49*75fd0b74Schristos	* emultempl/m68kcoff.em, * emultempl/mmo.em, * emultempl/pe.em,
50*75fd0b74Schristos	* emultempl/pep.em, * emultempl/sunos.em, * emultempl/z80.em: Call
51*75fd0b74Schristos	after_open_default from after_open function.
52*75fd0b74Schristos
53*75fd0b74Schristos2010-12-20  Alan Modra  <amodra@gmail.com>
54*75fd0b74Schristos
55*75fd0b74Schristos	PR ld/12001
56*75fd0b74Schristos	Revert 2010-11-03 Nick Clifton
57*75fd0b74Schristos	* ldlang.c (ldlang_def_chain_list): Delete.
58*75fd0b74Schristos	(insert_defined, ldlang_add_def, lang_place_defineds): Delete.
59*75fd0b74Schristos	(lang_process): Don't call lang_place_defineds.
60*75fd0b74Schristos	(lang_add_assignment): Don't do anything special for --defsym.
61*75fd0b74Schristos
62*75fd0b74Schristos	* ldexp.h (struct ldexp_control): Add uses_defined.
63*75fd0b74Schristos	(exp_fold_tree_no_dot): Declare.
64*75fd0b74Schristos	* ldexp.c (exp_fold_tree): Clear uses_defined.
65*75fd0b74Schristos	(exp_fold_tree_no_dot): Likewise.  Make global.
66*75fd0b74Schristos	(fold_name <DEFINED>): Set uses_defined.
67*75fd0b74Schristos	(exp_fold_tree_1 <etree_assign>): Define symbol during first phase
68*75fd0b74Schristos	even when the value being assigned isn't valid.
69*75fd0b74Schristos	* ldlang.c (open_input_bfds): Process assignment statements.
70*75fd0b74Schristos	(lang_process): Bump lang_statement_iteration.
71*75fd0b74Schristos	(scan_for_self_assignment): Formatting.
72*75fd0b74Schristos	(print_assignment): Style.
73*75fd0b74Schristos
74*75fd0b74Schristos2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
75*75fd0b74Schristos
76*75fd0b74Schristos	* Makefile.am (GENSCRIPTS): Add @enable_initfini_array@.
77*75fd0b74Schristos
78*75fd0b74Schristos	* NEWS: Mention SORT_BY_INIT_PRIORITY.
79*75fd0b74Schristos
80*75fd0b74Schristos	* configure.in: Add AC_CANONICAL_BUILD.
81*75fd0b74Schristos	Add --enable-initfini-array.
82*75fd0b74Schristos
83*75fd0b74Schristos	* genscripts.sh (ENABLE_INITFINI_ARRAY): New.
84*75fd0b74Schristos
85*75fd0b74Schristos	* ld.h (sort_type): Add by_init_priority.
86*75fd0b74Schristos
87*75fd0b74Schristos	* ld.texinfo: Document SORT_BY_INIT_PRIORITY.
88*75fd0b74Schristos
89*75fd0b74Schristos	* ldgram.y (SORT_BY_INIT_PRIORITY): New.
90*75fd0b74Schristos	(wildcard_spec): Handle SORT_BY_INIT_PRIORITY.
91*75fd0b74Schristos
92*75fd0b74Schristos	* ldlang.c (get_init_priority): New.
93*75fd0b74Schristos	(compare_section): Use get_init_priority for by_init_priority.
94*75fd0b74Schristos
95*75fd0b74Schristos	* ldlex.l (SORT_BY_INIT_PRIORITY): New.
96*75fd0b74Schristos
97*75fd0b74Schristos	* scripttempl/elf.sc: Support ENABLE_INITFINI_ARRAY.
98*75fd0b74Schristos
99*75fd0b74Schristos	* Makefile.in: Regenerated.
100*75fd0b74Schristos	* aclocal.m4: Regenerated.
101*75fd0b74Schristos	* config.in: Likewise.
102*75fd0b74Schristos	* configure: Likewise.
103*75fd0b74Schristos
104*75fd0b74Schristos2010-12-13  Alan Modra  <amodra@gmail.com>
105*75fd0b74Schristos
106*75fd0b74Schristos	* ldlang.c (load_symbols): Correct last change.
107*75fd0b74Schristos
108*75fd0b74Schristos2010-12-12  H.J. Lu  <hongjiu.lu@intel.com>
109*75fd0b74Schristos
110*75fd0b74Schristos	* ldlang.c (load_symbols): Optimize for add_archive_element.
111*75fd0b74Schristos
112*75fd0b74Schristos2010-12-09  Mike Frysinger  <vapier@gentoo.org>
113*75fd0b74Schristos
114*75fd0b74Schristos	* .gitignore: New file.
115*75fd0b74Schristos
116*75fd0b74Schristos2010-12-06  H.J. Lu  <hongjiu.lu@intel.com>
117*75fd0b74Schristos
118*75fd0b74Schristos	* lexsup.c (ld_options): Add -flto and -flto-partition= for
119*75fd0b74Schristos	GCC LTO option compatibility.
120*75fd0b74Schristos
121*75fd0b74Schristos2010-12-06  H.J. Lu  <hongjiu.lu@intel.com>
122*75fd0b74Schristos
123*75fd0b74Schristos	PR ld/12288
124*75fd0b74Schristos	* plugin.c (message): Don't add the trailing `\n' for
125*75fd0b74Schristos	LDPL_ERROR.
126*75fd0b74Schristos
127*75fd0b74Schristos2010-12-06  H.J. Lu  <hongjiu.lu@intel.com>
128*75fd0b74Schristos
129*75fd0b74Schristos	PR ld/12288
130*75fd0b74Schristos	* testplug.c: Remove the trailing `\n' from TV_MESSAGE.
131*75fd0b74Schristos
132*75fd0b74Schristos2010-12-06  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
133*75fd0b74Schristos
134*75fd0b74Schristos	PR ld/12288
135*75fd0b74Schristos	* plugin.c (message): Use putchar for the trailing `\n'.
136*75fd0b74Schristos
137*75fd0b74Schristos2010-12-06  H.J. Lu  <hongjiu.lu@intel.com>
138*75fd0b74Schristos	    Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
139*75fd0b74Schristos
140*75fd0b74Schristos	PR ld/12289
141*75fd0b74Schristos	* ldmain.c (main): Don't call plugin_call_cleanup.
142*75fd0b74Schristos
143*75fd0b74Schristos	* plugin.c (plugin_call_cleanup): Make it static.
144*75fd0b74Schristos	(message): Don't call plugin_call_cleanup.
145*75fd0b74Schristos	(plugin_load_plugins): Call xatexit with plugin_call_cleanup.
146*75fd0b74Schristos
147*75fd0b74Schristos2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>
148*75fd0b74Schristos
149*75fd0b74Schristos	PR ld/12289
150*75fd0b74Schristos	* plugin.c (message): Call plugin_call_cleanup on fatal
151*75fd0b74Schristos	error.
152*75fd0b74Schristos
153*75fd0b74Schristos2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>
154*75fd0b74Schristos
155*75fd0b74Schristos	* plugin.c (message): Add a space after `:' in error message.
156*75fd0b74Schristos
157*75fd0b74Schristos2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>
158*75fd0b74Schristos
159*75fd0b74Schristos	* plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n'
160*75fd0b74Schristos	to einfo.
161*75fd0b74Schristos	(get_symbols): Likewise.
162*75fd0b74Schristos	(plugin_notice): Likewise.
163*75fd0b74Schristos	(plugin_multiple_definition): Likewise.
164*75fd0b74Schristos
165*75fd0b74Schristos2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>
166*75fd0b74Schristos
167*75fd0b74Schristos	PR ld/12288
168*75fd0b74Schristos	* plugin.c (message): Add the trailing `\n'.
169*75fd0b74Schristos
170*75fd0b74Schristos2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>
171*75fd0b74Schristos
172*75fd0b74Schristos	* ldfile.c (ldfile_open_file_search): Check maybe_archive instead
173*75fd0b74Schristos	of is_archive.
174*75fd0b74Schristos	* emultempl/aix.em: Likewise.
175*75fd0b74Schristos	* emultempl/elf32.em: Likewise.
176*75fd0b74Schristos	* emultempl/linux.em: Likewise.
177*75fd0b74Schristos	* emultempl/pe.em: Likewise.
178*75fd0b74Schristos	* emultempl/pep.em: Likewise.
179*75fd0b74Schristos	* emultempl/sunos.em: Likewise.
180*75fd0b74Schristos	* emultempl/vms.em: Likewise.
181*75fd0b74Schristos
182*75fd0b74Schristos	* ldlang.c (new_afile): Set maybe_archive instead of is_archive..
183*75fd0b74Schristos
184*75fd0b74Schristos	* ldlang.h (lang_input_statement_struct): Replace is_archive
185*75fd0b74Schristos	with maybe_archive.
186*75fd0b74Schristos
187*75fd0b74Schristos2010-12-05  H.J. Lu  <hongjiu.lu@intel.com>
188*75fd0b74Schristos
189*75fd0b74Schristos	PR ld/12277
190*75fd0b74Schristos	* plugin.c (asymbol_from_plugin_symbol): Properly convert LTO
191*75fd0b74Schristos	plugin visibility to ELF visibility.
192*75fd0b74Schristos	(is_visible_from_outside): Re-indent.
193*75fd0b74Schristos
194*75fd0b74Schristos2010-12-04  Alan Modra  <amodra@gmail.com>
195*75fd0b74Schristos
196*75fd0b74Schristos	* ldlang.c (lang_size_sections_1): Align lma using same alignment
197*75fd0b74Schristos	as for vma.
198*75fd0b74Schristos
199*75fd0b74Schristos2010-12-03  H.J. Lu  <hongjiu.lu@intel.com>
200*75fd0b74Schristos
201*75fd0b74Schristos	* lexsup.c (ld_options): Fix a typo in comments.
202*75fd0b74Schristos
203*75fd0b74Schristos2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
204*75fd0b74Schristos
205*75fd0b74Schristos	* plugin.h: Re-indent.
206*75fd0b74Schristos
207*75fd0b74Schristos2010-11-30  Joel Sherrill  <joel.sherrill@oarcorp.com>
208*75fd0b74Schristos
209*75fd0b74Schristos	* configure.tgt: Add sparc64-rtems.
210*75fd0b74Schristos
211*75fd0b74Schristos2010-11-26  Alan Modra  <amodra@gmail.com>
212*75fd0b74Schristos
213*75fd0b74Schristos	* po/ja.po: Update.
214*75fd0b74Schristos
215*75fd0b74Schristos2010-11-25  Alan Modra  <amodra@gmail.com>
216*75fd0b74Schristos
217*75fd0b74Schristos	* po/bg.po: Update.
218*75fd0b74Schristos	* po/es.po: Update.
219*75fd0b74Schristos	* po/fi.po: Update.
220*75fd0b74Schristos	* po/ja.po: New.
221*75fd0b74Schristos	* po/zh_CN.po: Update.
222*75fd0b74Schristos
223*75fd0b74Schristos2010-11-25  Jan Hubicka  <hubicka@ucw.cz>
224*75fd0b74Schristos
225*75fd0b74Schristos	* scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot
226*75fd0b74Schristos	sections.
227*75fd0b74Schristos
228*75fd0b74Schristos2010-11-23  Matthias Klose  <doko@ubuntu.com>
229*75fd0b74Schristos
230*75fd0b74Schristos	* configure.ac: For --enable-gold, handle value `default' instead of
231*75fd0b74Schristos	`both*'. Always install ld as ld.gold, install as ld if gold is
232*75fd0b74Schristos	the default.
233*75fd0b74Schristos	* configure: Regenerate.
234*75fd0b74Schristos
235*75fd0b74Schristos2010-11-21  H.J. Lu  <hongjiu.lu@intel.com>
236*75fd0b74Schristos
237*75fd0b74Schristos	* ldfile.c: Re-indent plugin code.
238*75fd0b74Schristos	* ldlang.c: Likewise.
239*75fd0b74Schristos	* ldmain.c: Likewise.
240*75fd0b74Schristos	* plugin.c: Likewise.
241*75fd0b74Schristos
242*75fd0b74Schristos2010-11-20  H.J. Lu  <hongjiu.lu@intel.com>
243*75fd0b74Schristos
244*75fd0b74Schristos	PR ld/12246
245*75fd0b74Schristos	* plugin.c (asymbol_from_plugin_symbol): Set alignment of
246*75fd0b74Schristos	common symbol to 1 for For ELF targets.
247*75fd0b74Schristos
248*75fd0b74Schristos2010-11-20  H.J. Lu  <hongjiu.lu@intel.com>
249*75fd0b74Schristos
250*75fd0b74Schristos	PR ld/12247
251*75fd0b74Schristos	* lexsup.c (parse_args): Properly report loading plugin error.
252*75fd0b74Schristos
253*75fd0b74Schristos2010-11-19  Dave Korn  <dave.korn.cygwin@gmail.com>
254*75fd0b74Schristos
255*75fd0b74Schristos	* plugin.c (is_visible_from_outside): New function.
256*75fd0b74Schristos	(get_symbols): Use it.
257*75fd0b74Schristos
258*75fd0b74Schristos2010-11-16  Jie Zhang  <jie.zhang@analog.com>
259*75fd0b74Schristos
260*75fd0b74Schristos	* Makefile.am (eelf32bfinfd.c, eelf32bfin.c): Depend on bfin.em.
261*75fd0b74Schristos	* Makefile.in: Regenerated.
262*75fd0b74Schristos	* emulparams/bfin.sh (EXTRA_EM_FILE): Set.
263*75fd0b74Schristos	* emulparams/elf32bfinfd.sh (EXTRA_EM_FILE): Likewise.
264*75fd0b74Schristos	* emultempl/bfin.em: New.
265*75fd0b74Schristos
266*75fd0b74Schristos2010-11-16  Yasuaki Taniguchi  <taniguchi.yasua@jp.fujitsu.com>
267*75fd0b74Schristos
268*75fd0b74Schristos	* emultempl/pe.em (_list_options): Correct typo.
269*75fd0b74Schristos	* emultempl/pep.em (_list_options): Likewise.
270*75fd0b74Schristos
271*75fd0b74Schristos2010-11-08  Thomas Schwinge  <thomas@schwinge.name>
272*75fd0b74Schristos
273*75fd0b74Schristos	* configure.host: Add stanza for *-*-gnu*.
274*75fd0b74Schristos
275*75fd0b74Schristos2010-11-05  Pierre Muller  <muller@ics.u-strasbg.fr>
276*75fd0b74Schristos
277*75fd0b74Schristos	* emultempl/spuelf.em (new_tmp_file): Fix wrong first parameter.
278*75fd0b74Schristos
279*75fd0b74Schristos2010-11-05  Tristan Gingold  <gingold@adacore.com>
280*75fd0b74Schristos
281*75fd0b74Schristos	* po/ld.pot: Regenerate
282*75fd0b74Schristos	* po/POTFILES.in: Regenerate
283*75fd0b74Schristos
284*75fd0b74Schristos2010-11-05  Tristan Gingold  <gingold@adacore.com>
285*75fd0b74Schristos
286*75fd0b74Schristos	* NEWS: Add marker for 2.21.
287*75fd0b74Schristos
288*75fd0b74Schristos2010-11-05  Dave Korn  <dave.korn.cygwin@gmail.com>
289*75fd0b74Schristos
290*75fd0b74Schristos	* plugin.h (plugin_active_plugins_p): New prototype.
291*75fd0b74Schristos	(is_ir_dummy_bfd): Delete prototype.
292*75fd0b74Schristos	* plugin.c: Fix formatting issues.
293*75fd0b74Schristos	(is_ir_dummy_bfd): Make static.
294*75fd0b74Schristos	(plugin_active_plugins_p): New function.
295*75fd0b74Schristos	* ldfile.c (ldfile_try_open_bfd): Use it to save work if no plugins
296*75fd0b74Schristos	are loaded.  Always close file descriptor after claim handler returns.
297*75fd0b74Schristos	* ldmain.c (add_archive_element): Likewise.
298*75fd0b74Schristos
299*75fd0b74Schristos2010-11-05  Alan Modra  <amodra@gmail.com>
300*75fd0b74Schristos
301*75fd0b74Schristos	* ldlang.c (lang_add_section): Distinguish ELF treatment of NOLOAD.
302*75fd0b74Schristos	(map_input_to_output_sections): Likewise.
303*75fd0b74Schristos	(lang_size_sections_1): Likewise.
304*75fd0b74Schristos	(IGNORE_SECTION): Don't test SEC_NEVER_LOAD.
305*75fd0b74Schristos	(lang_check_section_addresses): Likewise.
306*75fd0b74Schristos
307*75fd0b74Schristos2010-11-04  Kai Tietz  <kai.tietz@onevision.com>
308*75fd0b74Schristos
309*75fd0b74Schristos	* scripttempl/pe.sc (.debug_types): New.
310*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
311*75fd0b74Schristos
312*75fd0b74Schristos2010-11-04  Alan Modra  <amodra@gmail.com>
313*75fd0b74Schristos
314*75fd0b74Schristos	* plugin.c (is_ir_dummy_bfd): Don't segfault on NULL abfd.
315*75fd0b74Schristos
316*75fd0b74Schristos2010-11-03  Nick Clifton  <nickc@redhat.com>
317*75fd0b74Schristos
318*75fd0b74Schristos	PR ld/12001
319*75fd0b74Schristos	* ldlang.c (ldlang_def_chain_list): New variable.  Contains a list
320*75fd0b74Schristos	of symbols defined via the --defsym command line option and
321*75fd0b74Schristos	currently waiting assignment.
322*75fd0b74Schristos	(insert_defined): Add a defined symbol to the symbol table.
323*75fd0b74Schristos	(ldlang_add_def): Add a entry to the ldlang_def_chain_list.
324*75fd0b74Schristos	(lang_place_defineds): Walk ldlang_def_chain_list defining the
325*75fd0b74Schristos	symbols.
326*75fd0b74Schristos	(lang_process): Call lang_place_defineds.
327*75fd0b74Schristos	(lang_add_assignment): If the assignment has come from a --defsym
328*75fd0b74Schristos	command line option then call lang_add_def.
329*75fd0b74Schristos
330*75fd0b74Schristos2010-11-03  Alan Modra  <amodra@gmail.com>
331*75fd0b74Schristos
332*75fd0b74Schristos	* Makefile.am (eelf64hppa.c): Correct dependencies.
333*75fd0b74Schristos	* Makefile.in: Regenerate.
334*75fd0b74Schristos
335*75fd0b74Schristos2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
336*75fd0b74Schristos
337*75fd0b74Schristos	* scripttempl/armbpabi.sc: Include compressed DWARF debug
338*75fd0b74Schristos	sections.
339*75fd0b74Schristos	* scripttempl/avr.sc: Likewise.
340*75fd0b74Schristos	* scripttempl/elf32cr16.sc: Likewise.
341*75fd0b74Schristos	* scripttempl/elf32crx.sc: Likewise.
342*75fd0b74Schristos	* scripttempl/elf32msp430.sc: Likewise.
343*75fd0b74Schristos	* scripttempl/elf32msp430_3.sc: Likewise.
344*75fd0b74Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
345*75fd0b74Schristos	* scripttempl/elf64hppa.sc: Likewise.
346*75fd0b74Schristos	* scripttempl/elf_chaos.sc: Likewise.
347*75fd0b74Schristos	* scripttempl/elfd10v.sc: Likewise.
348*75fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
349*75fd0b74Schristos	* scripttempl/elfi370.sc: Likewise.
350*75fd0b74Schristos	* scripttempl/elfm68hc11.sc: Likewise.
351*75fd0b74Schristos	* scripttempl/elfm68hc12.sc: Likewise.
352*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
353*75fd0b74Schristos	* scripttempl/ip2k.sc: Likewise.
354*75fd0b74Schristos	* scripttempl/iq2000.sc: Likewise.
355*75fd0b74Schristos	* scripttempl/mep.sc: Likewise.
356*75fd0b74Schristos	* scripttempl/mmo.sc: Likewise.
357*75fd0b74Schristos	* scripttempl/v850.sc: Likewise.
358*75fd0b74Schristos	* scripttempl/xstormy16.sc: Likewise.
359*75fd0b74Schristos
360*75fd0b74Schristos2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
361*75fd0b74Schristos
362*75fd0b74Schristos	* ldfile.c (ldfile_try_open_bfd): Set BFD_DECOMPRESS after
363*75fd0b74Schristos	bfd_openr returns.
364*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
365*75fd0b74Schristos
366*75fd0b74Schristos	* scripttempl/elf.sc: Include compressed DWARF debug sections.
367*75fd0b74Schristos
368*75fd0b74Schristos2010-10-28  Alan Modra  <amodra@gmail.com>
369*75fd0b74Schristos
370*75fd0b74Schristos	* ldfile.c (find_scripts_dir): Don't look in absolute SCRIPTDIR.
371*75fd0b74Schristos
372*75fd0b74Schristos2010-10-28  Matthias Klose  <doko@ubuntu.com>
373*75fd0b74Schristos
374*75fd0b74Schristos	* ld.texinfo: Add directory section for info document.
375*75fd0b74Schristos	* ldint.texinfo: Likewise.
376*75fd0b74Schristos
377*75fd0b74Schristos2010-10-28  Alan Modra  <amodra@gmail.com>
378*75fd0b74Schristos
379*75fd0b74Schristos	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): For
380*75fd0b74Schristos	--no-undefined-version, don't report dot sym versions added by ld.
381*75fd0b74Schristos
382*75fd0b74Schristos2010-10-28  Alan Modra  <amodra@gmail.com>
383*75fd0b74Schristos
384*75fd0b74Schristos	* ldlang.h (ldlang_add_undef): Add cmdline param.
385*75fd0b74Schristos	* ldlang.c (undef_from_cmdline): New var.
386*75fd0b74Schristos	(ldlang_add_undef): Add cmdline param.  Set undef_from_cmdline.
387*75fd0b74Schristos	(lang_end): Really require -e or -u from command line on
388*75fd0b74Schristos	relocatable --gc-sections.
389*75fd0b74Schristos	* ldemul.c (after_parse_default): Adjust ldlang_add_undef call.
390*75fd0b74Schristos	* ldgram.y (extern_name_list_body): Likewise.
391*75fd0b74Schristos	* lexsup.c (parse_args): Likewise.
392*75fd0b74Schristos	* emultempl/aix.em (gld${EMULATION_NAME}_read_file): Likewise.
393*75fd0b74Schristos
394*75fd0b74Schristos2010-10-25  Alan Modra  <amodra@gmail.com>
395*75fd0b74Schristos
396*75fd0b74Schristos	* plugin.c (plugin_get_ir_dummy_bfd): Set bfd_use_reserved_id.
397*75fd0b74Schristos	Formatting.
398*75fd0b74Schristos
399*75fd0b74Schristos2010-10-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
400*75fd0b74Schristos
401*75fd0b74Schristos	* emulparams/elf32_sparc_sol2.sh (OUTPUT_FORMAT): Set to
402*75fd0b74Schristos	elf32-sparc-sol2.
403*75fd0b74Schristos	* emulparams/elf64_sparc_sol2.sh (OUTPUT_FORMAT): Set to
404*75fd0b74Schristos	elf64-sparc-sol2.
405*75fd0b74Schristos
406*75fd0b74Schristos2010-10-22  Alan Modra  <amodra@gmail.com>
407*75fd0b74Schristos
408*75fd0b74Schristos	* ldwrite.c (build_link_order <lang_data_statement_enum>): Don't
409*75fd0b74Schristos	output when section has no contents.
410*75fd0b74Schristos	(build_link_order <lang_reloc_statement_enum>): Likewise.
411*75fd0b74Schristos
412*75fd0b74Schristos2010-10-21  Joseph Myers  <joseph@codesourcery.com>
413*75fd0b74Schristos
414*75fd0b74Schristos	* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Use
415*75fd0b74Schristos	.c6xabi.attributes, not __TI_build_attributes.
416*75fd0b74Schristos
417*75fd0b74Schristos2010-10-20  Dave Korn  <dave.korn.cygwin@gmail.com>
418*75fd0b74Schristos
419*75fd0b74Schristos	* plugin.c (get_symbols): Check symbol type correctly.
420*75fd0b74Schristos
421*75fd0b74Schristos2010-10-15  Dave Korn  <dave.korn.cygwin@gmail.com>
422*75fd0b74Schristos
423*75fd0b74Schristos	* configure.in: If <dlfcn.h> can't be found, try for <Windows.h>
424*75fd0b74Schristos	* configure: Regenerate.
425*75fd0b74Schristos	* config.in: Likewise.
426*75fd0b74Schristos	* plugin.c [!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlopen): Provide
427*75fd0b74Schristos	trival LoadLibrary-based replacement for Windows systems.
428*75fd0b74Schristos	[!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise trivial
429*75fd0b74Schristos	replacement based on GetProcAddress.
430*75fd0b74Schristos	[!HAVE_DLFCN_H && HAVE_WINDOWS_H] (dlsym): Likewise FreeLibrary.
431*75fd0b74Schristos	* sysdep.h: Don't infer presence of <dlfcn.h> from ENABLE_PLUGINS
432*75fd0b74Schristos	anymore, use its own guard.
433*75fd0b74Schristos
434*75fd0b74Schristos2010-10-15  Dave Korn  <dave.korn.cygwin@gmail.com>
435*75fd0b74Schristos
436*75fd0b74Schristos	* plugin.c (add_input_file): Take copy of input string.
437*75fd0b74Schristos	(add_input_library): Likewise.
438*75fd0b74Schristos	(set_extra_library_path): Likewise.
439*75fd0b74Schristos
440*75fd0b74Schristos2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
441*75fd0b74Schristos
442*75fd0b74Schristos	Apply LD plugin patch series (part 6/6).
443*75fd0b74Schristos	* ldlang.c (load_symbols): Handle bfd subsitution when calling the
444*75fd0b74Schristos	add_archive_element callback.
445*75fd0b74Schristos	* ldmain.c (add_archive_element)[ENABLE_PLUGINS]: Offer the archive
446*75fd0b74Schristos	member to the plugins and if claimed set "subsbfd" output parameter to
447*75fd0b74Schristos	point to the dummy IR-only BFD.
448*75fd0b74Schristos
449*75fd0b74Schristos2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
450*75fd0b74Schristos
451*75fd0b74Schristos	Apply LD plugin patch series (part 5/6).
452*75fd0b74Schristos	* plugin.c (asymbol_from_plugin_symbol): If the bfd is an ELF bfd,
453*75fd0b74Schristos	find the elf symbol data and set the visibility in the st_other field.
454*75fd0b74Schristos
455*75fd0b74Schristos2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
456*75fd0b74Schristos
457*75fd0b74Schristos	Apply LD plugin patch series (part 4/6).
458*75fd0b74Schristos	* ldlang.c (lang_process)[ENABLE_PLUGINS]: Move invocation of
459*75fd0b74Schristos	plugin_call_all_symbols_read to before setting of gc_sym_list, and
460*75fd0b74Schristos	open any new input files that may have been added during it.
461*75fd0b74Schristos	* ldmain.c (multiple_definition)[ENABLE_PLUGINS]: Call out to
462*75fd0b74Schristos	plugin_multiple_definition and let it have first say over what to do
463*75fd0b74Schristos	with the clashing definitions.
464*75fd0b74Schristos	* plugin.c (no_more_claiming): New boolean variable.
465*75fd0b74Schristos	(plugin_cached_allow_multiple_defs): Likewise.
466*75fd0b74Schristos	(add_input_file): Implement.
467*75fd0b74Schristos	(add_input_library): Likewise.
468*75fd0b74Schristos	(set_extra_library_path): Likewise.
469*75fd0b74Schristos	(plugin_call_claim_file): Don't do anything when no_more_claiming set.
470*75fd0b74Schristos	(plugin_call_all_symbols_read): Set it.  Disable link info
471*75fd0b74Schristos	"allow_multiple_definition" flag, but cache its value.
472*75fd0b74Schristos	(plugin_multiple_definition): New function.
473*75fd0b74Schristos	* plugin.h (plugin_multiple_definition): Add prototype.
474*75fd0b74Schristos	* testplug.c (addfile_enum_t): New enumerated typedef.
475*75fd0b74Schristos	(add_file_t): New struct typedef.
476*75fd0b74Schristos	(addfiles_list): New variable.
477*75fd0b74Schristos	(addfiles_tail_chain_ptr): Likewise.
478*75fd0b74Schristos	(record_add_file): New function.
479*75fd0b74Schristos	(parse_option): Parse "add:", "lib:" and "dir:" options and call it.
480*75fd0b74Schristos	(onall_symbols_read): Iterate the list of new files, libs and dirs,
481*75fd0b74Schristos	adding them.
482*75fd0b74Schristos
483*75fd0b74Schristos2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
484*75fd0b74Schristos
485*75fd0b74Schristos	Apply LD plugin patch series (part 3/6).
486*75fd0b74Schristos	* ldmain.c (notice)[ENABLE_PLUGINS]: Call plugin_notice.
487*75fd0b74Schristos	* plugin.c (non_ironly_hash): Add new bfd hash table.
488*75fd0b74Schristos	(plugin_load_plugins): Exit early if no plugins to load.  If plugins
489*75fd0b74Schristos	do load successfully, set notice_all flag in link info.
490*75fd0b74Schristos	(get_symbols): Implement.
491*75fd0b74Schristos	(plugin_load_plugins): Exit early if no plugins to load, else after
492*75fd0b74Schristos	loading plugins successfully enable notice_all mode.
493*75fd0b74Schristos	(init_non_ironly_hash): Lazily init non_ironly_hash table.
494*75fd0b74Schristos	(plugin_notice): Record symbols referenced from non-IR files in the
495*75fd0b74Schristos	non_ironly_hash.  Suppress tracing, cref generation and nocrossrefs
496*75fd0b74Schristos	tracking for symbols from dummy IR bfds.
497*75fd0b74Schristos	* plugin.h: Fix formatting.
498*75fd0b74Schristos	(plugin_notice): Add prototype.
499*75fd0b74Schristos	* testplug.c (dumpresolutions): New global var.
500*75fd0b74Schristos	(parse_options): Accept "dumpresolutions".
501*75fd0b74Schristos	(onall_symbols_read): Get syms and dump resolutions if it was given.
502*75fd0b74Schristos
503*75fd0b74Schristos2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
504*75fd0b74Schristos
505*75fd0b74Schristos	Apply LD plugin patch series (part 2/6).
506*75fd0b74Schristos	* ldfile.c (ldfile_try_open_bfd)[ENABLE_PLUGINS]: Don't return early
507*75fd0b74Schristos	during compat checks if they pass, instead offer any successfully
508*75fd0b74Schristos	opened and accepted file to the plugin claim file hooks chain.  Create
509*75fd0b74Schristos	a dummy bfd to accept symbols added by the plugin, if the plugin
510*75fd0b74Schristos	claims the file.
511*75fd0b74Schristos	* ldlang.c (lang_process)[ENABLE_PLUGINS]: Call plugin all symbols
512*75fd0b74Schristos	read hook chain before ldemul_after_open.
513*75fd0b74Schristos	* ldlang.h (struct lang_input_statement_struct): Add new single-bit
514*75fd0b74Schristos	'claimed' flag.
515*75fd0b74Schristos	* plugin.c (IRONLY_SUFFIX): New macro for dummy bfd file suffix.
516*75fd0b74Schristos	(IRONLY_SUFFIX_LEN): Length of the above string.
517*75fd0b74Schristos	(plugin_get_ir_dummy_bfd): New function to create the dummy bfd used
518*75fd0b74Schristos	to store symbols for ir-only files.
519*75fd0b74Schristos	(is_ir_dummy_bfd): New function to check if a bfd is ir-only.
520*75fd0b74Schristos	(asymbol_from_plugin_symbol): New function converts symbol formats.
521*75fd0b74Schristos	(add_symbols): Call it to convert plugin syms to bfd syms and add
522*75fd0b74Schristos	them to the dummy bfd.
523*75fd0b74Schristos	* plugin.h: Add missing include guards.
524*75fd0b74Schristos	(plugin_get_ir_dummy_bfd): Add prototype.
525*75fd0b74Schristos	(is_ir_dummy_bfd): Likewise.
526*75fd0b74Schristos	* testplug.c (TV_MESSAGE): New helper macro.
527*75fd0b74Schristos	(struct claim_file): New struct.
528*75fd0b74Schristos	(claim_file_t): New typedef.
529*75fd0b74Schristos	(tag_names[]): Make static and const.
530*75fd0b74Schristos	(claimfiles_list): New variable.
531*75fd0b74Schristos	(claimfiles_tail_chain_ptr): Likewise.
532*75fd0b74Schristos	(last_claimfile): Likewise.
533*75fd0b74Schristos	(record_claim_file): Record a file to claim on a singly-linked list.
534*75fd0b74Schristos	(parse_symdefstr): Parse an ASCII representation of a symbol from a
535*75fd0b74Schristos	plugin option into the fields of a struct ld_plugin_symbol.
536*75fd0b74Schristos	(record_claimed_file_symbol):  Use it to parse plugin option for
537*75fd0b74Schristos	adding a symbol.
538*75fd0b74Schristos	(parse_option): Parse claim file and add symbol options.
539*75fd0b74Schristos	(dump_tv_tag): Use TV_MESSAGE.
540*75fd0b74Schristos	(onload): Likewise.
541*75fd0b74Schristos	(onclaim_file): Make static.  Use TV_MESSAGE.  Scan list of files to
542*75fd0b74Schristos	claim and claim this file if required, adding any symbols specified.
543*75fd0b74Schristos	(onall_symbols_read): Make static and use TV_MESSAGE.
544*75fd0b74Schristos	(oncleanup): Likewise.
545*75fd0b74Schristos
546*75fd0b74Schristos2010-10-14  Dave Korn  <dave.korn.cygwin@gmail.com>
547*75fd0b74Schristos
548*75fd0b74Schristos	Apply LD plugin patch series (part 1/6).
549*75fd0b74Schristos	* configure.in: Add AC_CHECKs for file io and dlfcn headers and
550*75fd0b74Schristos	functions and AC_SEARCH for -ldl.
551*75fd0b74Schristos	(enable_plugins): New shell variable set if above tests find dlopen
552*75fd0b74Schristos	functionality.
553*75fd0b74Schristos	(ENABLE_PLUGINS): Add related automake conditional.
554*75fd0b74Schristos	* configure: Regenerate.
555*75fd0b74Schristos	* config.in: Likewise.
556*75fd0b74Schristos	* Makefile.am (PLUGIN_C): Declare plugin C source file, conditional
557*75fd0b74Schristos	on ENABLE_PLUGINS being defined.
558*75fd0b74Schristos	(PLUGIN_H): Likewise for header file.
559*75fd0b74Schristos	(PLUGIN_OBJECT): Likewise for object file.
560*75fd0b74Schristos	(PLUGIN_CFLAGS): Likewise -D flag required to compile plugin support.
561*75fd0b74Schristos	(AM_CPPFLAGS): Use PLUGIN_CFLAGS.
562*75fd0b74Schristos	(CFILES): Use PLUGIN_C.
563*75fd0b74Schristos	(HFILES): Use PLUGIN_H.
564*75fd0b74Schristos	(OFILES): Use PLUGIN_OBJECT.
565*75fd0b74Schristos	(ld_new_SOURCES): Use PLUGIN_C.
566*75fd0b74Schristos	(noinst_LTLIBRARIES)[ENABLE_PLUGINS]: Declare test plugin.
567*75fd0b74Schristos	(libldtestplug_la_SOURCES)[ENABLE_PLUGINS]: Add automake definition
568*75fd0b74Schristos	for test plugin.
569*75fd0b74Schristos	(libldtestplug_la_CFLAGS)[ENABLE_PLUGINS]: Likewise.
570*75fd0b74Schristos	(libldtestplug_la_LDFLAGS)[ENABLE_PLUGINS]: Likewise.
571*75fd0b74Schristos	* Makefile.in: Regenerate.
572*75fd0b74Schristos	* sysdep.h: Include stdarg.h, unistd.h and one of fcntl.h or
573*75fd0b74Schristos	sys/file.h where available.  Include dlfcn.h when ENABLE_PLUGINS.
574*75fd0b74Schristos	(O_RDONLY): Supply default definition likewise to bfd's sysdep.h
575*75fd0b74Schristos	(O_WRONLY): Likewise.
576*75fd0b74Schristos	(O_RDWR): Likewise.
577*75fd0b74Schristos	(O_ACCMODE): Likewise.
578*75fd0b74Schristos	(O_BINARY): Likewise.
579*75fd0b74Schristos	(SEEK_SET): Likewise.
580*75fd0b74Schristos	(SEEK_CUR): Likewise.
581*75fd0b74Schristos	(SEEK_END): Likewise.
582*75fd0b74Schristos	* ldmisc.c (vfinfo): Make non-static.  Add %p format char.
583*75fd0b74Schristos	* ldmisc.h (vfinfo): Declare extern prototype.
584*75fd0b74Schristos	* lexsup.c (enum option_values)[ENABLE_PLUGINS]: Add new entries for
585*75fd0b74Schristos	OPTION_PLUGIN and OPTION_PLUGIN_OPT.
586*75fd0b74Schristos	(ld_options[])[ENABLE_PLUGINS]: Add option data for the above two.
587*75fd0b74Schristos	(parse_args)[ENABLE_PLUGINS]: Handle them, and load all plugins once
588*75fd0b74Schristos	option parsing is complete.
589*75fd0b74Schristos	* ldmain.c (main)[ENABLE_PLUGINS]: Call plugin cleanup hooks just
590*75fd0b74Schristos	after lang_finish.
591*75fd0b74Schristos	* plugin.c: New source file.
592*75fd0b74Schristos	* plugin.h: Likewise new header.
593*75fd0b74Schristos	* testplug.c: New source file.
594*75fd0b74Schristos
595*75fd0b74Schristos2010-10-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
596*75fd0b74Schristos
597*75fd0b74Schristos	* emultempl/solaris2.em (elf_solaris2_before_allocation): Renamed
598*75fd0b74Schristos	basever_syms to global_syms.
599*75fd0b74Schristos	Emit global_syms into .dynamic section for all executables and
600*75fd0b74Schristos	shared objects.
601*75fd0b74Schristos	(elf_solaris2_after_allocation): New function.
602*75fd0b74Schristos	(LDEMUL_AFTER_ALLOCATION): Use it.
603*75fd0b74Schristos	* emulparams/solaris2.sh: New file.
604*75fd0b74Schristos	* emulparams/elf32_sparc_sol2.sh: Use it.
605*75fd0b74Schristos	* emulparams/elf64_sparc_sol2.sh: Likewise.
606*75fd0b74Schristos	* emulparams/elf_i386_sol2.sh: Likewise.
607*75fd0b74Schristos	* emulparams/elf_x86_64_sol2.sh: Likewise.
608*75fd0b74Schristos	* Makefile.am (eelf32_sparc_sol2.c): Depend on
609*75fd0b74Schristos	$(srcdir)/emulparams/solaris2.sh.
610*75fd0b74Schristos	(eelf64_sparc_sol2.c): Likewise.
611*75fd0b74Schristos	(eelf_x86_64_sol2.c): Likewise.
612*75fd0b74Schristos	(eelf_i386_sol2.c): Likewise.
613*75fd0b74Schristos	* Makefile.in: Regenerate.
614*75fd0b74Schristos
615*75fd0b74Schristos2010-10-06  Nick Clifton  <nickc@redhat.com>
616*75fd0b74Schristos
617*75fd0b74Schristos	* ld.texinfo: Update description of computation of VMA and LMA
618*75fd0b74Schristos	addresses for output sections.
619*75fd0b74Schristos
620*75fd0b74Schristos2010-10-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
621*75fd0b74Schristos
622*75fd0b74Schristos	* Makefile.am (ALL_64_EMULATIONS): Fix typo in last commit.
623*75fd0b74Schristos	* Makefile.in: Regenerate.
624*75fd0b74Schristos
625*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Rewrite in terms of ...
626*75fd0b74Schristos	(ALL_EMULATION_SOURCES): ... this new variable.
627*75fd0b74Schristos	(ALL_64_EMULATIONS): Rewrite in terms of ...
628*75fd0b74Schristos	(ALL_64_EMULATION_SOURCES): ... this new variable.
629*75fd0b74Schristos	(EXTRA_ld_new_SOURCES): Rewrite in terms of the _SOURCES
630*75fd0b74Schristos	variables.
631*75fd0b74Schristos	(eelf32microblaze.c): Fix indentation.
632*75fd0b74Schristos	* Makefile.in: Regenerate.
633*75fd0b74Schristos
634*75fd0b74Schristos2010-10-04  Bernd Schmidt  <bernds@codesourcery.com>
635*75fd0b74Schristos
636*75fd0b74Schristos	* emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use
637*75fd0b74Schristos	_bfd_elf_single_rel_hdr.
638*75fd0b74Schristos
639*75fd0b74Schristos2010-10-01  Alan Modra  <amodra@gmail.com>
640*75fd0b74Schristos
641*75fd0b74Schristos	PR ld/12066
642*75fd0b74Schristos	* ldexp.c (fold_name): Treat absolute symbols as plain numbers.
643*75fd0b74Schristos	* ld.texinfo (Expression Section): Don't say absolute symbols
644*75fd0b74Schristos	are addresses.
645*75fd0b74Schristos
646*75fd0b74Schristos2010-09-29  Alan Modra  <amodra@gmail.com>
647*75fd0b74Schristos
648*75fd0b74Schristos	* ldlang.c (lang_place_orphans): Zero vma when relocatable or non-load
649*75fd0b74Schristos	section for orphans handled here.
650*75fd0b74Schristos
651*75fd0b74Schristos2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
652*75fd0b74Schristos
653*75fd0b74Schristos	* configure: Regenerate.
654*75fd0b74Schristos
655*75fd0b74Schristos2010-09-23  Dave Korn  <dave.korn.cygwin@gmail.com>
656*75fd0b74Schristos
657*75fd0b74Schristos	* scripttempl/armcoff.sc: Revert 2010-09-22 change.
658*75fd0b74Schristos
659*75fd0b74Schristos2010-09-23  Alan Modra  <amodra@gmail.com>
660*75fd0b74Schristos
661*75fd0b74Schristos	* ldlang.c (lang_add_section): Don't copy SEC_RELOC from input
662*75fd0b74Schristos	to output section on a final link.
663*75fd0b74Schristos
664*75fd0b74Schristos2010-09-22  Kai Tietz  <kai.tietz@onevision.com>
665*75fd0b74Schristos
666*75fd0b74Schristos	* ldlang.c (lang_add_section): Allow for debugging
667*75fd0b74Schristos	section to be marked as noload but to keep content.
668*75fd0b74Schristos	(IGNORE_SECTION): Likewise.
669*75fd0b74Schristos	(lang_check_section_addresses): Likewise.
670*75fd0b74Schristos	* ldwrite.c (build_link_order): Likewise.
671*75fd0b74Schristos
672*75fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add
673*75fd0b74Schristos	idata to orphan set.
674*75fd0b74Schristos	* emultempl/pep.em: Likewise.
675*75fd0b74Schristos	* scripttempl/armcoff.sc: Separate idata
676*75fd0b74Schristos	and add __IAT_start__ and __IAT_end__ labels.
677*75fd0b74Schristos	* scripttempl/pe.sc: Likewise.
678*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
679*75fd0b74Schristos
680*75fd0b74Schristos2010-09-20  David S. Miller  <davem@davemloft.net>
681*75fd0b74Schristos
682*75fd0b74Schristos	* emulparams/elf32_sparc.sh: Set NOP to 0x01000000
683*75fd0b74Schristos
684*75fd0b74Schristos2010-09-16  Alan Modra  <amodra@gmail.com>
685*75fd0b74Schristos
686*75fd0b74Schristos	* ld.texinfo (NOLOAD): Do not erroneously state that contents will
687*75fd0b74Schristos	appear in output file.
688*75fd0b74Schristos	* ldlang.c (lang_add_section): Clear SEC_HAS_CONTENTS on noload
689*75fd0b74Schristos	unless SEC_COFF_SHARED_LIBRARY.
690*75fd0b74Schristos	(map_input_to_output_sections): Don't set SEC_HAS_CONTENTS for noload
691*75fd0b74Schristos	output sections.
692*75fd0b74Schristos	(lang_size_sections_1): Don't test SEC_NEVER_LOAD when deciding
693*75fd0b74Schristos	to update dot in region.  Ditto when setting SEC_ALLOC if dot
694*75fd0b74Schristos	advanced due to assignment.
695*75fd0b74Schristos	* ldwrite.c (build_link_order): Don't test SEC_NEVER_LOAD.
696*75fd0b74Schristos
697*75fd0b74Schristos2010-09-15  Kai Tietz  <kai.tietz@onevision.com>
698*75fd0b74Schristos
699*75fd0b74Schristos	* scripttempl/pep.sc: Add .xdata segment and
700*75fd0b74Schristos	put into .pdata all segments beginning with .pdata.
701*75fd0b74Schristos
702*75fd0b74Schristos2010-09-10  Alan Modra  <amodra@gmail.com>
703*75fd0b74Schristos
704*75fd0b74Schristos	PR ld/11931
705*75fd0b74Schristos	* ldlang.h (lang_for_each_statement_worker): Declare.
706*75fd0b74Schristos	* ldlang.c (lang_for_each_statement_worker): Make global.  Don't
707*75fd0b74Schristos	recurse into children of output_section_statement with constraint
708*75fd0b74Schristos	set to -1.
709*75fd0b74Schristos	(print_assignment): Handle NULL output_section->bfd_section.
710*75fd0b74Schristos	(lang_size_sections_1): Ignore output section statement address
711*75fd0b74Schristos	when constraint is -1.
712*75fd0b74Schristos	* emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
713*75fd0b74Schristos
714*75fd0b74Schristos2010-09-09  Tristan Gingold  <gingold@adacore.com>
715*75fd0b74Schristos
716*75fd0b74Schristos	* NEWS: Add a entry for alpha-vms.
717*75fd0b74Schristos
718*75fd0b74Schristos2010-09-07  Andrew Burgess  <aburgess@broadcom.com>
719*75fd0b74Schristos
720*75fd0b74Schristos	* ldwrite.c (clone_section): Call bfd_copy_private_section_data on
721*75fd0b74Schristos	newly cloned section.
722*75fd0b74Schristos
723*75fd0b74Schristos2010-09-02  Richard Henderson  <rth@redhat.com>
724*75fd0b74Schristos
725*75fd0b74Schristos	* configure.tgt (x86_64-*-mingw*): Add 32-bit pe emulations too.
726*75fd0b74Schristos
727*75fd0b74Schristos2010-08-31  Nick Clifton  <nickc@redhat.com>
728*75fd0b74Schristos
729*75fd0b74Schristos	* ldlex.l (WILDCHAR): Add the caret and exclamation point
730*75fd0b74Schristos	characters, so that they can be used inside globs.
731*75fd0b74Schristos
732*75fd0b74Schristos2010-08-31  Nick Clifton  <nickc@redhat.com>
733*75fd0b74Schristos
734*75fd0b74Schristos	* ld.texinfo (MEMORY): Clarify the behaviour of the ! character in
735*75fd0b74Schristos	a region's attributes.
736*75fd0b74Schristos
737*75fd0b74Schristos2010-08-31  Alan Modra  <amodra@gmail.com>
738*75fd0b74Schristos
739*75fd0b74Schristos	* scripttempl/mmo.sc: Move assignment to "Main" inside .text
740*75fd0b74Schristos	output section statement.
741*75fd0b74Schristos
742*75fd0b74Schristos2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
743*75fd0b74Schristos
744*75fd0b74Schristos	PR ld/11946
745*75fd0b74Schristos	* emultempl/elf32.em (_before_allocation): Check audit entry
746*75fd0b74Schristos	only on ELF input.
747*75fd0b74Schristos
748*75fd0b74Schristos2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>
749*75fd0b74Schristos
750*75fd0b74Schristos	PR ld/11937
751*75fd0b74Schristos	* emultempl/elf32.em (_after_open): Find one .eh_frame section
752*75fd0b74Schristos	for --eh-frame-hdr.
753*75fd0b74Schristos
754*75fd0b74Schristos2010-08-22  H.J. Lu  <hongjiu.lu@intel.com>
755*75fd0b74Schristos
756*75fd0b74Schristos	PR ld/11937
757*75fd0b74Schristos	* emultempl/elf32.em (_after_open): Find an ELF input for
758*75fd0b74Schristos	--build-id and --eh-frame-hdr.
759*75fd0b74Schristos
760*75fd0b74Schristos2010-08-20  Maciej W. Rozycki  <macro@codesourcery.com>
761*75fd0b74Schristos
762*75fd0b74Schristos	* Makefile.am (eshlelf_fd.c): Correct the name of the tool
763*75fd0b74Schristos	directory.
764*75fd0b74Schristos	* Makefile.in: Regenerate.
765*75fd0b74Schristos
766*75fd0b74Schristos2010-08-20  Nick Clifton  <nickc@redhat.com>
767*75fd0b74Schristos
768*75fd0b74Schristos	* emultempl/elf32.em (_after_open): Check for get_elf_backend_data
769*75fd0b74Schristos	returning NULL.
770*75fd0b74Schristos
771*75fd0b74Schristos2010-08-19  Alan Modra  <amodra@gmail.com>
772*75fd0b74Schristos
773*75fd0b74Schristos	* NEWS: Mention change in linker script expression evaluation.
774*75fd0b74Schristos
775*75fd0b74Schristos2010-08-19  Alan Modra  <amodra@gmail.com>
776*75fd0b74Schristos
777*75fd0b74Schristos	* ld.texinfo (Expression Section): Detail expression evaluation.
778*75fd0b74Schristos	(Builtin Functions <ADDR>): Correct.
779*75fd0b74Schristos	(Builtin Functions <LOADADDR>): Don't mention LOADADDR normally
780*75fd0b74Schristos	the same as ADDR.
781*75fd0b74Schristos	(Builtin Functions <SEGMENT_START>): Typo fix.
782*75fd0b74Schristos	* ldexp.c (new_number): New function.
783*75fd0b74Schristos	(make_abs, exp_get_abs_int): Cope with NULL expld.result.section.
784*75fd0b74Schristos	(fold_unary <'~', '!', '-'>): Don't make_abs.
785*75fd0b74Schristos	(fold_binary): Simplify result section logic.  Return NULL section
786*75fd0b74Schristos	for logical ops.
787*75fd0b74Schristos	(fold_binary <SEGMENT_START>): Use new_rel_from_abs to set value to
788*75fd0b74Schristos	a consistent result.
789*75fd0b74Schristos	(fold_name <SIZEOF_HEADERS>): Return new_number, not new_abs.
790*75fd0b74Schristos	(fold_name <DEFINED, SIZEOF, ALIGNOF, LENGTH, CONSTANT>): Likewise.
791*75fd0b74Schristos	(fold_name <NAME>): No need to handle absolute symbols differently
792*75fd0b74Schristos	from relative ones.
793*75fd0b74Schristos	(fold_name <ORIGIN>): Don't return valid result when
794*75fd0b74Schristos	lang_first_phase_enum.  Return new_rel_from_abs, not new_abs.
795*75fd0b74Schristos	(exp_fold_tree_1 <etree_value>): Return new_number, not new_rel.
796*75fd0b74Schristos	(exp_fold_tree_1): Ajust for NULL expld.result.section.  When assigning
797*75fd0b74Schristos	a plain number to dot, assume the value is relative to expld.section.
798*75fd0b74Schristos	Make terms not in an output section, absolute.
799*75fd0b74Schristos	* ldlang.c (print_assignment): Fix style nit.
800*75fd0b74Schristos	(lang_size_sections_1): Cope with NULL expld.result.section.
801*75fd0b74Schristos	(lang_do_assignments_1): Likewise.
802*75fd0b74Schristos
803*75fd0b74Schristos2010-08-12  Alan Modra  <amodra@gmail.com>
804*75fd0b74Schristos
805*75fd0b74Schristos	* ldexp.c (new_rel): Remove "str".  Update all call sites.
806*75fd0b74Schristos	(exp_fold_tree_1): When assigning to dot, calculate nextdot
807*75fd0b74Schristos	using expld.result.section rather than expld.section.
808*75fd0b74Schristos
809*75fd0b74Schristos2010-08-06  Alan Modra  <amodra@gmail.com>
810*75fd0b74Schristos
811*75fd0b74Schristos	PR ld/11887
812*75fd0b74Schristos	* ldlang.c (lang_add_vers_depend): Don't leave version_needed
813*75fd0b74Schristos	uninitialised.
814*75fd0b74Schristos
815*75fd0b74Schristos2010-07-28  Alan Modra  <amodra@gmail.com>
816*75fd0b74Schristos
817*75fd0b74Schristos	* ldexp.c (exp_print_tree): Print function-like binary nodes as
818*75fd0b74Schristos	functions rather than in-fix operators.  Use fputs and fputc
819*75fd0b74Schristos	where appropriate.
820*75fd0b74Schristos
821*75fd0b74Schristos2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
822*75fd0b74Schristos	    Ina Pandit  <ina.pandit@kpitcummins.com>
823*75fd0b74Schristos
824*75fd0b74Schristos	* configure.tgt: Match all v850 targets.
825*75fd0b74Schristos
826*75fd0b74Schristos2010-07-20  Mike Frysinger  <vapier@gentoo.org>
827*75fd0b74Schristos
828*75fd0b74Schristos	* ld.texinfo (VERSION): Remove "int" from example script and add ";".
829*75fd0b74Schristos	Declare the default language as C.
830*75fd0b74Schristos
831*75fd0b74Schristos2010-07-17  Alan Modra  <amodra@gmail.com>
832*75fd0b74Schristos
833*75fd0b74Schristos	* ldlang.c (lang_check_section_addresses): Catch overlap for
834*75fd0b74Schristos	sections that wrap around the address space.
835*75fd0b74Schristos
836*75fd0b74Schristos2010-06-29  Nick Clifton  <nickc@redhat.com>
837*75fd0b74Schristos
838*75fd0b74Schristos	* scripttempl/xstormy16.sc (.gcc_except_table): Include sections
839*75fd0b74Schristos	with the .gcc_except_table. prefix.
840*75fd0b74Schristos
841*75fd0b74Schristos2010-06-29  Alan Modra  <amodra@gmail.com>
842*75fd0b74Schristos
843*75fd0b74Schristos	* emulparams/maxqcoff.sh: Delete file.
844*75fd0b74Schristos	* scripttempl/maxqcoff.sc: Delete file.
845*75fd0b74Schristos	* Makefile.am: Remove references to maxq.
846*75fd0b74Schristos	* configure.tgt: Likewise.
847*75fd0b74Schristos	* Makefile.in: Regenerate.
848*75fd0b74Schristos	* configure: Regenerate.
849*75fd0b74Schristos	* po/POTFILES.in: Regenerate.
850*75fd0b74Schristos
851*75fd0b74Schristos2010-06-27  Alan Modra  <amodra@gmail.com>
852*75fd0b74Schristos
853*75fd0b74Schristos	* pe-dll.c (fill_edata): Avoid set but unused warning.
854*75fd0b74Schristos	(pe_walk_relocs_of_symbol): Delete set but unused variables.
855*75fd0b74Schristos	(generate_reloc, pe_implied_import_dll): Likewise.
856*75fd0b74Schristos	* emultempl/aix.em (open_dynamic_archive): Likewise.
857*75fd0b74Schristos	* emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Likewise.
858*75fd0b74Schristos	(xtensa_layout_wild): Likewise.
859*75fd0b74Schristos	(xtensa_colocate_output_literals_callback): Likewise.
860*75fd0b74Schristos
861*75fd0b74Schristos2010-06-25  Alan Modra  <amodra@gmail.com>
862*75fd0b74Schristos
863*75fd0b74Schristos	* emultempl/ppc64elf.em (prelim_size_sections): New function.
864*75fd0b74Schristos	(ppc_before_allocation): Use it.  Size sections before toc edit too.
865*75fd0b74Schristos
866*75fd0b74Schristos2010-06-25  Alan Modra  <amodra@gmail.com>
867*75fd0b74Schristos
868*75fd0b74Schristos	* emultempl/elf32.em (find_exp_assignment): Handle etree_provided.
869*75fd0b74Schristos
870*75fd0b74Schristos2010-06-20  Danny Smith  <dannysmith@users.sourceforge.net>
871*75fd0b74Schristos
872*75fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Make
873*75fd0b74Schristos	auto-import and merge-rdata defaults same for i[3-7]86 and
874*75fd0b74Schristos	x86_64 mingw.
875*75fd0b74Schristos
876*75fd0b74Schristos2010-06-15  Joseph Myers  <joseph@codesourcery.com>
877*75fd0b74Schristos
878*75fd0b74Schristos	* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.
879*75fd0b74Schristos
880*75fd0b74Schristos2010-06-09  Dave Korn  <dave.korn.cygwin@gmail.com>
881*75fd0b74Schristos
882*75fd0b74Schristos	PR ld/11603
883*75fd0b74Schristos	* pe-dll.c (process_def_file_and_drectve): Reorder check for
884*75fd0b74Schristos	forwarded export name after check for ordinary export.
885*75fd0b74Schristos
886*75fd0b74Schristos2010-06-08  Bernd Schmidt  <bernds@codesourcery.com>
887*75fd0b74Schristos
888*75fd0b74Schristos	* emulparams/elf32_tic6x_le.sh (OTHER_BSS_SECTIONS): New.
889*75fd0b74Schristos
890*75fd0b74Schristos2010-06-08  Nick Clifton  <nickc@redhat.com>
891*75fd0b74Schristos
892*75fd0b74Schristos	* fdl.texi: Replace with v1.3 text.
893*75fd0b74Schristos	* ld.texinfo: Replace abbreviated 20th century year numbers with
894*75fd0b74Schristos	full versions.
895*75fd0b74Schristos	* ldint.texinfo: Likewise.
896*75fd0b74Schristos	Relicense under GFDL v1.3.  Replace text of v1.1 FDL with an
897*75fd0b74Schristos	include of the fdl.texi file.
898*75fd0b74Schristos
899*75fd0b74Schristos2010-06-01  Tristan Gingold  <gingold@adacore.com>
900*75fd0b74Schristos
901*75fd0b74Schristos	* scripttempl/alphavms.sc: Add comments. Move $LINK$ to the
902*75fd0b74Schristos	readonly output-section. Handle LIB$INITIALIZE and sections
903*75fd0b74Schristos	created by gcc.
904*75fd0b74Schristos	* emultempl/vms.em (vms_place_orphan): Add comments.
905*75fd0b74Schristos
906*75fd0b74Schristos2010-05-28  Nick Clifton  <nickc@redhat.com>
907*75fd0b74Schristos
908*75fd0b74Schristos	* Makefile.am (eshlelf_fd.c): Fix typo in rule.
909*75fd0b74Schristos	* Makefile.in: Regenerate.
910*75fd0b74Schristos
911*75fd0b74Schristos2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
912*75fd0b74Schristos
913*75fd0b74Schristos	PR ld/11628
914*75fd0b74Schristos	* ldexp.c (fold_binary): Warn if value of SEGMENT_START isn't
915*75fd0b74Schristos	multiple of maximum page size.
916*75fd0b74Schristos
917*75fd0b74Schristos2010-05-25  Nick Clifton  <nickc@redhat.com>
918*75fd0b74Schristos
919*75fd0b74Schristos	* Makefile.am: Fix typo.
920*75fd0b74Schristos	* Makefile.in: Regenerate.
921*75fd0b74Schristos
922*75fd0b74Schristos2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
923*75fd0b74Schristos	    Joseph Myers  <joseph@codesourcery.com>
924*75fd0b74Schristos	    Andrew Stubbs  <ams@codesourcery.com>
925*75fd0b74Schristos
926*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
927*75fd0b74Schristos	(eshelf_fd.c, eshlelf_fd.c): New rules.
928*75fd0b74Schristos	* Makefile.in: Regenerate.
929*75fd0b74Schristos	* configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
930*75fd0b74Schristos	emulations.
931*75fd0b74Schristos	* emulparams/shelf_fd.sh: New file.
932*75fd0b74Schristos	* emulparams/shlelf_fd.sh: New file.
933*75fd0b74Schristos	* emulparams/shlelf_linux.sh: Update comment.
934*75fd0b74Schristos
935*75fd0b74Schristos2010-05-25  Jay Krell  <jay.krell@cornell.edu>
936*75fd0b74Schristos
937*75fd0b74Schristos	PR ld/11621
938*75fd0b74Schristos	* Makefile.am: Replace all occurences of .o with .@OBJEXT@
939*75fd0b74Schristos	* Makefile.in: Regenerate.
940*75fd0b74Schristos
941*75fd0b74Schristos2010-05-25  Kai Tietz  <kai.tietz@onevision.com>
942*75fd0b74Schristos
943*75fd0b74Schristos	* deffilep.y (opt_name): Allow leading dot.
944*75fd0b74Schristos	(dot_name): Likewise.
945*75fd0b74Schristos	(anylang_id): Likewise.
946*75fd0b74Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
947*75fd0b74Schristos	default auto_import.
948*75fd0b74Schristos	(gld${EMULATION_NAME}_handle_option): Warn about v1.
949*75fd0b74Schristos	(pep_find_data_imports): Remove superflous warnings about
950*75fd0b74Schristos	auto-import.
951*75fd0b74Schristos	(gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
952*75fd0b74Schristos	and active pseudo-relocation-v2 rdata into data section.
953*75fd0b74Schristos	* emultempl/pe.em (default_merge_rdata): New shell variable.
954*75fd0b74Schristos	(MERGE_RDATA_V2): New macro.
955*75fd0b74Schristos	(gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
956*75fd0b74Schristos	selected script.
957*75fd0b74Schristos
958*75fd0b74Schristos2010-05-15  Kai Tietz  <kai.tietz@onevision.com>
959*75fd0b74Schristos
960*75fd0b74Schristos	* emultempl/pe.em (is_underscoring): New helper function.
961*75fd0b74Schristos	(gld_${EMULATION_NAME}_before_parse): Replace code
962*75fd0b74Schristos	for pe(p)_leading_underscore detection by is_underscoring.
963*75fd0b74Schristos	(U): Likewise.
964*75fd0b74Schristos	(GET_INIT_SYMBOL_NAME): Likewise.
965*75fd0b74Schristos	(U_SIZE): Likewise.
966*75fd0b74Schristos	(set_pe_name):
967*75fd0b74Schristos	(set_entry_point):
968*75fd0b74Schristos	(gld_${EMULATION_NAME}_set_symbols):
969*75fd0b74Schristos	* emultempl/pep.em: Likewise.
970*75fd0b74Schristos	* pe-dll.c (pe_detail_list): Set default
971*75fd0b74Schristos	underscoring for x64 target.
972*75fd0b74Schristos	(pe_dll_id_target): Add initialization of
973*75fd0b74Schristos	pe(p)_leading_underscore.
974*75fd0b74Schristos
975*75fd0b74Schristos2010-05-15  Dave Korn  <dave.korn.cygwin@gmail.com>
976*75fd0b74Schristos
977*75fd0b74Schristos	* pe-dll.c: Removed trailing whitespaces.
978*75fd0b74Schristos
979*75fd0b74Schristos2010-05-14  Alan Modra  <amodra@gmail.com>
980*75fd0b74Schristos
981*75fd0b74Schristos	PR ld/11583
982*75fd0b74Schristos	* ldexp.c (exp_fold_tree_1): If assignment source expression is
983*75fd0b74Schristos	invalid, make the destination symbol undefined.
984*75fd0b74Schristos
985*75fd0b74Schristos2010-05-11  Kai Tietz  <kai.tietz@onevision.com>
986*75fd0b74Schristos
987*75fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
988*75fd0b74Schristos	Initialize pe(p)_leading_underscore variable.
989*75fd0b74Schristos	(set_pe_name): Likewise.
990*75fd0b74Schristos	* emultempl/pep.em: Likewise.
991*75fd0b74Schristos	Additional change default to non-underscore for
992*75fd0b74Schristos	pep_leading_underscore equal to -1.
993*75fd0b74Schristos
994*75fd0b74Schristos2010-05-07  Tristan Gingold  <gingold@adacore.com>
995*75fd0b74Schristos
996*75fd0b74Schristos	* Makefile.in: Regenerate with automake 1.11.1.
997*75fd0b74Schristos	* aclocal.m4: Ditto.
998*75fd0b74Schristos
999*75fd0b74Schristos2010-05-05  Nick Clifton  <nickc@redhat.com>
1000*75fd0b74Schristos
1001*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
1002*75fd0b74Schristos
1003*75fd0b74Schristos2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
1004*75fd0b74Schristos
1005*75fd0b74Schristos	* pe-dll.c (_nm_-symbols): Use always underscored variant
1006*75fd0b74Schristos	for symbols.
1007*75fd0b74Schristos	(__imp_-symbols): Likewise.
1008*75fd0b74Schristos	(___imp_-symbols): Likewise.
1009*75fd0b74Schristos	* NEWS: Mention ABI change for x64 PE-COFF.
1010*75fd0b74Schristos
1011*75fd0b74Schristos2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1012*75fd0b74Schristos
1013*75fd0b74Schristos	* Makefile.am (install-exec-local): Properly install ld as
1014*75fd0b74Schristos	default cross linker.
1015*75fd0b74Schristos	* Makefile.in: Regenerated.
1016*75fd0b74Schristos
1017*75fd0b74Schristos2010-04-27  H.J. Lu  <hongjiu.lu@intel.com>
1018*75fd0b74Schristos	    Nick Clifton  <nickc@redhat.com>
1019*75fd0b74Schristos
1020*75fd0b74Schristos	* configure.in (install_as_default): Define and set to true
1021*75fd0b74Schristos	unless --enable-gold=both/gold has been specified.
1022*75fd0b74Schristos	* configure: Regenerate.
1023*75fd0b74Schristos
1024*75fd0b74Schristos	* Makefile.am (transform): Use ld.bfd as the default name of
1025*75fd0b74Schristos	the linker.
1026*75fd0b74Schristos	(install-exec-local): Also install the executable as a binary
1027*75fd0b74Schristos	named 'ld' if install_as_default is true.
1028*75fd0b74Schristos	* Makefile.in: Regenerate.
1029*75fd0b74Schristos
1030*75fd0b74Schristos2010-04-22  Nick Clifton  <nickc@redhat.com>
1031*75fd0b74Schristos
1032*75fd0b74Schristos	* po/ld.pot: Updated by the Translation project.
1033*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
1034*75fd0b74Schristos	* po/bg.po: Updated Bulgarian translation.
1035*75fd0b74Schristos
1036*75fd0b74Schristos2010-04-15  Andrew Haley  <aph@redhat.com>
1037*75fd0b74Schristos
1038*75fd0b74Schristos	* emultempl/armelf.em (merge_exidx_entries): New variable.
1039*75fd0b74Schristos	(OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
1040*75fd0b74Schristos	("no-merge-exidx-entries"): New option.
1041*75fd0b74Schristos	* ld.texinfo (merge-exidx-entries): Document this option.
1042*75fd0b74Schristos
1043*75fd0b74Schristos2010-04-14  Tristan Gingold  <gingold@adacore.com>
1044*75fd0b74Schristos
1045*75fd0b74Schristos	* emulparams/alphavms.sh: New file.
1046*75fd0b74Schristos	* emultempl/vms.em: New file.
1047*75fd0b74Schristos	* scripttempl/alphavms.sc: New file.
1048*75fd0b74Schristos	* configure.tgt (alpha*-*-*vms*): Added.
1049*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add ealphavms.o
1050*75fd0b74Schristos	(ealphavms.c): New target.
1051*75fd0b74Schristos	* Makefile.in: Regenerate.
1052*75fd0b74Schristos
1053*75fd0b74Schristos2010-04-09  Nick Clifton  <nickc@redhat.com>
1054*75fd0b74Schristos
1055*75fd0b74Schristos	* ldlang.c (wild_sort): Remove unused variable section_name.
1056*75fd0b74Schristos
1057*75fd0b74Schristos2010-04-07  Alan Modra  <amodra@gmail.com>
1058*75fd0b74Schristos
1059*75fd0b74Schristos	* configure: Regenerate.
1060*75fd0b74Schristos
1061*75fd0b74Schristos2010-04-06  H.J. Lu  <hongjiu.lu@intel.com>
1062*75fd0b74Schristos
1063*75fd0b74Schristos	PR ld/11434
1064*75fd0b74Schristos	* ld/testsuite/ld-x86-64/unique1.d: New.
1065*75fd0b74Schristos	* ld/testsuite/ld-x86-64/unique1.s: Likewise.
1066*75fd0b74Schristos
1067*75fd0b74Schristos	* ld-x86-64/x86-64.exp: Run unique1.
1068*75fd0b74Schristos
1069*75fd0b74Schristos2010-04-05  Kai Tietz  <kai.tietz@onevision.com>
1070*75fd0b74Schristos
1071*75fd0b74Schristos	* emultempl/pep.em (U): Macro modified.
1072*75fd0b74Schristos	(U_SIZE): New helper macro.
1073*75fd0b74Schristos	(GET_INIT_SYMBOL_NAME): Likewise.
1074*75fd0b74Schristos	(enum options): Add OPTION_NO_LEADING_UNDERSCORE
1075*75fd0b74Schristos	and OPTION_LEADING_UNDERSCORE enumerator-values.
1076*75fd0b74Schristos	(gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
1077*75fd0b74Schristos	option.
1078*75fd0b74Schristos	(definfo): Add new member is_c_symbol.
1079*75fd0b74Schristos	(D): Add to macro underscore mode parameter.
1080*75fd0b74Schristos	(init): Add definition for is_c_symbol.
1081*75fd0b74Schristos	(gld_${EMULATION_NAME}_list_options): Display new options.
1082*75fd0b74Schristos	(set_pep_name): Adjust underscoring dependent fixed
1083*75fd0b74Schristos	symbol handling.
1084*75fd0b74Schristos	(gld_${EMULATION_NAME}_set_symbols): Likewise.
1085*75fd0b74Schristos	(saw_option): Likewise.
1086*75fd0b74Schristos	(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
1087*75fd0b74Schristos	(set_entry_point): Initial initial_symbol_char dependent to
1088*75fd0b74Schristos	target's default and new option flag pep_leading_underscore.
1089*75fd0b74Schristos	* emultempl/pe.em (U): Macro modified.
1090*75fd0b74Schristos	(U_SIZE): New helper macro.
1091*75fd0b74Schristos	(GET_INIT_SYMBOL_NAME): Likewise.
1092*75fd0b74Schristos	(OPTION_LEADING_UNDERSCORE): Add new option define.
1093*75fd0b74Schristos	(OPTION_NO_LEADING_UNDERSCORE): Likewise.
1094*75fd0b74Schristos	(gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
1095*75fd0b74Schristos	option.
1096*75fd0b74Schristos	(definfo): Add new member is_c_symbol.
1097*75fd0b74Schristos	(D): Add to macro underscore mode parameter.
1098*75fd0b74Schristos	(init): Add definition for is_c_symbol.
1099*75fd0b74Schristos	(gld_${EMULATION_NAME}_list_options): Display new options.
1100*75fd0b74Schristos	(set_pep_name): Adjust underscoring dependent fixed
1101*75fd0b74Schristos	symbol handling.
1102*75fd0b74Schristos	(gld_${EMULATION_NAME}_set_symbols): Likewise.
1103*75fd0b74Schristos	(saw_option): Likewise.
1104*75fd0b74Schristos	(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
1105*75fd0b74Schristos	(set_entry_point): Initial initial_symbol_char dependent to
1106*75fd0b74Schristos	target's default and new option flag pep_leading_underscore.
1107*75fd0b74Schristos	* pe-dll.c (pe_leading_underscore): New flag variable.
1108*75fd0b74Schristos	(pe_detail_list): Remove const to allow modify of
1109*75fd0b74Schristos	member underscore.
1110*75fd0b74Schristos	(pe_dll_id_target): Initialize pe_details' underscore variable
1111*75fd0b74Schristos	dependent to target's default and flag pe_leading_underscore.
1112*75fd0b74Schristos	* pe-dll.h (pe_leading_underscore): Add extern declaration of
1113*75fd0b74Schristos	option flag.
1114*75fd0b74Schristos	* pep-dll.c (pe_leading_underscore): Add alias define for
1115*75fd0b74Schristos	pep_leading_underscore.
1116*75fd0b74Schristos	* pep-dll.h (pep_leading_underscore) Add extern declaration of
1117*75fd0b74Schristos	option flag.
1118*75fd0b74Schristos	* ld.texinfo: Add documentation for --(no-)leading-underscore
1119*75fd0b74Schristos	option.
1120*75fd0b74Schristos
1121*75fd0b74Schristos2010-03-26  Alan Modra  <amodra@gmail.com>
1122*75fd0b74Schristos
1123*75fd0b74Schristos	PR ld/11426
1124*75fd0b74Schristos	* configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
1125*75fd0b74Schristos	(m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
1126*75fd0b74Schristos
1127*75fd0b74Schristos2010-03-25  Joseph Myers  <joseph@codesourcery.com>
1128*75fd0b74Schristos
1129*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
1130*75fd0b74Schristos	eelf32_tic6x_le.o.
1131*75fd0b74Schristos	(eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
1132*75fd0b74Schristos	* NEWS: Add news entry for TI C6X support.
1133*75fd0b74Schristos	* configure.tgt (tic6x-*-*): New.
1134*75fd0b74Schristos	* emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
1135*75fd0b74Schristos
1136*75fd0b74Schristos2010-03-23  Joseph Myers  <joseph@codesourcery.com>
1137*75fd0b74Schristos
1138*75fd0b74Schristos	* scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
1139*75fd0b74Schristos	BSS_NAME): Define if not already defined.  Use in place of some
1140*75fd0b74Schristos	hardcoded section names.
1141*75fd0b74Schristos
1142*75fd0b74Schristos2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
1143*75fd0b74Schristos
1144*75fd0b74Schristos	* scripttempl/elf.sc (INIT_ARRAY): Re-indent.
1145*75fd0b74Schristos
1146*75fd0b74Schristos2010-03-18  Aymeric Vincent  <vincent@labri.fr>
1147*75fd0b74Schristos
1148*75fd0b74Schristos	PR ld/11384
1149*75fd0b74Schristos	* emultempl/sh64elf.em: Add missing EOF.
1150*75fd0b74Schristos
1151*75fd0b74Schristos2010-03-18  Doug Semler  <dougsemler@gmail.com>
1152*75fd0b74Schristos
1153*75fd0b74Schristos	* pe-dll.c (make_one): Make text section readonly.
1154*75fd0b74Schristos	(make_one): Add *ABS* symbol @feat.00 with value 1 to tag
1155*75fd0b74Schristos	the jump stub on X86 as /SAFESEH compatible for
1156*75fd0b74Schristos	native toolchains.
1157*75fd0b74Schristos
1158*75fd0b74Schristos2010-03-17  Alan Modra  <amodra@gmail.com>
1159*75fd0b74Schristos
1160*75fd0b74Schristos	* ldlang.c (lang_size_sections_1): Remove "s" param.  Set "s" from
1161*75fd0b74Schristos	*prev instead.  Update all callers.
1162*75fd0b74Schristos
1163*75fd0b74Schristos2010-03-15  Daniel Jacobowitz  <dan@codesourcery.com>
1164*75fd0b74Schristos
1165*75fd0b74Schristos	* ldlang.c (lang_insert_orphan): Place loadable orphans in the same
1166*75fd0b74Schristos	region and phdrs as their placement section.
1167*75fd0b74Schristos
1168*75fd0b74Schristos2010-03-15  Alan Modra  <amodra@gmail.com>
1169*75fd0b74Schristos
1170*75fd0b74Schristos	* emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
1171*75fd0b74Schristos	(ppc_before_allocation): Call sort_toc_sections.
1172*75fd0b74Schristos	(no_toc_sort, OPTION_NO_TOC_SORT): New.
1173*75fd0b74Schristos	(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
1174*75fd0b74Schristos	 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
1175*75fd0b74Schristos
1176*75fd0b74Schristos2010-03-14  Alan Modra  <amodra@gmail.com>
1177*75fd0b74Schristos
1178*75fd0b74Schristos	PR ld/11378
1179*75fd0b74Schristos	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
1180*75fd0b74Schristos	ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
1181*75fd0b74Schristos
1182*75fd0b74Schristos2010-03-11  George Gensure  <werkt0@gmail.com>
1183*75fd0b74Schristos
1184*75fd0b74Schristos	PR ld/11367
1185*75fd0b74Schristos	* ldcref.c (handle_asneeded_cref): Correct copying of refs.
1186*75fd0b74Schristos
1187*75fd0b74Schristos2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1188*75fd0b74Schristos
1189*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
1190*75fd0b74Schristos	eelf_i386_sol2.o.
1191*75fd0b74Schristos	(ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
1192*75fd0b74Schristos	(eelf32_sparc_sol2.c): New rule.
1193*75fd0b74Schristos	(eelf64_sparc_sol2.c): Likewise.
1194*75fd0b74Schristos	(eelf_x86_64_sol2.c): Likewise.
1195*75fd0b74Schristos	(eelf_i386_sol2.c): Likewise.
1196*75fd0b74Schristos	* Makefile.in: Regenerate.
1197*75fd0b74Schristos	* configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
1198*75fd0b74Schristos	elf_i386_sol2.
1199*75fd0b74Schristos	Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
1200*75fd0b74Schristos	(x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
1201*75fd0b74Schristos	Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
1202*75fd0b74Schristos	(sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
1203*75fd0b74Schristos	Add target_extra_emuls.
1204*75fd0b74Schristos	(sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
1205*75fd0b74Schristos	Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
1206*75fd0b74Schristos	(sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
1207*75fd0b74Schristos	Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
1208*75fd0b74Schristos	* emulparams/elf32_sparc_sol2.sh: New file.
1209*75fd0b74Schristos	* emulparams/elf64_sparc_sol2.sh: New file.
1210*75fd0b74Schristos	* emulparams/elf_i386_sol2.sh: New file.
1211*75fd0b74Schristos	* emulparams/elf_x86_64_sol2.sh: New file.
1212*75fd0b74Schristos	* emultempl/solaris2.em: New file.
1213*75fd0b74Schristos
1214*75fd0b74Schristos2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>
1215*75fd0b74Schristos
1216*75fd0b74Schristos	PR ld/11330
1217*75fd0b74Schristos	* ld.texinfo: Replace explicitely with explicitly.
1218*75fd0b74Schristos
1219*75fd0b74Schristos2010-02-27  Jie Zhang  <jie@codesourcery.com>
1220*75fd0b74Schristos
1221*75fd0b74Schristos	* scripttempl/armbpabi.sc: Don't combine .init_array.* or
1222*75fd0b74Schristos	.fini_array.* when do relocatable linking.
1223*75fd0b74Schristos	* scripttempl/elf.sc: Likewise.
1224*75fd0b74Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
1225*75fd0b74Schristos	* scripttempl/elf64hppa.sc: Likewise.
1226*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
1227*75fd0b74Schristos
1228*75fd0b74Schristos2010-02-26  Alan Modra  <amodra@gmail.com>
1229*75fd0b74Schristos
1230*75fd0b74Schristos	* scripttempl/elf.sc (.fini_array): Place input .fini_array after
1231*75fd0b74Schristos	.fini_array.*.
1232*75fd0b74Schristos	* scripttempl/armbpabi.sc: Likewise.
1233*75fd0b74Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
1234*75fd0b74Schristos	* scripttempl/elf64hppa.sc: Likewise.
1235*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
1236*75fd0b74Schristos
1237*75fd0b74Schristos2010-02-25  Alan Modra  <amodra@gmail.com>
1238*75fd0b74Schristos
1239*75fd0b74Schristos	PR ld/11304
1240*75fd0b74Schristos	* ldlang.c (init_os): Remove isec param.  Don't check for
1241*75fd0b74Schristos	bfd_section already set or call bfd_init_private_section_data
1242*75fd0b74Schristos	here.
1243*75fd0b74Schristos	(exp_init_os): Update init_os call.
1244*75fd0b74Schristos	(lang_add_section): Tidy.  Really don't set SEC_LINK_ONCE
1245*75fd0b74Schristos	flags.  Call bfd_init_private_section_data here.
1246*75fd0b74Schristos	(map_input_to_output_sections): Tidy.  Update init_os calls.
1247*75fd0b74Schristos	Use os->sectype to select sec flags for lang_data_statement.
1248*75fd0b74Schristos
1249*75fd0b74Schristos2010-02-23  Alan Modra  <amodra@gmail.com>
1250*75fd0b74Schristos
1251*75fd0b74Schristos	PR ld/11304
1252*75fd0b74Schristos	* ldlang.c: Revert last patch.
1253*75fd0b74Schristos
1254*75fd0b74Schristos2010-02-23  Nick Clifton  <nickc@redhat.com>
1255*75fd0b74Schristos
1256*75fd0b74Schristos	* po/bg.po: Updated Bulgarian translation.
1257*75fd0b74Schristos
1258*75fd0b74Schristos2010-02-22  Alan Modra  <amodra@gmail.com>
1259*75fd0b74Schristos
1260*75fd0b74Schristos	PR ld/11304
1261*75fd0b74Schristos	* ldlang.c (exp_init_os): Delete forward declaration.
1262*75fd0b74Schristos	(init_os): Don't check for bfd_section already created and don't
1263*75fd0b74Schristos	init addr_tree and load_base expressions here.
1264*75fd0b74Schristos	(map_input_to_output_sections): Only map input to output sections
1265*75fd0b74Schristos	and set constraints here, and as an exception, create output
1266*75fd0b74Schristos	sections which have their address set.  Move all the other code to..
1267*75fd0b74Schristos	(create_other_output_sections): ..here.  New function.  Handle init
1268*75fd0b74Schristos	of addr_tree and load_base here too.
1269*75fd0b74Schristos	(lang_process): Call create_other_output_sections.
1270*75fd0b74Schristos
1271*75fd0b74Schristos2010-02-19  Alan Modra  <amodra@gmail.com>
1272*75fd0b74Schristos
1273*75fd0b74Schristos	* Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
1274*75fd0b74Schristos	* Makefile.in: Regenerate.
1275*75fd0b74Schristos
1276*75fd0b74Schristos2010-02-19  Alan Modra  <amodra@gmail.com>
1277*75fd0b74Schristos
1278*75fd0b74Schristos	* ldlang.c (unique_section_p): Add os param.  Allow group
1279*75fd0b74Schristos	sections to match /DISCARD/.  Update all callers.
1280*75fd0b74Schristos	* emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
1281*75fd0b74Schristos	(LDEMUL_BEFORE_ALLOCATION): Define.
1282*75fd0b74Schristos
1283*75fd0b74Schristos2010-02-15  Nick Clifton  <nickc@redhat.com>
1284*75fd0b74Schristos
1285*75fd0b74Schristos	* po/vi.po: Updated Vietnamese translation.
1286*75fd0b74Schristos
1287*75fd0b74Schristos2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
1288*75fd0b74Schristos
1289*75fd0b74Schristos	* Makefile.am (CFILES): Add ldlex-wrapper.c.
1290*75fd0b74Schristos	(OFILES): Replace ldlex.c with ldlex-wrapper.c.
1291*75fd0b74Schristos	(ldlex.o): Replace with...
1292*75fd0b74Schristos	(ldlex-wrapper.o): ...this new rule.
1293*75fd0b74Schristos	(EXTRA_ld_new_SOURCES): Add ldlex.l.
1294*75fd0b74Schristos	(ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
1295*75fd0b74Schristos	* Makefile.in: Regenerate.
1296*75fd0b74Schristos	* ldlex.l (sysdep.h): Don't include here.
1297*75fd0b74Schristos	* ldlex-wrapper.c: New file.
1298*75fd0b74Schristos
1299*75fd0b74Schristos2010-02-09  Alan Modra  <amodra@gmail.com>
1300*75fd0b74Schristos
1301*75fd0b74Schristos	* emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
1302*75fd0b74Schristos	function parameters.
1303*75fd0b74Schristos
1304*75fd0b74Schristos2010-02-05  Nick Clifton  <nickc@redhat.com>
1305*75fd0b74Schristos
1306*75fd0b74Schristos	* configure.in (ALL_LIBGUAS): Add bg.
1307*75fd0b74Schristos	* configure: Regenerate.
1308*75fd0b74Schristos	* po/bg.po: New Bulgarian translation.
1309*75fd0b74Schristos
1310*75fd0b74Schristos2010-02-05  Ryan Mansfield  <rmansfield@qnx.com>
1311*75fd0b74Schristos
1312*75fd0b74Schristos	* emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
1313*75fd0b74Schristos	--target1-abs and --target1-rel options.
1314*75fd0b74Schristos
1315*75fd0b74Schristos2010-02-03  Nick Clifton  <nickc@redhat.com>
1316*75fd0b74Schristos
1317*75fd0b74Schristos	* emultempl/alphaelf.em: Update value expected from elf_object_id.
1318*75fd0b74Schristos	* emultempl/hppaelf.em: Likewise.
1319*75fd0b74Schristos	* emultempl/mipself.em: Likewise.
1320*75fd0b74Schristos	* emultempl/ppc32elf.em: Likewise.
1321*75fd0b74Schristos	* emultempl/ppc64elf.em: Likewise.
1322*75fd0b74Schristos
1323*75fd0b74Schristos2010-02-03  Alan Modra  <amodra@gmail.com>
1324*75fd0b74Schristos
1325*75fd0b74Schristos	* emultempl/ppc64elf.em (build_toc_list): Report errors from
1326*75fd0b74Schristos	ppc64_elf_next_toc_section.
1327*75fd0b74Schristos	(after_allocation): Update for changed function names and params.
1328*75fd0b74Schristos	Run second pass of multitoc partitioning.
1329*75fd0b74Schristos
1330*75fd0b74Schristos2010-01-21  Jon Grant  <jg@jguk.org>
1331*75fd0b74Schristos	    Nick Clifton  <nickc@redhat.com>
1332*75fd0b74Schristos
1333*75fd0b74Schristos	PR 4437
1334*75fd0b74Schristos	* ldfile.c: (ldfile_open_file): Do not stop link upon encountering
1335*75fd0b74Schristos	a missing file or library.  Instead mark the entry as missing and
1336*75fd0b74Schristos	set the global flag to indicate that missing files were
1337*75fd0b74Schristos	encountered.
1338*75fd0b74Schristos	* ldlang.c (missing_files): New exported variable.
1339*75fd0b74Schristos	(load_symbols): Skip loading if the file is missing.
1340*75fd0b74Schristos	(open_input_bfds): Terminate link if any input files were
1341*75fd0b74Schristos	missing.
1342*75fd0b74Schristos	* ldlang.h (struct lang_input_statement_struct): Add missing_file
1343*75fd0b74Schristos	field.
1344*75fd0b74Schristos	Add export of missing_file variable.
1345*75fd0b74Schristos
1346*75fd0b74Schristos2010-01-13  DJ Delorie  <dj@redhat.com>
1347*75fd0b74Schristos
1348*75fd0b74Schristos	* emultempl/elf32.em (_place_orphan): If an input section doesn't
1349*75fd0b74Schristos	match an existing output section, but an unused output section
1350*75fd0b74Schristos	statement does match, use it.
1351*75fd0b74Schristos	* emultempl/pe.em (_place_orphan): Likewise.
1352*75fd0b74Schristos	* emultempl/pep.em (_place_orphan): Likewise.
1353*75fd0b74Schristos
1354*75fd0b74Schristos2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1355*75fd0b74Schristos
1356*75fd0b74Schristos	* configure: Regenerate.
1357*75fd0b74Schristos	* Makefile.in: Regenerate.
1358*75fd0b74Schristos
1359*75fd0b74Schristos2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
1360*75fd0b74Schristos
1361*75fd0b74Schristos	* ldver.c (ldversion): Change to "Copyright 2010".
1362*75fd0b74Schristos
1363*75fd0b74Schristos2010-01-08  Alan Modra  <amodra@gmail.com>
1364*75fd0b74Schristos
1365*75fd0b74Schristos	PR 11107
1366*75fd0b74Schristos	* emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
1367*75fd0b74Schristos
1368*75fd0b74SchristosFor older changes see ChangeLog-2009
1369*75fd0b74Schristos
1370*75fd0b74SchristosCopyright (C) 2010 Free Software Foundation, Inc.
1371*75fd0b74Schristos
1372*75fd0b74SchristosCopying and distribution of this file, with or without modification,
1373*75fd0b74Schristosare permitted in any medium without royalty provided the copyright
1374*75fd0b74Schristosnotice and this notice are preserved.
1375*75fd0b74Schristos
1376*75fd0b74SchristosLocal Variables:
1377*75fd0b74Schristosmode: change-log
1378*75fd0b74Schristosleft-margin: 8
1379*75fd0b74Schristosfill-column: 74
1380*75fd0b74Schristosversion-control: never
1381*75fd0b74SchristosEnd:
1382