2011-02-28 Kai Tietz <kai.tietz@onevision.com>
[binutils.git] / ld / ChangeLog
blob8ed86f3bf4002eaee23e7f2cd4fda7e125159e3b
1 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
3         * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
4         * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
5         Likewise.
6         (gld${EMULATION_NAME}_stat_needed): Likewise.
7         (gld${EMULATION_NAME}_check_needed): Likewise.
8         * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
9         (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
10         * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
11         (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
12         * ldfile.c (ldfile_open_file): Likewise.
13         * ldlang.c (wild_sort): Likewise.
14         (lookup_name): Likewise.
15         (check_excluded_libs): Likewise.
16         * ldmisc.c (vfinfo): Likewise.
17         * pe-dll.c (libnamencmp): Likewise.
18         (auto_export): Likewise.
19         (pe_dll_generate_implib): Likewise.
20         * testplug.c (onclaim_file): Likewise.
22 2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
24         PR ld/12507
25         * plugin.c (get_symbols): Don't check entry symbol here.
26         (init_non_ironly_hash): Add entry_symbol chain into
27         non_ironly_hash.
29 2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
31         PR ld/12507
32         * plugin.c (get_symbols): Don't mark entry symbol IR only.
34 2011-02-18  John David Anglin  <dave.anglin@nrc-cnnrc.gc.ca>
36         PR ld/12376
37         emulparams/hppalinux.sh (DATA_ADDR): Define.
38         (SHLIB_DATA_ADDR): Likewise.
40 2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>
42         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
43         x32 for x32.
45 2011-02-15  Kai Tietz  <kai.tietz@onevision.com>
47         * pe-dll.c (process_def_file_and_drectve): Don't strip
48         leading underscore from symbol by calling bfd_find_version_for_sym.
50 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
52         * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
53         the bfd_demangle of sym, change users of sym to c_sym when not
54         already demangling, and free when done.  Change callers of
55         cplus_demangle to bfd_demangle.
57 2011-02-14  Alan Modra  <amodra@gmail.com>
59         * ldmain.c (remove_output): Rename to..
60         (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
61         (main): Adjust.
62         * plugin.c (plugin_call_cleanup): Make global.
63         (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
64         * plugin.h (plugin_call_cleanup): Declare.
66 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
68         * configure: Regenerate.
70 2011-02-10  Alan Modra  <amodra@gmail.com>
72         * scripttempl/armbpabi.sc: Revert 2010-11-02  H.J. Lu.
73         * scripttempl/avr.sc: Likewise.
74         * scripttempl/elf32cr16.sc: Likewise.
75         * scripttempl/elf32crx.sc: Likewise.
76         * scripttempl/elf32msp430.sc: Likewise.
77         * scripttempl/elf32msp430_3.sc: Likewise.
78         * scripttempl/elf32sh-symbian.sc: Likewise.
79         * scripttempl/elf64hppa.sc: Likewise.
80         * scripttempl/elf_chaos.sc: Likewise.
81         * scripttempl/elfd10v.sc: Likewise.
82         * scripttempl/elfd30v.sc: Likewise.
83         * scripttempl/elfi370.sc: Likewise.
84         * scripttempl/elfm68hc11.sc: Likewise.
85         * scripttempl/elfm68hc12.sc: Likewise.
86         * scripttempl/elfxtensa.sc: Likewise.
87         * scripttempl/ip2k.sc: Likewise.
88         * scripttempl/iq2000.sc: Likewise.
89         * scripttempl/mep.sc: Likewise.
90         * scripttempl/mmo.sc: Likewise.
91         * scripttempl/v850.sc: Likewise.
92         * scripttempl/xstormy16.sc: Likewise.
93         * scripttempl/elf.sc: Revert 2010-10-29  H.J. Lu.
95 2011-01-22  H.J. Lu  <hongjiu.lu@intel.com>
97         * Makefile.am (CXX): Removed.
99         * configure.in: Add AC_PROG_CXX.
101         * Makefile.in: Regenerated.
102         * configure: Likewise.
104 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
106         * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
107         private data and GP size.
109 2011-01-21  Alan Modra  <amodra@gmail.com>
111         * ldexp.c (fold_binary): Set result section for arithmetic and
112         logical operations to NULL when both operands are in same section.
113         * ld.texinfo (Expression Section): Describe this.
115 2011-01-14  Alan Modra  <amodra@gmail.com>
117         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
118         attempt to put non-alloc orphans before debug sections, just place
119         them after .comment.
121 2011-01-14  J. Park  <grassman@gmail.com>
123         PR ld/12339
124         * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
126 2011-01-14  Alan Modra  <amodra@gmail.com>
128         * Makefile.am: Sort emulation rules.
129         (eelf32am33lin.c): Delete.
130         (ALL_EMULATION_SOURCES): Sort, add missing entries.
131         (ALL_64_EMULATION_SOURCES): Likewise.
132         * Makefile.in: Regenerate.
134 2011-01-13  Alan Modra  <amodra@gmail.com>
136         PR ld/12356
137         * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
138         (Expression Section): Update.
139         * ld.h (ld_config_type): Add sane_expr.
140         * ldgram.y (ifile_p1): Add LD_FEATURE.
141         * ldlex.l (LD_FEATYRE): New.
142         * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
143         * ldexp.h (struct ldexp_control): Delete uses_defined.
144         * ldexp.c: Remove all uses of uses_defined.
145         (fold_name): Test config.sane_expr rather than ld_compatibility.
146         (exp_fold_tree_1): Likewise.  Adjust handling of assignments
147         during first phase.
148         * ldlang.h (ld_compatibility): Delete.
149         (lang_ld_feature): Declare.
150         * ldlang.c (ld_compatibility): Delete.
151         (open_input_bfds): Only handle assignments for --defsym.
152         (lang_ld_feature): New function.
154         PR ld/12356
155         * ldexp.h (exp_assop): Delete.
156         (exp_assign, exp_defsym): Declare.
157         * ldexp.c (exp_assop): Make static, handle all assignment variations.
158         (exp_assign, exp_defsym): New functions.
159         (exp_provide): Use exp_assop.
160         * ldgram.y (defsym_expr): Use exp_defsym.
161         * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
162         * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
163         * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
165 2011-01-12  Alan Modra  <amodra@gmail.com>
167         PR ld/12380
168         * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
169         * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
170         for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
171         to detect when we've finished sizing sections.
172         (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
173         (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
174         that we are not inside an output section statement.
175         * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
176         not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
177         lang_final_phase_enum here.
178         (lang_process): Set lang_final_phase_enum here.
180 2011-01-10  Nick Clifton  <nickc@redhat.com>
182         * po/da.po: Updated Danish translation.
184 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
186         * ldlang.c (startup_file): Removed.
187         (lang_startup): Updated.
189 2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
191         PR ld/12364
192         * plugin.c (get_symbols): Check if owner_sec->owner is NULL
193         before accessing its flags field.
195 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
197         * ldver.c (ldversion): Update copyright to 2011.
199 For older changes see ChangeLog-2010
201 Local Variables:
202 mode: change-log
203 left-margin: 8
204 fill-column: 74
205 version-control: never
206 End: