2011-02-15 Kai Tietz <kai.tietz@onevision.com>
[binutils.git] / ld / ChangeLog
blob5cb671540f9ad13483d0bd57f75f385f36f4b68b
1 2011-02-15  Kai Tietz  <kai.tietz@onevision.com>
3         * pe-dll.c (process_def_file_and_drectve): Don't strip
4         leading underscore from symbol by calling bfd_find_version_for_sym.
6 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
8         * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
9         the bfd_demangle of sym, change users of sym to c_sym when not
10         already demangling, and free when done.  Change callers of
11         cplus_demangle to bfd_demangle.
13 2011-02-14  Alan Modra  <amodra@gmail.com>
15         * ldmain.c (remove_output): Rename to..
16         (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
17         (main): Adjust.
18         * plugin.c (plugin_call_cleanup): Make global.
19         (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
20         * plugin.h (plugin_call_cleanup): Declare.
22 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
24         * configure: Regenerate.
26 2011-02-10  Alan Modra  <amodra@gmail.com>
28         * scripttempl/armbpabi.sc: Revert 2010-11-02  H.J. Lu.
29         * scripttempl/avr.sc: Likewise.
30         * scripttempl/elf32cr16.sc: Likewise.
31         * scripttempl/elf32crx.sc: Likewise.
32         * scripttempl/elf32msp430.sc: Likewise.
33         * scripttempl/elf32msp430_3.sc: Likewise.
34         * scripttempl/elf32sh-symbian.sc: Likewise.
35         * scripttempl/elf64hppa.sc: Likewise.
36         * scripttempl/elf_chaos.sc: Likewise.
37         * scripttempl/elfd10v.sc: Likewise.
38         * scripttempl/elfd30v.sc: Likewise.
39         * scripttempl/elfi370.sc: Likewise.
40         * scripttempl/elfm68hc11.sc: Likewise.
41         * scripttempl/elfm68hc12.sc: Likewise.
42         * scripttempl/elfxtensa.sc: Likewise.
43         * scripttempl/ip2k.sc: Likewise.
44         * scripttempl/iq2000.sc: Likewise.
45         * scripttempl/mep.sc: Likewise.
46         * scripttempl/mmo.sc: Likewise.
47         * scripttempl/v850.sc: Likewise.
48         * scripttempl/xstormy16.sc: Likewise.
49         * scripttempl/elf.sc: Revert 2010-10-29  H.J. Lu.
51 2011-01-22  H.J. Lu  <hongjiu.lu@intel.com>
53         * Makefile.am (CXX): Removed.
55         * configure.in: Add AC_PROG_CXX.
57         * Makefile.in: Regenerated.
58         * configure: Likewise.
60 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
62         * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
63         private data and GP size.
65 2011-01-21  Alan Modra  <amodra@gmail.com>
67         * ldexp.c (fold_binary): Set result section for arithmetic and
68         logical operations to NULL when both operands are in same section.
69         * ld.texinfo (Expression Section): Describe this.
71 2011-01-14  Alan Modra  <amodra@gmail.com>
73         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
74         attempt to put non-alloc orphans before debug sections, just place
75         them after .comment.
77 2011-01-14  J. Park  <grassman@gmail.com>
79         PR ld/12339
80         * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
82 2011-01-14  Alan Modra  <amodra@gmail.com>
84         * Makefile.am: Sort emulation rules.
85         (eelf32am33lin.c): Delete.
86         (ALL_EMULATION_SOURCES): Sort, add missing entries.
87         (ALL_64_EMULATION_SOURCES): Likewise.
88         * Makefile.in: Regenerate.
90 2011-01-13  Alan Modra  <amodra@gmail.com>
92         PR ld/12356
93         * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
94         (Expression Section): Update.
95         * ld.h (ld_config_type): Add sane_expr.
96         * ldgram.y (ifile_p1): Add LD_FEATURE.
97         * ldlex.l (LD_FEATYRE): New.
98         * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
99         * ldexp.h (struct ldexp_control): Delete uses_defined.
100         * ldexp.c: Remove all uses of uses_defined.
101         (fold_name): Test config.sane_expr rather than ld_compatibility.
102         (exp_fold_tree_1): Likewise.  Adjust handling of assignments
103         during first phase.
104         * ldlang.h (ld_compatibility): Delete.
105         (lang_ld_feature): Declare.
106         * ldlang.c (ld_compatibility): Delete.
107         (open_input_bfds): Only handle assignments for --defsym.
108         (lang_ld_feature): New function.
110         PR ld/12356
111         * ldexp.h (exp_assop): Delete.
112         (exp_assign, exp_defsym): Declare.
113         * ldexp.c (exp_assop): Make static, handle all assignment variations.
114         (exp_assign, exp_defsym): New functions.
115         (exp_provide): Use exp_assop.
116         * ldgram.y (defsym_expr): Use exp_defsym.
117         * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
118         * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
119         * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
121 2011-01-12  Alan Modra  <amodra@gmail.com>
123         PR ld/12380
124         * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
125         * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
126         for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
127         to detect when we've finished sizing sections.
128         (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
129         (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
130         that we are not inside an output section statement.
131         * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
132         not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
133         lang_final_phase_enum here.
134         (lang_process): Set lang_final_phase_enum here.
136 2011-01-10  Nick Clifton  <nickc@redhat.com>
138         * po/da.po: Updated Danish translation.
140 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
142         * ldlang.c (startup_file): Removed.
143         (lang_startup): Updated.
145 2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
147         PR ld/12364
148         * plugin.c (get_symbols): Check if owner_sec->owner is NULL
149         before accessing its flags field.
151 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
153         * ldver.c (ldversion): Update copyright to 2011.
155 For older changes see ChangeLog-2010
157 Local Variables:
158 mode: change-log
159 left-margin: 8
160 fill-column: 74
161 version-control: never
162 End: