xref: /netbsd-src/external/gpl3/binutils.old/dist/ld/ChangeLog-2011 (revision 75fd0b742a7e4a64301bc6c44e9bc5240c58bb92)
1*75fd0b74Schristos2011-12-20  Joseph Myers  <joseph@codesourcery.com>
2*75fd0b74Schristos
3*75fd0b74Schristos	* emulparams/elf32bmip.sh (OTHER_SECTIONS): Put .mdebug.* and
4*75fd0b74Schristos	.gcc_compiled_long* sections at address 0.
5*75fd0b74Schristos
6*75fd0b74Schristos2011-12-13  Nick Clifton  <nickc@redhat.com>
7*75fd0b74Schristos
8*75fd0b74Schristos	* po/it.po: New Italian translation.
9*75fd0b74Schristos	* configure.in (ALL_LINGUAS): Add it.
10*75fd0b74Schristos	* configure: Regenerate.
11*75fd0b74Schristos
12*75fd0b74Schristos2011-12-01  Nick Clifton  <nickc@redhat.com>
13*75fd0b74Schristos
14*75fd0b74Schristos	* emultempl/spuelf.em (spu_elf_relink): Use pex_one in place
15*75fd0b74Schristos	of execvp.
16*75fd0b74Schristos
17*75fd0b74Schristos2011-11-25  John Tytgat  <john@bass-software.com>
18*75fd0b74Schristos
19*75fd0b74Schristos	* emultempl/armelf.em: Update copyright to 2010 and 2011.
20*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Fix formatting.
21*75fd0b74Schristos
22*75fd0b74Schristos2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
23*75fd0b74Schristos
24*75fd0b74Schristos	* Makefile.am (ALL_64_EMULATION_SOURCES): Add powerpc64-*-freebsd
25*75fd0b74Schristos	source.
26*75fd0b74Schristos	(eelf64ppc_fbsd.c): Add rules to build this file.
27*75fd0b74Schristos	* Makefile.in: Regenerate.
28*75fd0b74Schristos	* configure.tgt: Add target definition for powerpc64-*-freebsd*.
29*75fd0b74Schristos	Adjust powerpc-*-freebsd*.
30*75fd0b74Schristos	* emultempl/ppc64elf.em: Add a mechanism to override the default
31*75fd0b74Schristos	value of 0 for plt_static_chain.
32*75fd0b74Schristos	* emulparams/elf32ppc_fbsd.sh (OUTPUT_FORMAT): Override the default.
33*75fd0b74Schristos	* emulparams/elf64ppc_fbsd.sh (OUTPUT_FORMAT): Likewise.
34*75fd0b74Schristos	(DEFAULT_PLT_STATIC_CHAIN): Define to 1.
35*75fd0b74Schristos
36*75fd0b74Schristos2011-11-15  Andreas Schwab  <schwab@linux-m68k.org>
37*75fd0b74Schristos
38*75fd0b74Schristos	* ldlang.c (insert_pad): Change alignment_needed argument to
39*75fd0b74Schristos	bfd_size_type.
40*75fd0b74Schristos	(size_input_section): Change alignment_needed varible to
41*75fd0b74Schristos	bfd_size_type.
42*75fd0b74Schristos	* ldlang.h (lang_padding_statement_type): Change size field to
43*75fd0b74Schristos	bfd_size_type.
44*75fd0b74Schristos
45*75fd0b74Schristos2011-11-03  Tristan Gingold  <gingold@adacore.com>
46*75fd0b74Schristos
47*75fd0b74Schristos	* scripttempl/aix.sc: Consider header size for .text and .data
48*75fd0b74Schristos	alignment.
49*75fd0b74Schristos
50*75fd0b74Schristos2011-11-02  Tristan Gingold  <gingold@adacore.com>
51*75fd0b74Schristos
52*75fd0b74Schristos	* emultempl/aix.em (read_file_list): New function.
53*75fd0b74Schristos	(_handle_option): Handle '-f'.
54*75fd0b74Schristos	* NEWS: Mention this feature.
55*75fd0b74Schristos
56*75fd0b74Schristos2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
57*75fd0b74Schristos
58*75fd0b74Schristos	* configure.tgt (x86_64-*-solaris2*): Use $targ_extra_emuls for
59*75fd0b74Schristos	targ_extra_libpath.
60*75fd0b74Schristos
61*75fd0b74Schristos2011-11-01  DJ Delorie  <dj@redhat.com>
62*75fd0b74Schristos
63*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32rl78.c.
64*75fd0b74Schristos	(+eelf32rl78.c): New rule.
65*75fd0b74Schristos	* Makefile.in: Regenerate.
66*75fd0b74Schristos	* configure.tgt: Add rl78-*-* case.
67*75fd0b74Schristos	* emulparams/elf32rl78.sh: New file.
68*75fd0b74Schristos	* NEWS: Mention addition of Renesas RL78 support.
69*75fd0b74Schristos
70*75fd0b74Schristos2011-10-28  Walter Lee  <walt@tilera.com>
71*75fd0b74Schristos
72*75fd0b74Schristos	* NEWS: Fix TILEPro capitalization.
73*75fd0b74Schristos
74*75fd0b74Schristos2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
75*75fd0b74Schristos
76*75fd0b74Schristos	* NEWS: Mention addition of Adapteva Epiphany support.
77*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c .
78*75fd0b74Schristos	(eelf32epiphany.c): New rule.
79*75fd0b74Schristos	* configure.tgt: Handle epiphany-*-elf.
80*75fd0b74Schristos	* emulparams/elf32epiphany.sh: New file.
81*75fd0b74Schristos	* Makefile.in: Regenerate.
82*75fd0b74Schristos	* po/ld.pot: Regenerate.
83*75fd0b74Schristos
84*75fd0b74Schristos2011-10-24  Nick Clifton  <nickc@redhat.com>
85*75fd0b74Schristos
86*75fd0b74Schristos	* po/ja.po: Updated Japanese translation.
87*75fd0b74Schristos
88*75fd0b74Schristos2011-10-20  Alan Modra  <amodra@gmail.com>
89*75fd0b74Schristos
90*75fd0b74Schristos	PR ld/13287
91*75fd0b74Schristos	* plugin.c (plugin_should_reload): New function.
92*75fd0b74Schristos	* plugin.h (plugin_should_reload): Declare.
93*75fd0b74Schristos	* ldlang.c (open_input_bfds): Use above function.
94*75fd0b74Schristos
95*75fd0b74Schristos2011-10-19  Alan Modra  <amodra@gmail.com>
96*75fd0b74Schristos
97*75fd0b74Schristos	PR ld/13254
98*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
99*75fd0b74Schristos	-z text, -z notext, -z textoff options for all targets having
100*75fd0b74Schristos	shared lib support.
101*75fd0b74Schristos
102*75fd0b74Schristos2011-10-15  Alan Modra  <amodra@gmail.com>
103*75fd0b74Schristos
104*75fd0b74Schristos	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Remove toc check.
105*75fd0b74Schristos
106*75fd0b74Schristos2011-10-13  Dave Korn  <dave.korn.cygwin@gmail.com>
107*75fd0b74Schristos
108*75fd0b74Schristos	* pe-dll.c (generate_reloc): Don't emit a base reloc for an
109*75fd0b74Schristos	underlying BFD reloc that will be discarded in eh_frame data.
110*75fd0b74Schristos
111*75fd0b74Schristos2011-10-10  Nick Clifton  <nickc@redhat.com>
112*75fd0b74Schristos
113*75fd0b74Schristos	* po/bg.po: Updated Bulgarian translation.
114*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
115*75fd0b74Schristos	* po/fi.po: Updated Finnish translation.
116*75fd0b74Schristos	* po/fr.po: Updated French translation.
117*75fd0b74Schristos
118*75fd0b74Schristos2011-10-10  Alan Modra  <amodra@gmail.com>
119*75fd0b74Schristos
120*75fd0b74Schristos	* ldmain.c (main): Move code twiddling various config and link_info
121*75fd0b74Schristos	bits to..
122*75fd0b74Schristos	* lexsup.c (parse_args): ..here.  Move plugin_load_plugins call
123*75fd0b74Schristos	into main.
124*75fd0b74Schristos	* plugin.c (set_tv_header): Test link_info.executable, not
125*75fd0b74Schristos	link_info.shared.
126*75fd0b74Schristos	(is_visible_from_outside): Likewise.  Delete redundant
127*75fd0b74Schristos	is_ir_dummy_bfd check and "section" parameter.
128*75fd0b74Schristos
129*75fd0b74Schristos2011-10-10  Alan Modra  <amodra@gmail.com>
130*75fd0b74Schristos
131*75fd0b74Schristos	* emultempl/ppc64elf.em (ppc_add_stub_section): Align to 32 bytes.
132*75fd0b74Schristos
133*75fd0b74Schristos2011-10-09  Alan Modra  <amodra@gmail.com>
134*75fd0b74Schristos
135*75fd0b74Schristos	* emultempl/ppc64elf.em (ppc_create_output_section_statements): Add
136*75fd0b74Schristos	missing colon to error message.
137*75fd0b74Schristos	(ppc_before_allocation): Likewise.
138*75fd0b74Schristos
139*75fd0b74Schristos2011-10-06  Alan Modra  <amodra@gmail.com>
140*75fd0b74Schristos
141*75fd0b74Schristos	PR ld/13229
142*75fd0b74Schristos	* plugin.c (tv_header_tags): Add LDPT_GET_SYMBOLS_V2.
143*75fd0b74Schristos	(set_tv_header): Handle it.  Adjust LDPT_GET_SYMBOLS.  Return void.
144*75fd0b74Schristos	(get_symbols): Add def_ironly_exp param.  Return that value for
145*75fd0b74Schristos	syms exported from shared libs.
146*75fd0b74Schristos	(get_symbols_v1, get_symbols_v2): New wrapper functions.
147*75fd0b74Schristos	* testplug.c: Update for above changes.
148*75fd0b74Schristos
149*75fd0b74Schristos2011-09-27  Kai Tietz  <ktietz@redhat.com>
150*75fd0b74Schristos
151*75fd0b74Schristos	* scripttempl/pe.sc (.text): Add support for
152*75fd0b74Schristos	.gnu.linkonce.t.* section.
153*75fd0b74Schristos	(.debug_info): Only use .gnu.linkonce.wi.* for
154*75fd0b74Schristos	relocating.
155*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
156*75fd0b74Schristos
157*75fd0b74Schristos2011-09-22  Tristan Gingold  <gingold@adacore.com>
158*75fd0b74Schristos
159*75fd0b74Schristos	* NEWS: Add marker for 2.22.
160*75fd0b74Schristos
161*75fd0b74Schristos2011-09-20  Alan Modra  <amodra@gmail.com>
162*75fd0b74Schristos
163*75fd0b74Schristos	PR ld/13201
164*75fd0b74Schristos	* ldlang.h (lang_input_statement_type): Add "reload" bitfield.
165*75fd0b74Schristos	Clarify comments.
166*75fd0b74Schristos	* ldlang.c (new_afile): Init new field.
167*75fd0b74Schristos	(load_symbols): Don't call ldlang_add_file when reloading.
168*75fd0b74Schristos	(open_input_bfds): Reload as-needed libs during plugin rescan.
169*75fd0b74Schristos
170*75fd0b74Schristos2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
171*75fd0b74Schristos
172*75fd0b74Schristos	PR ld/12975
173*75fd0b74Schristos	* ldlang.c (lang_elf_version_info): Removed.
174*75fd0b74Schristos	(lang_register_vers_node): Replace lang_elf_version_info with
175*75fd0b74Schristos	link_info.version_info.
176*75fd0b74Schristos	(lang_add_vers_depend): Likewise.
177*75fd0b74Schristos	* pe-dll.c (process_def_file_and_drectve): Likewise.
178*75fd0b74Schristos	* emultempl/solaris2.em (elf_solaris2_before_allocation): Likewise.
179*75fd0b74Schristos
180*75fd0b74Schristos	* ldlang.h (lang_elf_version_info): Removed.
181*75fd0b74Schristos
182*75fd0b74Schristos	* plugin.c  (is_visible_from_outside): Check if symbol is hidden
183*75fd0b74Schristos	by version script.
184*75fd0b74Schristos
185*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
186*75fd0b74Schristos	Remove lang_elf_version_info.
187*75fd0b74Schristos
188*75fd0b74Schristos2011-09-15  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
189*75fd0b74Schristos
190*75fd0b74Schristos	PR ld/13183
191*75fd0b74Schristos	* ldmain.c (add_archive_element): Support thin archive member
192*75fd0b74Schristos	for LTO.
193*75fd0b74Schristos
194*75fd0b74Schristos2011-08-26  Nick Clifton  <nickc@redhat.com>
195*75fd0b74Schristos
196*75fd0b74Schristos	* po/es.po: Updated Spanish translation.
197*75fd0b74Schristos
198*75fd0b74Schristos2011-08-26  Nick Clifton  <nickc@redhat.com>
199*75fd0b74Schristos
200*75fd0b74Schristos	* NEWS: Mention that --no-copy-dt-needed-entries is now the
201*75fd0b74Schristos	default.
202*75fd0b74Schristos
203*75fd0b74Schristos2011-08-22  Michael Matz  <matz@suse.de>
204*75fd0b74Schristos
205*75fd0b74Schristos	* ldmain.c (add_DT_NEEDED_for_dynamic): Default to FALSE.
206*75fd0b74Schristos	* ld.texinfo (--copy-dt-needed-entries): Mention new default.
207*75fd0b74Schristos
208*75fd0b74Schristos2011-08-17  Alan Modra  <amodra@gmail.com>
209*75fd0b74Schristos
210*75fd0b74Schristos	PR ld/12762
211*75fd0b74Schristos	* ldlang.c (section_already_linked): Revert 2011-07-09 changes.
212*75fd0b74Schristos	* plugin.c: Likewise.
213*75fd0b74Schristos	(asymbol_from_plugin_symbol): Create linkonce section for syms
214*75fd0b74Schristos	with comdat_key.
215*75fd0b74Schristos
216*75fd0b74Schristos2011-08-09  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
217*75fd0b74Schristos
218*75fd0b74Schristos	* emultempl/armelf.em (fix_arm1176): New variable.
219*75fd0b74Schristos	(arm_elf_create_output_section_statements): Pass
220*75fd0b74Schristos	fix_arm1176 option to bfd backend.
221*75fd0b74Schristos	(OPTION_FIX_ARM1176): New define.
222*75fd0b74Schristos	(OPTION_NO_FIX_ARM1176): Likewise.
223*75fd0b74Schristos	(PARSE_AND_LIST_LONGOPTS): Add new command line options.
224*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Likewise.
225*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Likewise.
226*75fd0b74Schristos	* ld.texinfo: Document new command line options.
227*75fd0b74Schristos
228*75fd0b74Schristos2011-08-09  Alan Modra  <amodra@gmail.com>
229*75fd0b74Schristos
230*75fd0b74Schristos	PR ld/13066
231*75fd0b74Schristos	* plugin.c (add_symbols): Revert 2011-08-05.
232*75fd0b74Schristos
233*75fd0b74Schristos2011-08-06  Kai Tietz  <ktietz@redhat.com>
234*75fd0b74Schristos
235*75fd0b74Schristos	* scripttempl/pep.sc: Add .debug_macro section.
236*75fd0b74Schristos	* scripttempl/pe.sc: Likewise.
237*75fd0b74Schristos
238*75fd0b74Schristos2011-08-05  Alan Modra  <amodra@gmail.com>
239*75fd0b74Schristos
240*75fd0b74Schristos	PR ld/12762
241*75fd0b74Schristos	* plugin.c (add_symbols): Exclude comdat_key symbols from symbol
242*75fd0b74Schristos	table if already seen.
243*75fd0b74Schristos
244*75fd0b74Schristos2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>
245*75fd0b74Schristos
246*75fd0b74Schristos	* ldmain.c (main): Replace remove_output with ld_cleanup in
247*75fd0b74Schristos	comments.
248*75fd0b74Schristos
249*75fd0b74Schristos2011-07-26  Alan Modra  <amodra@gmail.com>
250*75fd0b74Schristos
251*75fd0b74Schristos	* emulparams/elf32ppc.sh: Source plt_unwind.sh.
252*75fd0b74Schristos	* emulparams/elf64ppc.sh: Likewise.
253*75fd0b74Schristos	* emultempl/ppc32elf.em (OPTION_NO_TLS_OPT): Adjust.
254*75fd0b74Schristos	(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
255*75fd0b74Schristos	PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to
256*75fd0b74Schristos	existing values.
257*75fd0b74Schristos	* emultempl/ppc64elf.em (OPTION_STUBGROUP_SIZE): Adjust.
258*75fd0b74Schristos	(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
259*75fd0b74Schristos	PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Append to
260*75fd0b74Schristos	existing values.
261*75fd0b74Schristos
262*75fd0b74Schristos2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
263*75fd0b74Schristos
264*75fd0b74Schristos	* Makefile.am (ALL_64_EMULATIONS): Add eelf_k1om.o and
265*75fd0b74Schristos	eelf_k1om_fbsd.o
266*75fd0b74Schristos	(eelf_k1om.c): New.
267*75fd0b74Schristos	(eelf_k1om_fbsd.c): Likewise.
268*75fd0b74Schristos	* Makefile.in: Regenerated.
269*75fd0b74Schristos
270*75fd0b74Schristos	* configure.tgt (targ64_extra_emuls): Add elf_k1om if elf_x86_64
271*75fd0b74Schristos	is supported.  Add elf_k1om_fbsd if elf_x86_64_fbsd is supported.
272*75fd0b74Schristos	(targ_extra_emuls): Likewise.
273*75fd0b74Schristos
274*75fd0b74Schristos	* emulparams/elf_k1om.sh: New.
275*75fd0b74Schristos	* emulparams/elf_k1om_fbsd.sh: Likewise.
276*75fd0b74Schristos
277*75fd0b74Schristos2011-07-16  Roland McGrath  <roland@hack.frob.com>
278*75fd0b74Schristos
279*75fd0b74Schristos	* ld.h (args_type): New field print_output_format.
280*75fd0b74Schristos	* lexsup.c (enum option_values, ld_options, parse_args):
281*75fd0b74Schristos	Handle --print-output-format.
282*75fd0b74Schristos	* ldmain.c (main): Implement --print-output-format.
283*75fd0b74Schristos	* ld.texinfo (Options): Document it.
284*75fd0b74Schristos
285*75fd0b74Schristos	* ldlang.c (lang_get_output_target): Don't return current_target
286*75fd0b74Schristos	when it's NULL.
287*75fd0b74Schristos
288*75fd0b74Schristos2011-07-15  Alan Modra  <amodra@gmail.com>
289*75fd0b74Schristos
290*75fd0b74Schristos	* Makefile.am (e*.c): Sort.
291*75fd0b74Schristos	* Makefile.in: Regenerate.
292*75fd0b74Schristos
293*75fd0b74Schristos2011-07-14  Alan Modra  <amodra@gmail.com>
294*75fd0b74Schristos
295*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option,
296*75fd0b74Schristos	gld${EMULATION_NAME}_list_options): Don't condition -z relro
297*75fd0b74Schristos	and -z norelro on COMMONPAGESIZE being defined.
298*75fd0b74Schristos
299*75fd0b74Schristos2011-07-14  Alan Modra  <amodra@gmail.com>
300*75fd0b74Schristos
301*75fd0b74Schristos	* emultempl/ppc64elf.em (plt_static_chain): New var.
302*75fd0b74Schristos	(gld${EMULATION_NAME}_after_allocation): Pass to ppc64_elf_size_stubs.
303*75fd0b74Schristos	(PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
304*75fd0b74Schristos	PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Handle
305*75fd0b74Schristos	--plt-static-chain and --no-plt-static-chain.
306*75fd0b74Schristos
307*75fd0b74Schristos2011-07-14  Alan Modra  <amodra@gmail.com>
308*75fd0b74Schristos
309*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_add_options,
310*75fd0b74Schristos	gld${EMULATION_NAME}_handle_option, gld${EMULATION_NAME}_list_options):
311*75fd0b74Schristos	Provide --build-id, -z defs, -z muldefs, -z max-page-size,
312*75fd0b74Schristos	-z common-page-size, -z execstack, -z noexecstack for all targets.
313*75fd0b74Schristos	Add help for --exclude-libs.
314*75fd0b74Schristos	(OPTION_LD_GENERATED_UNWIND_INFO,
315*75fd0b74Schristos	OPTION_NO_LD_GENERATED_UNWIND_INFO): Move this..
316*75fd0b74Schristos	(gld${EMULATION_NAME}_handle_option): ..and code handling
317*75fd0b74Schristos	--ld-generated-unwind-info and --no-ld-generated-unwind-info..
318*75fd0b74Schristos	* emulparams/plt_unwind.sh: ..to here.  New file.  Add help.
319*75fd0b74Schristos	* emulparams/elf32_x86_64.sh: Include plt_unwind.sh.
320*75fd0b74Schristos	* emulparams/elf_i386.sh: Likewise.
321*75fd0b74Schristos	* emulparams/elf_i386_chaos.sh: Likewise.
322*75fd0b74Schristos	* emulparams/elf_i386_ldso.sh: Likewise.
323*75fd0b74Schristos	* emulparams/elf_l1om.sh: Likewise.
324*75fd0b74Schristos	* emulparams/elf_x86_64.sh: Likewise.
325*75fd0b74Schristos
326*75fd0b74Schristos2011-07-11  Catherine Moore  <clm@codesourcery.com>
327*75fd0b74Schristos
328*75fd0b74Schristos	* ld.h (section_flag_list): Add field to struct wildcard_spec.
329*75fd0b74Schristos	* ld.texinfo (INPUT_SECTION_FLAGS): Document.
330*75fd0b74Schristos	* ldgram.y (flag_info_list, flag_info): Add to union.
331*75fd0b74Schristos	(INPUT_SECTION_FLAGS): New token.
332*75fd0b74Schristos	(wildcard_spec): Initialize section_flag_list to NULL for
333*75fd0b74Schristos	each alternative.
334*75fd0b74Schristos	(sect_flag_list, sect_flags): New rules.
335*75fd0b74Schristos	(input_section_spec_no_keep): Add alternatives to recognize
336*75fd0b74Schristos	sect_flags.
337*75fd0b74Schristos	* ldlang.c (walk_wild_consider_section): Initialize
338*75fd0b74Schristos	section_flag_info field of the section struct.
339*75fd0b74Schristos	(lang_add_section): Check input section flags.
340*75fd0b74Schristos	(lang_add_wild): Initialize section_flag_list field of
341*75fd0b74Schristos	the statement struct.
342*75fd0b74Schristos	* ldlang.h (lang_input_statement_struct): Add section_flag_list field.
343*75fd0b74Schristos	(lang_wild_statement_struct): Likewise.
344*75fd0b74Schristos	* ldlex.l (INPUT_SECTION_FLAGS): New token.
345*75fd0b74Schristos	* mri.c (mri_draw_tree): Initialize section_flag_list to NULL.
346*75fd0b74Schristos	* NEWS: Announce INPUT_SECTION_FLAGS enhancement.
347*75fd0b74Schristos
348*75fd0b74Schristos2011-07-09  H.J. Lu  <hongjiu.lu@intel.com>
349*75fd0b74Schristos
350*75fd0b74Schristos	PR ld/12942
351*75fd0b74Schristos	* ldlang.c (section_already_linked): Pass "struct already_linked *"
352*75fd0b74Schristos	to bfd_section_already_linked.
353*75fd0b74Schristos	(lang_process): Set link_info.loading_lto_outputs before
354*75fd0b74Schristos	loading LTO outputs.
355*75fd0b74Schristos	* plugin.c: Include "libbfd.h".
356*75fd0b74Schristos	(add_symbols): Call bfd_section_already_linked with comdat_key.
357*75fd0b74Schristos
358*75fd0b74Schristos2011-06-20  H.J. Lu  <hongjiu.lu@intel.com>
359*75fd0b74Schristos
360*75fd0b74Schristos	* configure.tgt: Revert x32 change.
361*75fd0b74Schristos
362*75fd0b74Schristos2011-06-20  Jakub Jelinek  <jakub@redhat.com>
363*75fd0b74Schristos
364*75fd0b74Schristos	PR ld/12570
365*75fd0b74Schristos	* emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO,
366*75fd0b74Schristos	OPTION_NO_LD_GENERATED_UNWIND_INFO): Define.
367*75fd0b74Schristos	(gld${EMULATION_NAME}_handle_option): Handle
368*75fd0b74Schristos	--ld-generated-unwind-info and --no-ld-generated-unwind-info.
369*75fd0b74Schristos	* ld.texinfo (--ld-generated-unwind-info,
370*75fd0b74Schristos	--no-ld-generated-unwind-info): Document.
371*75fd0b74Schristos
372*75fd0b74Schristos2011-06-19  H.J. Lu  <hongjiu.lu@intel.com>
373*75fd0b74Schristos
374*75fd0b74Schristos	* configure.tgt: Support x32.
375*75fd0b74Schristos
376*75fd0b74Schristos2011-06-15  Nick Clifton  <nickc@redhat.com>
377*75fd0b74Schristos
378*75fd0b74Schristos	* NEWS: Mention addition of TILEPRO and TIKE-Gx support.
379*75fd0b74Schristos
380*75fd0b74Schristos2011-06-13  Walter Lee  <walt@tilera.com>
381*75fd0b74Schristos
382*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and
383*75fd0b74Schristos	eelf32tilepro.c.
384*75fd0b74Schristos	(ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c.
385*75fd0b74Schristos	(eelf32tilegx.c): New target.
386*75fd0b74Schristos	(eelf32tilepro.c): Likewise.
387*75fd0b74Schristos	(eelf64tilegx.c): Likewise.
388*75fd0b74Schristos	* Makefile.in: Regenerate.
389*75fd0b74Schristos	* configure.tgt: Handle tilegx-*-* and tilepro-*-*.
390*75fd0b74Schristos	* emulparams/elf32tilegx.sh: New file.
391*75fd0b74Schristos	* emulparams/elf64tilegx.sh: New file.
392*75fd0b74Schristos	* emulparams/elf32tilepro.sh: New file.
393*75fd0b74Schristos
394*75fd0b74Schristos2011-06-13  Alan Modra  <amodra@gmail.com>
395*75fd0b74Schristos
396*75fd0b74Schristos	* ldlang.c (sort_def_symbol, lang_one_common): Don't handle
397*75fd0b74Schristos	warning symbols here.
398*75fd0b74Schristos	* emultempl/pe.em (pr_sym): Remove redundant test.
399*75fd0b74Schristos	* emultempl/pep.em (pr_sym): Likewise.
400*75fd0b74Schristos
401*75fd0b74Schristos2011-06-09  Nick Clifton  <nickc@redhat.com>
402*75fd0b74Schristos
403*75fd0b74Schristos	PR ld/12845
404*75fd0b74Schristos	* emultempl/mipself.em (mips_add_stub_section): Do not add stubs
405*75fd0b74Schristos	for sections that have been removed by garbage collection.
406*75fd0b74Schristos
407*75fd0b74Schristos2011-06-08  Alan Modra  <amodra@gmail.com>
408*75fd0b74Schristos
409*75fd0b74Schristos	* ldlang.c (lang_one_common): Handle warning symbols.
410*75fd0b74Schristos
411*75fd0b74Schristos2011-06-07  Nick Clifton  <nickc@redhat.com>
412*75fd0b74Schristos
413*75fd0b74Schristos	* configure.tgt: Accept any V850 architecture.
414*75fd0b74Schristos
415*75fd0b74Schristos2011-06-03  Nick Clifton  <nickc@redhat.com>
416*75fd0b74Schristos
417*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
418*75fd0b74Schristos	Add rule to build eelf32am33lin.c
419*75fd0b74Schristos	* Makefile.in: Regenerate.
420*75fd0b74Schristos
421*75fd0b74Schristos2011-06-02  Nick Clifton  <nickc@redhat.com>
422*75fd0b74Schristos
423*75fd0b74Schristos	* lexsup.c: Fix spelling mistake in comment.
424*75fd0b74Schristos	* scripttempl/epocpe.sc: Likewise.
425*75fd0b74Schristos	* scripttempl/i386beos.sc: Likewise.
426*75fd0b74Schristos	* scripttempl/mcorepe.sc: Likewise.
427*75fd0b74Schristos	* scripttempl/pe.sc: Likewise.
428*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
429*75fd0b74Schristos	* po/ld.pot: Regenerate.
430*75fd0b74Schristos
431*75fd0b74Schristos2011-05-27  Nick Clifton  <nickc@redhat.com>
432*75fd0b74Schristos
433*75fd0b74Schristos	* scripttempl/v850.sc (_heap_start): Provide.
434*75fd0b74Schristos
435*75fd0b74Schristos2011-05-23  Alan Modra  <amodra@gmail.com>
436*75fd0b74Schristos
437*75fd0b74Schristos	* ldmisc.c (vfinfo): Add %H.
438*75fd0b74Schristos	* ldmain.c (reloc_overflow): Use %H rather than %C.
439*75fd0b74Schristos	(reloc_dangerous, unattached_reloc): Likewise.
440*75fd0b74Schristos
441*75fd0b74Schristos2011-05-23  Alan Modra  <amodra@gmail.com>
442*75fd0b74Schristos
443*75fd0b74Schristos	PR 12763
444*75fd0b74Schristos	* ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
445*75fd0b74Schristos	like sections to existing .sdata2, and similarly for orphan TLS
446*75fd0b74Schristos	sections.
447*75fd0b74Schristos	* emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
448*75fd0b74Schristos
449*75fd0b74Schristos2011-05-17  Tomohiro Kashiwada  <kikairoya@gmail.com>
450*75fd0b74Schristos
451*75fd0b74Schristos	PR ld/12759
452*75fd0b74Schristos	* emultempl/rxelf.em (ignore_lma): New variable.
453*75fd0b74Schristos	(rx_elf_create_output_section_statements): Pass the setiing of
454*75fd0b74Schristos	ignore_lma to bfd_elf32_rx_set_target_flags.
455*75fd0b74Schristos	(OPTION_IGNORE_LMA): Define.
456*75fd0b74Schristos	(OPTION_NO_IGNORE_LMA): Define.
457*75fd0b74Schristos	(PARSE_AND_LIST_LONGOPTS): Add ignore lma.
458*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Add ignore lma.
459*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
460*75fd0b74Schristos
461*75fd0b74Schristos2011-05-17  Alan Modra  <amodra@gmail.com>
462*75fd0b74Schristos
463*75fd0b74Schristos	PR ld/12760
464*75fd0b74Schristos	* ldmain.c (notice): Add "flags" and "string" param.
465*75fd0b74Schristos	* plugin.c (plugin_notice): Likewise.  Handle indirect, warning
466*75fd0b74Schristos	and constructor syms.
467*75fd0b74Schristos
468*75fd0b74Schristos2010-05-16  Daniel Jacobowitz  <dan@codesourcery.com>
469*75fd0b74Schristos
470*75fd0b74Schristos	* ldlang.c (print_assignment): Use the symbol's section if we
471*75fd0b74Schristos	use its value.
472*75fd0b74Schristos	* ldexp.c (exp_fold_tree_1): Skip self-assignment.  Expand
473*75fd0b74Schristos	comment on copying symbol type.
474*75fd0b74Schristos
475*75fd0b74Schristos2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
476*75fd0b74Schristos
477*75fd0b74Schristos	PR ld/12760
478*75fd0b74Schristos	* plugin.c (plugin_notice): Set u.undef.abfd for symbols made
479*75fd0b74Schristos	undefweak.
480*75fd0b74Schristos
481*75fd0b74Schristos2011-05-16  Alan Modra  <amodra@gmail.com>
482*75fd0b74Schristos
483*75fd0b74Schristos	* ldlang.c (lang_leave_output_section_statement): Don't copy
484*75fd0b74Schristos	previous lma_region if given address.
485*75fd0b74Schristos
486*75fd0b74Schristos2011-05-13  Bernd Schmidt  <bernds@codesourcery.com>
487*75fd0b74Schristos
488*75fd0b74Schristos	(eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
489*75fd0b74Schristos	eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
490*75fd0b74Schristos	* Makefile.am (ALL_EMULATIONS): Add these files.
491*75fd0b74Schristos	(eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
492*75fd0b74Schristos	* Makefile.in: Regenerated.
493*75fd0b74Schristos	* emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
494*75fd0b74Schristos	vectors.
495*75fd0b74Schristos	* emulparams/elf32_tic6x_elf_be.sh: New file.
496*75fd0b74Schristos	* emulparams/elf32_tic6x_elf_le.sh: New file.
497*75fd0b74Schristos	* emulparams/elf32_tic6x_linux_be.sh: New file.
498*75fd0b74Schristos	* emulparams/elf32_tic6x_linux_le.sh: New file.
499*75fd0b74Schristos	* configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
500*75fd0b74Schristos	(tic6x-*-*): Replaced by these.
501*75fd0b74Schristos
502*75fd0b74Schristos2011-05-13  Jan Beulich  <jbeulich@novell.com>
503*75fd0b74Schristos
504*75fd0b74Schristos	* configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
505*75fd0b74Schristos
506*75fd0b74Schristos2011-05-09  Paul Brook  <paul@codesourcery.com>
507*75fd0b74Schristos
508*75fd0b74Schristos	* emultempl/tic6xdsbt.em (merge_exidx_entries): New.
509*75fd0b74Schristos	(compare_output_sec_vma): New function.
510*75fd0b74Schristos	(gld${EMULATION_NAME}_after_allocation): New function.
511*75fd0b74Schristos	(OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
512*75fd0b74Schristos	(PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
513*75fd0b74Schristos	(PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
514*75fd0b74Schristos	(LDEMUL_AFTER_ALLOCATION): Set.
515*75fd0b74Schristos	* ld.texinfo: Document c6x --no-merge-exidx-entries.
516*75fd0b74Schristos
517*75fd0b74Schristos2011-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>
518*75fd0b74Schristos
519*75fd0b74Schristos	PR ld/12365
520*75fd0b74Schristos	* scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
521*75fd0b74Schristos	(__rt_psrelocs_end): Likewise.
522*75fd0b74Schristos	(__rt_psrelocs_size): Likewise difference between the above.
523*75fd0b74Schristos	(__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
524*75fd0b74Schristos	immediately after end of pseudo-reloc data.
525*75fd0b74Schristos	(___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
526*75fd0b74Schristos	(__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
527*75fd0b74Schristos	calculate backward from list end.
528*75fd0b74Schristos	(___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
529*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
530*75fd0b74Schristos
531*75fd0b74Schristos2011-05-06  Tristan Gingold  <gingold@adacore.com>
532*75fd0b74Schristos
533*75fd0b74Schristos	* scripttempl/alphavms.sc (CODE): Add *$CODE*.
534*75fd0b74Schristos
535*75fd0b74Schristos2011-05-04  Tristan Gingold  <gingold@adacore.com>
536*75fd0b74Schristos
537*75fd0b74Schristos	* emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
538*75fd0b74Schristos	LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
539*75fd0b74Schristos	* emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
540*75fd0b74Schristos	(gld${EMULATION_NAME}_add_options): New function.
541*75fd0b74Schristos	(gld${EMULATION_NAME}_list_options): Ditto.
542*75fd0b74Schristos	(gld${EMULATION_NAME}_handle_option): Ditto.
543*75fd0b74Schristos	(LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
544*75fd0b74Schristos	(LDEMUL_LIST_OPTIONS): Define.
545*75fd0b74Schristos
546*75fd0b74Schristos2011-05-04  Alan Modra  <amodra@gmail.com>
547*75fd0b74Schristos
548*75fd0b74Schristos	PR ld/12726
549*75fd0b74Schristos	* ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
550*75fd0b74Schristos	* ldexp.c (exp_fold_tree_1): Correct assign to dot comment.  Don't
551*75fd0b74Schristos	assign to dot when lang_assigning_phase_enum.
552*75fd0b74Schristos	* ldlang.h (lang_do_assignments): Update prototype.
553*75fd0b74Schristos	* ldlang.c (lang_do_assignments): Add phase parameter.  Update all
554*75fd0b74Schristos	callers.
555*75fd0b74Schristos	* pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
556*75fd0b74Schristos	lang_do_assignments calls.
557*75fd0b74Schristos
558*75fd0b74Schristos2011-04-28  Daniel C. Klauer  <daniel.c.klauer@web.de>
559*75fd0b74Schristos
560*75fd0b74Schristos	PR ld/12614
561*75fd0b74Schristos	* emultempl/pe.em (_after_open): Correctly check whether symbol is
562*75fd0b74Schristos	in undef list.
563*75fd0b74Schristos
564*75fd0b74Schristos2011-04-26  Kai Tietz  <ktietz@redhat.com>
565*75fd0b74Schristos
566*75fd0b74Schristos	* scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
567*75fd0b74Schristos	* scripttempl/pep.sc: Likewise.
568*75fd0b74Schristos
569*75fd0b74Schristos2011-04-24  Alan Modra  <amodra@gmail.com>
570*75fd0b74Schristos
571*75fd0b74Schristos	PR ld/12365
572*75fd0b74Schristos	PR ld/12696
573*75fd0b74Schristos	* ldmain.c (notice): Delete "name" param, add "h".
574*75fd0b74Schristos	* plugin.c (plugin_notice): Likewise.  Set non_ir_ref.  Handle
575*75fd0b74Schristos	redefinitions of IR symbols in real BFDs.
576*75fd0b74Schristos	(plugin_multiple_definition, plugin_multiple_common): Delete.
577*75fd0b74Schristos	(non_ironly_hash, init_non_ironly_hash): Delete.
578*75fd0b74Schristos	(is_visible_from_outside): Traverse entry_symbol chain.
579*75fd0b74Schristos	(get_symbols): Use non_ir_ref flag rather than hash lookup.
580*75fd0b74Schristos
581*75fd0b74Schristos2011-04-21  Tristan Gingold  <gingold@adacore.com>
582*75fd0b74Schristos
583*75fd0b74Schristos	* scripttempl/alphavms.sc: Add dwarf2 embedding marks.
584*75fd0b74Schristos
585*75fd0b74Schristos2011-04-20  Tristan Gingold  <gingold@adacore.com>
586*75fd0b74Schristos
587*75fd0b74Schristos	* emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
588*75fd0b74Schristos
589*75fd0b74Schristos2011-04-20  Alan Modra  <amodra@gmail.com>
590*75fd0b74Schristos
591*75fd0b74Schristos	* ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
592*75fd0b74Schristos
593*75fd0b74Schristos2011-04-20  Alan Modra  <amodra@gmail.com>
594*75fd0b74Schristos
595*75fd0b74Schristos	PR ld/12365
596*75fd0b74Schristos	* ldfile.c (ldfile_try_open_bfd): Move code creating and switching
597*75fd0b74Schristos	to plugin IR BFD..
598*75fd0b74Schristos	* ldmain.c (add_archive_element): ..and similar code here..
599*75fd0b74Schristos	* plugin.c (plugin_maybe_claim): ..to here.  New function.
600*75fd0b74Schristos	(plugin_call_claim_file): Make static.
601*75fd0b74Schristos	(asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
602*75fd0b74Schristos	(plugin_multiple_common): New function.
603*75fd0b74Schristos	(plugin_call_all_symbols_read): Hook in plugin_multiple_common.
604*75fd0b74Schristos	* plugin.h (plugin_call_claim_file): Don't declare.
605*75fd0b74Schristos	(plugin_maybe_claim): Declare.
606*75fd0b74Schristos
607*75fd0b74Schristos2011-04-20  Alan Modra  <amodra@gmail.com>
608*75fd0b74Schristos
609*75fd0b74Schristos	PR ld/12365
610*75fd0b74Schristos	* ldmain.c (multiple_definition): Take a bfd_link_hash_entry
611*75fd0b74Schristos	pointer arg rather than "name", "obfd", "osec", "oval".  Add code
612*75fd0b74Schristos	removed from linker.c.  Hack around xcofflink.c oddity in
613*75fd0b74Schristos	passing NULL nbfd.
614*75fd0b74Schristos	(multiple_common): Similarly.
615*75fd0b74Schristos	* plugin.c (orig_allow_multiple_defs): Delete.
616*75fd0b74Schristos	(plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
617*75fd0b74Schristos	(plugin_multiple_definition): Update.
618*75fd0b74Schristos
619*75fd0b74Schristos2011-04-18  Kai Tietz  <ktietz@redhat.com>
620*75fd0b74Schristos
621*75fd0b74Schristos	* deffilep.y (def_aligncomm): Avoid duplets.
622*75fd0b74Schristos
623*75fd0b74Schristos	* deffilep.y (def_pool_str): New type.
624*75fd0b74Schristos	(pool_strs): Local static.
625*75fd0b74Schristos	(def_pool_alloc): Local function.
626*75fd0b74Schristos	(def_pool_strdup): Likewise.
627*75fd0b74Schristos	(def_pool_free): Likewise.
628*75fd0b74Schristos	(opt_name): Replace xmalloc/xstrdup by
629*75fd0b74Schristos	def_pool_alloc/def_pool_strdup.
630*75fd0b74Schristos	(dot_name): Likewise.
631*75fd0b74Schristos	(anylang_id): Likewise.
632*75fd0b74Schristos	(def_lex): Likewise.
633*75fd0b74Schristos	(def_file_parse): Call def_pool_free on
634*75fd0b74Schristos	exit and cleanup directives elements.
635*75fd0b74Schristos	(def_file_add_directive): Call def_pool_free.
636*75fd0b74Schristos
637*75fd0b74Schristos2011-04-18  Paul Brook  <paul@codesourcery.com>
638*75fd0b74Schristos
639*75fd0b74Schristos	* emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
640*75fd0b74Schristos	for unwinding tables.
641*75fd0b74Schristos
642*75fd0b74Schristos2011-04-18  Alan Modra  <amodra@gmail.com>
643*75fd0b74Schristos
644*75fd0b74Schristos	PR ld/12365
645*75fd0b74Schristos	PR ld/12672
646*75fd0b74Schristos	* ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
647*75fd0b74Schristos	when no_more_claiming.
648*75fd0b74Schristos	* ldmain.c (add_archive_element): Likewise.
649*75fd0b74Schristos	(multiple_definition): Remove plugin_multiple_definition call.
650*75fd0b74Schristos	(notice): Remove plugin_notice call.
651*75fd0b74Schristos	* ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
652*75fd0b74Schristos	Delete prototype.
653*75fd0b74Schristos	(plugin_insert): New static var.
654*75fd0b74Schristos	(open_input_bfds): Only rescan libs after plugin insert point.
655*75fd0b74Schristos	(lang_gc_sections): Omit plugin claimed files.
656*75fd0b74Schristos	(lang_process): Set plugin_insert.  Only rescan when plugin adds
657*75fd0b74Schristos	objects.
658*75fd0b74Schristos	* plugin.h (no_more_claiming): Declare.
659*75fd0b74Schristos	(plugin_notice, plugin_multiple_definition): Don't declare.
660*75fd0b74Schristos	* plugin.c: Formatting.
661*75fd0b74Schristos	(orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
662*75fd0b74Schristos	plugin_callbacks): New static vars.
663*75fd0b74Schristos	(no_more_claiming): Make global.
664*75fd0b74Schristos	(plugin_cached_allow_multiple_defs): Delete.
665*75fd0b74Schristos	(plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
666*75fd0b74Schristos	use newer bfd_make_section variant.  Make COMMON section too.
667*75fd0b74Schristos	Error handling.  Correct setting of gp size.
668*75fd0b74Schristos	(asymbol_from_plugin_symbol): Properly cast last arg of concat.
669*75fd0b74Schristos	(message): Likewise for ACONCAT.
670*75fd0b74Schristos	(asymbol_from_plugin_symbol): Use our COMMON section.
671*75fd0b74Schristos	(get_symbols): When report_plugin_symbols, show visibility too.
672*75fd0b74Schristos	(init_non_ironly_hash): Move.  Don't test non_ironly_hash.
673*75fd0b74Schristos	(plugin_load_plugins): Save state of linker callbacks, set up to
674*75fd0b74Schristos	call plugin_notice instead.  Call init_non_ironly_hash here.
675*75fd0b74Schristos	(plugin_call_all_symbols_read): Set plugin_multiple_definition in
676*75fd0b74Schristos	plugin callbacks.
677*75fd0b74Schristos	(plugin_notice): Rewrite.
678*75fd0b74Schristos	(plugin_multiple_definition): Make static, call original callback.
679*75fd0b74Schristos
680*75fd0b74Schristos2011-04-15  Alan Modra  <amodra@gmail.com>
681*75fd0b74Schristos
682*75fd0b74Schristos	PR ld/12672
683*75fd0b74Schristos	* ldlang.c (enum open_bfd_mode): New.
684*75fd0b74Schristos	(open_input_bfds): Replace "force" param with "mode".  Reload
685*75fd0b74Schristos	archives for rescan.  Update all callers.
686*75fd0b74Schristos	(lang_process): Make another open_input_bfds pass for plugins.
687*75fd0b74Schristos
688*75fd0b74Schristos2011-04-13  Kai Tietz  <ktietz@redhat.com>
689*75fd0b74Schristos
690*75fd0b74Schristos	PR binutils/12658
691*75fd0b74Schristos	* deffile.h (def_file_add_export): Add is_dup argument.
692*75fd0b74Schristos	(def_file_add_import): Likewise.
693*75fd0b74Schristos	* deffilep.y (are_names_equal): New helper.
694*75fd0b74Schristos	(cmp_export_elem): New helper.
695*75fd0b74Schristos	(find_export_in_list): Add search routine for exports.
696*75fd0b74Schristos	(def_file_add_export): Check for duplicates.
697*75fd0b74Schristos	(cmp_import_elem): New helper.
698*75fd0b74Schristos	(find_import_in_list): Add search routine for imports.
699*75fd0b74Schristos	(def_file_add_import): Check for duplicates.
700*75fd0b74Schristos	(def_exports): Handle duplicates.
701*75fd0b74Schristos	(def_imports): Likewise.
702*75fd0b74Schristos	* pe-dll.c (process_def_file_and_drectve): Likewise.
703*75fd0b74Schristos	(pe_implied_import_dll): Likewise.
704*75fd0b74Schristos
705*75fd0b74Schristos2011-04-11  Chris Quenelle  <chris.quenelle@oracle.com>
706*75fd0b74Schristos
707*75fd0b74Schristos	* scripttempl/elf.sc (.exception_ranges): Add new section.
708*75fd0b74Schristos
709*75fd0b74Schristos2011-04-08  Hector Oron  <hector.oron@gmail.com>
710*75fd0b74Schristos
711*75fd0b74Schristos	PR ld/12643
712*75fd0b74Schristos	* configure.tgt: Add support for arm-*-gnueabihf targets.
713*75fd0b74Schristos
714*75fd0b74Schristos2011-04-07  Eric B. Weddington  <eric.weddington@atmel.com>
715*75fd0b74Schristos
716*75fd0b74Schristos	* Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
717*75fd0b74Schristos
718*75fd0b74Schristos2011-04-07  Joseph Myers  <joseph@codesourcery.com>
719*75fd0b74Schristos
720*75fd0b74Schristos	* configure.tgt: Remove stray ;;.
721*75fd0b74Schristos
722*75fd0b74Schristos2011-04-06  Joseph Myers  <joseph@codesourcery.com>
723*75fd0b74Schristos
724*75fd0b74Schristos	* configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
725*75fd0b74Schristos	strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
726*75fd0b74Schristos	thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
727*75fd0b74Schristos	xscale-*-coff, xscale-*-elf): Remove targets.
728*75fd0b74Schristos
729*75fd0b74Schristos2011-03-31  H.J. Lu  <hongjiu.lu@intel.com>
730*75fd0b74Schristos
731*75fd0b74Schristos	* configure.tgt: Add elf_l1om to targ_extra_libpath for
732*75fd0b74Schristos	x86_64-*-linux-*.
733*75fd0b74Schristos
734*75fd0b74Schristos	* emulparams/elf_l1om.sh: Remove duplicates.
735*75fd0b74Schristos
736*75fd0b74Schristos2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
737*75fd0b74Schristos
738*75fd0b74Schristos	* emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
739*75fd0b74Schristos	GENERATE_SHLIB_SCRIPT): New defines.
740*75fd0b74Schristos	(TEXT_START_ADDR): Define differently depending on target.
741*75fd0b74Schristos	(.got): Redefine to include "*(.dsbt)".
742*75fd0b74Schristos	(SDATA_START_SYMBOLS): Remove, replace with
743*75fd0b74Schristos	(OTHER_GOT_SYMBOLS): New.
744*75fd0b74Schristos	(OTHER_BSS_SECTIONS): Define only for ELF targets.
745*75fd0b74Schristos	* emultempl/tic6xdsbt.em: New file.
746*75fd0b74Schristos	* gen-doc.texi: Set C6X.
747*75fd0b74Schristos	* ld.texinfo: Likewise.
748*75fd0b74Schristos	(Options specific to C6X uClinux targets): New section.
749*75fd0b74Schristos
750*75fd0b74Schristos2011-03-29  Alan Modra  <amodra@gmail.com>
751*75fd0b74Schristos
752*75fd0b74Schristos	PR ld/12613
753*75fd0b74Schristos	* ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
754*75fd0b74Schristos
755*75fd0b74Schristos2011-03-26  John Marino  <binutils@marino.st>
756*75fd0b74Schristos
757*75fd0b74Schristos	* configure.host: Update *-*-dragonfly* host entry.
758*75fd0b74Schristos	* configure.tgt: Update *-*-dragonfly* target entry.
759*75fd0b74Schristos	* ldlex.l: Prevent redefinition of YY_NO_UNPUT.
760*75fd0b74Schristos
761*75fd0b74Schristos2011-03-28  Joseph Myers  <joseph@codesourcery.com>
762*75fd0b74Schristos
763*75fd0b74Schristos	* configure.in: Check for windows.h, not Windows.h.
764*75fd0b74Schristos	* configure: Regenerate.
765*75fd0b74Schristos	* plugin.c: Include windows.h, not Windows.h.
766*75fd0b74Schristos
767*75fd0b74Schristos2011-03-25  Eric B. Weddington  <eric.weddington@atmel.com>
768*75fd0b74Schristos
769*75fd0b74Schristos	* Makefile.in: Regenerate.
770*75fd0b74Schristos
771*75fd0b74Schristos2011-03-23  Joseph Myers  <joseph@codesourcery.com>
772*75fd0b74Schristos
773*75fd0b74Schristos	* lexsup.c (parse_args): Only set report_plugin_symbols if plugins
774*75fd0b74Schristos	are enabled.  Mark level as possibly unused.
775*75fd0b74Schristos
776*75fd0b74Schristos2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
777*75fd0b74Schristos
778*75fd0b74Schristos	* Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
779*75fd0b74Schristos	(eavrxmega?.c): Likewise.
780*75fd0b74Schristos	* configure.tgt (targ_extra_emuls): Likewise.
781*75fd0b74Schristos	* emulparams/avrxmega1.sh: New file.
782*75fd0b74Schristos	* emulparams/avrxmega2.sh: Likewise.
783*75fd0b74Schristos	* emulparams/avrxmega3.sh: Likewise.
784*75fd0b74Schristos	* emulparams/avrxmega4.sh: Likewise.
785*75fd0b74Schristos	* emulparams/avrxmega5.sh: Likewise.
786*75fd0b74Schristos	* emulparams/avrxmega6.sh: Likewise.
787*75fd0b74Schristos	* emulparams/avrxmega7.sh: Likewise.
788*75fd0b74Schristos	* emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
789*75fd0b74Schristos	Add avrxmega6, avrxmega7 to list of architectures for no stubs.
790*75fd0b74Schristos
791*75fd0b74Schristos2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
792*75fd0b74Schristos
793*75fd0b74Schristos	* scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
794*75fd0b74Schristos
795*75fd0b74Schristos2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
796*75fd0b74Schristos
797*75fd0b74Schristos	* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
798*75fd0b74Schristos	eh->target_internal.
799*75fd0b74Schristos
800*75fd0b74Schristos2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
801*75fd0b74Schristos
802*75fd0b74Schristos	* emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
803*75fd0b74Schristos	instead of dynamic_sections_created.
804*75fd0b74Schristos
805*75fd0b74Schristos2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
806*75fd0b74Schristos
807*75fd0b74Schristos	* plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
808*75fd0b74Schristos
809*75fd0b74Schristos2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
810*75fd0b74Schristos
811*75fd0b74Schristos	* ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
812*75fd0b74Schristos
813*75fd0b74Schristos2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
814*75fd0b74Schristos
815*75fd0b74Schristos	* ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
816*75fd0b74Schristos	wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
817*75fd0b74Schristos	* ldmain.c (add_archive_element): Set it if the member is claimed.
818*75fd0b74Schristos	* ldlang.c (new_afile): Initialise claim_archive and claimed members.
819*75fd0b74Schristos	(find_replacements_insert_point): New helper function.
820*75fd0b74Schristos	(lang_process): After adding and opening replacement files passed
821*75fd0b74Schristos	from plugin, splice them into correct place in statement list and
822*75fd0b74Schristos	file chains to preserve critical link order.
823*75fd0b74Schristos	(lang_list_insert_after): New helper function.
824*75fd0b74Schristos	(lang_list_remove_tail): Likewise.
825*75fd0b74Schristos
826*75fd0b74Schristos2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
827*75fd0b74Schristos
828*75fd0b74Schristos	* plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
829*75fd0b74Schristos	(IRONLY_SUFFIX_LEN): Delete.
830*75fd0b74Schristos	(plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
831*75fd0b74Schristos	(is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
832*75fd0b74Schristos	enclosing lang input statement instead.
833*75fd0b74Schristos
834*75fd0b74Schristos2011-03-10  Dave Korn  <dave.korn.cygwin@gmail.com>
835*75fd0b74Schristos
836*75fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
837*75fd0b74Schristos	alignment of input sections when creating orphan output sections
838*75fd0b74Schristos	during relocatable link.
839*75fd0b74Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
840*75fd0b74Schristos
841*75fd0b74Schristos2011-03-04  H.J. Lu  <hongjiu.lu@intel.com>
842*75fd0b74Schristos
843*75fd0b74Schristos	* ld.texinfo: Document --verbose[=NUMBER].
844*75fd0b74Schristos
845*75fd0b74Schristos	* lexsup.c (ld_options): Update --verbose.
846*75fd0b74Schristos	(parse_args): Set report_plugin_symbols.
847*75fd0b74Schristos
848*75fd0b74Schristos	* plugin.c (report_plugin_symbols): New.
849*75fd0b74Schristos	(get_symbols): Report plugin symbols if report_plugin_symbols
850*75fd0b74Schristos	is TRUE.
851*75fd0b74Schristos
852*75fd0b74Schristos	* plugin.h (report_plugin_symbols): New.
853*75fd0b74Schristos
854*75fd0b74Schristos2011-03-01  H.J. Lu  <hongjiu.lu@intel.com>
855*75fd0b74Schristos
856*75fd0b74Schristos	PR ld/12529
857*75fd0b74Schristos	* testplug.c: Don't include "filenames.h".
858*75fd0b74Schristos	(onclaim_file): Don't use filename_cmp.
859*75fd0b74Schristos
860*75fd0b74Schristos2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
861*75fd0b74Schristos
862*75fd0b74Schristos	* emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
863*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
864*75fd0b74Schristos	Likewise.
865*75fd0b74Schristos	(gld${EMULATION_NAME}_stat_needed): Likewise.
866*75fd0b74Schristos	(gld${EMULATION_NAME}_check_needed): Likewise.
867*75fd0b74Schristos	* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
868*75fd0b74Schristos	(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
869*75fd0b74Schristos	* emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
870*75fd0b74Schristos	(gld_${EMULATION_NAME}_unrecognized_file): Likewise.
871*75fd0b74Schristos	* ldfile.c (ldfile_open_file): Likewise.
872*75fd0b74Schristos	* ldlang.c (wild_sort): Likewise.
873*75fd0b74Schristos	(lookup_name): Likewise.
874*75fd0b74Schristos	(check_excluded_libs): Likewise.
875*75fd0b74Schristos	* ldmisc.c (vfinfo): Likewise.
876*75fd0b74Schristos	* pe-dll.c (libnamencmp): Likewise.
877*75fd0b74Schristos	(auto_export): Likewise.
878*75fd0b74Schristos	(pe_dll_generate_implib): Likewise.
879*75fd0b74Schristos	* testplug.c (onclaim_file): Likewise.
880*75fd0b74Schristos
881*75fd0b74Schristos2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
882*75fd0b74Schristos
883*75fd0b74Schristos	PR ld/12507
884*75fd0b74Schristos	* plugin.c (get_symbols): Don't check entry symbol here.
885*75fd0b74Schristos	(init_non_ironly_hash): Add entry_symbol chain into
886*75fd0b74Schristos	non_ironly_hash.
887*75fd0b74Schristos
888*75fd0b74Schristos2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
889*75fd0b74Schristos
890*75fd0b74Schristos	PR ld/12507
891*75fd0b74Schristos	* plugin.c (get_symbols): Don't mark entry symbol IR only.
892*75fd0b74Schristos
893*75fd0b74Schristos2011-02-18  John David Anglin  <dave.anglin@nrc-cnnrc.gc.ca>
894*75fd0b74Schristos
895*75fd0b74Schristos	PR ld/12376
896*75fd0b74Schristos	emulparams/hppalinux.sh (DATA_ADDR): Define.
897*75fd0b74Schristos	(SHLIB_DATA_ADDR): Likewise.
898*75fd0b74Schristos
899*75fd0b74Schristos2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>
900*75fd0b74Schristos
901*75fd0b74Schristos	* emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
902*75fd0b74Schristos	x32 for x32.
903*75fd0b74Schristos
904*75fd0b74Schristos2011-02-15  Kai Tietz  <kai.tietz@onevision.com>
905*75fd0b74Schristos
906*75fd0b74Schristos	* pe-dll.c (process_def_file_and_drectve): Don't strip
907*75fd0b74Schristos	leading underscore from symbol by calling bfd_find_version_for_sym.
908*75fd0b74Schristos
909*75fd0b74Schristos2011-02-14  Mike Frysinger  <vapier@gentoo.org>
910*75fd0b74Schristos
911*75fd0b74Schristos	* ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
912*75fd0b74Schristos	the bfd_demangle of sym, change users of sym to c_sym when not
913*75fd0b74Schristos	already demangling, and free when done.  Change callers of
914*75fd0b74Schristos	cplus_demangle to bfd_demangle.
915*75fd0b74Schristos
916*75fd0b74Schristos2011-02-14  Alan Modra  <amodra@gmail.com>
917*75fd0b74Schristos
918*75fd0b74Schristos	* plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
919*75fd0b74Schristos	.text section, use newer bfd_make_section variant.  Error handling.
920*75fd0b74Schristos	Correct setting of gp size.
921*75fd0b74Schristos	(asymbol_from_plugin_symbol): Properly cast last arg of concat.
922*75fd0b74Schristos	(message): Likewise for ACONCAT.
923*75fd0b74Schristos	(get_symbols): Formatting.
924*75fd0b74Schristos
925*75fd0b74Schristos2011-02-14  Alan Modra  <amodra@gmail.com>
926*75fd0b74Schristos
927*75fd0b74Schristos	* ldmain.c (remove_output): Rename to..
928*75fd0b74Schristos	(ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
929*75fd0b74Schristos	(main): Adjust.
930*75fd0b74Schristos	* plugin.c (plugin_call_cleanup): Make global.
931*75fd0b74Schristos	(plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
932*75fd0b74Schristos	* plugin.h (plugin_call_cleanup): Declare.
933*75fd0b74Schristos
934*75fd0b74Schristos2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
935*75fd0b74Schristos
936*75fd0b74Schristos	* configure: Regenerate.
937*75fd0b74Schristos
938*75fd0b74Schristos2011-02-10  Alan Modra  <amodra@gmail.com>
939*75fd0b74Schristos
940*75fd0b74Schristos	* scripttempl/armbpabi.sc: Revert 2010-11-02  H.J. Lu.
941*75fd0b74Schristos	* scripttempl/avr.sc: Likewise.
942*75fd0b74Schristos	* scripttempl/elf32cr16.sc: Likewise.
943*75fd0b74Schristos	* scripttempl/elf32crx.sc: Likewise.
944*75fd0b74Schristos	* scripttempl/elf32msp430.sc: Likewise.
945*75fd0b74Schristos	* scripttempl/elf32msp430_3.sc: Likewise.
946*75fd0b74Schristos	* scripttempl/elf32sh-symbian.sc: Likewise.
947*75fd0b74Schristos	* scripttempl/elf64hppa.sc: Likewise.
948*75fd0b74Schristos	* scripttempl/elf_chaos.sc: Likewise.
949*75fd0b74Schristos	* scripttempl/elfd10v.sc: Likewise.
950*75fd0b74Schristos	* scripttempl/elfd30v.sc: Likewise.
951*75fd0b74Schristos	* scripttempl/elfi370.sc: Likewise.
952*75fd0b74Schristos	* scripttempl/elfm68hc11.sc: Likewise.
953*75fd0b74Schristos	* scripttempl/elfm68hc12.sc: Likewise.
954*75fd0b74Schristos	* scripttempl/elfxtensa.sc: Likewise.
955*75fd0b74Schristos	* scripttempl/ip2k.sc: Likewise.
956*75fd0b74Schristos	* scripttempl/iq2000.sc: Likewise.
957*75fd0b74Schristos	* scripttempl/mep.sc: Likewise.
958*75fd0b74Schristos	* scripttempl/mmo.sc: Likewise.
959*75fd0b74Schristos	* scripttempl/v850.sc: Likewise.
960*75fd0b74Schristos	* scripttempl/xstormy16.sc: Likewise.
961*75fd0b74Schristos	* scripttempl/elf.sc: Revert 2010-10-29  H.J. Lu.
962*75fd0b74Schristos
963*75fd0b74Schristos2011-01-22  H.J. Lu  <hongjiu.lu@intel.com>
964*75fd0b74Schristos
965*75fd0b74Schristos	* Makefile.am (CXX): Removed.
966*75fd0b74Schristos
967*75fd0b74Schristos	* configure.in: Add AC_PROG_CXX.
968*75fd0b74Schristos
969*75fd0b74Schristos	* Makefile.in: Regenerated.
970*75fd0b74Schristos	* configure: Likewise.
971*75fd0b74Schristos
972*75fd0b74Schristos2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
973*75fd0b74Schristos
974*75fd0b74Schristos	* plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
975*75fd0b74Schristos	private data and GP size.
976*75fd0b74Schristos
977*75fd0b74Schristos2011-01-21  Alan Modra  <amodra@gmail.com>
978*75fd0b74Schristos
979*75fd0b74Schristos	* ldexp.c (fold_binary): Set result section for arithmetic and
980*75fd0b74Schristos	logical operations to NULL when both operands are in same section.
981*75fd0b74Schristos	* ld.texinfo (Expression Section): Describe this.
982*75fd0b74Schristos
983*75fd0b74Schristos2011-01-14  Alan Modra  <amodra@gmail.com>
984*75fd0b74Schristos
985*75fd0b74Schristos	* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
986*75fd0b74Schristos	attempt to put non-alloc orphans before debug sections, just place
987*75fd0b74Schristos	them after .comment.
988*75fd0b74Schristos
989*75fd0b74Schristos2011-01-14  J. Park  <grassman@gmail.com>
990*75fd0b74Schristos
991*75fd0b74Schristos	PR ld/12339
992*75fd0b74Schristos	* ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
993*75fd0b74Schristos
994*75fd0b74Schristos2011-01-14  Alan Modra  <amodra@gmail.com>
995*75fd0b74Schristos
996*75fd0b74Schristos	* Makefile.am: Sort emulation rules.
997*75fd0b74Schristos	(eelf32am33lin.c): Delete.
998*75fd0b74Schristos	(ALL_EMULATION_SOURCES): Sort, add missing entries.
999*75fd0b74Schristos	(ALL_64_EMULATION_SOURCES): Likewise.
1000*75fd0b74Schristos	* Makefile.in: Regenerate.
1001*75fd0b74Schristos
1002*75fd0b74Schristos2011-01-13  Alan Modra  <amodra@gmail.com>
1003*75fd0b74Schristos
1004*75fd0b74Schristos	PR ld/12356
1005*75fd0b74Schristos	* ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
1006*75fd0b74Schristos	(Expression Section): Update.
1007*75fd0b74Schristos	* ld.h (ld_config_type): Add sane_expr.
1008*75fd0b74Schristos	* ldgram.y (ifile_p1): Add LD_FEATURE.
1009*75fd0b74Schristos	* ldlex.l (LD_FEATYRE): New.
1010*75fd0b74Schristos	* ldemul.c (after_parse_default): Delete code handling ld_compatibility.
1011*75fd0b74Schristos	* ldexp.h (struct ldexp_control): Delete uses_defined.
1012*75fd0b74Schristos	* ldexp.c: Remove all uses of uses_defined.
1013*75fd0b74Schristos	(fold_name): Test config.sane_expr rather than ld_compatibility.
1014*75fd0b74Schristos	(exp_fold_tree_1): Likewise.  Adjust handling of assignments
1015*75fd0b74Schristos	during first phase.
1016*75fd0b74Schristos	* ldlang.h (ld_compatibility): Delete.
1017*75fd0b74Schristos	(lang_ld_feature): Declare.
1018*75fd0b74Schristos	* ldlang.c (ld_compatibility): Delete.
1019*75fd0b74Schristos	(open_input_bfds): Only handle assignments for --defsym.
1020*75fd0b74Schristos	(lang_ld_feature): New function.
1021*75fd0b74Schristos
1022*75fd0b74Schristos	PR ld/12356
1023*75fd0b74Schristos	* ldexp.h (exp_assop): Delete.
1024*75fd0b74Schristos	(exp_assign, exp_defsym): Declare.
1025*75fd0b74Schristos	* ldexp.c (exp_assop): Make static, handle all assignment variations.
1026*75fd0b74Schristos	(exp_assign, exp_defsym): New functions.
1027*75fd0b74Schristos	(exp_provide): Use exp_assop.
1028*75fd0b74Schristos	* ldgram.y (defsym_expr): Use exp_defsym.
1029*75fd0b74Schristos	* ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
1030*75fd0b74Schristos	* emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
1031*75fd0b74Schristos	* emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
1032*75fd0b74Schristos
1033*75fd0b74Schristos2011-01-12  Alan Modra  <amodra@gmail.com>
1034*75fd0b74Schristos
1035*75fd0b74Schristos	PR ld/12380
1036*75fd0b74Schristos	* ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
1037*75fd0b74Schristos	* ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
1038*75fd0b74Schristos	for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
1039*75fd0b74Schristos	to detect when we've finished sizing sections.
1040*75fd0b74Schristos	(fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
1041*75fd0b74Schristos	(fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
1042*75fd0b74Schristos	that we are not inside an output section statement.
1043*75fd0b74Schristos	* ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
1044*75fd0b74Schristos	not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
1045*75fd0b74Schristos	lang_final_phase_enum here.
1046*75fd0b74Schristos	(lang_process): Set lang_final_phase_enum here.
1047*75fd0b74Schristos
1048*75fd0b74Schristos2011-01-10  Nick Clifton  <nickc@redhat.com>
1049*75fd0b74Schristos
1050*75fd0b74Schristos	* po/da.po: Updated Danish translation.
1051*75fd0b74Schristos
1052*75fd0b74Schristos2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
1053*75fd0b74Schristos
1054*75fd0b74Schristos	* ldlang.c (startup_file): Removed.
1055*75fd0b74Schristos	(lang_startup): Updated.
1056*75fd0b74Schristos
1057*75fd0b74Schristos2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1058*75fd0b74Schristos
1059*75fd0b74Schristos	PR ld/12364
1060*75fd0b74Schristos	* plugin.c (get_symbols): Check if owner_sec->owner is NULL
1061*75fd0b74Schristos	before accessing its flags field.
1062*75fd0b74Schristos
1063*75fd0b74Schristos2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
1064*75fd0b74Schristos
1065*75fd0b74Schristos	* ldver.c (ldversion): Update copyright to 2011.
1066*75fd0b74Schristos
1067*75fd0b74SchristosFor older changes see ChangeLog-2010
1068*75fd0b74Schristos
1069*75fd0b74SchristosCopyright (C) 2011 Free Software Foundation, Inc.
1070*75fd0b74Schristos
1071*75fd0b74SchristosCopying and distribution of this file, with or without modification,
1072*75fd0b74Schristosare permitted in any medium without royalty provided the copyright
1073*75fd0b74Schristosnotice and this notice are preserved.
1074*75fd0b74Schristos
1075*75fd0b74SchristosLocal Variables:
1076*75fd0b74Schristosmode: change-log
1077*75fd0b74Schristosleft-margin: 8
1078*75fd0b74Schristosfill-column: 74
1079*75fd0b74Schristosversion-control: never
1080*75fd0b74SchristosEnd:
1081