1 2011-06-02 Nick Clifton <nickc@redhat.com>
3 * lexsup.c: Fix spelling mistake in comment.
4 * scripttempl/epocpe.sc: Likewise.
5 * scripttempl/i386beos.sc: Likewise.
6 * scripttempl/mcorepe.sc: Likewise.
7 * scripttempl/pe.sc: Likewise.
8 * scripttempl/pep.sc: Likewise.
9 * po/ld.pot: Regenerate.
11 2011-05-27 Nick Clifton <nickc@redhat.com>
13 * scripttempl/v850.sc (_heap_start): Provide.
15 2011-05-23 Alan Modra <amodra@gmail.com>
17 * ldmisc.c (vfinfo): Add %H.
18 * ldmain.c (reloc_overflow): Use %H rather than %C.
19 (reloc_dangerous, unattached_reloc): Likewise.
21 2011-05-23 Alan Modra <amodra@gmail.com>
24 * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
25 like sections to existing .sdata2, and similarly for orphan TLS
27 * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
29 2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com>
32 * emultempl/rxelf.em (ignore_lma): New variable.
33 (rx_elf_create_output_section_statements): Pass the setiing of
34 ignore_lma to bfd_elf32_rx_set_target_flags.
35 (OPTION_IGNORE_LMA): Define.
36 (OPTION_NO_IGNORE_LMA): Define.
37 (PARSE_AND_LIST_LONGOPTS): Add ignore lma.
38 (PARSE_AND_LIST_OPTIONS): Add ignore lma.
39 (PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
41 2011-05-17 Alan Modra <amodra@gmail.com>
44 * ldmain.c (notice): Add "flags" and "string" param.
45 * plugin.c (plugin_notice): Likewise. Handle indirect, warning
48 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com>
50 * ldlang.c (print_assignment): Use the symbol's section if we
52 * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
53 comment on copying symbol type.
55 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
58 * plugin.c (plugin_notice): Set u.undef.abfd for symbols made
61 2011-05-16 Alan Modra <amodra@gmail.com>
63 * ldlang.c (lang_leave_output_section_statement): Don't copy
64 previous lma_region if given address.
66 2011-05-13 Bernd Schmidt <bernds@codesourcery.com>
68 (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
69 eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
70 * Makefile.am (ALL_EMULATIONS): Add these files.
71 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
72 * Makefile.in: Regenerated.
73 * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
75 * emulparams/elf32_tic6x_elf_be.sh: New file.
76 * emulparams/elf32_tic6x_elf_le.sh: New file.
77 * emulparams/elf32_tic6x_linux_be.sh: New file.
78 * emulparams/elf32_tic6x_linux_le.sh: New file.
79 * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
80 (tic6x-*-*): Replaced by these.
82 2011-05-13 Jan Beulich <jbeulich@novell.com>
84 * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
86 2011-05-09 Paul Brook <paul@codesourcery.com>
88 * emultempl/tic6xdsbt.em (merge_exidx_entries): New.
89 (compare_output_sec_vma): New function.
90 (gld${EMULATION_NAME}_after_allocation): New function.
91 (OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
92 (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
93 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
94 (LDEMUL_AFTER_ALLOCATION): Set.
95 * ld.texinfo: Document c6x --no-merge-exidx-entries.
97 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
100 * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
101 (__rt_psrelocs_end): Likewise.
102 (__rt_psrelocs_size): Likewise difference between the above.
103 (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
104 immediately after end of pseudo-reloc data.
105 (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
106 (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
107 calculate backward from list end.
108 (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
109 * scripttempl/pep.sc: Likewise.
111 2011-05-06 Tristan Gingold <gingold@adacore.com>
113 * scripttempl/alphavms.sc (CODE): Add *$CODE*.
115 2011-05-04 Tristan Gingold <gingold@adacore.com>
117 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
118 LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
119 * emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
120 (gld${EMULATION_NAME}_add_options): New function.
121 (gld${EMULATION_NAME}_list_options): Ditto.
122 (gld${EMULATION_NAME}_handle_option): Ditto.
123 (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
124 (LDEMUL_LIST_OPTIONS): Define.
126 2011-05-04 Alan Modra <amodra@gmail.com>
129 * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
130 * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
131 assign to dot when lang_assigning_phase_enum.
132 * ldlang.h (lang_do_assignments): Update prototype.
133 * ldlang.c (lang_do_assignments): Add phase parameter. Update all
135 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
136 lang_do_assignments calls.
138 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de>
141 * emultempl/pe.em (_after_open): Correctly check whether symbol is
144 2011-04-26 Kai Tietz <ktietz@redhat.com>
146 * scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
147 * scripttempl/pep.sc: Likewise.
149 2011-04-24 Alan Modra <amodra@gmail.com>
153 * ldmain.c (notice): Delete "name" param, add "h".
154 * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
155 redefinitions of IR symbols in real BFDs.
156 (plugin_multiple_definition, plugin_multiple_common): Delete.
157 (non_ironly_hash, init_non_ironly_hash): Delete.
158 (is_visible_from_outside): Traverse entry_symbol chain.
159 (get_symbols): Use non_ir_ref flag rather than hash lookup.
161 2011-04-21 Tristan Gingold <gingold@adacore.com>
163 * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
165 2011-04-20 Tristan Gingold <gingold@adacore.com>
167 * emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
169 2011-04-20 Alan Modra <amodra@gmail.com>
171 * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
173 2011-04-20 Alan Modra <amodra@gmail.com>
176 * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
178 * ldmain.c (add_archive_element): ..and similar code here..
179 * plugin.c (plugin_maybe_claim): ..to here. New function.
180 (plugin_call_claim_file): Make static.
181 (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
182 (plugin_multiple_common): New function.
183 (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
184 * plugin.h (plugin_call_claim_file): Don't declare.
185 (plugin_maybe_claim): Declare.
187 2011-04-20 Alan Modra <amodra@gmail.com>
190 * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
191 pointer arg rather than "name", "obfd", "osec", "oval". Add code
192 removed from linker.c. Hack around xcofflink.c oddity in
194 (multiple_common): Similarly.
195 * plugin.c (orig_allow_multiple_defs): Delete.
196 (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
197 (plugin_multiple_definition): Update.
199 2011-04-18 Kai Tietz <ktietz@redhat.com>
201 * deffilep.y (def_aligncomm): Avoid duplets.
203 * deffilep.y (def_pool_str): New type.
204 (pool_strs): Local static.
205 (def_pool_alloc): Local function.
206 (def_pool_strdup): Likewise.
207 (def_pool_free): Likewise.
208 (opt_name): Replace xmalloc/xstrdup by
209 def_pool_alloc/def_pool_strdup.
210 (dot_name): Likewise.
211 (anylang_id): Likewise.
213 (def_file_parse): Call def_pool_free on
214 exit and cleanup directives elements.
215 (def_file_add_directive): Call def_pool_free.
217 2011-04-18 Paul Brook <paul@codesourcery.com>
219 * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
220 for unwinding tables.
222 2011-04-18 Alan Modra <amodra@gmail.com>
226 * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
227 when no_more_claiming.
228 * ldmain.c (add_archive_element): Likewise.
229 (multiple_definition): Remove plugin_multiple_definition call.
230 (notice): Remove plugin_notice call.
231 * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
233 (plugin_insert): New static var.
234 (open_input_bfds): Only rescan libs after plugin insert point.
235 (lang_gc_sections): Omit plugin claimed files.
236 (lang_process): Set plugin_insert. Only rescan when plugin adds
238 * plugin.h (no_more_claiming): Declare.
239 (plugin_notice, plugin_multiple_definition): Don't declare.
240 * plugin.c: Formatting.
241 (orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
242 plugin_callbacks): New static vars.
243 (no_more_claiming): Make global.
244 (plugin_cached_allow_multiple_defs): Delete.
245 (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
246 use newer bfd_make_section variant. Make COMMON section too.
247 Error handling. Correct setting of gp size.
248 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
249 (message): Likewise for ACONCAT.
250 (asymbol_from_plugin_symbol): Use our COMMON section.
251 (get_symbols): When report_plugin_symbols, show visibility too.
252 (init_non_ironly_hash): Move. Don't test non_ironly_hash.
253 (plugin_load_plugins): Save state of linker callbacks, set up to
254 call plugin_notice instead. Call init_non_ironly_hash here.
255 (plugin_call_all_symbols_read): Set plugin_multiple_definition in
257 (plugin_notice): Rewrite.
258 (plugin_multiple_definition): Make static, call original callback.
260 2011-04-15 Alan Modra <amodra@gmail.com>
263 * ldlang.c (enum open_bfd_mode): New.
264 (open_input_bfds): Replace "force" param with "mode". Reload
265 archives for rescan. Update all callers.
266 (lang_process): Make another open_input_bfds pass for plugins.
268 2011-04-13 Kai Tietz <ktietz@redhat.com>
271 * deffile.h (def_file_add_export): Add is_dup argument.
272 (def_file_add_import): Likewise.
273 * deffilep.y (are_names_equal): New helper.
274 (cmp_export_elem): New helper.
275 (find_export_in_list): Add search routine for exports.
276 (def_file_add_export): Check for duplicates.
277 (cmp_import_elem): New helper.
278 (find_import_in_list): Add search routine for imports.
279 (def_file_add_import): Check for duplicates.
280 (def_exports): Handle duplicates.
281 (def_imports): Likewise.
282 * pe-dll.c (process_def_file_and_drectve): Likewise.
283 (pe_implied_import_dll): Likewise.
285 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com>
287 * scripttempl/elf.sc (.exception_ranges): Add new section.
289 2011-04-08 Hector Oron <hector.oron@gmail.com>
292 * configure.tgt: Add support for arm-*-gnueabihf targets.
294 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com>
296 * Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
298 2011-04-07 Joseph Myers <joseph@codesourcery.com>
300 * configure.tgt: Remove stray ;;.
302 2011-04-06 Joseph Myers <joseph@codesourcery.com>
304 * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
305 strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
306 thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
307 xscale-*-coff, xscale-*-elf): Remove targets.
309 2011-03-31 H.J. Lu <hongjiu.lu@intel.com>
311 * configure.tgt: Add elf_l1om to targ_extra_libpath for
314 * emulparams/elf_l1om.sh: Remove duplicates.
316 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
318 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
319 GENERATE_SHLIB_SCRIPT): New defines.
320 (TEXT_START_ADDR): Define differently depending on target.
321 (.got): Redefine to include "*(.dsbt)".
322 (SDATA_START_SYMBOLS): Remove, replace with
323 (OTHER_GOT_SYMBOLS): New.
324 (OTHER_BSS_SECTIONS): Define only for ELF targets.
325 * emultempl/tic6xdsbt.em: New file.
326 * gen-doc.texi: Set C6X.
327 * ld.texinfo: Likewise.
328 (Options specific to C6X uClinux targets): New section.
330 2011-03-29 Alan Modra <amodra@gmail.com>
333 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
335 2011-03-26 John Marino <binutils@marino.st>
337 * configure.host: Update *-*-dragonfly* host entry.
338 * configure.tgt: Update *-*-dragonfly* target entry.
339 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
341 2011-03-28 Joseph Myers <joseph@codesourcery.com>
343 * configure.in: Check for windows.h, not Windows.h.
344 * configure: Regenerate.
345 * plugin.c: Include windows.h, not Windows.h.
347 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
349 * Makefile.in: Regenerate.
351 2011-03-23 Joseph Myers <joseph@codesourcery.com>
353 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
354 are enabled. Mark level as possibly unused.
356 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
358 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
359 (eavrxmega?.c): Likewise.
360 * configure.tgt (targ_extra_emuls): Likewise.
361 * emulparams/avrxmega1.sh: New file.
362 * emulparams/avrxmega2.sh: Likewise.
363 * emulparams/avrxmega3.sh: Likewise.
364 * emulparams/avrxmega4.sh: Likewise.
365 * emulparams/avrxmega5.sh: Likewise.
366 * emulparams/avrxmega6.sh: Likewise.
367 * emulparams/avrxmega7.sh: Likewise.
368 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
369 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
371 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
373 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
375 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
377 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
380 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
382 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
383 instead of dynamic_sections_created.
385 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
387 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
389 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
391 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
393 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
395 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
396 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
397 * ldmain.c (add_archive_element): Set it if the member is claimed.
398 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
399 (find_replacements_insert_point): New helper function.
400 (lang_process): After adding and opening replacement files passed
401 from plugin, splice them into correct place in statement list and
402 file chains to preserve critical link order.
403 (lang_list_insert_after): New helper function.
404 (lang_list_remove_tail): Likewise.
406 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
408 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
409 (IRONLY_SUFFIX_LEN): Delete.
410 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
411 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
412 enclosing lang input statement instead.
414 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
416 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
417 alignment of input sections when creating orphan output sections
418 during relocatable link.
419 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
421 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
423 * ld.texinfo: Document --verbose[=NUMBER].
425 * lexsup.c (ld_options): Update --verbose.
426 (parse_args): Set report_plugin_symbols.
428 * plugin.c (report_plugin_symbols): New.
429 (get_symbols): Report plugin symbols if report_plugin_symbols
432 * plugin.h (report_plugin_symbols): New.
434 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
437 * testplug.c: Don't include "filenames.h".
438 (onclaim_file): Don't use filename_cmp.
440 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
442 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
443 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
445 (gld${EMULATION_NAME}_stat_needed): Likewise.
446 (gld${EMULATION_NAME}_check_needed): Likewise.
447 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
448 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
449 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
450 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
451 * ldfile.c (ldfile_open_file): Likewise.
452 * ldlang.c (wild_sort): Likewise.
453 (lookup_name): Likewise.
454 (check_excluded_libs): Likewise.
455 * ldmisc.c (vfinfo): Likewise.
456 * pe-dll.c (libnamencmp): Likewise.
457 (auto_export): Likewise.
458 (pe_dll_generate_implib): Likewise.
459 * testplug.c (onclaim_file): Likewise.
461 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
464 * plugin.c (get_symbols): Don't check entry symbol here.
465 (init_non_ironly_hash): Add entry_symbol chain into
468 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
471 * plugin.c (get_symbols): Don't mark entry symbol IR only.
473 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
476 emulparams/hppalinux.sh (DATA_ADDR): Define.
477 (SHLIB_DATA_ADDR): Likewise.
479 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
481 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
484 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
486 * pe-dll.c (process_def_file_and_drectve): Don't strip
487 leading underscore from symbol by calling bfd_find_version_for_sym.
489 2011-02-14 Mike Frysinger <vapier@gentoo.org>
491 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
492 the bfd_demangle of sym, change users of sym to c_sym when not
493 already demangling, and free when done. Change callers of
494 cplus_demangle to bfd_demangle.
496 2011-02-14 Alan Modra <amodra@gmail.com>
498 * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
499 .text section, use newer bfd_make_section variant. Error handling.
500 Correct setting of gp size.
501 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
502 (message): Likewise for ACONCAT.
503 (get_symbols): Formatting.
505 2011-02-14 Alan Modra <amodra@gmail.com>
507 * ldmain.c (remove_output): Rename to..
508 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
510 * plugin.c (plugin_call_cleanup): Make global.
511 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
512 * plugin.h (plugin_call_cleanup): Declare.
514 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
516 * configure: Regenerate.
518 2011-02-10 Alan Modra <amodra@gmail.com>
520 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
521 * scripttempl/avr.sc: Likewise.
522 * scripttempl/elf32cr16.sc: Likewise.
523 * scripttempl/elf32crx.sc: Likewise.
524 * scripttempl/elf32msp430.sc: Likewise.
525 * scripttempl/elf32msp430_3.sc: Likewise.
526 * scripttempl/elf32sh-symbian.sc: Likewise.
527 * scripttempl/elf64hppa.sc: Likewise.
528 * scripttempl/elf_chaos.sc: Likewise.
529 * scripttempl/elfd10v.sc: Likewise.
530 * scripttempl/elfd30v.sc: Likewise.
531 * scripttempl/elfi370.sc: Likewise.
532 * scripttempl/elfm68hc11.sc: Likewise.
533 * scripttempl/elfm68hc12.sc: Likewise.
534 * scripttempl/elfxtensa.sc: Likewise.
535 * scripttempl/ip2k.sc: Likewise.
536 * scripttempl/iq2000.sc: Likewise.
537 * scripttempl/mep.sc: Likewise.
538 * scripttempl/mmo.sc: Likewise.
539 * scripttempl/v850.sc: Likewise.
540 * scripttempl/xstormy16.sc: Likewise.
541 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
543 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
545 * Makefile.am (CXX): Removed.
547 * configure.in: Add AC_PROG_CXX.
549 * Makefile.in: Regenerated.
550 * configure: Likewise.
552 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
554 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
555 private data and GP size.
557 2011-01-21 Alan Modra <amodra@gmail.com>
559 * ldexp.c (fold_binary): Set result section for arithmetic and
560 logical operations to NULL when both operands are in same section.
561 * ld.texinfo (Expression Section): Describe this.
563 2011-01-14 Alan Modra <amodra@gmail.com>
565 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
566 attempt to put non-alloc orphans before debug sections, just place
569 2011-01-14 J. Park <grassman@gmail.com>
572 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
574 2011-01-14 Alan Modra <amodra@gmail.com>
576 * Makefile.am: Sort emulation rules.
577 (eelf32am33lin.c): Delete.
578 (ALL_EMULATION_SOURCES): Sort, add missing entries.
579 (ALL_64_EMULATION_SOURCES): Likewise.
580 * Makefile.in: Regenerate.
582 2011-01-13 Alan Modra <amodra@gmail.com>
585 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
586 (Expression Section): Update.
587 * ld.h (ld_config_type): Add sane_expr.
588 * ldgram.y (ifile_p1): Add LD_FEATURE.
589 * ldlex.l (LD_FEATYRE): New.
590 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
591 * ldexp.h (struct ldexp_control): Delete uses_defined.
592 * ldexp.c: Remove all uses of uses_defined.
593 (fold_name): Test config.sane_expr rather than ld_compatibility.
594 (exp_fold_tree_1): Likewise. Adjust handling of assignments
596 * ldlang.h (ld_compatibility): Delete.
597 (lang_ld_feature): Declare.
598 * ldlang.c (ld_compatibility): Delete.
599 (open_input_bfds): Only handle assignments for --defsym.
600 (lang_ld_feature): New function.
603 * ldexp.h (exp_assop): Delete.
604 (exp_assign, exp_defsym): Declare.
605 * ldexp.c (exp_assop): Make static, handle all assignment variations.
606 (exp_assign, exp_defsym): New functions.
607 (exp_provide): Use exp_assop.
608 * ldgram.y (defsym_expr): Use exp_defsym.
609 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
610 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
611 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
613 2011-01-12 Alan Modra <amodra@gmail.com>
616 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
617 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
618 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
619 to detect when we've finished sizing sections.
620 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
621 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
622 that we are not inside an output section statement.
623 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
624 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
625 lang_final_phase_enum here.
626 (lang_process): Set lang_final_phase_enum here.
628 2011-01-10 Nick Clifton <nickc@redhat.com>
630 * po/da.po: Updated Danish translation.
632 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
634 * ldlang.c (startup_file): Removed.
635 (lang_startup): Updated.
637 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
640 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
641 before accessing its flags field.
643 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
645 * ldver.c (ldversion): Update copyright to 2011.
647 For older changes see ChangeLog-2010
653 version-control: never