xref: /netbsd/external/gpl3/gdb/dist/ld/ChangeLog-2009 (revision 1424dfb3)
1*1424dfb3Schristos2009-12-17  Dave Korn  <dave.korn.cygwin@gmail.com>
2*1424dfb3Schristos
3*1424dfb3Schristos	* pe-dll.c (generate_reloc): Take account of wrapper options when
4*1424dfb3Schristos	testing if a weak symbol is defined or not, and when it is not,
5*1424dfb3Schristos	consider whether the default value requires a base reloc anyway.
6*1424dfb3Schristos
7*1424dfb3Schristos2009-12-17  Dave Korn  <dave.korn.cygwin@gmail.com>
8*1424dfb3Schristos
9*1424dfb3Schristos	* deffilep.y (def_file_free): Add missing shadow parameter renaming.
10*1424dfb3Schristos	(def_file_print): Likewise.
11*1424dfb3Schristos	(def_stash_module): Likewise.
12*1424dfb3Schristos	(def_file_add_import): Likewise.
13*1424dfb3Schristos
14*1424dfb3Schristos2009-12-11  Nick Clifton  <nickc@redhat.com>
15*1424dfb3Schristos
16*1424dfb3Schristos	* Makefile.in: Regenerate.
17*1424dfb3Schristos	* configure: Regenerate.
18*1424dfb3Schristos	* deffilep.y: Fix shadowed variable warnings.
19*1424dfb3Schristos	* ldlang.c: Likewise.
20*1424dfb3Schristos	* ldmain.c: Likewise.
21*1424dfb3Schristos	* pe-dll.c: Likewise.
22*1424dfb3Schristos	* emultempl/elf32.em: Likewise.
23*1424dfb3Schristos
24*1424dfb3Schristos2009-12-09  Alan Modra  <amodra@bigpond.net.au>
25*1424dfb3Schristos
26*1424dfb3Schristos	PR ld/11012
27*1424dfb3Schristos	* emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd ..
28*1424dfb3Schristos	(INITIAL_RELOC_SECTIONS): .. to here.  New define.
29*1424dfb3Schristos	* scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS.
30*1424dfb3Schristos
31*1424dfb3Schristos2009-12-04  Jie Zhang  <jie.zhang@analog.com>
32*1424dfb3Schristos
33*1424dfb3Schristos	* ld.texinfo: Make it clear that --nmagic disables linking
34*1424dfb3Schristos	against shared libraries.
35*1424dfb3Schristos
36*1424dfb3Schristos2009-11-30  Joseph Myers  <joseph@codesourcery.com>
37*1424dfb3Schristos
38*1424dfb3Schristos	* configure: Regenerate.
39*1424dfb3Schristos
40*1424dfb3Schristos2009-11-30  Alan Modra  <amodra@bigpond.net.au>
41*1424dfb3Schristos
42*1424dfb3Schristos	PR ld/11006
43*1424dfb3Schristos	* lexsup.c (parse_args): Allow nested --start-group, --end-group.
44*1424dfb3Schristos
45*1424dfb3Schristos2009-11-27  Tristan Gingold  <gingold@adacore.com>
46*1424dfb3Schristos
47*1424dfb3Schristos	* pe-dll.c (pe_implied_import_dll): Return early if there is no
48*1424dfb3Schristos	export entries.
49*1424dfb3Schristos
50*1424dfb3Schristos2009-11-26  Nick Clifton  <nickc@redhat.com>
51*1424dfb3Schristos
52*1424dfb3Schristos	PR ld/10956
53*1424dfb3Schristos	* ld.h (struct args_type): Rename 'relax' field to
54*1424dfb3Schristos	'disable_target_specific_optimizations' and turn it into a
55*1424dfb3Schristos	tri-state variable.
56*1424dfb3Schristos	(RELAXATION_DISABLED_BY_DEFAULT): New macro.
57*1424dfb3Schristos	(RELAXATION_DISABLED_BY_USER): New macro.
58*1424dfb3Schristos	(RELAXATION_ENABLED): New macro.
59*1424dfb3Schristos	(DISABLE_RELAXATION): New macro.
60*1424dfb3Schristos	(ENABLE_RELAXATION): New macro.
61*1424dfb3Schristos	* lexsup (enum option_values): Add OPTION_NO_RELAX.
62*1424dfb3Schristos	(struct ld_options): Add --no-relax.
63*1424dfb3Schristos	(parse_args): Handle OPTION_NO_RELAX.  Use DISABLE_RELAXATION and
64*1424dfb3Schristos	ENABLE_RELAXATION macros.
65*1424dfb3Schristos	* ldlang.c (lang_relax_sections): Use RELAXATION_ENABLED macro.
66*1424dfb3Schristos	(lang_process): Likewise.
67*1424dfb3Schristos	* ldmain.c (main): Initialise
68*1424dfb3Schristos	disable_target_specific_optimizations field.
69*1424dfb3Schristos	(multiple_definition): Use RELAXATION_ENABLED macro.
70*1424dfb3Schristos	* ld.texinfo: Document new command line option.
71*1424dfb3Schristos	* emultempl/alphaelf.em: Remove --no-relax option.
72*1424dfb3Schristos	(before_allocation): Test RELAXATION_DISABLED_BY_USER macro.
73*1424dfb3Schristos	Use ENABLE_RELAXATION macro.
74*1424dfb3Schristos	* emultempl/avrelf.em: (after_allocation): Test RELAXATION_ENABLED
75*1424dfb3Schristos	macro.
76*1424dfb3Schristos	* emultempl/cr16elf.em: Remove --no-relax option.
77*1424dfb3Schristos	(before_allocation): Test RELAXATION_DISABLED_BY_USER macro.
78*1424dfb3Schristos	Use ENABLE_RELAXATION macro.
79*1424dfb3Schristos	* emultempl/crxelf.em: Remove --no-relax option.
80*1424dfb3Schristos	(before_allocation): Test RELAXATION_DISABLED_BY_USER macro.
81*1424dfb3Schristos	Use ENABLE_RELAXATION macro.
82*1424dfb3Schristos	* emultempl/mmix-elfnmmo.em: (before_allocation): Use
83*1424dfb3Schristos	ENABLE_RELAXATION macro.
84*1424dfb3Schristos	* emultempl/needrelax.em: (before_allocation): Use
85*1424dfb3Schristos	ENABLE_RELAXATION macro.
86*1424dfb3Schristos	* emultempl/ppc32elf.em: (before_allocation): Test
87*1424dfb3Schristos	RELAXATION_DISABLED_BY_DEFAULT macro. Use
88*1424dfb3Schristos	ENABLE_RELAXATION macro.
89*1424dfb3Schristos	* emultempl/sh64elf.em: (before_allocation): Test
90*1424dfb3Schristos	RELAXATION_ENABLED macro. Use DISABLE_RELAXATION macro.
91*1424dfb3Schristos	* emultempl/xtensaelf.em: Remove --no-relax option.
92*1424dfb3Schristos	(before_allocation): Test RELAXATION_ENABLED macro.
93*1424dfb3Schristos	Use ENABLE_RELAXATION macro.
94*1424dfb3Schristos
95*1424dfb3Schristos2009-11-25  Kai Tietz  <kai.tietz@onevision.com>
96*1424dfb3Schristos
97*1424dfb3Schristos	* scripttempl/pe.sc: (.note.GNU-stack): Mark as discardable.
98*1424dfb3Schristos	(.gnu.lto_*): Likewise.
99*1424dfb3Schristos	* scripttempl/pep.sc: (.note.GNU-stack): Mark as discardable.
100*1424dfb3Schristos	(.gnu.lto_*): Likewise.
101*1424dfb3Schristos
102*1424dfb3Schristos2009-11-23  Paul Brook  <paul@codesourcery.com>
103*1424dfb3Schristos
104*1424dfb3Schristos	* ldexp.c: Copy symbol type for simple assignments.
105*1424dfb3Schristos
106*1424dfb3Schristos2009-11-20  Thomas Schwinge  <thomas@codesourcery.com>
107*1424dfb3Schristos
108*1424dfb3Schristos	* emulparams/armelf.sh (OTHER_READONLY_SECTIONS)
109*1424dfb3Schristos	<__exidx_start, __exidx_end>: Use PROVIDE_HIDDEN.
110*1424dfb3Schristos	* emulparams/armelf_linux_eabi.sh (OTHER_READONLY_SECTIONS)
111*1424dfb3Schristos	<__exidx_start, __exidx_end>: Likewise.
112*1424dfb3Schristos	* emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS)
113*1424dfb3Schristos	<.ARM.exidx$$Base, __exidx_start, __exidx_end, .ARM.exidx$$Limit>:
114*1424dfb3Schristos	Likewise.
115*1424dfb3Schristos
116*1424dfb3Schristos2009-11-19  Matthias Klose  <doko@ubuntu.com>
117*1424dfb3Schristos
118*1424dfb3Schristos	PR ld/9863
119*1424dfb3Schristos	* emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
120*1424dfb3Schristos	with __data_start.
121*1424dfb3Schristos
122*1424dfb3Schristos2009-11-19  Ben Elliston  <bje@au.ibm.com>
123*1424dfb3Schristos
124*1424dfb3Schristos	* ldlex.l: Enable nounput flex option.
125*1424dfb3Schristos
126*1424dfb3Schristos2009-11-15  Kai Tietz  <kai.tietz@onevision.com>
127*1424dfb3Schristos
128*1424dfb3Schristos	* pe-dll.c (pe_undef_alias_cdecl_match): New function.
129*1424dfb3Schristos	(pe_find_cdecl_alias_match): New function.
130*1424dfb3Schristos	(pe_process_import_defs): Add matching for import symbols
131*1424dfb3Schristos	declared as cdecl for fastcall/stdcall.
132*1424dfb3Schristos	* emultempl/pe.em (pe_undef_cdecl_match): Treat fastcall
133*1424dfb3Schristos	symbols, too.
134*1424dfb3Schristos	(pe_fixup_stdcalls): Likewise.
135*1424dfb3Schristos	(gld_XXX_after_open): Redo scanning for imported
136*1424dfb3Schristos	fastcall/stdcall symbols as cdecl one.
137*1424dfb3Schristos	* emultempl/pep.em (pep_undef_cdecl_match): Treat fastcall
138*1424dfb3Schristos	symbols, too.
139*1424dfb3Schristos	(pep_fixup_stdcalls): Likewise.
140*1424dfb3Schristos	(gld_XXX_after_open): Redo scanning for imported
141*1424dfb3Schristos	fastcall/stdcall symbols as cdecl one.
142*1424dfb3Schristos
143*1424dfb3Schristos2009-11-11  Nick Clifton  <nickc@redhat.com>
144*1424dfb3Schristos
145*1424dfb3Schristos	* po/id.po: Updated Indonesian translation.
146*1424dfb3Schristos
147*1424dfb3Schristos2009-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
148*1424dfb3Schristos
149*1424dfb3Schristos	* configure.in: Call ACX_LARGEFILE.  Stop calling AC_SYS_LARGEFILE.
150*1424dfb3Schristos	* aclocal.m4: Regenerate.
151*1424dfb3Schristos	* configure: Regenerate.
152*1424dfb3Schristos
153*1424dfb3Schristos2009-11-10  Nick Clifton  <nickc@redhat.com>
154*1424dfb3Schristos
155*1424dfb3Schristos	PR ld/10864
156*1424dfb3Schristos	* ld.texinfo (Entry Point): Mention that the default entry symbol
157*1424dfb3Schristos	is not 'start' on some targets.
158*1424dfb3Schristos
159*1424dfb3Schristos2009-11-06  H.J. Lu  <hongjiu.lu@intel.com>
160*1424dfb3Schristos
161*1424dfb3Schristos	PR ld/10912
162*1424dfb3Schristos	* ldmain.c (add_DT_NEEDED_for_dynamic): Default to TRUE.
163*1424dfb3Schristos
164*1424dfb3Schristos2009-11-06  Kai Tietz  <kai.tietz@onevision.com>
165*1424dfb3Schristos
166*1424dfb3Schristos	* pe.em (DEFAULT_PSEUDO_RELOC_VERSION): New macro.
167*1424dfb3Schristos	(gld_XXX_before_parse): Set pseudo-relocation default
168*1424dfb3Schristos	version to DEFAULT_PSEUDO_RELOC_VERSION.
169*1424dfb3Schristos	(gldXXX_handle_option): Likewise.
170*1424dfb3Schristos
171*1424dfb3Schristos
172*1424dfb3Schristos2009-11-05  Nick Clifton  <nickc@redhat.com>
173*1424dfb3Schristos
174*1424dfb3Schristos	* lexsup.c: Rename --add-needed to --copy-dt-needed-entries.
175*1424dfb3Schristos	* ldlang.h (struct lang_input_statement_struct): Rename add_needed
176*1424dfb3Schristos	to add_DT_NEEDED_for_dynamic.  Rename as_needed to
177*1424dfb3Schristos	add_DT_NEEDED_for_regular.
178*1424dfb3Schristos	* ldlang.c: Likewise.
179*1424dfb3Schristos	* ldlang.h: Likewise.
180*1424dfb3Schristos	* ldlang.c: Use the new variable names.
181*1424dfb3Schristos	* ldgram.y: Likewise.
182*1424dfb3Schristos	* emultempl/elf32.em: Likewise.
183*1424dfb3Schristos	* ld.texinfo: Document the renamed option.  Also mention its
184*1424dfb3Schristos	affect on the resolution of dynamic symbols.
185*1424dfb3Schristos	* NEWS: Mention the changed option name.
186*1424dfb3Schristos
187*1424dfb3Schristos2009-11-04  Kai Tietz  <kai.tietz@onevision.com>
188*1424dfb3Schristos
189*1424dfb3Schristos	* emulparams/arm_epoc_pe.sh: Remove ENTRY.
190*1424dfb3Schristos	* emulparams/arm_wince_pe.sh: Likewise.
191*1424dfb3Schristos	* emulparams/i386pe.sh: Likewise.
192*1424dfb3Schristos	* emulparams/i386pe_posix.sh: Likewise.
193*1424dfb3Schristos	* emulparams/mcorepe.sh: Likewise.
194*1424dfb3Schristos	* emulparams/mipspe.sh: Likewise.
195*1424dfb3Schristos	* emulparams/ppcpe.sh: Likewise.
196*1424dfb3Schristos	* emulparams/armpe.sh: Likewise.
197*1424dfb3Schristos	* emulparams/i386pep.sh: Likewise.
198*1424dfb3Schristos	* emulparams/shpe.sh: Likewise.
199*1424dfb3Schristos	Additionally cleaned up double-defined
200*1424dfb3Schristos	variables SUBSYSTEM and INITIAL_SYMBOL_CHAR.
201*1424dfb3Schristos	* emultempl/pe.em: Remove use of ENTRY.
202*1424dfb3Schristos	(pe_subsystem): New local variable.
203*1424dfb3Schristos	(gld_XXX_before_parse): Don't set default
204*1424dfb3Schristos	entry point here.
205*1424dfb3Schristos	(set_entry_point): New function to set entry
206*1424dfb3Schristos	point.
207*1424dfb3Schristos	(set_pe_subsystem): Remove code for entry point.
208*1424dfb3Schristos	(gld_XXX_after_parse): Use set_entry_point here.
209*1424dfb3Schristos	* emultempl/pep.em: Likewise.
210*1424dfb3Schristos
211*1424dfb3Schristos2009-10-29  Nathan Sidwell  <nathan@codesourcery.com>
212*1424dfb3Schristos
213*1424dfb3Schristos	* emulparams/vxworks.sh (OTHER_READONLY_SECTIONS): Move into ...
214*1424dfb3Schristos	(OTHER_READWRITE_SECTIONS): ... here.
215*1424dfb3Schristos
216*1424dfb3Schristos2009-10-28  Kai Tietz  <kai.tietz@onevision.com>
217*1424dfb3Schristos
218*1424dfb3Schristos	* emultempl/pep.em (U): Define underscore macro.
219*1424dfb3Schristos	(init): Use for __ImageBase U macro.
220*1424dfb3Schristos
221*1424dfb3Schristos2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
222*1424dfb3Schristos
223*1424dfb3Schristos	* deffile.h (def_file_export): New member its_name.
224*1424dfb3Schristos	(def_file_import): Likewise.
225*1424dfb3Schristos	(def_file_add_export): Add argument its_name.
226*1424dfb3Schristos	(def_file_add_import): Likewise.
227*1424dfb3Schristos	* deffilep.y (def_exports): Add argument its_name.
228*1424dfb3Schristos	(def_import): Likewise.
229*1424dfb3Schristos	(EQUAL): Add new token for '=='.
230*1424dfb3Schristos	(opt_equalequal_name): New rule.
231*1424dfb3Schristos	(expline): Add rule opt_equalequal_name.
232*1424dfb3Schristos	(impline): Likewise.
233*1424dfb3Schristos	(def_file_free): Free for exports and imports
234*1424dfb3Schristos	the optional member its_name.
235*1424dfb3Schristos	(def_lex): Add scan of '==' as EQUAL.
236*1424dfb3Schristos	* pe-dll.c (pe_export_sort): Sort for its_name too.
237*1424dfb3Schristos	(process_def_file_and_drectve): Adjust calls to
238*1424dfb3Schristos	def_file_add_export.
239*1424dfb3Schristos	(generate_edata): Take its_name in account.
240*1424dfb3Schristos	(make_one): Likewise.
241*1424dfb3Schristos	(pe_process_import_defs): Likewise.
242*1424dfb3Schristos	(pe_dll_generate_def_file): Add print of new '==' option.
243*1424dfb3Schristos	* ld.texinfo: Extend documentation about .def file syntax.
244*1424dfb3Schristos	* NEWS: Mention new feature.
245*1424dfb3Schristos
246*1424dfb3Schristos2009-10-23  Kai Tietz  <kai.tietz@onevision.com>
247*1424dfb3Schristos
248*1424dfb3Schristos	* deffilep.y (def_lex): Allow '<' and '>' characters in identifier
249*1424dfb3Schristos	strings.
250*1424dfb3Schristos
251*1424dfb3Schristos2009-10-23  Ryan Mansfield  <rmansfield@qnx.com>
252*1424dfb3Schristos
253*1424dfb3Schristos	PR ld/10489
254*1424dfb3Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle
255*1424dfb3Schristos	drive specifiers for DOS based filesystems in rpath-link strings.
256*1424dfb3Schristos
257*1424dfb3Schristos2009-10-19  Nick Clifton  <nickc@redhat.com>
258*1424dfb3Schristos
259*1424dfb3Schristos	* Makefile.am: Remove spurious sanitization marker.
260*1424dfb3Schristos	* Makefile.in: Regenerate.
261*1424dfb3Schristos
262*1424dfb3Schristos2009-10-16  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
263*1424dfb3Schristos
264*1424dfb3Schristos	* emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro.
265*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option
266*1424dfb3Schristos	to exclude all symbols from automatic export.
267*1424dfb3Schristos	(gld_${EMULATION_NAME}_list_options): Describe it.
268*1424dfb3Schristos	(gld${EMULATION_NAME}_handle_option): Handle it.
269*1424dfb3Schristos	* emultempl/pep.em: Likewise to all the above.
270*1424dfb3Schristos	* pe-dll.c (pe_dll_exclude_all_symbols): New variable.
271*1424dfb3Schristos	(process_def_file_and_drectve): Use it.
272*1424dfb3Schristos	* pe-dll.h (pe_dll_exclude_all_symbols): Declare.
273*1424dfb3Schristos	* pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias.
274*1424dfb3Schristos	* pep-dll.h (pe_dll_exclude_all_symbols): Declare.
275*1424dfb3Schristos	* NEWS: Mention the new feature.
276*1424dfb3Schristos	* ld.texinfo: Document the new command line switch.
277*1424dfb3Schristos
278*1424dfb3Schristos2009-10-14  Andreas Schwab  <schwab@linux-m68k.org>
279*1424dfb3Schristos
280*1424dfb3Schristos	* ldlex.l (yy_input): Remove second argument and return the value
281*1424dfb3Schristos	instead.
282*1424dfb3Schristos	(YY_INPUT): Adjust.
283*1424dfb3Schristos
284*1424dfb3Schristos2009-10-14  Alan Modra  <amodra@bigpond.net.au>
285*1424dfb3Schristos
286*1424dfb3Schristos	* emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix.
287*1424dfb3Schristos
288*1424dfb3Schristos2009-10-14  Ryan Mansfield  <rmansfield@qnx.com>
289*1424dfb3Schristos
290*1424dfb3Schristos	* ldlang.c (load_symbols): Set whole_archive from entry when
291*1424dfb3Schristos	parsing a linker script.
292*1424dfb3Schristos
293*1424dfb3Schristos2009-10-10  Alan Modra  <amodra@bigpond.net.au>
294*1424dfb3Schristos
295*1424dfb3Schristos	* scripttempl/elf32cr16.sc: Revert 2009-09-28 changes.
296*1424dfb3Schristos	* scripttempl/elf32cr16c.sc: Likewise.
297*1424dfb3Schristos	* scripttempl/elf32crx.sc: Likewise.
298*1424dfb3Schristos	* scripttempl/tic54xcoff.sc: Likewise.
299*1424dfb3Schristos	* scripttempl/aix.sc: Likewise.
300*1424dfb3Schristos	* scripttempl/avr.sc: Likewise.
301*1424dfb3Schristos	* scripttempl/elf32msp430.sc: Likewise.
302*1424dfb3Schristos	* scripttempl/elf32msp430_3.sc: Likewise.
303*1424dfb3Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
304*1424dfb3Schristos	* scripttempl/elf_chaos.sc: Likewise.
305*1424dfb3Schristos	* scripttempl/elfi370.sc: Likewise.
306*1424dfb3Schristos	* scripttempl/nw.sc: Likewise.
307*1424dfb3Schristos	* scripttempl/psos.sc: Likewise.
308*1424dfb3Schristos	* scripttempl/armbpabi.sc: Likewise.
309*1424dfb3Schristos	* scripttempl/elf.sc: Likewise.
310*1424dfb3Schristos	* scripttempl/elf64hppa.sc: Likewise.
311*1424dfb3Schristos	* scripttempl/elfd10v.sc: Likewise.
312*1424dfb3Schristos	* scripttempl/elfd30v.sc: Likewise.
313*1424dfb3Schristos	* scripttempl/elfm68hc11.sc: Likewise.
314*1424dfb3Schristos	* scripttempl/elfm68hc12.sc: Likewise.
315*1424dfb3Schristos	* scripttempl/elfmicroblaze.sc: Likewise.
316*1424dfb3Schristos	* scripttempl/elfxtensa.sc: Likewise.
317*1424dfb3Schristos	* scripttempl/iq2000.sc: Likewise.
318*1424dfb3Schristos	* scripttempl/mep.sc: Likewise.
319*1424dfb3Schristos	* scripttempl/xstormy16.sc: Likewise.
320*1424dfb3Schristos
321*1424dfb3Schristos2009-10-09  Alan Modra  <amodra@bigpond.net.au>
322*1424dfb3Schristos
323*1424dfb3Schristos	PR ld/10749
324*1424dfb3Schristos	* ldlang.c (lang_size_sections_1): Zero section vmas only for COFF.
325*1424dfb3Schristos
326*1424dfb3Schristos2009-10-08  Alan Modra  <amodra@bigpond.net.au>
327*1424dfb3Schristos
328*1424dfb3Schristos	PR ld/10744
329*1424dfb3Schristos	* ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
330*1424dfb3Schristos	first PT_LOAD header.
331*1424dfb3Schristos	* ld.texinfo: Update.
332*1424dfb3Schristos
333*1424dfb3Schristos2009-10-06  Nathan Sidwell  <nathan@codesourcery.com>
334*1424dfb3Schristos
335*1424dfb3Schristos	* ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
336*1424dfb3Schristos	segments do not appear after a different loadable segment.
337*1424dfb3Schristos	* ld.texinfo (PHDRS): Document order of processing segments.
338*1424dfb3Schristos	Document where PHDRS and FILEHDR may appear.
339*1424dfb3Schristos
340*1424dfb3Schristos2009-10-03  Alan Modra  <amodra@bigpond.net.au>
341*1424dfb3Schristos
342*1424dfb3Schristos	* emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
343*1424dfb3Schristos	(ppc_after_open): Set emit_stubs_syms by default when shared.
344*1424dfb3Schristos	(OPTION_NO_STUBSYMS): Define.
345*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
346*1424dfb3Schristos	PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
347*1424dfb3Schristos	* emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
348*1424dfb3Schristos	(gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
349*1424dfb3Schristos	(OPTION_NO_STUBSYMS): Define.
350*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
351*1424dfb3Schristos	PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
352*1424dfb3Schristos
353*1424dfb3Schristos2009-09-29  Joel Sherrill <joel.sherrill@oarcorp.com>
354*1424dfb3Schristos
355*1424dfb3Schristos	* emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
356*1424dfb3Schristos	(rts).
357*1424dfb3Schristos
358*1424dfb3Schristos2009-09-29  DJ Delorie  <dj@redhat.com>
359*1424dfb3Schristos
360*1424dfb3Schristos	* Makefile.am: Add rules to build RX emulation.
361*1424dfb3Schristos	* configure.tgt: Likewise.
362*1424dfb3Schristos	* NEWS: Mention support for RX architecture.
363*1424dfb3Schristos	* Makefile.in: Regenerate.
364*1424dfb3Schristos	* emulparams/elf32rx.sh: New file.
365*1424dfb3Schristos	* emultempl/rxelf.em: New file.
366*1424dfb3Schristos
367*1424dfb3Schristos2009-09-29  Alan Modra  <amodra@bigpond.net.au>
368*1424dfb3Schristos
369*1424dfb3Schristos	* ldlang.c (lang_size_sections_1): Allow scripts to specify a
370*1424dfb3Schristos	non-zero vma even when relocatable.
371*1424dfb3Schristos
372*1424dfb3Schristos2009-09-28  Alan Modra  <amodra@bigpond.net.au>
373*1424dfb3Schristos
374*1424dfb3Schristos	* scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
375*1424dfb3Schristos	* scripttempl/elf32cr16c.sc: Likewise.
376*1424dfb3Schristos	* scripttempl/elf32crx.sc: Likewise.
377*1424dfb3Schristos	* scripttempl/tic54xcoff.sc: Likewise.
378*1424dfb3Schristos	* scripttempl/aix.sc: Delete ${RELOCATING-0}.
379*1424dfb3Schristos	* scripttempl/avr.sc: Likewise.
380*1424dfb3Schristos	* scripttempl/elf32msp430.sc: Likewise.
381*1424dfb3Schristos	* scripttempl/elf32msp430_3.sc: Likewise.
382*1424dfb3Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
383*1424dfb3Schristos	* scripttempl/elf_chaos.sc: Likewise.
384*1424dfb3Schristos	* scripttempl/elfi370.sc: Likewise.
385*1424dfb3Schristos	* scripttempl/nw.sc: Likewise.
386*1424dfb3Schristos	* scripttempl/psos.sc: Likewise.
387*1424dfb3Schristos	* scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
388*1424dfb3Schristos	* scripttempl/elf.sc: Likewise.
389*1424dfb3Schristos	* scripttempl/elf64hppa.sc: Likewise.
390*1424dfb3Schristos	* scripttempl/elfd10v.sc: Likewise.
391*1424dfb3Schristos	* scripttempl/elfd30v.sc: Likewise.
392*1424dfb3Schristos	* scripttempl/elfm68hc11.sc: Likewise.
393*1424dfb3Schristos	* scripttempl/elfm68hc12.sc: Likewise.
394*1424dfb3Schristos	* scripttempl/elfmicroblaze.sc: Likewise.
395*1424dfb3Schristos	* scripttempl/elfxtensa.sc: Likewise.
396*1424dfb3Schristos	* scripttempl/iq2000.sc: Likewise.
397*1424dfb3Schristos	* scripttempl/mep.sc: Likewise.
398*1424dfb3Schristos	* scripttempl/xstormy16.sc: Likewise.
399*1424dfb3Schristos
400*1424dfb3Schristos2009-09-27  Christopher Faylor  <me+cygwin@cgf.cx>
401*1424dfb3Schristos
402*1424dfb3Schristos	PR ld/10634
403*1424dfb3Schristos	* ldlang.c (lang_size_sections_1): Always force output vma to zero for
404*1424dfb3Schristos	relocatable sections.
405*1424dfb3Schristos	(lang_size_sections_1): Revert previous COFF-only accommodation for
406*1424dfb3Schristos	relocatable sections.
407*1424dfb3Schristos
408*1424dfb3Schristos2009-09-25  Martin Thuresson  <martint@google.com>
409*1424dfb3Schristos
410*1424dfb3Schristos	Update sources to make arm targets compile cleanly with
411*1424dfb3Schristos	-Wc++-compat:
412*1424dfb3Schristos	* emultempl/armelf.em: Add casts.
413*1424dfb3Schristos
414*1424dfb3Schristos2009-09-23  Matt Rice  <ratmice@gmail.com>
415*1424dfb3Schristos
416*1424dfb3Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
417*1424dfb3Schristos	--depaudit, and -P options.
418*1424dfb3Schristos	(gld${EULATION_NAME}_handle_options): Ditto.
419*1424dfb3Schristos	(gld${EULATION_NAME}_list_options): Ditto.
420*1424dfb3Schristos	(gld${EMULATION_NAME}_append_to_separated_string): New function for
421*1424dfb3Schristos	handling rpath-like colon separated strings.
422*1424dfb3Schristos	(gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
423*1424dfb3Schristos	libs to bfd.  Propagate DT_AUDIT from needed libs to depaudit.
424*1424dfb3Schristos	* ld.texinfo: Document new options.
425*1424dfb3Schristos
426*1424dfb3Schristos2009-09-23  Nick Clifton  <nickc@redhat.com>
427*1424dfb3Schristos
428*1424dfb3Schristos	* po/vi.po: Updated Vietnamese translation.
429*1424dfb3Schristos
430*1424dfb3Schristos2009-09-22  Alan Modra  <amodra@bigpond.net.au>
431*1424dfb3Schristos
432*1424dfb3Schristos	* scripttempl/a29k.sc: Delete.
433*1424dfb3Schristos	* scripttempl/ebmon29k.sc: Delete.
434*1424dfb3Schristos	* scripttempl/m68klynx.sc: Delete.
435*1424dfb3Schristos	* scripttempl/sa29200.sc: Delete.
436*1424dfb3Schristos	* scripttempl/sparclynx.sc: Delete.
437*1424dfb3Schristos
438*1424dfb3Schristos2009-09-21  Alan Modra  <amodra@bigpond.net.au>
439*1424dfb3Schristos
440*1424dfb3Schristos	* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
441*1424dfb3Schristos	(ppc_before_allocation): Pass to ppc_elf_tls_setup.
442*1424dfb3Schristos	(OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
443*1424dfb3Schristos	terms of previous option.
444*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
445*1424dfb3Schristos	--no-tls-get-addr-optimize.
446*1424dfb3Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle it.
447*1424dfb3Schristos	* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
448*1424dfb3Schristos	(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
449*1424dfb3Schristos	(OPTION_NO_TLS_GET_ADDR_OPT): Define.
450*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
451*1424dfb3Schristos	--no-tls-get-addr-optimize.
452*1424dfb3Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle it.
453*1424dfb3Schristos
454*1424dfb3Schristos2009-09-18  Nick Clifton  <nickc@redhat.com>
455*1424dfb3Schristos
456*1424dfb3Schristos	* po/es.po: Updated Spanish translation.
457*1424dfb3Schristos
458*1424dfb3Schristos2009-09-13  Alan Modra  <amodra@bigpond.net.au>
459*1424dfb3Schristos
460*1424dfb3Schristos	PR ld/6766
461*1424dfb3Schristos	* lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
462*1424dfb3Schristos	* ldemul.c (after_parse_default): Add entry symbol as undef.
463*1424dfb3Schristos	* emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
464*1424dfb3Schristos	* emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
465*1424dfb3Schristos	* emultempl/crxelf.em (crxelf_after_parse): Likewise.
466*1424dfb3Schristos	* emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
467*1424dfb3Schristos	* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
468*1424dfb3Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
469*1424dfb3Schristos	after_parse_default and delete now duplicate code.
470*1424dfb3Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
471*1424dfb3Schristos	* scripttempl/elf32cr16.sc: No need to make entry extern.
472*1424dfb3Schristos	* scripttempl/elf32cr16c.sc: Likewise.
473*1424dfb3Schristos	* scripttempl/elf32crx.sc: Likewise.
474*1424dfb3Schristos	* scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
475*1424dfb3Schristos
476*1424dfb3Schristos2009-09-11  Nick Clifton  <nickc@redhat.com>
477*1424dfb3Schristos
478*1424dfb3Schristos	* po/ld.pot: Updated by the Translation project.
479*1424dfb3Schristos	* po/fi.po: Updated Finnish translation.
480*1424dfb3Schristos
481*1424dfb3Schristos2009-09-11  Martin Thuresson  <martint@google.com>
482*1424dfb3Schristos
483*1424dfb3Schristos	Updated sources to compile cleanly with -Wc++-compat:
484*1424dfb3Schristos	* ld.h (enum endian_enum,enum symbolic_enum,enum
485*1424dfb3Schristos	dynamic_list_enum): Move to top level.
486*1424dfb3Schristos	* ldcref.c: Add casts.
487*1424dfb3Schristos	* ldctor.c: Add casts.
488*1424dfb3Schristos	* ldexp.c
489*1424dfb3Schristos	* ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
490*1424dfb3Schristos	* ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
491*1424dfb3Schristos	of integer.
492*1424dfb3Schristos	* ldlang.h (enum statement_enum): Move to top level.
493*1424dfb3Schristos	* ldmain.c: Add casts.
494*1424dfb3Schristos	* ldwrite.c: Add casts.
495*1424dfb3Schristos	* lexsup.c: Add casts. (enum control_enum): Move to top level.
496*1424dfb3Schristos	* mri.c: Add casts. (mri_draw_tree): Use enum name instead of
497*1424dfb3Schristos	integer.
498*1424dfb3Schristos
499*1424dfb3Schristos2009-09-09  Alan Modra  <amodra@bigpond.net.au>
500*1424dfb3Schristos
501*1424dfb3Schristos	* scripttempl/aix.sc: Only provide ENTRY on final link.
502*1424dfb3Schristos	* scripttempl/alpha.sc: Likewise.
503*1424dfb3Schristos	* scripttempl/armcoff.sc: Likewise.
504*1424dfb3Schristos	* scripttempl/crisaout.sc: Likewise.
505*1424dfb3Schristos	* scripttempl/delta68.sc: Likewise.
506*1424dfb3Schristos	* scripttempl/ebmon29k.sc: Likewise.
507*1424dfb3Schristos	* scripttempl/elf32xc16x.sc: Likewise.
508*1424dfb3Schristos	* scripttempl/elf32xc16xl.sc: Likewise.
509*1424dfb3Schristos	* scripttempl/elfmicroblaze.sc: Likewise.
510*1424dfb3Schristos	* scripttempl/epocpe.sc: Likewise.
511*1424dfb3Schristos	* scripttempl/h8300.sc: Likewise.
512*1424dfb3Schristos	* scripttempl/h8300h.sc: Likewise.
513*1424dfb3Schristos	* scripttempl/h8300hn.sc: Likewise.
514*1424dfb3Schristos	* scripttempl/h8300s.sc: Likewise.
515*1424dfb3Schristos	* scripttempl/h8300sn.sc: Likewise.
516*1424dfb3Schristos	* scripttempl/h8300sx.sc: Likewise.
517*1424dfb3Schristos	* scripttempl/h8300sxn.sc: Likewise.
518*1424dfb3Schristos	* scripttempl/hppaelf.sc: Likewise.
519*1424dfb3Schristos	* scripttempl/i386beos.sc: Likewise.
520*1424dfb3Schristos	* scripttempl/i386coff.sc: Likewise.
521*1424dfb3Schristos	* scripttempl/i386go32.sc: Likewise.
522*1424dfb3Schristos	* scripttempl/m68kaux.sc: Likewise.
523*1424dfb3Schristos	* scripttempl/m68klynx.sc: Likewise.
524*1424dfb3Schristos	* scripttempl/m88kbcs.sc: Likewise.
525*1424dfb3Schristos	* scripttempl/maxqcoff.sc: Likewise.
526*1424dfb3Schristos	* scripttempl/mcorepe.sc: Likewise.
527*1424dfb3Schristos	* scripttempl/mips.sc: Likewise.
528*1424dfb3Schristos	* scripttempl/ppcpe.sc: Likewise.
529*1424dfb3Schristos	* scripttempl/sa29200.sc: Likewise.
530*1424dfb3Schristos	* scripttempl/sparccoff.sc: Likewise.
531*1424dfb3Schristos	* scripttempl/sparclynx.sc: Likewise.
532*1424dfb3Schristos	* scripttempl/tic4xcoff.sc: Likewise.
533*1424dfb3Schristos	* scripttempl/tic54xcoff.sc: Likewise.
534*1424dfb3Schristos	* scripttempl/tic80coff.sc: Likewise.
535*1424dfb3Schristos	* scripttempl/z8000.sc: Likewise.
536*1424dfb3Schristos
537*1424dfb3Schristos2009-09-07  Tristan Gingold  <gingold@adacore.com>
538*1424dfb3Schristos
539*1424dfb3Schristos	* po/ld.pot: Regenerate.
540*1424dfb3Schristos
541*1424dfb3Schristos2009-09-05  Martin Thuresson  <martin@mtme.org>
542*1424dfb3Schristos
543*1424dfb3Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
544*1424dfb3Schristos	gld${EMULATION_NAME}_try_needed): Rename variable class to
545*1424dfb3Schristos	link_class.
546*1424dfb3Schristos
547*1424dfb3Schristos2009-09-04  Tristan Gingold  <gingold@adacore.com>
548*1424dfb3Schristos
549*1424dfb3Schristos	* NEWS: Add marker for 2.20.
550*1424dfb3Schristos
551*1424dfb3Schristos2009-09-04  Alan Modra  <amodra@bigpond.net.au>
552*1424dfb3Schristos
553*1424dfb3Schristos	* scripttempl/elf.sc (.text): Add cold text sections.
554*1424dfb3Schristos
555*1424dfb3Schristos2009-09-04  Jie Zhang  <jie.zhang@analog.com>
556*1424dfb3Schristos
557*1424dfb3Schristos	* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
558*1424dfb3Schristos	and .l2.data.
559*1424dfb3Schristos
560*1424dfb3Schristos2009-09-03  Dave Korn  <dave.korn.cygwin@gmail.com>
561*1424dfb3Schristos
562*1424dfb3Schristos	* scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
563*1424dfb3Schristos	new GCC hot/cold/unlikely partitions.
564*1424dfb3Schristos	* scripttempl/pep.sc: Likewise.
565*1424dfb3Schristos	* scripttempl/epocpe.sc: Likewise.
566*1424dfb3Schristos	* scripttempl/mcorepe.sc: Likewise.
567*1424dfb3Schristos	* scripttempl/ppcpe.sc: Likewise.
568*1424dfb3Schristos
569*1424dfb3Schristos2009-09-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
570*1424dfb3Schristos
571*1424dfb3Schristos	* Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
572*1424dfb3Schristos	source file name for generated files which may be in $(srcdir).
573*1424dfb3Schristos	* Makefile.in: Regenerate.
574*1424dfb3Schristos
575*1424dfb3Schristos2009-09-01  H.J. Lu  <hongjiu.lu@intel.com>
576*1424dfb3Schristos
577*1424dfb3Schristos	* ldver.c (ldversion): Change to "Copyright 2009".
578*1424dfb3Schristos
579*1424dfb3Schristos2009-09-01  Jie Zhang  <jie.zhang@analog.com>
580*1424dfb3Schristos
581*1424dfb3Schristos	* scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
582*1424dfb3Schristos	_stack and __bss_start.
583*1424dfb3Schristos	* emulparams/bfin.sh (ENTRY): Remove.
584*1424dfb3Schristos
585*1424dfb3Schristos2009-08-30  Alan Modra  <amodra@bigpond.net.au>
586*1424dfb3Schristos
587*1424dfb3Schristos	PR ld/10569
588*1424dfb3Schristos	* ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
589*1424dfb3Schristos	(fold_name <COMMONPAGESIZE>): Similarly.
590*1424dfb3Schristos	* ldlang.c (output_target): Make global.
591*1424dfb3Schristos	* ldlang.h (output_target): Declare.
592*1424dfb3Schristos	* ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
593*1424dfb3Schristos	Similarly for config.commonpagesize.
594*1424dfb3Schristos	* ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
595*1424dfb3Schristos	and bfd_emul_set_commonpagesize.
596*1424dfb3Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
597*1424dfb3Schristos	bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
598*1424dfb3Schristos
599*1424dfb3Schristos2009-08-29  Martin Thuresson  <martin@mtme.org>
600*1424dfb3Schristos
601*1424dfb3Schristos	* ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
602*1424dfb3Schristos	(exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
603*1424dfb3Schristos	to new_e.
604*1424dfb3Schristos	* ldfile.c (ldfile_add_library_path): Rename variable new to
605*1424dfb3Schristos	new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
606*1424dfb3Schristos	* ldlang.c (new_statement, lang_final, lang_add_wild)
607*1424dfb3Schristos	(lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
608*1424dfb3Schristos	(lang_add_insert): Rename variable new to new_stmt. (new_afile):
609*1424dfb3Schristos	Added missing cast. (lang_memory_region_lookup): Rename variable
610*1424dfb3Schristos	new to new_region. (init_os): Rename variable new to
611*1424dfb3Schristos	new_userdata. (lang_add_section): Rename variable new to
612*1424dfb3Schristos	new_section. (ldlang_add_undef): Rename variable new to
613*1424dfb3Schristos	new_undef. (realsymbol): Rename variable new to new_name.
614*1424dfb3Schristos
615*1424dfb3Schristos2009-08-26  Nick Clifton  <nickc@redhat.com>
616*1424dfb3Schristos
617*1424dfb3Schristos	PR ld/10555
618*1424dfb3Schristos	* emultempl/elf32.em (_after_open): Do not create a
619*1424dfb3Schristos	.note.gnu-build-id section if there are no input files.
620*1424dfb3Schristos
621*1424dfb3Schristos2009-08-24  Nick Clifton  <nickc@redhat.com>
622*1424dfb3Schristos
623*1424dfb3Schristos	* scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
624*1424dfb3Schristos	.gnu.lto_ prefix.
625*1424dfb3Schristos	* scripttempl/armbpabi.sc: Likewise.
626*1424dfb3Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
627*1424dfb3Schristos	* scripttempl/elf64hppa.sc: Likewise.
628*1424dfb3Schristos	* scripttempl/mep.sc: Likewise.
629*1424dfb3Schristos
630*1424dfb3Schristos2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
631*1424dfb3Schristos
632*1424dfb3Schristos	* Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
633*1424dfb3Schristos	rules.
634*1424dfb3Schristos	(eelf32_spu.o): Add dependency tracking.
635*1424dfb3Schristos	* Makefile.in: Regenerate.
636*1424dfb3Schristos
637*1424dfb3Schristos	* Makefile.am (am__skiplex, am__skipyacc): New.
638*1424dfb3Schristos	* Makefile.in: Regenerate.
639*1424dfb3Schristos
640*1424dfb3Schristos2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
641*1424dfb3Schristos
642*1424dfb3Schristos	* Makefile.am (bin_PROGRAMS): Renamed from ...
643*1424dfb3Schristos	(noinst_PROGRAMS): ... this.
644*1424dfb3Schristos	(transform): Override, including the renaming of ld-new to ld.
645*1424dfb3Schristos	(install-exec-local): Installation of ld in $(bindir) not needed
646*1424dfb3Schristos	here any more.
647*1424dfb3Schristos	(AM_CPPFLAGS): Renamed from ...
648*1424dfb3Schristos	(INCLUDES): ... this.
649*1424dfb3Schristos	(MAINTAINERCLEANFILES): Add ld.1.
650*1424dfb3Schristos	* Makefile.in: Regenerate.
651*1424dfb3Schristos
652*1424dfb3Schristos	* Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus.  Add
653*1424dfb3Schristos	no-texinfo.tex, no-dist, foreign.
654*1424dfb3Schristos	(TEXINFO_TEX): New variable.
655*1424dfb3Schristos	(install-data-local): Removed, not needed any more.
656*1424dfb3Schristos	(all): Dependencies upon info and ld.1 not needed any more.
657*1424dfb3Schristos	(MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
658*1424dfb3Schristos	(mkdep generated section): Removed.
659*1424dfb3Schristos	(ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
660*1424dfb3Schristos	use automake dependency tracking mechanism.
661*1424dfb3Schristos	(EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
662*1424dfb3Schristos	$(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
663*1424dfb3Schristos	dependencies are tracked too.
664*1424dfb3Schristos	(BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
665*1424dfb3Schristos	are built early.
666*1424dfb3Schristos	* configure.in: Use AM_MAINTAINER_MODE.
667*1424dfb3Schristos	* aclocal.m4, configure, Makefile.in: Regenerate.
668*1424dfb3Schristos
669*1424dfb3Schristos	* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
670*1424dfb3Schristos	(install-pdf-recursive, html__strip_dir, install-html)
671*1424dfb3Schristos	(install-html-am, install-html-recursive): Remove.
672*1424dfb3Schristos	* Makefile.in: Regenerate.
673*1424dfb3Schristos
674*1424dfb3Schristos	* Makefile.in: Regenerate.
675*1424dfb3Schristos	* aclocal.m4: Likewise.
676*1424dfb3Schristos	* config.in: Likewise.
677*1424dfb3Schristos	* configure: Likewise.
678*1424dfb3Schristos
679*1424dfb3Schristos2009-08-21  Richard Guenther  <rguenther@suse.de>
680*1424dfb3Schristos
681*1424dfb3Schristos	* scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
682*1424dfb3Schristos
683*1424dfb3Schristos2009-08-12  Tristan Gingold  <gingold@adacore.com>
684*1424dfb3Schristos
685*1424dfb3Schristos	* ld.h (fat_user_section_struct): Add map_symbol_def_count field.
686*1424dfb3Schristos	* ldlang.c (hash_entry_addr_cmp): New function.
687*1424dfb3Schristos	(print_all_symbols): Sort the symbols by address before printing them.
688*1424dfb3Schristos
689*1424dfb3Schristos2009-08-10  Alan Modra  <amodra@bigpond.net.au>
690*1424dfb3Schristos
691*1424dfb3Schristos	PR 10474
692*1424dfb3Schristos	* ldemul.c (after_allocation_default): Run lang_relax_sections.
693*1424dfb3Schristos	* ldlang.h (lang_relax_sections): Declare.
694*1424dfb3Schristos	* ldlang.c (relax_sections): Delete.
695*1424dfb3Schristos	(lang_relax_sections): New function.
696*1424dfb3Schristos	(lang_process): Don't relax directly from here.
697*1424dfb3Schristos	* emultempl/alphaelf.em (alpha_finish): Call finish_default.
698*1424dfb3Schristos	* emultempl/armelf.em (arm_elf_after_allocation): Delete.  Move body..
699*1424dfb3Schristos	(gld${EMULATION_NAME}_finish): ..to here.  Move existing code..
700*1424dfb3Schristos	(gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
701*1424dfb3Schristos	(LDEMUL_AFTER_ALLOCATION): Update.
702*1424dfb3Schristos	* emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
703*1424dfb3Schristos	(avr_elf_after_allocation): New function.
704*1424dfb3Schristos	(LDEMUL_AFTER_ALLOCATION): Define.
705*1424dfb3Schristos	* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
706*1424dfb3Schristos	lang_relax_sections.
707*1424dfb3Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete.  Move..
708*1424dfb3Schristos	(gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
709*1424dfb3Schristos	(LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
710*1424dfb3Schristos	* emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
711*1424dfb3Schristos	(gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
712*1424dfb3Schristos	(LDEMUL_FINISH): Delete.
713*1424dfb3Schristos	(LDEMUL_AFTER_ALLOCATION): Define.
714*1424dfb3Schristos	* emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
715*1424dfb3Schristos	(gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
716*1424dfb3Schristos	(LDEMUL_FINISH): Delete.
717*1424dfb3Schristos	(LDEMUL_AFTER_ALLOCATION): Define.
718*1424dfb3Schristos	* emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete.  Move..
719*1424dfb3Schristos	(m68hc11elf_after_allocation): ..to here.  New function.
720*1424dfb3Schristos	(LDEMUL_FINISH): Delete.
721*1424dfb3Schristos	(LDEMUL_AFTER_ALLOCATION): Define.
722*1424dfb3Schristos	* emultempl/m68kelf.em (m68k_elf_after_allocation): Call
723*1424dfb3Schristos	gld${EMULATION_NAME}_after_allocation.
724*1424dfb3Schristos	* emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
725*1424dfb3Schristos	gld${EMULATION_NAME}_after_allocation.
726*1424dfb3Schristos	* emultempl/mmo.em (mmo_finish): Delete.  Move body..
727*1424dfb3Schristos	(gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
728*1424dfb3Schristos	(LDEMUL_FINISH): Define.
729*1424dfb3Schristos	* emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
730*1424dfb3Schristos	(gld${EMULATION_NAME}_finish): Move code sizing sections..
731*1424dfb3Schristos	(gld${EMULATION_NAME}_after_allocation): ..to here.
732*1424dfb3Schristos	* emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
733*1424dfb3Schristos	Call gld${EMULATION_NAME}_after_allocation.
734*1424dfb3Schristos	* emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
735*1424dfb3Schristos	bfd_elf_discard_info and map_segments call.
736*1424dfb3Schristos
737*1424dfb3Schristos2009-08-06  Michael Eager <eager@eagercon.com>
738*1424dfb3Schristos
739*1424dfb3Schristos	* Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
740*1424dfb3Schristos	ALL_EMULATIONS, targets.
741*1424dfb3Schristos	* Makefile.in: Regenerate.
742*1424dfb3Schristos	* configure.tgt: Add microblaze*-linux*, microblaze* targets.
743*1424dfb3Schristos	* emulparams/elf32mb_linux.sh: New.
744*1424dfb3Schristos	* emulparams/elf32microblaze.sh. New.
745*1424dfb3Schristos	* scripttempl/elfmicroblaze.sc: New.
746*1424dfb3Schristos
747*1424dfb3Schristos2009-08-05  Trevor Smigiel  <Trevor_Smigiel@playstation.sony.com>
748*1424dfb3Schristos
749*1424dfb3Schristos	* emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
750*1424dfb3Schristos	section and __fixup_start symbol.
751*1424dfb3Schristos	* emultempl/spuelf.em (params): Initialize emit_fixups member.
752*1424dfb3Schristos	(spu_before_allocation): Call spu_elf_size_sections.
753*1424dfb3Schristos	(OPTION_SPU_EMIT_FIXUPS): Define.
754*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
755*1424dfb3Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
756*1424dfb3Schristos	* ld.texinfo (--emit-fixups): Document.
757*1424dfb3Schristos
758*1424dfb3Schristos2009-08-04  Alan Modra  <amodra@bigpond.net.au>
759*1424dfb3Schristos
760*1424dfb3Schristos	PR 10474
761*1424dfb3Schristos	* emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
762*1424dfb3Schristos	not size, after lang_reset_memory_regions.
763*1424dfb3Schristos
764*1424dfb3Schristos2009-07-30  Alan Modra  <amodra@bigpond.net.au>
765*1424dfb3Schristos
766*1424dfb3Schristos	* emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
767*1424dfb3Schristos	* emulparams/elf_i386.sh (IREL_IN_PLT): Define.
768*1424dfb3Schristos	* emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
769*1424dfb3Schristos	* scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
770*1424dfb3Schristos	when !IREL_IN_PLT.
771*1424dfb3Schristos
772*1424dfb3Schristos2009-07-29  Hans-Peter Nilsson  <hp@bitrange.com>
773*1424dfb3Schristos
774*1424dfb3Schristos	* scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
775*1424dfb3Schristos	the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
776*1424dfb3Schristos	(OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
777*1424dfb3Schristos	(ENTRY): Don't emit for relocateable links.
778*1424dfb3Schristos	(/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
779*1424dfb3Schristos	* emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
780*1424dfb3Schristos	elf64-mmix.
781*1424dfb3Schristos	* emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
782*1424dfb3Schristos	provide "Main" or set "_start.", for relocateable links.
783*1424dfb3Schristos
784*1424dfb3Schristos2009-07-27  Nick Clifton  <nickc@redhat.com>
785*1424dfb3Schristos
786*1424dfb3Schristos	* (po/fi.po): Updated Finnish translation.
787*1424dfb3Schristos
788*1424dfb3Schristos2009-07-25  H.J. Lu  <hongjiu.lu@intel.com>
789*1424dfb3Schristos
790*1424dfb3Schristos	* configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
791*1424dfb3Schristos	is supported.  Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
792*1424dfb3Schristos	(targ_extra_emuls): Likewise.
793*1424dfb3Schristos
794*1424dfb3Schristos	* Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
795*1424dfb3Schristos	eelf_l1om_fbsd.o
796*1424dfb3Schristos	(eelf_l1om.c): New.
797*1424dfb3Schristos	(eelf_l1om_fbsd.c): Likewise.
798*1424dfb3Schristos	* Makefile.in: Regenerated.
799*1424dfb3Schristos
800*1424dfb3Schristos	* emulparams/elf_l1om.sh: New.
801*1424dfb3Schristos	* emulparams/elf_l1om_fbsd.sh: Likewise.
802*1424dfb3Schristos
803*1424dfb3Schristos2009-07-23  Ulrich Drepper  <drepper@redhat.com>
804*1424dfb3Schristos
805*1424dfb3Schristos	* NEWS: Mention the linker's support for symbols with a binding of
806*1424dfb3Schristos	STB_GNU_UNIQUE.
807*1424dfb3Schristos
808*1424dfb3Schristos2009-07-22  H.J. Lu  <hongjiu.lu@intel.com>
809*1424dfb3Schristos
810*1424dfb3Schristos	PR ld/10429
811*1424dfb3Schristos	* ldlang.c (insert_os_after): Tie assignments to non-alloc
812*1424dfb3Schristos	output sections if there is no-input section.
813*1424dfb3Schristos
814*1424dfb3Schristos2009-07-11  Alan Modra  <amodra@bigpond.net.au>
815*1424dfb3Schristos
816*1424dfb3Schristos	* ldlang.c (insert_os_after): Don't tie assignments to non-alloc
817*1424dfb3Schristos	output sections.
818*1424dfb3Schristos
819*1424dfb3Schristos2009-07-10  Alan Modra  <amodra@bigpond.net.au>
820*1424dfb3Schristos
821*1424dfb3Schristos	* emultempl/ppc32elf.em (ppc_before_allocation): Turn on
822*1424dfb3Schristos	linker relaxation if it might be necessary.
823*1424dfb3Schristos
824*1424dfb3Schristos2009-07-10  Alan Modra  <amodra@bigpond.net.au>
825*1424dfb3Schristos
826*1424dfb3Schristos	* emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
827*1424dfb3Schristos
828*1424dfb3Schristos2009-07-06  Matthias Klose <doko@ubuntu.com>
829*1424dfb3Schristos
830*1424dfb3Schristos	* ld.texinfo: Fix typo.
831*1424dfb3Schristos
832*1424dfb3Schristos2009-07-03  Tristan Gingold  <gingold@adacore.com>
833*1424dfb3Schristos
834*1424dfb3Schristos	* scripttempl/pep.sc: Put .eh_frame in its own section.
835*1424dfb3Schristos	* scripttempl/pe.sc: Ditto.
836*1424dfb3Schristos
837*1424dfb3Schristos2009-06-26  Kai Tietz  <kai.tietz@onevision.com>
838*1424dfb3Schristos
839*1424dfb3Schristos	* scripttempl/pe.sc (.debug_pubtypes): Added section rule.
840*1424dfb3Schristos	* scripttempl/pep.sc: Likewise.
841*1424dfb3Schristos
842*1424dfb3Schristos2009-06-25  Tristan Gingold  <gingold@adacore.com>
843*1424dfb3Schristos
844*1424dfb3Schristos	* ldlang.c (print_input_section): Add is_discarded parameter.  Adjust
845*1424dfb3Schristos	prototype.
846*1424dfb3Schristos	(lang_map): Print the size of discarded sections.
847*1424dfb3Schristos	(print_statement): Adjust call to print_input_section.
848*1424dfb3Schristos
849*1424dfb3Schristos2009-06-18  Dave Korn  <dave.korn.cygwin@gmail.com>
850*1424dfb3Schristos
851*1424dfb3Schristos	Merge cegcc and mingw32ce target name changes from CeGCC project:
852*1424dfb3Schristos
853*1424dfb3Schristos	2008-09-24  Pedro Alves  <pedroalves@users.sourceforge.net>
854*1424dfb3Schristos
855*1424dfb3Schristos	* configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
856*1424dfb3Schristos	${tooldir}/lib/w32api.
857*1424dfb3Schristos
858*1424dfb3Schristos	2007-12-25  Pedro Alves  <pedro_alves@portugalmail.pt>
859*1424dfb3Schristos
860*1424dfb3Schristos	* configure.tgt: Add arm*-*-cegcc* target.
861*1424dfb3Schristos
862*1424dfb3Schristos	2007-12-17  Pedro Alves  <pedro_alves@portugalmail.pt>
863*1424dfb3Schristos
864*1424dfb3Schristos	* configure.tgt: Add arm-*-mingw32ce* target.
865*1424dfb3Schristos
866*1424dfb3Schristos2009-06-10  Philip Blundell  <philb@gnu.org>
867*1424dfb3Schristos
868*1424dfb3Schristos	* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
869*1424dfb3Schristos	if section has no ELF data.
870*1424dfb3Schristos
871*1424dfb3Schristos2009-06-06  H.J. Lu  <hongjiu.lu@intel.com>
872*1424dfb3Schristos
873*1424dfb3Schristos	* scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
874*1424dfb3Schristos
875*1424dfb3Schristos2009-06-05  H.J. Lu  <hongjiu.lu@intel.com>
876*1424dfb3Schristos
877*1424dfb3Schristos	* scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
878*1424dfb3Schristos
879*1424dfb3Schristos2009-06-04  Alan Modra  <amodra@bigpond.net.au>
880*1424dfb3Schristos
881*1424dfb3Schristos	* dep-in.sed: Don't use \n in replacement part of s command.
882*1424dfb3Schristos	* Makefile.am (DEP1): LC_ALL for uniq.
883*1424dfb3Schristos	* Makefile.in: Regenerate.
884*1424dfb3Schristos
885*1424dfb3Schristos2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>
886*1424dfb3Schristos
887*1424dfb3Schristos	* scripttempl/elf.sc (PLT): Add "*(.iplt)".
888*1424dfb3Schristos	(GOT): Add "*(.igot.plt)a" and "*(.igot)".
889*1424dfb3Schristos	(GOTPLT): Add "*(.igot)".
890*1424dfb3Schristos	(__rel_iplt_start): New.
891*1424dfb3Schristos	(__rel_iplt_end): Likewise.
892*1424dfb3Schristos	(__rela_iplt_start): Likewise.
893*1424dfb3Schristos	(__rela_iplt_end): Likewise.
894*1424dfb3Schristos
895*1424dfb3Schristos2009-05-27  Dave Korn  <dave.korn.cygwin@gmail.com>
896*1424dfb3Schristos
897*1424dfb3Schristos	* deffilep.y (%union):  Add new string-type semantic value 'digits'.
898*1424dfb3Schristos	(%token):  Remove NUMBER as token, add DIGITS.
899*1424dfb3Schristos	(%type):  Add NUMBER as type.  Add new id types anylang_id, opt_id.
900*1424dfb3Schristos	(ALIGNCOMM):  Parse an anylang_id instead of a plain ID.
901*1424dfb3Schristos	(anylang_id):  New production.
902*1424dfb3Schristos	(opt_digits):  Likewise.
903*1424dfb3Schristos	(opt_id):  Likewise.
904*1424dfb3Schristos	(NUMBER):  Likewise.
905*1424dfb3Schristos	(def_lex):  Return strings of digits in raw string form as DIGITS
906*1424dfb3Schristos	token, instead of converting to numeric integer type.
907*1424dfb3Schristos
908*1424dfb3Schristos2009-05-26  Nathan Sidwell  <nathan@codesourcery.com>
909*1424dfb3Schristos
910*1424dfb3Schristos	* ldmain.c (main): Don't reject --relax -r.
911*1424dfb3Schristos	* ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
912*1424dfb3Schristos	partial links.
913*1424dfb3Schristos
914*1424dfb3Schristos2009-05-26  Nick Clifton  <nickc@redhat.com>
915*1424dfb3Schristos
916*1424dfb3Schristos	* po/id.po: Updated Indonesian translation.
917*1424dfb3Schristos	* po/ld.pot: Updated template file.
918*1424dfb3Schristos
919*1424dfb3Schristos2009-05-26  Alan Modra  <amodra@bigpond.net.au>
920*1424dfb3Schristos
921*1424dfb3Schristos	* dep-in.sed: Output one filename per line with all lines having
922*1424dfb3Schristos	continuation backslash.  Prefix first line with "A", following
923*1424dfb3Schristos	lines with "B".
924*1424dfb3Schristos	* Makefile.am (DEP): Don't use dep.sed here.
925*1424dfb3Schristos	(DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
926*1424dfb3Schristos	sort and uniq.
927*1424dfb3Schristos	* Makefile.in: Regenerate.
928*1424dfb3Schristos
929*1424dfb3Schristos2009-05-26  Alan Modra  <amodra@bigpond.net.au>
930*1424dfb3Schristos
931*1424dfb3Schristos	* ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
932*1424dfb3Schristos
933*1424dfb3Schristos2009-05-22  Julian Brown  <julian@codesourcery.com>
934*1424dfb3Schristos
935*1424dfb3Schristos	* emultempl/armelf.em (fix_cortex_a8): New.
936*1424dfb3Schristos	(arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
937*1424dfb3Schristos	(arm_elf_create_output_section_statements): Add fix_cortex_a8 to
938*1424dfb3Schristos	bfd_elf32_arm_set_target_relocs.
939*1424dfb3Schristos	(OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
940*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
941*1424dfb3Schristos	(PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
942*1424dfb3Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
943*1424dfb3Schristos	* ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
944*1424dfb3Schristos
945*1424dfb3Schristos2009-05-22  Nathan Sidwell  <nathan@codesourcery.com>
946*1424dfb3Schristos
947*1424dfb3Schristos	* ldlang.c (lang_check_section_addresses): Ignore non-loadable
948*1424dfb3Schristos	sections when checking for overlap.  Clarify error message
949*1424dfb3Schristos	concerns load address.
950*1424dfb3Schristos
951*1424dfb3Schristos2009-05-22  Alan Modra  <amodra@bigpond.net.au>
952*1424dfb3Schristos
953*1424dfb3Schristos	* Makefile.am: Run "make dep-am".
954*1424dfb3Schristos	* Makefile.in: Regenerate.
955*1424dfb3Schristos
956*1424dfb3Schristos2009-05-19  Dave Korn  <dave.korn.cygwin@gmail.com>
957*1424dfb3Schristos
958*1424dfb3Schristos	* NEWS:  Mention new feature.
959*1424dfb3Schristos	* deffile.h (def_file_aligncomm):  Add new struct definition.
960*1424dfb3Schristos	(def_file):  Add new def_file_aligncomm member.
961*1424dfb3Schristos	* deffilep.y (%token):  Add new ALIGNCOMM token.
962*1424dfb3Schristos	(command):  Add production rule for ALIGNCOMM.
963*1424dfb3Schristos	(def_file_free):  Free any chained def_file_aligncomm structs.
964*1424dfb3Schristos	(diropts[]):  Add entry for '-aligncomm' .drectve command.
965*1424dfb3Schristos	(def_aligncomm):  New grammar function.
966*1424dfb3Schristos	* ld.texinfo:  Document new feature.
967*1424dfb3Schristos	* pe-dll.c (process_def_file):  Rename from this ...
968*1424dfb3Schristos	(process_def_file_and_drectve):  ... to this, updating all callers,
969*1424dfb3Schristos	and process any aligncomms chained to the def file after scanning
970*1424dfb3Schristos	all .drectve sections.
971*1424dfb3Schristos	(generate_edata):  Updated to match.
972*1424dfb3Schristos	(pe_dll_build_sections):  Likewise.
973*1424dfb3Schristos
974*1424dfb3Schristos2009-05-17  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
975*1424dfb3Schristos
976*1424dfb3Schristos	* pe-dll.c (process_def_file): Do not create empty export table.
977*1424dfb3Schristos
978*1424dfb3Schristos2009-05-15  Alan Modra  <amodra@bigpond.net.au>
979*1424dfb3Schristos
980*1424dfb3Schristos	* ldlang.c (lang_output_section_statement_lookup): Add function
981*1424dfb3Schristos	comment.  Make "name" non-const.  Ensure duplicate entries use
982*1424dfb3Schristos	the same string, allowing simple comparison in hash bucket loop.
983*1424dfb3Schristos	Tweak constraint check.
984*1424dfb3Schristos	(next_matching_output_section_statement): New function.
985*1424dfb3Schristos	* ldlang.h (lang_output_section_statement_lookup): Update.
986*1424dfb3Schristos	(next_matching_output_section_statement): Declare.
987*1424dfb3Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
988*1424dfb3Schristos	combine orphan sections when input sections flags differ in
989*1424dfb3Schristos	alloc or load.
990*1424dfb3Schristos	* emultempl/pe.em: Formatting throughout.
991*1424dfb3Schristos	(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
992*1424dfb3Schristos	* emultempl/pep.em: Formatting throughout.
993*1424dfb3Schristos	(gld${EMULATION_NAME}_place_orphan): As for elf32.em.
994*1424dfb3Schristos
995*1424dfb3Schristos2009-05-14  Ulrich Weigand  <uweigand@de.ibm.com>
996*1424dfb3Schristos
997*1424dfb3Schristos	* emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
998*1424dfb3Schristos	compact stubs with software i-cache.
999*1424dfb3Schristos
1000*1424dfb3Schristos2009-05-14  Alan Modra  <amodra@bigpond.net.au>
1001*1424dfb3Schristos
1002*1424dfb3Schristos	* emultempl/spuelf.em (spu_before_allocation): Call
1003*1424dfb3Schristos	spu_elf_place_overlay_data.
1004*1424dfb3Schristos
1005*1424dfb3Schristos2009-05-14  Alan Modra  <amodra@bigpond.net.au>
1006*1424dfb3Schristos
1007*1424dfb3Schristos	* ldlang.c (lang_insert_orphan): Add __start_<section> symbol
1008*1424dfb3Schristos	assignment inside output section statement.  Ensure only one
1009*1424dfb3Schristos	set of symbols per output section.
1010*1424dfb3Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
1011*1424dfb3Schristos	dollar sections before dollar sections.  Correct add_child
1012*1424dfb3Schristos	list insertion.
1013*1424dfb3Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
1014*1424dfb3Schristos
1015*1424dfb3Schristos2009-05-05  Paul Brook  <paul@codesourcery.com>
1016*1424dfb3Schristos
1017*1424dfb3Schristos	* emultempl/armelf.em (compare_output_sec_vma): New function.
1018*1424dfb3Schristos	(gld${EMULATION_NAME}_finish): Add exidx munging code.
1019*1424dfb3Schristos
1020*1424dfb3Schristos2009-05-05  Anatoly Sokolov  <aesok@post.ru>
1021*1424dfb3Schristos
1022*1424dfb3Schristos	* scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
1023*1424dfb3Schristos	* emulparams/avr1.sh (DATA_ORIGIN): Add.
1024*1424dfb3Schristos	* emulparams/avr2.sh (DATA_ORIGIN): Add.
1025*1424dfb3Schristos	* emulparams/avr25.sh (DATA_ORIGIN): Add.
1026*1424dfb3Schristos	* emulparams/avr3.sh (DATA_ORIGIN): Add.
1027*1424dfb3Schristos	* emulparams/avr31.sh (DATA_ORIGIN): Add.
1028*1424dfb3Schristos	* emulparams/avr35.sh (DATA_ORIGIN): Add.
1029*1424dfb3Schristos	* emulparams/avr4.sh (DATA_ORIGIN): Add.
1030*1424dfb3Schristos	* emulparams/avr5.sh (DATA_ORIGIN): Add.
1031*1424dfb3Schristos	* emulparams/avr51.sh (DATA_ORIGIN): Add.
1032*1424dfb3Schristos	(DATA_LENGTH): Update.
1033*1424dfb3Schristos	* emulparams/avr6.sh (DATA_ORIGIN): Add.
1034*1424dfb3Schristos	(DATA_LENGTH): Update.
1035*1424dfb3Schristos
1036*1424dfb3Schristos2009-05-04  Dave Korn  <dave.korn.cygwin@gmail.com>
1037*1424dfb3Schristos
1038*1424dfb3Schristos	* NEWS:  Mention new feature.
1039*1424dfb3Schristos	* ld.texinfo (--version-script):  Document extent of PE support.
1040*1424dfb3Schristos	(WIN32):  Mention --version-script.  Extend auto-export description.
1041*1424dfb3Schristos	* pe-dll.c (process_def_file):  Use version script info to filter
1042*1424dfb3Schristos	symbols from auto-export.
1043*1424dfb3Schristos	* testsuite/ld-pe/vers-script-1.d:  New file.
1044*1424dfb3Schristos	* testsuite/ld-pe/vers-script-2.d:  New file.
1045*1424dfb3Schristos	* testsuite/ld-pe/vers-script-3.d:  New file.
1046*1424dfb3Schristos	* testsuite/ld-pe/vers-script-4.d:  New file.
1047*1424dfb3Schristos	* testsuite/ld-pe/vers-script-1.ver:  New file.
1048*1424dfb3Schristos	* testsuite/ld-pe/vers-script-2.ver:  New file.
1049*1424dfb3Schristos	* testsuite/ld-pe/vers-script-3.ver:  New file.
1050*1424dfb3Schristos	* testsuite/ld-pe/vers-script-4.ver:  New file.
1051*1424dfb3Schristos	* testsuite/ld-pe/vers-script-dll.c:  New file.
1052*1424dfb3Schristos	* testsuite/ld-pe/vers-script.exp:  New test script.
1053*1424dfb3Schristos
1054*1424dfb3Schristos2009-05-01  Nathan Sidwell  <nathan@codesourcery.com>
1055*1424dfb3Schristos
1056*1424dfb3Schristos	* emulparams/vxworks.sh (TEXT_START_ADDR): Override.
1057*1424dfb3Schristos
1058*1424dfb3Schristos2009-04-30  Nick Clifton  <nickc@redhat.com>
1059*1424dfb3Schristos
1060*1424dfb3Schristos	* NEWS: Mention support for IFUNC symbols.
1061*1424dfb3Schristos
1062*1424dfb3Schristos2009-04-29  Anthony Green  <green@moxielogic.com>
1063*1424dfb3Schristos
1064*1424dfb3Schristos	* emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
1065*1424dfb3Schristos	position out to accommodate larger programs.
1066*1424dfb3Schristos
1067*1424dfb3Schristos2009-04-29  Chris Demetriou  <cgd@google.com>
1068*1424dfb3Schristos
1069*1424dfb3Schristos	* lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
1070*1424dfb3Schristos	(ld_options): Likewise.
1071*1424dfb3Schristos	(parse_args): Likewise.
1072*1424dfb3Schristos	* ld.texinfo: Document --no-export-dynamic.
1073*1424dfb3Schristos	* NEWS: Mention --no-export-dynamic.
1074*1424dfb3Schristos
1075*1424dfb3Schristos2009-04-29  Alan Modra  <amodra@bigpond.net.au>
1076*1424dfb3Schristos
1077*1424dfb3Schristos	* deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
1078*1424dfb3Schristos
1079*1424dfb3Schristos2009-04-25  Alan Modra  <amodra@bigpond.net.au>
1080*1424dfb3Schristos
1081*1424dfb3Schristos	PR 10061
1082*1424dfb3Schristos	* genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
1083*1424dfb3Schristos	param.
1084*1424dfb3Schristos
1085*1424dfb3Schristos2009-04-21  Daniel Jacobowitz  <dan@codesourcery.com>
1086*1424dfb3Schristos
1087*1424dfb3Schristos	* emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
1088*1424dfb3Schristos	(arm_elf_set_bfd_for_interworking): Delete.
1089*1424dfb3Schristos	(arm_elf_before_allocation): Do not set the interworking BFD.
1090*1424dfb3Schristos	Move allocation inside not-dynamic block.
1091*1424dfb3Schristos	(arm_elf_create_output_section_statements): Create glue sections
1092*1424dfb3Schristos	and set the interworking BFD here.
1093*1424dfb3Schristos	(LDEMUL_AFTER_OPEN): Delete.
1094*1424dfb3Schristos
1095*1424dfb3Schristos2009-04-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
1096*1424dfb3Schristos
1097*1424dfb3Schristos	* ldlang.c (lang_one_common): Use bfd_define_common_symbol.
1098*1424dfb3Schristos
1099*1424dfb3Schristos2009-04-15  Anthony Green  <green@moxielogic.com>
1100*1424dfb3Schristos
1101*1424dfb3Schristos	* configure.tgt: Add moxie support.
1102*1424dfb3Schristos	* Makefile.am: Add moxie files.
1103*1424dfb3Schristos	* Makefile.in: Rebuilt.
1104*1424dfb3Schristos	* emulparams/elf32moxie.sh: New file.
1105*1424dfb3Schristos	* scripttempl/moxie.sc: New file.
1106*1424dfb3Schristos
1107*1424dfb3Schristos2009-04-15  Kazu Hirata  <kazu@codesourcery.com>
1108*1424dfb3Schristos
1109*1424dfb3Schristos	* ldlang.c: Do not include limits.h.
1110*1424dfb3Schristos
1111*1424dfb3Schristos2009-04-14  Alan Modra  <amodra@bigpond.net.au>
1112*1424dfb3Schristos
1113*1424dfb3Schristos	PR ld/10047
1114*1424dfb3Schristos	* ldfile.c (find_scripts_dir): Use make_relative_prefix to find
1115*1424dfb3Schristos	ldscripts in build tree.  Don't repeat search for ../lib/ldscripts.
1116*1424dfb3Schristos
1117*1424dfb3Schristos2009-04-13  H.J. Lu  <hongjiu.lu@intel.com>
1118*1424dfb3Schristos
1119*1424dfb3Schristos	* ldfile.c (ldfile_find_command_file): Revert the last change.
1120*1424dfb3Schristos
1121*1424dfb3Schristos2009-04-11  H.J. Lu  <hongjiu.lu@intel.com>
1122*1424dfb3Schristos
1123*1424dfb3Schristos	PR ld/10047
1124*1424dfb3Schristos	* ldfile.c (ldfile_find_command_file): First try raw name.
1125*1424dfb3Schristos
1126*1424dfb3Schristos2009-04-09  Nick Clifton  <nickc@redhat.com>
1127*1424dfb3Schristos
1128*1424dfb3Schristos	PR 9824
1129*1424dfb3Schristos	* ld.texinfo (Output Section Constraint): New node.  Documents the
1130*1424dfb3Schristos	ONLY_IF_RO and ONLY_IF_RW constraints.
1131*1424dfb3Schristos	(Symbolic Constants): New node.  Documents the CONSTANT operator.
1132*1424dfb3Schristos
1133*1424dfb3Schristos2009-04-09  Thilo Fischer <thilo.fischer@uni-muenster.de>
1134*1424dfb3Schristos
1135*1424dfb3Schristos	* emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
1136*1424dfb3Schristos	of fork/execvp.
1137*1424dfb3Schristos
1138*1424dfb3Schristos2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>
1139*1424dfb3Schristos
1140*1424dfb3Schristos	* lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
1141*1424dfb3Schristos	(ld_options): Likewise.
1142*1424dfb3Schristos	(parse_args): Likewise.
1143*1424dfb3Schristos
1144*1424dfb3Schristos	* ld.texinfo: Document --warn-alternate-em.
1145*1424dfb3Schristos
1146*1424dfb3Schristos	* NEWS: Mention --warn-alternate-em.
1147*1424dfb3Schristos
1148*1424dfb3Schristos2009-04-07  DJ Delorie  <dj@redhat.com>
1149*1424dfb3Schristos
1150*1424dfb3Schristos	* emulparams/elf32mep.sh: Change default endian to little.
1151*1424dfb3Schristos
1152*1424dfb3Schristos2009-04-07  Nick Clifton  <nickc@redhat.com>
1153*1424dfb3Schristos
1154*1424dfb3Schristos	* ld.texinfo (Output Section Address): Note that specifying an
1155*1424dfb3Schristos	address for an output section will only change the location
1156*1424dfb3Schristos	counter if the output section is used.
1157*1424dfb3Schristos
1158*1424dfb3Schristos2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
1159*1424dfb3Schristos
1160*1424dfb3Schristos	* ldfile.c (ldfile_find_command_file): Initialize result.
1161*1424dfb3Schristos
1162*1424dfb3Schristos2009-04-06  Kazu Hirata  <kazu@codesourcery.com>
1163*1424dfb3Schristos
1164*1424dfb3Schristos	* ld.texinfo (-L): Mention that -L options do not affect how ld
1165*1424dfb3Schristos	searches for a linker script unless -T option is specified.
1166*1424dfb3Schristos	* ldfile.c (ldfile_find_command_file): Append the path obtained
1167*1424dfb3Schristos	from the program name to the search path instead of
1168*1424dfb3Schristos	prepending. Add a new parameter "default_only". Restrict the
1169*1424dfb3Schristos	search to the default script location if the new parameter is
1170*1424dfb3Schristos	true.
1171*1424dfb3Schristos	(ldfile_open_command_file_1): New.
1172*1424dfb3Schristos	(ldfile_open_command_file): Call ldfile_open_command_file_1.
1173*1424dfb3Schristos	(ldfile_open_default_command_file): New.
1174*1424dfb3Schristos
1175*1424dfb3Schristos2009-04-03  Nathan Sidwell  <nathan@codesourcery.com>
1176*1424dfb3Schristos
1177*1424dfb3Schristos	* ldlang.c (lang_leave_output_section_statement): Set lma_region
1178*1424dfb3Schristos	if it is not overridden and section is for the same vma region as
1179*1424dfb3Schristos	the previous section.
1180*1424dfb3Schristos
1181*1424dfb3Schristos2009-04-02  Dave Korn  <dave.korn.cygwin@gmail.com>
1182*1424dfb3Schristos
1183*1424dfb3Schristos	PR ld/6744
1184*1424dfb3Schristos	* ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
1185*1424dfb3Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
1186*1424dfb3Schristos	warning if --export-dynamic was passed on command-line.
1187*1424dfb3Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.
1188*1424dfb3Schristos
1189*1424dfb3Schristos2009-04-01  Richard Sandiford  <r.sandiford@uk.ibm.com>
1190*1424dfb3Schristos
1191*1424dfb3Schristos	* emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
1192*1424dfb3Schristos	function.
1193*1424dfb3Schristos	(ld_${EMULATION_NAME}_emulation): Use it.
1194*1424dfb3Schristos
1195*1424dfb3Schristos2009-03-20  H.J. Lu  <hongjiu.lu@intel.com>
1196*1424dfb3Schristos
1197*1424dfb3Schristos	PR ld/9970
1198*1424dfb3Schristos	* ldlang.c (lang_end): Warn missing entry symbol for -pie.
1199*1424dfb3Schristos
1200*1424dfb3Schristos2009-03-19  Alan Modra  <amodra@bigpond.net.au>
1201*1424dfb3Schristos
1202*1424dfb3Schristos	* emultempl/spuelf.em (spu_before_allocation): Report errors from
1203*1424dfb3Schristos	spu_elf_find_overlays.
1204*1424dfb3Schristos
1205*1424dfb3Schristos2009-03-18  H.J. Lu  <hongjiu.lu@intel.com>
1206*1424dfb3Schristos
1207*1424dfb3Schristos	PR ld/6766
1208*1424dfb3Schristos	* lexsup.c (parse_args): Call ldlang_add_undef for -e.
1209*1424dfb3Schristos
1210*1424dfb3Schristos2009-03-18  Alan Modra  <amodra@bigpond.net.au>
1211*1424dfb3Schristos
1212*1424dfb3Schristos	* ld.h: Remove alloca handling.
1213*1424dfb3Schristos
1214*1424dfb3Schristos2009-03-17  Alan Modra  <amodra@bigpond.net.au>
1215*1424dfb3Schristos
1216*1424dfb3Schristos	* emultempl/spu_icache.S: Add new entry to dummy handler.
1217*1424dfb3Schristos	* emultempl/spu_icache.o_c: Regenerate.
1218*1424dfb3Schristos	* emultempl/spuelf.em (params): Init new field.
1219*1424dfb3Schristos	(no_overlays): New static var.
1220*1424dfb3Schristos	(spu_before_allocation): Use it.
1221*1424dfb3Schristos	(OPTION_SPU_COMPACT_STUBS): Define.
1222*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
1223*1424dfb3Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs.  Adjust no-overlays
1224*1424dfb3Schristos	handling.
1225*1424dfb3Schristos
1226*1424dfb3Schristos2009-03-17  Alan Modra  <amodra@bigpond.net.au>
1227*1424dfb3Schristos
1228*1424dfb3Schristos	* configure.host (HOSTING_LIBS): Two dollars on shell variable
1229*1424dfb3Schristos	expansion to suit make.
1230*1424dfb3Schristos
1231*1424dfb3Schristos2009-03-17  Alan Modra  <amodra@bigpond.net.au>
1232*1424dfb3Schristos
1233*1424dfb3Schristos	* configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
1234*1424dfb3Schristos	* Makefile.am (check-DEJAGNU): Set DO_COMPARE.
1235*1424dfb3Schristos	* aclocal.m4: Regenerate.
1236*1424dfb3Schristos	* configure: Regenerate.
1237*1424dfb3Schristos	* Makefile.in: Regenerate.
1238*1424dfb3Schristos
1239*1424dfb3Schristos2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1240*1424dfb3Schristos
1241*1424dfb3Schristos	* emultempl/aix.em (auto_export_flags): New variable.
1242*1424dfb3Schristos	(explicit_auto_export_flags): Likewise.
1243*1424dfb3Schristos	(OPTION_EXPALL, OPTION_EXPFULL): New enum values.
1244*1424dfb3Schristos	(OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
1245*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
1246*1424dfb3Schristos	-bnoexpall and -bnoexpfull.
1247*1424dfb3Schristos	(gld${EMULATION_NAME}_handle_option): Handle them.
1248*1424dfb3Schristos	(gld${EMULATION_NAME}_before_allocation): Update the call to
1249*1424dfb3Schristos	bfd_size_dynamic_sections.
1250*1424dfb3Schristos
1251*1424dfb3Schristos2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1252*1424dfb3Schristos
1253*1424dfb3Schristos	* emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
1254*1424dfb3Schristos	-berok and -bernotok control link_info.unresolved_syms_in_objects
1255*1424dfb3Schristos	and link_info.unresolved_syms_in_shared_libs instead of
1256*1424dfb3Schristos	force_make_executable.
1257*1424dfb3Schristos
1258*1424dfb3Schristos2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1259*1424dfb3Schristos
1260*1424dfb3Schristos	* emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
1261*1424dfb3Schristos	config.dynamic_link to TRUE.
1262*1424dfb3Schristos
1263*1424dfb3Schristos2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1264*1424dfb3Schristos
1265*1424dfb3Schristos	* emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
1266*1424dfb3Schristos	.text, .data and .bss output sections as SEC_KEEP.
1267*1424dfb3Schristos
1268*1424dfb3Schristos2009-03-14  Richard Sandiford  <r.sandiford@uk.ibm.com>
1269*1424dfb3Schristos
1270*1424dfb3Schristos	* configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1271*1424dfb3Schristos
1272*1424dfb3Schristos2009-03-14  Dave Korn  <dave.korn.cygwin@gmail.com>
1273*1424dfb3Schristos	    Danny Smith  <dannysmith@users.sourceforge.net>
1274*1424dfb3Schristos
1275*1424dfb3Schristos	* emultmpl/pe.em (pe_dll_characteristics): New variable.
1276*1424dfb3Schristos	(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
1277*1424dfb3Schristos	OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
1278*1424dfb3Schristos	OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
1279*1424dfb3Schristos	New macros for options to set DllCharacteristics flag bits.
1280*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
1281*1424dfb3Schristos	nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1282*1424dfb3Schristos	(init): Add DllCharacteristics field.
1283*1424dfb3Schristos	(gld_${EMULATION_NAME}_list_options): List new options.
1284*1424dfb3Schristos	(gld${EMULATION_NAME}_handle_option): Handle new options.
1285*1424dfb3Schristos	* emultmpl/pep.em (pe_dll_characteristics): New variable.
1286*1424dfb3Schristos	(OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
1287*1424dfb3Schristos	OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
1288*1424dfb3Schristos	OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
1289*1424dfb3Schristos	New macros for options to set DllCharacteristics flags.
1290*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
1291*1424dfb3Schristos	nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1292*1424dfb3Schristos	(init): Add DllCharacteristics field.
1293*1424dfb3Schristos	(gld_${EMULATION_NAME}_list_options): List new options.
1294*1424dfb3Schristos	(gld${EMULATION_NAME}_handle_option): Handle new options.
1295*1424dfb3Schristos	* ldtexinfo : Document dynamicbase, forceinteg,	nxcompat,
1296*1424dfb3Schristos	no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1297*1424dfb3Schristos
1298*1424dfb3Schristos2009-03-06  Nick Clifton  <nickc@redhat.com>
1299*1424dfb3Schristos
1300*1424dfb3Schristos	* po/es.po: Updated Spanish translation.
1301*1424dfb3Schristos
1302*1424dfb3Schristos2009-03-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1303*1424dfb3Schristos
1304*1424dfb3Schristos	* emultempl/pe.em (debug_section_p):  New bfd_map_over_sections hook.
1305*1424dfb3Schristos	(gld_${EMULATION_NAME}_after_open):  Use it to iterate all sections
1306*1424dfb3Schristos	of all input BFDs, looking for debug info.  Enable long section names
1307*1424dfb3Schristos	if any found.
1308*1424dfb3Schristos	* emultempl/pe.em (debug_section_p):  Likewise.
1309*1424dfb3Schristos	(gld_${EMULATION_NAME}_after_open):  Likewise.
1310*1424dfb3Schristos	* NEWS:  Retrospectively adjust news announcement.
1311*1424dfb3Schristos	* ld.texinfo:  Update documentation to mention new behaviour.
1312*1424dfb3Schristos
1313*1424dfb3Schristos2009-03-03  Alan Modra  <amodra@bigpond.net.au>
1314*1424dfb3Schristos
1315*1424dfb3Schristos	* Makefile.am: Run "make dep-am".
1316*1424dfb3Schristos	* Makefile.in: Regenerate.
1317*1424dfb3Schristos
1318*1424dfb3Schristos2009-03-02  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1319*1424dfb3Schristos
1320*1424dfb3Schristos	* ldgram.y: Add support for REGION_ALIAS operator.
1321*1424dfb3Schristos	* ldlang.c: Likewise.
1322*1424dfb3Schristos	* ldlang.h: Likewise.
1323*1424dfb3Schristos	* ldlex.l: Likewise.
1324*1424dfb3Schristos	* NEWS: Mention the new feature.
1325*1424dfb3Schristos	* ld.texinfo: Document the new feature.
1326*1424dfb3Schristos
1327*1424dfb3Schristos2009-03-02  Qinwei  <qinwei@sunnorth.com.cn>
1328*1424dfb3Schristos
1329*1424dfb3Schristos	* Makefile.am: Replace score elf emulation with score3 and score7
1330*1424dfb3Schristos	emulations.
1331*1424dfb3Schristos	* Makefile.in: Regenerate,
1332*1424dfb3Schristos	* NEWS: Mention support for Score7 architecture.
1333*1424dfb3Schristos	* configure.tgt: Add score7 emulation to score-elf target.
1334*1424dfb3Schristos	* emulparams/scoreelf.sh: Add score7 support.
1335*1424dfb3Schristos	* emultempl/scoreelf.em: Likewise.
1336*1424dfb3Schristos
1337*1424dfb3Schristos2009-03-01  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1338*1424dfb3Schristos
1339*1424dfb3Schristos	* configure.tgt: Only use elf64hppa target emulation for hpux.
1340*1424dfb3Schristos	* emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
1341*1424dfb3Schristos	(SCRIPT_NAME): Use new script elf64hppa.
1342*1424dfb3Schristos	(SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
1343*1424dfb3Schristos	TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
1344*1424dfb3Schristos	OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
1345*1424dfb3Schristos	DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
1346*1424dfb3Schristos	TEXT_DYNAMIC): Define.
1347*1424dfb3Schristos	* emulparams/hppa64linux.sh: Adjust comments.
1348*1424dfb3Schristos	* scripttempl/elf64hppa.sc: New file.
1349*1424dfb3Schristos
1350*1424dfb3Schristos2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1351*1424dfb3Schristos
1352*1424dfb3Schristos	* configure: Regenerate.
1353*1424dfb3Schristos
1354*1424dfb3Schristos2009-02-27  Dave Korn  <dave.korn.cygwin@gmail.com>
1355*1424dfb3Schristos
1356*1424dfb3Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):  Set
1357*1424dfb3Schristos	default state of auto-import flag based on $target.
1358*1424dfb3Schristos
1359*1424dfb3Schristos2009-02-24  Joseph Myers  <joseph@codesourcery.com>
1360*1424dfb3Schristos
1361*1424dfb3Schristos	* ld.texinfo (ARM): Document changed meaning of --stub-group-size.
1362*1424dfb3Schristos	* emultempl/armelf.em (hook_in_stub): Insert after the input section.
1363*1424dfb3Schristos	(elf32_arm_add_stub_section): Update comment.
1364*1424dfb3Schristos	(PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
1365*1424dfb3Schristos
1366*1424dfb3Schristos2009-02-24  Sandra Loosemore  <sandra@codesourcery.com>
1367*1424dfb3Schristos
1368*1424dfb3Schristos	* ld.texinfo (Options): Correct typos in example.  Recommend
1369*1424dfb3Schristos	using joined forms of syntax for passing options with arguments
1370*1424dfb3Schristos	from a driver.
1371*1424dfb3Schristos	(-a): Use consistent syntax for documenting option arguments.
1372*1424dfb3Schristos	Clean up indexing and markup.
1373*1424dfb3Schristos	(-A/--architecture): Likewise.
1374*1424dfb3Schristos	(-f/--auxiliary): Likewise.
1375*1424dfb3Schristos	(-F/--filter): Likewise.
1376*1424dfb3Schristos	(-fini): Likewise.
1377*1424dfb3Schristos	(-G/--gpsize): Likewise.
1378*1424dfb3Schristos	(-h/-soname):Likewise.
1379*1424dfb3Schristos	(-init): Likewise.
1380*1424dfb3Schristos	(-l/--library): Likewise.
1381*1424dfb3Schristos	(-L/--library-path): Likewise.
1382*1424dfb3Schristos	(-m): Likewise.
1383*1424dfb3Schristos	(--defsym): Likewise.
1384*1424dfb3Schristos	(-I/--dynamic-linker): Likewise.
1385*1424dfb3Schristos	(-Map): Likewise.
1386*1424dfb3Schristos	(--oformat): Likewise.
1387*1424dfb3Schristos	(--retain-symbols-file): Likewise.
1388*1424dfb3Schristos	(-rpath): Likewise.
1389*1424dfb3Schristos	(-rpath-link): Likewise.
1390*1424dfb3Schristos	(--sort-common): Likewise.
1391*1424dfb3Schristos	(--sort-section): Likewise.
1392*1424dfb3Schristos	(--split-by-file): Likewise.
1393*1424dfb3Schristos	(--split-by-reloc): Likewise.
1394*1424dfb3Schristos	(--sysroot): Likewise.
1395*1424dfb3Schristos	(--section-start): Likewise.
1396*1424dfb3Schristos	(-Tbss, -Tdata, -Ttext): Likewise.
1397*1424dfb3Schristos	(-Ttext-segment): Likewise.
1398*1424dfb3Schristos	(--version-script): Likewise.
1399*1424dfb3Schristos	(--wrap): Likewise.
1400*1424dfb3Schristos
1401*1424dfb3Schristos2009-02-18  Dave Korn  <dave.korn.cygwin@gmail.com>
1402*1424dfb3Schristos
1403*1424dfb3Schristos	* ld.texinfo:  Update to mention long section name options.
1404*1424dfb3Schristos	* NEWS:  Mention new behaviour and command-line options.
1405*1424dfb3Schristos	* pe-dll.c (pe_use_coff_long_section_names):  New global variable.
1406*1424dfb3Schristos	(pe_output_file_set_long_section_names):  New function.
1407*1424dfb3Schristos	(pe_dll_build_sections):  Call it on output BFDs.
1408*1424dfb3Schristos	(pe_exe_build_sections):  Likewise.
1409*1424dfb3Schristos	(pe_dll_fill_sections):  Likewise.
1410*1424dfb3Schristos	(pe_exe_fill_sections):  Likewise.
1411*1424dfb3Schristos	* pe-dll.h (pe_use_coff_long_section_names):  Declare extern.
1412*1424dfb3Schristos	(pe_output_file_set_long_section_names):  Add prototype.
1413*1424dfb3Schristos	* pep-dll.c (pe_use_coff_long_section_names):  Define pep_ alias.
1414*1424dfb3Schristos	(pe_output_file_set_long_section_names):  Likewise.
1415*1424dfb3Schristos	* pep-dll.h (pep_use_coff_long_section_names):  Declare extern.
1416*1424dfb3Schristos	(pep_output_file_set_long_section_names):  Add prototype.
1417*1424dfb3Schristos	* pe.em (OPTION_ENABLE_LONG_SECTION_NAMES):  New getopt value macro.
1418*1424dfb3Schristos	(OPTION_DISABLE_LONG_SECTION_NAMES):  Likewise.
1419*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
1420*1424dfb3Schristos	(gld_${EMULATION_NAME}_list_options):  Describe them.
1421*1424dfb3Schristos	(gld${EMULATION_NAME}_handle_option):  Set or clear global
1422*1424dfb3Schristos	pe_use_coff_long_section_names flag when options recognised.
1423*1424dfb3Schristos	(gld_${EMULATION_NAME}_after_open):  En/disable long section names
1424*1424dfb3Schristos	for main output bfd by calling pe_output_file_set_long_section_names.
1425*1424dfb3Schristos	* pep.em (enum options):  Extend enum with new getopt option values.
1426*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
1427*1424dfb3Schristos	(gld_${EMULATION_NAME}_list_options):  Describe them.
1428*1424dfb3Schristos	(gld${EMULATION_NAME}_handle_option):  Set or clear global
1429*1424dfb3Schristos	pe_use_coff_long_section_names flag when options recognised.
1430*1424dfb3Schristos	(gld_${EMULATION_NAME}_after_open):  En/disable long section names
1431*1424dfb3Schristos	for main output bfd by calling pep_output_file_set_long_section_names.
1432*1424dfb3Schristos
1433*1424dfb3Schristos2009-02-16  Dave Korn  <dave.korn.cygwin@gmail.com>
1434*1424dfb3Schristos
1435*1424dfb3Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open):  Don't emit
1436*1424dfb3Schristos	inadvertent .reloc sections caused by refactoring accident.
1437*1424dfb3Schristos
1438*1424dfb3Schristos2009-02-16  Alan Modra  <amodra@bigpond.net.au>
1439*1424dfb3Schristos
1440*1424dfb3Schristos	* ldlang.c (process_insert_statements): ASSERT that output section
1441*1424dfb3Schristos	statements are in order.
1442*1424dfb3Schristos
1443*1424dfb3Schristos2009-02-16  Alan Modra  <amodra@bigpond.net.au>
1444*1424dfb3Schristos
1445*1424dfb3Schristos	* ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
1446*1424dfb3Schristos	(stat_save, stat_save_ptr): New variables.
1447*1424dfb3Schristos	(lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
1448*1424dfb3Schristos	(load_symbols): Likewise.  Delete dead "bad_load" code.
1449*1424dfb3Schristos	(open_input_bfds): Warn on script containing output sections.
1450*1424dfb3Schristos	(lang_enter_output_section_statement): Use push_stat_ptr.
1451*1424dfb3Schristos	(lang_enter_group): Likewise.
1452*1424dfb3Schristos	(lang_leave_output_section_statement): Use pop_stat_ptr.
1453*1424dfb3Schristos	(lang_leave_group): Likewise.
1454*1424dfb3Schristos	* ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
1455*1424dfb3Schristos	* ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
1456*1424dfb3Schristos	* emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1457*1424dfb3Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1458*1424dfb3Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1459*1424dfb3Schristos	* emultempl/spuelf.em (spu_place_special_section): Likewise.
1460*1424dfb3Schristos	* emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
1461*1424dfb3Schristos
1462*1424dfb3Schristos2009-02-09  Nathan Sidwell  <nathan@codesourcery.com>
1463*1424dfb3Schristos
1464*1424dfb3Schristos	Missing piece of 2009-01-26 commit
1465*1424dfb3Schristos	* ldlang.c (lang_process): Don't consider relocatable flag when
1466*1424dfb3Schristos	checking for overlap.
1467*1424dfb3Schristos
1468*1424dfb3Schristos2009-02-05  Joseph Myers  <joseph@codesourcery.com>
1469*1424dfb3Schristos
1470*1424dfb3Schristos	* emulparams/m68kelf.sh: Add newline at end of file.
1471*1424dfb3Schristos
1472*1424dfb3Schristos2009-02-04  Nick Clifton  <nickc@redhat.com>
1473*1424dfb3Schristos
1474*1424dfb3Schristos	PR 9805
1475*1424dfb3Schristos	* ld.texinfo (--allow-shlib-undefined): Correct description of
1476*1424dfb3Schristos	default settings and tidy up the rest of the entry.
1477*1424dfb3Schristos
1478*1424dfb3Schristos2009-02-04  Alan Modra  <amodra@bigpond.net.au>
1479*1424dfb3Schristos
1480*1424dfb3Schristos	* emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
1481*1424dfb3Schristos	during relocatable link.
1482*1424dfb3Schristos
1483*1424dfb3Schristos2009-02-03  Nick Clifton  <nickc@redhat.com>
1484*1424dfb3Schristos
1485*1424dfb3Schristos	PR 9797
1486*1424dfb3Schristos	* ld.texinfo (Constants): Document the base-encoding suffixes
1487*1424dfb3Schristos	supported in linker scripts.
1488*1424dfb3Schristos
1489*1424dfb3Schristos2009-02-03  Alan Modra  <amodra@bigpond.net.au>
1490*1424dfb3Schristos
1491*1424dfb3Schristos	* NEWS: Mention --as-needed change.
1492*1424dfb3Schristos
1493*1424dfb3Schristos2009-02-03  Carlos O'Donell  <carlos@codesourcery.com>
1494*1424dfb3Schristos
1495*1424dfb3Schristos	* configure.in: AC_SUBST pdfdir.
1496*1424dfb3Schristos	* Makefile.am: Add install-pdf, install-pdf-am,
1497*1424dfb3Schristos	and install-pdf-recursive targets. Define pdf__strip_dir.
1498*1424dfb3Schristos	* po/Make-in: Add install-pdf target.
1499*1424dfb3Schristos	* configure: Regenerate.
1500*1424dfb3Schristos	* Makefile.in: Regenerate.
1501*1424dfb3Schristos
1502*1424dfb3Schristos2009-01-31  Alan Modra  <amodra@bigpond.net.au>
1503*1424dfb3Schristos
1504*1424dfb3Schristos	* ld.texinfo (--as-needed): Update.
1505*1424dfb3Schristos
1506*1424dfb3Schristos2009-01-29  Andrew Jenner  <andrew@codesourcery.com>
1507*1424dfb3Schristos
1508*1424dfb3Schristos	* emultempl/armelf.em: Correct formatting of help text for
1509*1424dfb3Schristos	--no-enum-size-warning option.
1510*1424dfb3Schristos
1511*1424dfb3Schristos2009-01-26  Nathan Sidwell  <nathan@codesourcery.com>
1512*1424dfb3Schristos
1513*1424dfb3Schristos	* lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
1514*1424dfb3Schristos	* ld.h (args_type): Make check_section_addresses a char.
1515*1424dfb3Schristos	* ldmain.c (main): Default check_section_addresses to -1. Check it
1516*1424dfb3Schristos	for relocatable links.
1517*1424dfb3Schristos	* ld.texinfo (--check-sections): Update documentation.
1518*1424dfb3Schristos
1519*1424dfb3Schristos2009-01-26  Kai Tietz  <kai.tietz@onevision.com>
1520*1424dfb3Schristos
1521*1424dfb3Schristos	* pe-dll.c (tmp_seq2): New static variable.
1522*1424dfb3Schristos	(make_singleton_name_imp): New.
1523*1424dfb3Schristos	(make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
1524*1424dfb3Schristos	avoid duplicate import table generation for same symbol.
1525*1424dfb3Schristos	(pe_create_runtime_relocator_reference): Make reference for
1526*1424dfb3Schristos	64-bit 8 bytes.
1527*1424dfb3Schristos
1528*1424dfb3Schristos2009-01-21  Alan Modra  <amodra@bigpond.net.au>
1529*1424dfb3Schristos
1530*1424dfb3Schristos	* emultempl/spuelf.em (params): Init new field.
1531*1424dfb3Schristos	(OPTION_SPU_NON_IA_TEXT): Define.
1532*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
1533*1424dfb3Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
1534*1424dfb3Schristos
1535*1424dfb3Schristos2009-01-16  H.J. Lu  <hongjiu.lu@intel.com>
1536*1424dfb3Schristos
1537*1424dfb3Schristos	* lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
1538*1424dfb3Schristos	(ld_options): Add -Ttext-segment.
1539*1424dfb3Schristos	(parse_args): Handle OPTION_TTEXT_SEGMENT.
1540*1424dfb3Schristos
1541*1424dfb3Schristos	* ld.texinfo: Document -Ttext-segment.
1542*1424dfb3Schristos
1543*1424dfb3Schristos	* NEWS: Mention -Ttext-segment.
1544*1424dfb3Schristos
1545*1424dfb3Schristos	* scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
1546*1424dfb3Schristos	(SHLIB_TEXT_START_ADDR): Likewise.
1547*1424dfb3Schristos
1548*1424dfb3Schristos2009-01-13  Alan Modra  <amodra@bigpond.net.au>
1549*1424dfb3Schristos
1550*1424dfb3Schristos	* emultempl/spu_icache.o_c: Regenerate.
1551*1424dfb3Schristos
1552*1424dfb3Schristos2009-01-12  Alan Modra  <amodra@bigpond.net.au>
1553*1424dfb3Schristos
1554*1424dfb3Schristos	* emultempl/spuelf.em (params): Init new fields.
1555*1424dfb3Schristos	(num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
1556*1424dfb3Schristos	(spu_place_special_section): Adjust placement for soft-icache.  Pad
1557*1424dfb3Schristos	soft-icache section to a fixed size.  Clear addr_tree.
1558*1424dfb3Schristos	(spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
1559*1424dfb3Schristos	sections a little more intelligently.
1560*1424dfb3Schristos	(gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
1561*1424dfb3Schristos	(OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
1562*1424dfb3Schristos	(OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
1563*1424dfb3Schristos	(OPTION_SPU_LRLIVE): Define.
1564*1424dfb3Schristos	(PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
1565*1424dfb3Schristos	(PARSE_AND_LIST_OPTIONS): Likewise.
1566*1424dfb3Schristos	(PARSE_AND_LIST_ARGS_CASES): Handle them.
1567*1424dfb3Schristos	* emultempl/spu_icache.S: Dummy file.
1568*1424dfb3Schristos	* emultempl/spu_icache.o_c: Regenerate.
1569*1424dfb3Schristos	* Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
1570*1424dfb3Schristos	(spu_icache.o_c): Add rule to build.
1571*1424dfb3Schristos	(CLEANFILES): Zap temp files.
1572*1424dfb3Schristos	(EXTRA_DIST): Add spu_icache.o_c.
1573*1424dfb3Schristos	* Makefile.in: Regenerate.
1574*1424dfb3Schristos
1575*1424dfb3Schristos2009-01-08  Kai Tietz  <kai.tietz@onevision.com>
1576*1424dfb3Schristos
1577*1424dfb3Schristos	* pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1578*1424dfb3Schristos	(gld..._add_options): Add new option
1579*1424dfb3Schristos	--use-nul-prefixed-import-tables.
1580*1424dfb3Schristos	(gld..._handle_option): Likewise.
1581*1424dfb3Schristos	* pep.em: Same as for pe.em.
1582*1424dfb3Schristos	* ld.texinfo: Add new option documentation for
1583*1424dfb3Schristos	--use-nul-prefixed-import-tables.
1584*1424dfb3Schristos	* pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1585*1424dfb3Schristos	(make_head): Make prefix leading zero prefix element for
1586*1424dfb3Schristos	idata$4 and idata$5 dependent to new flag.
1587*1424dfb3Schristos	(make_import_fixup_entry): Remove idata4/5 prefix.
1588*1424dfb3Schristos	* pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1589*1424dfb3Schristos	* pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1590*1424dfb3Schristos	* pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1591*1424dfb3Schristos	* NEWS: Add new option.
1592*1424dfb3Schristos
1593*1424dfb3Schristos2009-01-05  Kai Tietz  <kai.tietz@onevision.com>
1594*1424dfb3Schristos
1595*1424dfb3Schristos	* emultempl/pe.em: Prefix dollar characters to be outputed in
1596*1424dfb3Schristos	generated C file.
1597*1424dfb3Schristos	* emultempl/pep.em: Likewise.
1598*1424dfb3Schristos
1599*1424dfb3Schristos2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1600*1424dfb3Schristos
1601*1424dfb3Schristos	* NEWS:  Mention new feature --exclude-modules-for-implib.
1602*1424dfb3Schristos	* ld.texinfo:  Document new --exclude-modules-for-implib option.
1603*1424dfb3Schristos	* pe-dll.c (exclude_list_struct):  Change type member from int to
1604*1424dfb3Schristos	new enumeration exclude_type.
1605*1424dfb3Schristos	(pe_dll_add_excludes):  Accept exclude_type instead of int param.
1606*1424dfb3Schristos	(auto_export):  Replace magic constants by exclude_type values and
1607*1424dfb3Schristos	handle new choice EXCLUDEFORIMPLIB.
1608*1424dfb3Schristos	(pe_dll_generate_implib):  Accept a pointer to the link_info and
1609*1424dfb3Schristos	iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1610*1424dfb3Schristos	fresh BFDs for any found and link into import lib archive chain.
1611*1424dfb3Schristos	* pe-dll.h (exclude_type):  Add new enumerated type to replace magic
1612*1424dfb3Schristos	constants previously used for exclude_list_struct type member.
1613*1424dfb3Schristos	(pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
1614*1424dfb3Schristos	* pep-dll.h (exclude_type, pe_dll_add_excludes,
1615*1424dfb3Schristos	pe_dll_generate_implib):  Likewise to all the above.
1616*1424dfb3Schristos	* emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
1617*1424dfb3Schristos	getopts long option code for new --exclude-modules-for-implib option.
1618*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
1619*1424dfb3Schristos	(gld_${EMULATION_NAME}_list_options):  List usage for it.
1620*1424dfb3Schristos	(gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
1621*1424dfb3Schristos	values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1622*1424dfb3Schristos	(gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
1623*1424dfb3Schristos	calling pe_dll_generate_implib.
1624*1424dfb3Schristos	* emultempl/pep.em (options):  Define new enumerated value for getopts
1625*1424dfb3Schristos	long option code for new --exclude-modules-for-implib option.
1626*1424dfb3Schristos	(gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1627*1424dfb3Schristos	gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1628*1424dfb3Schristos	Again, likewise to all the above.
1629*1424dfb3Schristos
1630*1424dfb3Schristos2009-01-03  Dave Korn  <dave.korn.cygwin@gmail.com>
1631*1424dfb3Schristos
1632*1424dfb3Schristos	* pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
1633*1424dfb3Schristos	(libnamencmp):  New function.
1634*1424dfb3Schristos	(auto_export):  Use it in place of strncmp when filtering libraries.
1635*1424dfb3Schristos
1636*1424dfb3SchristosFor older changes see ChangeLog-2008
1637*1424dfb3Schristos
1638*1424dfb3SchristosCopyright (C) 2009 Free Software Foundation, Inc.
1639*1424dfb3Schristos
1640*1424dfb3SchristosCopying and distribution of this file, with or without modification,
1641*1424dfb3Schristosare permitted in any medium without royalty provided the copyright
1642*1424dfb3Schristosnotice and this notice are preserved.
1643*1424dfb3Schristos
1644*1424dfb3SchristosLocal Variables:
1645*1424dfb3Schristosmode: change-log
1646*1424dfb3Schristosleft-margin: 8
1647*1424dfb3Schristosfill-column: 74
1648*1424dfb3Schristosversion-control: never
1649*1424dfb3SchristosEnd:
1650