1 2011-06-08 Alan Modra <amodra@gmail.com>
3 * ldlang.c (lang_one_common): Handle warning symbols.
5 2011-06-03 Nick Clifton <nickc@redhat.com>
7 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
8 Add rule to build eelf32am33lin.c
9 * Makefile.in: Regenerate.
11 2011-06-02 Nick Clifton <nickc@redhat.com>
13 * lexsup.c: Fix spelling mistake in comment.
14 * scripttempl/epocpe.sc: Likewise.
15 * scripttempl/i386beos.sc: Likewise.
16 * scripttempl/mcorepe.sc: Likewise.
17 * scripttempl/pe.sc: Likewise.
18 * scripttempl/pep.sc: Likewise.
19 * po/ld.pot: Regenerate.
21 2011-05-27 Nick Clifton <nickc@redhat.com>
23 * scripttempl/v850.sc (_heap_start): Provide.
25 2011-05-23 Alan Modra <amodra@gmail.com>
27 * ldmisc.c (vfinfo): Add %H.
28 * ldmain.c (reloc_overflow): Use %H rather than %C.
29 (reloc_dangerous, unattached_reloc): Likewise.
31 2011-05-23 Alan Modra <amodra@gmail.com>
34 * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
35 like sections to existing .sdata2, and similarly for orphan TLS
37 * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
39 2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com>
42 * emultempl/rxelf.em (ignore_lma): New variable.
43 (rx_elf_create_output_section_statements): Pass the setiing of
44 ignore_lma to bfd_elf32_rx_set_target_flags.
45 (OPTION_IGNORE_LMA): Define.
46 (OPTION_NO_IGNORE_LMA): Define.
47 (PARSE_AND_LIST_LONGOPTS): Add ignore lma.
48 (PARSE_AND_LIST_OPTIONS): Add ignore lma.
49 (PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
51 2011-05-17 Alan Modra <amodra@gmail.com>
54 * ldmain.c (notice): Add "flags" and "string" param.
55 * plugin.c (plugin_notice): Likewise. Handle indirect, warning
58 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com>
60 * ldlang.c (print_assignment): Use the symbol's section if we
62 * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
63 comment on copying symbol type.
65 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
68 * plugin.c (plugin_notice): Set u.undef.abfd for symbols made
71 2011-05-16 Alan Modra <amodra@gmail.com>
73 * ldlang.c (lang_leave_output_section_statement): Don't copy
74 previous lma_region if given address.
76 2011-05-13 Bernd Schmidt <bernds@codesourcery.com>
78 (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
79 eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
80 * Makefile.am (ALL_EMULATIONS): Add these files.
81 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
82 * Makefile.in: Regenerated.
83 * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
85 * emulparams/elf32_tic6x_elf_be.sh: New file.
86 * emulparams/elf32_tic6x_elf_le.sh: New file.
87 * emulparams/elf32_tic6x_linux_be.sh: New file.
88 * emulparams/elf32_tic6x_linux_le.sh: New file.
89 * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
90 (tic6x-*-*): Replaced by these.
92 2011-05-13 Jan Beulich <jbeulich@novell.com>
94 * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
96 2011-05-09 Paul Brook <paul@codesourcery.com>
98 * emultempl/tic6xdsbt.em (merge_exidx_entries): New.
99 (compare_output_sec_vma): New function.
100 (gld${EMULATION_NAME}_after_allocation): New function.
101 (OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
102 (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
103 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
104 (LDEMUL_AFTER_ALLOCATION): Set.
105 * ld.texinfo: Document c6x --no-merge-exidx-entries.
107 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
110 * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
111 (__rt_psrelocs_end): Likewise.
112 (__rt_psrelocs_size): Likewise difference between the above.
113 (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
114 immediately after end of pseudo-reloc data.
115 (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
116 (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
117 calculate backward from list end.
118 (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
119 * scripttempl/pep.sc: Likewise.
121 2011-05-06 Tristan Gingold <gingold@adacore.com>
123 * scripttempl/alphavms.sc (CODE): Add *$CODE*.
125 2011-05-04 Tristan Gingold <gingold@adacore.com>
127 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
128 LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
129 * emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
130 (gld${EMULATION_NAME}_add_options): New function.
131 (gld${EMULATION_NAME}_list_options): Ditto.
132 (gld${EMULATION_NAME}_handle_option): Ditto.
133 (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
134 (LDEMUL_LIST_OPTIONS): Define.
136 2011-05-04 Alan Modra <amodra@gmail.com>
139 * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
140 * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
141 assign to dot when lang_assigning_phase_enum.
142 * ldlang.h (lang_do_assignments): Update prototype.
143 * ldlang.c (lang_do_assignments): Add phase parameter. Update all
145 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
146 lang_do_assignments calls.
148 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de>
151 * emultempl/pe.em (_after_open): Correctly check whether symbol is
154 2011-04-26 Kai Tietz <ktietz@redhat.com>
156 * scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
157 * scripttempl/pep.sc: Likewise.
159 2011-04-24 Alan Modra <amodra@gmail.com>
163 * ldmain.c (notice): Delete "name" param, add "h".
164 * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
165 redefinitions of IR symbols in real BFDs.
166 (plugin_multiple_definition, plugin_multiple_common): Delete.
167 (non_ironly_hash, init_non_ironly_hash): Delete.
168 (is_visible_from_outside): Traverse entry_symbol chain.
169 (get_symbols): Use non_ir_ref flag rather than hash lookup.
171 2011-04-21 Tristan Gingold <gingold@adacore.com>
173 * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
175 2011-04-20 Tristan Gingold <gingold@adacore.com>
177 * emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
179 2011-04-20 Alan Modra <amodra@gmail.com>
181 * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
183 2011-04-20 Alan Modra <amodra@gmail.com>
186 * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
188 * ldmain.c (add_archive_element): ..and similar code here..
189 * plugin.c (plugin_maybe_claim): ..to here. New function.
190 (plugin_call_claim_file): Make static.
191 (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
192 (plugin_multiple_common): New function.
193 (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
194 * plugin.h (plugin_call_claim_file): Don't declare.
195 (plugin_maybe_claim): Declare.
197 2011-04-20 Alan Modra <amodra@gmail.com>
200 * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
201 pointer arg rather than "name", "obfd", "osec", "oval". Add code
202 removed from linker.c. Hack around xcofflink.c oddity in
204 (multiple_common): Similarly.
205 * plugin.c (orig_allow_multiple_defs): Delete.
206 (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
207 (plugin_multiple_definition): Update.
209 2011-04-18 Kai Tietz <ktietz@redhat.com>
211 * deffilep.y (def_aligncomm): Avoid duplets.
213 * deffilep.y (def_pool_str): New type.
214 (pool_strs): Local static.
215 (def_pool_alloc): Local function.
216 (def_pool_strdup): Likewise.
217 (def_pool_free): Likewise.
218 (opt_name): Replace xmalloc/xstrdup by
219 def_pool_alloc/def_pool_strdup.
220 (dot_name): Likewise.
221 (anylang_id): Likewise.
223 (def_file_parse): Call def_pool_free on
224 exit and cleanup directives elements.
225 (def_file_add_directive): Call def_pool_free.
227 2011-04-18 Paul Brook <paul@codesourcery.com>
229 * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
230 for unwinding tables.
232 2011-04-18 Alan Modra <amodra@gmail.com>
236 * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
237 when no_more_claiming.
238 * ldmain.c (add_archive_element): Likewise.
239 (multiple_definition): Remove plugin_multiple_definition call.
240 (notice): Remove plugin_notice call.
241 * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
243 (plugin_insert): New static var.
244 (open_input_bfds): Only rescan libs after plugin insert point.
245 (lang_gc_sections): Omit plugin claimed files.
246 (lang_process): Set plugin_insert. Only rescan when plugin adds
248 * plugin.h (no_more_claiming): Declare.
249 (plugin_notice, plugin_multiple_definition): Don't declare.
250 * plugin.c: Formatting.
251 (orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
252 plugin_callbacks): New static vars.
253 (no_more_claiming): Make global.
254 (plugin_cached_allow_multiple_defs): Delete.
255 (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
256 use newer bfd_make_section variant. Make COMMON section too.
257 Error handling. Correct setting of gp size.
258 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
259 (message): Likewise for ACONCAT.
260 (asymbol_from_plugin_symbol): Use our COMMON section.
261 (get_symbols): When report_plugin_symbols, show visibility too.
262 (init_non_ironly_hash): Move. Don't test non_ironly_hash.
263 (plugin_load_plugins): Save state of linker callbacks, set up to
264 call plugin_notice instead. Call init_non_ironly_hash here.
265 (plugin_call_all_symbols_read): Set plugin_multiple_definition in
267 (plugin_notice): Rewrite.
268 (plugin_multiple_definition): Make static, call original callback.
270 2011-04-15 Alan Modra <amodra@gmail.com>
273 * ldlang.c (enum open_bfd_mode): New.
274 (open_input_bfds): Replace "force" param with "mode". Reload
275 archives for rescan. Update all callers.
276 (lang_process): Make another open_input_bfds pass for plugins.
278 2011-04-13 Kai Tietz <ktietz@redhat.com>
281 * deffile.h (def_file_add_export): Add is_dup argument.
282 (def_file_add_import): Likewise.
283 * deffilep.y (are_names_equal): New helper.
284 (cmp_export_elem): New helper.
285 (find_export_in_list): Add search routine for exports.
286 (def_file_add_export): Check for duplicates.
287 (cmp_import_elem): New helper.
288 (find_import_in_list): Add search routine for imports.
289 (def_file_add_import): Check for duplicates.
290 (def_exports): Handle duplicates.
291 (def_imports): Likewise.
292 * pe-dll.c (process_def_file_and_drectve): Likewise.
293 (pe_implied_import_dll): Likewise.
295 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com>
297 * scripttempl/elf.sc (.exception_ranges): Add new section.
299 2011-04-08 Hector Oron <hector.oron@gmail.com>
302 * configure.tgt: Add support for arm-*-gnueabihf targets.
304 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com>
306 * Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
308 2011-04-07 Joseph Myers <joseph@codesourcery.com>
310 * configure.tgt: Remove stray ;;.
312 2011-04-06 Joseph Myers <joseph@codesourcery.com>
314 * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
315 strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
316 thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
317 xscale-*-coff, xscale-*-elf): Remove targets.
319 2011-03-31 H.J. Lu <hongjiu.lu@intel.com>
321 * configure.tgt: Add elf_l1om to targ_extra_libpath for
324 * emulparams/elf_l1om.sh: Remove duplicates.
326 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
328 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
329 GENERATE_SHLIB_SCRIPT): New defines.
330 (TEXT_START_ADDR): Define differently depending on target.
331 (.got): Redefine to include "*(.dsbt)".
332 (SDATA_START_SYMBOLS): Remove, replace with
333 (OTHER_GOT_SYMBOLS): New.
334 (OTHER_BSS_SECTIONS): Define only for ELF targets.
335 * emultempl/tic6xdsbt.em: New file.
336 * gen-doc.texi: Set C6X.
337 * ld.texinfo: Likewise.
338 (Options specific to C6X uClinux targets): New section.
340 2011-03-29 Alan Modra <amodra@gmail.com>
343 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
345 2011-03-26 John Marino <binutils@marino.st>
347 * configure.host: Update *-*-dragonfly* host entry.
348 * configure.tgt: Update *-*-dragonfly* target entry.
349 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
351 2011-03-28 Joseph Myers <joseph@codesourcery.com>
353 * configure.in: Check for windows.h, not Windows.h.
354 * configure: Regenerate.
355 * plugin.c: Include windows.h, not Windows.h.
357 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
359 * Makefile.in: Regenerate.
361 2011-03-23 Joseph Myers <joseph@codesourcery.com>
363 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
364 are enabled. Mark level as possibly unused.
366 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
368 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
369 (eavrxmega?.c): Likewise.
370 * configure.tgt (targ_extra_emuls): Likewise.
371 * emulparams/avrxmega1.sh: New file.
372 * emulparams/avrxmega2.sh: Likewise.
373 * emulparams/avrxmega3.sh: Likewise.
374 * emulparams/avrxmega4.sh: Likewise.
375 * emulparams/avrxmega5.sh: Likewise.
376 * emulparams/avrxmega6.sh: Likewise.
377 * emulparams/avrxmega7.sh: Likewise.
378 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
379 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
381 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
383 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
385 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
387 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
390 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
392 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
393 instead of dynamic_sections_created.
395 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
397 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
399 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
401 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
403 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
405 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
406 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
407 * ldmain.c (add_archive_element): Set it if the member is claimed.
408 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
409 (find_replacements_insert_point): New helper function.
410 (lang_process): After adding and opening replacement files passed
411 from plugin, splice them into correct place in statement list and
412 file chains to preserve critical link order.
413 (lang_list_insert_after): New helper function.
414 (lang_list_remove_tail): Likewise.
416 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
418 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
419 (IRONLY_SUFFIX_LEN): Delete.
420 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
421 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
422 enclosing lang input statement instead.
424 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
426 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
427 alignment of input sections when creating orphan output sections
428 during relocatable link.
429 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
431 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
433 * ld.texinfo: Document --verbose[=NUMBER].
435 * lexsup.c (ld_options): Update --verbose.
436 (parse_args): Set report_plugin_symbols.
438 * plugin.c (report_plugin_symbols): New.
439 (get_symbols): Report plugin symbols if report_plugin_symbols
442 * plugin.h (report_plugin_symbols): New.
444 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
447 * testplug.c: Don't include "filenames.h".
448 (onclaim_file): Don't use filename_cmp.
450 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
452 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
453 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
455 (gld${EMULATION_NAME}_stat_needed): Likewise.
456 (gld${EMULATION_NAME}_check_needed): Likewise.
457 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
458 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
459 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
460 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
461 * ldfile.c (ldfile_open_file): Likewise.
462 * ldlang.c (wild_sort): Likewise.
463 (lookup_name): Likewise.
464 (check_excluded_libs): Likewise.
465 * ldmisc.c (vfinfo): Likewise.
466 * pe-dll.c (libnamencmp): Likewise.
467 (auto_export): Likewise.
468 (pe_dll_generate_implib): Likewise.
469 * testplug.c (onclaim_file): Likewise.
471 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
474 * plugin.c (get_symbols): Don't check entry symbol here.
475 (init_non_ironly_hash): Add entry_symbol chain into
478 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
481 * plugin.c (get_symbols): Don't mark entry symbol IR only.
483 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
486 emulparams/hppalinux.sh (DATA_ADDR): Define.
487 (SHLIB_DATA_ADDR): Likewise.
489 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
491 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
494 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
496 * pe-dll.c (process_def_file_and_drectve): Don't strip
497 leading underscore from symbol by calling bfd_find_version_for_sym.
499 2011-02-14 Mike Frysinger <vapier@gentoo.org>
501 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
502 the bfd_demangle of sym, change users of sym to c_sym when not
503 already demangling, and free when done. Change callers of
504 cplus_demangle to bfd_demangle.
506 2011-02-14 Alan Modra <amodra@gmail.com>
508 * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
509 .text section, use newer bfd_make_section variant. Error handling.
510 Correct setting of gp size.
511 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
512 (message): Likewise for ACONCAT.
513 (get_symbols): Formatting.
515 2011-02-14 Alan Modra <amodra@gmail.com>
517 * ldmain.c (remove_output): Rename to..
518 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
520 * plugin.c (plugin_call_cleanup): Make global.
521 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
522 * plugin.h (plugin_call_cleanup): Declare.
524 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
526 * configure: Regenerate.
528 2011-02-10 Alan Modra <amodra@gmail.com>
530 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
531 * scripttempl/avr.sc: Likewise.
532 * scripttempl/elf32cr16.sc: Likewise.
533 * scripttempl/elf32crx.sc: Likewise.
534 * scripttempl/elf32msp430.sc: Likewise.
535 * scripttempl/elf32msp430_3.sc: Likewise.
536 * scripttempl/elf32sh-symbian.sc: Likewise.
537 * scripttempl/elf64hppa.sc: Likewise.
538 * scripttempl/elf_chaos.sc: Likewise.
539 * scripttempl/elfd10v.sc: Likewise.
540 * scripttempl/elfd30v.sc: Likewise.
541 * scripttempl/elfi370.sc: Likewise.
542 * scripttempl/elfm68hc11.sc: Likewise.
543 * scripttempl/elfm68hc12.sc: Likewise.
544 * scripttempl/elfxtensa.sc: Likewise.
545 * scripttempl/ip2k.sc: Likewise.
546 * scripttempl/iq2000.sc: Likewise.
547 * scripttempl/mep.sc: Likewise.
548 * scripttempl/mmo.sc: Likewise.
549 * scripttempl/v850.sc: Likewise.
550 * scripttempl/xstormy16.sc: Likewise.
551 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
553 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
555 * Makefile.am (CXX): Removed.
557 * configure.in: Add AC_PROG_CXX.
559 * Makefile.in: Regenerated.
560 * configure: Likewise.
562 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
564 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
565 private data and GP size.
567 2011-01-21 Alan Modra <amodra@gmail.com>
569 * ldexp.c (fold_binary): Set result section for arithmetic and
570 logical operations to NULL when both operands are in same section.
571 * ld.texinfo (Expression Section): Describe this.
573 2011-01-14 Alan Modra <amodra@gmail.com>
575 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
576 attempt to put non-alloc orphans before debug sections, just place
579 2011-01-14 J. Park <grassman@gmail.com>
582 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
584 2011-01-14 Alan Modra <amodra@gmail.com>
586 * Makefile.am: Sort emulation rules.
587 (eelf32am33lin.c): Delete.
588 (ALL_EMULATION_SOURCES): Sort, add missing entries.
589 (ALL_64_EMULATION_SOURCES): Likewise.
590 * Makefile.in: Regenerate.
592 2011-01-13 Alan Modra <amodra@gmail.com>
595 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
596 (Expression Section): Update.
597 * ld.h (ld_config_type): Add sane_expr.
598 * ldgram.y (ifile_p1): Add LD_FEATURE.
599 * ldlex.l (LD_FEATYRE): New.
600 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
601 * ldexp.h (struct ldexp_control): Delete uses_defined.
602 * ldexp.c: Remove all uses of uses_defined.
603 (fold_name): Test config.sane_expr rather than ld_compatibility.
604 (exp_fold_tree_1): Likewise. Adjust handling of assignments
606 * ldlang.h (ld_compatibility): Delete.
607 (lang_ld_feature): Declare.
608 * ldlang.c (ld_compatibility): Delete.
609 (open_input_bfds): Only handle assignments for --defsym.
610 (lang_ld_feature): New function.
613 * ldexp.h (exp_assop): Delete.
614 (exp_assign, exp_defsym): Declare.
615 * ldexp.c (exp_assop): Make static, handle all assignment variations.
616 (exp_assign, exp_defsym): New functions.
617 (exp_provide): Use exp_assop.
618 * ldgram.y (defsym_expr): Use exp_defsym.
619 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
620 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
621 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
623 2011-01-12 Alan Modra <amodra@gmail.com>
626 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
627 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
628 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
629 to detect when we've finished sizing sections.
630 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
631 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
632 that we are not inside an output section statement.
633 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
634 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
635 lang_final_phase_enum here.
636 (lang_process): Set lang_final_phase_enum here.
638 2011-01-10 Nick Clifton <nickc@redhat.com>
640 * po/da.po: Updated Danish translation.
642 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
644 * ldlang.c (startup_file): Removed.
645 (lang_startup): Updated.
647 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
650 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
651 before accessing its flags field.
653 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
655 * ldver.c (ldversion): Update copyright to 2011.
657 For older changes see ChangeLog-2010
663 version-control: never