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