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