1 2011-05-17 Alan Modra <amodra@gmail.com>
4 * ldmain.c (notice): Add "flags" and "string" param.
5 * plugin.c (plugin_notice): Likewise. Handle indirect, warning
8 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10 * ldlang.c (print_assignment): Use the symbol's section if we
12 * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
13 comment on copying symbol type.
15 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
18 * plugin.c (plugin_notice): Set u.undef.abfd for symbols made
21 2011-05-16 Alan Modra <amodra@gmail.com>
23 * ldlang.c (lang_leave_output_section_statement): Don't copy
24 previous lma_region if given address.
26 2011-05-13 Bernd Schmidt <bernds@codesourcery.com>
28 (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
29 eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
30 * Makefile.am (ALL_EMULATIONS): Add these files.
31 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
32 * Makefile.in: Regenerated.
33 * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
35 * emulparams/elf32_tic6x_elf_be.sh: New file.
36 * emulparams/elf32_tic6x_elf_le.sh: New file.
37 * emulparams/elf32_tic6x_linux_be.sh: New file.
38 * emulparams/elf32_tic6x_linux_le.sh: New file.
39 * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
40 (tic6x-*-*): Replaced by these.
42 2011-05-13 Jan Beulich <jbeulich@novell.com>
44 * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
46 2011-05-09 Paul Brook <paul@codesourcery.com>
48 * emultempl/tic6xdsbt.em (merge_exidx_entries): New.
49 (compare_output_sec_vma): New function.
50 (gld${EMULATION_NAME}_after_allocation): New function.
51 (OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
52 (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
53 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
54 (LDEMUL_AFTER_ALLOCATION): Set.
55 * ld.texinfo: Document c6x --no-merge-exidx-entries.
57 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
60 * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
61 (__rt_psrelocs_end): Likewise.
62 (__rt_psrelocs_size): Likewise difference between the above.
63 (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
64 immediately after end of pseudo-reloc data.
65 (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
66 (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
67 calculate backward from list end.
68 (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
69 * scripttempl/pep.sc: Likewise.
71 2011-05-06 Tristan Gingold <gingold@adacore.com>
73 * scripttempl/alphavms.sc (CODE): Add *$CODE*.
75 2011-05-04 Tristan Gingold <gingold@adacore.com>
77 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
78 LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
79 * emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
80 (gld${EMULATION_NAME}_add_options): New function.
81 (gld${EMULATION_NAME}_list_options): Ditto.
82 (gld${EMULATION_NAME}_handle_option): Ditto.
83 (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
84 (LDEMUL_LIST_OPTIONS): Define.
86 2011-05-04 Alan Modra <amodra@gmail.com>
89 * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
90 * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
91 assign to dot when lang_assigning_phase_enum.
92 * ldlang.h (lang_do_assignments): Update prototype.
93 * ldlang.c (lang_do_assignments): Add phase parameter. Update all
95 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
96 lang_do_assignments calls.
98 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de>
101 * emultempl/pe.em (_after_open): Correctly check whether symbol is
104 2011-04-26 Kai Tietz <ktietz@redhat.com>
106 * scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
107 * scripttempl/pep.sc: Likewise.
109 2011-04-24 Alan Modra <amodra@gmail.com>
113 * ldmain.c (notice): Delete "name" param, add "h".
114 * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
115 redefinitions of IR symbols in real BFDs.
116 (plugin_multiple_definition, plugin_multiple_common): Delete.
117 (non_ironly_hash, init_non_ironly_hash): Delete.
118 (is_visible_from_outside): Traverse entry_symbol chain.
119 (get_symbols): Use non_ir_ref flag rather than hash lookup.
121 2011-04-21 Tristan Gingold <gingold@adacore.com>
123 * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
125 2011-04-20 Tristan Gingold <gingold@adacore.com>
127 * emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
129 2011-04-20 Alan Modra <amodra@gmail.com>
131 * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
133 2011-04-20 Alan Modra <amodra@gmail.com>
136 * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
138 * ldmain.c (add_archive_element): ..and similar code here..
139 * plugin.c (plugin_maybe_claim): ..to here. New function.
140 (plugin_call_claim_file): Make static.
141 (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
142 (plugin_multiple_common): New function.
143 (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
144 * plugin.h (plugin_call_claim_file): Don't declare.
145 (plugin_maybe_claim): Declare.
147 2011-04-20 Alan Modra <amodra@gmail.com>
150 * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
151 pointer arg rather than "name", "obfd", "osec", "oval". Add code
152 removed from linker.c. Hack around xcofflink.c oddity in
154 (multiple_common): Similarly.
155 * plugin.c (orig_allow_multiple_defs): Delete.
156 (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
157 (plugin_multiple_definition): Update.
159 2011-04-18 Kai Tietz <ktietz@redhat.com>
161 * deffilep.y (def_aligncomm): Avoid duplets.
163 * deffilep.y (def_pool_str): New type.
164 (pool_strs): Local static.
165 (def_pool_alloc): Local function.
166 (def_pool_strdup): Likewise.
167 (def_pool_free): Likewise.
168 (opt_name): Replace xmalloc/xstrdup by
169 def_pool_alloc/def_pool_strdup.
170 (dot_name): Likewise.
171 (anylang_id): Likewise.
173 (def_file_parse): Call def_pool_free on
174 exit and cleanup directives elements.
175 (def_file_add_directive): Call def_pool_free.
177 2011-04-18 Paul Brook <paul@codesourcery.com>
179 * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
180 for unwinding tables.
182 2011-04-18 Alan Modra <amodra@gmail.com>
186 * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
187 when no_more_claiming.
188 * ldmain.c (add_archive_element): Likewise.
189 (multiple_definition): Remove plugin_multiple_definition call.
190 (notice): Remove plugin_notice call.
191 * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
193 (plugin_insert): New static var.
194 (open_input_bfds): Only rescan libs after plugin insert point.
195 (lang_gc_sections): Omit plugin claimed files.
196 (lang_process): Set plugin_insert. Only rescan when plugin adds
198 * plugin.h (no_more_claiming): Declare.
199 (plugin_notice, plugin_multiple_definition): Don't declare.
200 * plugin.c: Formatting.
201 (orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
202 plugin_callbacks): New static vars.
203 (no_more_claiming): Make global.
204 (plugin_cached_allow_multiple_defs): Delete.
205 (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
206 use newer bfd_make_section variant. Make COMMON section too.
207 Error handling. Correct setting of gp size.
208 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
209 (message): Likewise for ACONCAT.
210 (asymbol_from_plugin_symbol): Use our COMMON section.
211 (get_symbols): When report_plugin_symbols, show visibility too.
212 (init_non_ironly_hash): Move. Don't test non_ironly_hash.
213 (plugin_load_plugins): Save state of linker callbacks, set up to
214 call plugin_notice instead. Call init_non_ironly_hash here.
215 (plugin_call_all_symbols_read): Set plugin_multiple_definition in
217 (plugin_notice): Rewrite.
218 (plugin_multiple_definition): Make static, call original callback.
220 2011-04-15 Alan Modra <amodra@gmail.com>
223 * ldlang.c (enum open_bfd_mode): New.
224 (open_input_bfds): Replace "force" param with "mode". Reload
225 archives for rescan. Update all callers.
226 (lang_process): Make another open_input_bfds pass for plugins.
228 2011-04-13 Kai Tietz <ktietz@redhat.com>
231 * deffile.h (def_file_add_export): Add is_dup argument.
232 (def_file_add_import): Likewise.
233 * deffilep.y (are_names_equal): New helper.
234 (cmp_export_elem): New helper.
235 (find_export_in_list): Add search routine for exports.
236 (def_file_add_export): Check for duplicates.
237 (cmp_import_elem): New helper.
238 (find_import_in_list): Add search routine for imports.
239 (def_file_add_import): Check for duplicates.
240 (def_exports): Handle duplicates.
241 (def_imports): Likewise.
242 * pe-dll.c (process_def_file_and_drectve): Likewise.
243 (pe_implied_import_dll): Likewise.
245 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com>
247 * scripttempl/elf.sc (.exception_ranges): Add new section.
249 2011-04-08 Hector Oron <hector.oron@gmail.com>
252 * configure.tgt: Add support for arm-*-gnueabihf targets.
254 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com>
256 * Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
258 2011-04-07 Joseph Myers <joseph@codesourcery.com>
260 * configure.tgt: Remove stray ;;.
262 2011-04-06 Joseph Myers <joseph@codesourcery.com>
264 * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
265 strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
266 thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
267 xscale-*-coff, xscale-*-elf): Remove targets.
269 2011-03-31 H.J. Lu <hongjiu.lu@intel.com>
271 * configure.tgt: Add elf_l1om to targ_extra_libpath for
274 * emulparams/elf_l1om.sh: Remove duplicates.
276 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
278 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
279 GENERATE_SHLIB_SCRIPT): New defines.
280 (TEXT_START_ADDR): Define differently depending on target.
281 (.got): Redefine to include "*(.dsbt)".
282 (SDATA_START_SYMBOLS): Remove, replace with
283 (OTHER_GOT_SYMBOLS): New.
284 (OTHER_BSS_SECTIONS): Define only for ELF targets.
285 * emultempl/tic6xdsbt.em: New file.
286 * gen-doc.texi: Set C6X.
287 * ld.texinfo: Likewise.
288 (Options specific to C6X uClinux targets): New section.
290 2011-03-29 Alan Modra <amodra@gmail.com>
293 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
295 2011-03-26 John Marino <binutils@marino.st>
297 * configure.host: Update *-*-dragonfly* host entry.
298 * configure.tgt: Update *-*-dragonfly* target entry.
299 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
301 2011-03-28 Joseph Myers <joseph@codesourcery.com>
303 * configure.in: Check for windows.h, not Windows.h.
304 * configure: Regenerate.
305 * plugin.c: Include windows.h, not Windows.h.
307 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
309 * Makefile.in: Regenerate.
311 2011-03-23 Joseph Myers <joseph@codesourcery.com>
313 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
314 are enabled. Mark level as possibly unused.
316 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
318 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
319 (eavrxmega?.c): Likewise.
320 * configure.tgt (targ_extra_emuls): Likewise.
321 * emulparams/avrxmega1.sh: New file.
322 * emulparams/avrxmega2.sh: Likewise.
323 * emulparams/avrxmega3.sh: Likewise.
324 * emulparams/avrxmega4.sh: Likewise.
325 * emulparams/avrxmega5.sh: Likewise.
326 * emulparams/avrxmega6.sh: Likewise.
327 * emulparams/avrxmega7.sh: Likewise.
328 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
329 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
331 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
333 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
335 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
337 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
340 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
342 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
343 instead of dynamic_sections_created.
345 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
347 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
349 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
351 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
353 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
355 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
356 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
357 * ldmain.c (add_archive_element): Set it if the member is claimed.
358 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
359 (find_replacements_insert_point): New helper function.
360 (lang_process): After adding and opening replacement files passed
361 from plugin, splice them into correct place in statement list and
362 file chains to preserve critical link order.
363 (lang_list_insert_after): New helper function.
364 (lang_list_remove_tail): Likewise.
366 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
368 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
369 (IRONLY_SUFFIX_LEN): Delete.
370 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
371 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
372 enclosing lang input statement instead.
374 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
376 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
377 alignment of input sections when creating orphan output sections
378 during relocatable link.
379 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
381 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
383 * ld.texinfo: Document --verbose[=NUMBER].
385 * lexsup.c (ld_options): Update --verbose.
386 (parse_args): Set report_plugin_symbols.
388 * plugin.c (report_plugin_symbols): New.
389 (get_symbols): Report plugin symbols if report_plugin_symbols
392 * plugin.h (report_plugin_symbols): New.
394 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
397 * testplug.c: Don't include "filenames.h".
398 (onclaim_file): Don't use filename_cmp.
400 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
402 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
403 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
405 (gld${EMULATION_NAME}_stat_needed): Likewise.
406 (gld${EMULATION_NAME}_check_needed): Likewise.
407 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
408 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
409 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
410 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
411 * ldfile.c (ldfile_open_file): Likewise.
412 * ldlang.c (wild_sort): Likewise.
413 (lookup_name): Likewise.
414 (check_excluded_libs): Likewise.
415 * ldmisc.c (vfinfo): Likewise.
416 * pe-dll.c (libnamencmp): Likewise.
417 (auto_export): Likewise.
418 (pe_dll_generate_implib): Likewise.
419 * testplug.c (onclaim_file): Likewise.
421 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
424 * plugin.c (get_symbols): Don't check entry symbol here.
425 (init_non_ironly_hash): Add entry_symbol chain into
428 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
431 * plugin.c (get_symbols): Don't mark entry symbol IR only.
433 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
436 emulparams/hppalinux.sh (DATA_ADDR): Define.
437 (SHLIB_DATA_ADDR): Likewise.
439 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
441 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
444 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
446 * pe-dll.c (process_def_file_and_drectve): Don't strip
447 leading underscore from symbol by calling bfd_find_version_for_sym.
449 2011-02-14 Mike Frysinger <vapier@gentoo.org>
451 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
452 the bfd_demangle of sym, change users of sym to c_sym when not
453 already demangling, and free when done. Change callers of
454 cplus_demangle to bfd_demangle.
456 2011-02-14 Alan Modra <amodra@gmail.com>
458 * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
459 .text section, use newer bfd_make_section variant. Error handling.
460 Correct setting of gp size.
461 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
462 (message): Likewise for ACONCAT.
463 (get_symbols): Formatting.
465 2011-02-14 Alan Modra <amodra@gmail.com>
467 * ldmain.c (remove_output): Rename to..
468 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
470 * plugin.c (plugin_call_cleanup): Make global.
471 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
472 * plugin.h (plugin_call_cleanup): Declare.
474 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
476 * configure: Regenerate.
478 2011-02-10 Alan Modra <amodra@gmail.com>
480 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
481 * scripttempl/avr.sc: Likewise.
482 * scripttempl/elf32cr16.sc: Likewise.
483 * scripttempl/elf32crx.sc: Likewise.
484 * scripttempl/elf32msp430.sc: Likewise.
485 * scripttempl/elf32msp430_3.sc: Likewise.
486 * scripttempl/elf32sh-symbian.sc: Likewise.
487 * scripttempl/elf64hppa.sc: Likewise.
488 * scripttempl/elf_chaos.sc: Likewise.
489 * scripttempl/elfd10v.sc: Likewise.
490 * scripttempl/elfd30v.sc: Likewise.
491 * scripttempl/elfi370.sc: Likewise.
492 * scripttempl/elfm68hc11.sc: Likewise.
493 * scripttempl/elfm68hc12.sc: Likewise.
494 * scripttempl/elfxtensa.sc: Likewise.
495 * scripttempl/ip2k.sc: Likewise.
496 * scripttempl/iq2000.sc: Likewise.
497 * scripttempl/mep.sc: Likewise.
498 * scripttempl/mmo.sc: Likewise.
499 * scripttempl/v850.sc: Likewise.
500 * scripttempl/xstormy16.sc: Likewise.
501 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
503 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
505 * Makefile.am (CXX): Removed.
507 * configure.in: Add AC_PROG_CXX.
509 * Makefile.in: Regenerated.
510 * configure: Likewise.
512 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
514 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
515 private data and GP size.
517 2011-01-21 Alan Modra <amodra@gmail.com>
519 * ldexp.c (fold_binary): Set result section for arithmetic and
520 logical operations to NULL when both operands are in same section.
521 * ld.texinfo (Expression Section): Describe this.
523 2011-01-14 Alan Modra <amodra@gmail.com>
525 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
526 attempt to put non-alloc orphans before debug sections, just place
529 2011-01-14 J. Park <grassman@gmail.com>
532 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
534 2011-01-14 Alan Modra <amodra@gmail.com>
536 * Makefile.am: Sort emulation rules.
537 (eelf32am33lin.c): Delete.
538 (ALL_EMULATION_SOURCES): Sort, add missing entries.
539 (ALL_64_EMULATION_SOURCES): Likewise.
540 * Makefile.in: Regenerate.
542 2011-01-13 Alan Modra <amodra@gmail.com>
545 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
546 (Expression Section): Update.
547 * ld.h (ld_config_type): Add sane_expr.
548 * ldgram.y (ifile_p1): Add LD_FEATURE.
549 * ldlex.l (LD_FEATYRE): New.
550 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
551 * ldexp.h (struct ldexp_control): Delete uses_defined.
552 * ldexp.c: Remove all uses of uses_defined.
553 (fold_name): Test config.sane_expr rather than ld_compatibility.
554 (exp_fold_tree_1): Likewise. Adjust handling of assignments
556 * ldlang.h (ld_compatibility): Delete.
557 (lang_ld_feature): Declare.
558 * ldlang.c (ld_compatibility): Delete.
559 (open_input_bfds): Only handle assignments for --defsym.
560 (lang_ld_feature): New function.
563 * ldexp.h (exp_assop): Delete.
564 (exp_assign, exp_defsym): Declare.
565 * ldexp.c (exp_assop): Make static, handle all assignment variations.
566 (exp_assign, exp_defsym): New functions.
567 (exp_provide): Use exp_assop.
568 * ldgram.y (defsym_expr): Use exp_defsym.
569 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
570 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
571 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
573 2011-01-12 Alan Modra <amodra@gmail.com>
576 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
577 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
578 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
579 to detect when we've finished sizing sections.
580 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
581 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
582 that we are not inside an output section statement.
583 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
584 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
585 lang_final_phase_enum here.
586 (lang_process): Set lang_final_phase_enum here.
588 2011-01-10 Nick Clifton <nickc@redhat.com>
590 * po/da.po: Updated Danish translation.
592 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
594 * ldlang.c (startup_file): Removed.
595 (lang_startup): Updated.
597 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
600 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
601 before accessing its flags field.
603 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
605 * ldver.c (ldversion): Update copyright to 2011.
607 For older changes see ChangeLog-2010
613 version-control: never