1 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
3 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
4 (IRONLY_SUFFIX_LEN): Delete.
5 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
6 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
7 enclosing lang input statement instead.
9 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
11 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
12 alignment of input sections when creating orphan output sections
13 during relocatable link.
14 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
16 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
18 * ld.texinfo: Document --verbose[=NUMBER].
20 * lexsup.c (ld_options): Update --verbose.
21 (parse_args): Set report_plugin_symbols.
23 * plugin.c (report_plugin_symbols): New.
24 (get_symbols): Report plugin symbols if report_plugin_symbols
27 * plugin.h (report_plugin_symbols): New.
29 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
32 * testplug.c: Don't include "filenames.h".
33 (onclaim_file): Don't use filename_cmp.
35 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
37 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
38 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
40 (gld${EMULATION_NAME}_stat_needed): Likewise.
41 (gld${EMULATION_NAME}_check_needed): Likewise.
42 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
43 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
44 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
45 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
46 * ldfile.c (ldfile_open_file): Likewise.
47 * ldlang.c (wild_sort): Likewise.
48 (lookup_name): Likewise.
49 (check_excluded_libs): Likewise.
50 * ldmisc.c (vfinfo): Likewise.
51 * pe-dll.c (libnamencmp): Likewise.
52 (auto_export): Likewise.
53 (pe_dll_generate_implib): Likewise.
54 * testplug.c (onclaim_file): Likewise.
56 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
59 * plugin.c (get_symbols): Don't check entry symbol here.
60 (init_non_ironly_hash): Add entry_symbol chain into
63 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
66 * plugin.c (get_symbols): Don't mark entry symbol IR only.
68 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
71 emulparams/hppalinux.sh (DATA_ADDR): Define.
72 (SHLIB_DATA_ADDR): Likewise.
74 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
76 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
79 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
81 * pe-dll.c (process_def_file_and_drectve): Don't strip
82 leading underscore from symbol by calling bfd_find_version_for_sym.
84 2011-02-14 Mike Frysinger <vapier@gentoo.org>
86 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
87 the bfd_demangle of sym, change users of sym to c_sym when not
88 already demangling, and free when done. Change callers of
89 cplus_demangle to bfd_demangle.
91 2011-02-14 Alan Modra <amodra@gmail.com>
93 * ldmain.c (remove_output): Rename to..
94 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
96 * plugin.c (plugin_call_cleanup): Make global.
97 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
98 * plugin.h (plugin_call_cleanup): Declare.
100 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
102 * configure: Regenerate.
104 2011-02-10 Alan Modra <amodra@gmail.com>
106 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
107 * scripttempl/avr.sc: Likewise.
108 * scripttempl/elf32cr16.sc: Likewise.
109 * scripttempl/elf32crx.sc: Likewise.
110 * scripttempl/elf32msp430.sc: Likewise.
111 * scripttempl/elf32msp430_3.sc: Likewise.
112 * scripttempl/elf32sh-symbian.sc: Likewise.
113 * scripttempl/elf64hppa.sc: Likewise.
114 * scripttempl/elf_chaos.sc: Likewise.
115 * scripttempl/elfd10v.sc: Likewise.
116 * scripttempl/elfd30v.sc: Likewise.
117 * scripttempl/elfi370.sc: Likewise.
118 * scripttempl/elfm68hc11.sc: Likewise.
119 * scripttempl/elfm68hc12.sc: Likewise.
120 * scripttempl/elfxtensa.sc: Likewise.
121 * scripttempl/ip2k.sc: Likewise.
122 * scripttempl/iq2000.sc: Likewise.
123 * scripttempl/mep.sc: Likewise.
124 * scripttempl/mmo.sc: Likewise.
125 * scripttempl/v850.sc: Likewise.
126 * scripttempl/xstormy16.sc: Likewise.
127 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
129 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
131 * Makefile.am (CXX): Removed.
133 * configure.in: Add AC_PROG_CXX.
135 * Makefile.in: Regenerated.
136 * configure: Likewise.
138 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
140 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
141 private data and GP size.
143 2011-01-21 Alan Modra <amodra@gmail.com>
145 * ldexp.c (fold_binary): Set result section for arithmetic and
146 logical operations to NULL when both operands are in same section.
147 * ld.texinfo (Expression Section): Describe this.
149 2011-01-14 Alan Modra <amodra@gmail.com>
151 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
152 attempt to put non-alloc orphans before debug sections, just place
155 2011-01-14 J. Park <grassman@gmail.com>
158 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
160 2011-01-14 Alan Modra <amodra@gmail.com>
162 * Makefile.am: Sort emulation rules.
163 (eelf32am33lin.c): Delete.
164 (ALL_EMULATION_SOURCES): Sort, add missing entries.
165 (ALL_64_EMULATION_SOURCES): Likewise.
166 * Makefile.in: Regenerate.
168 2011-01-13 Alan Modra <amodra@gmail.com>
171 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
172 (Expression Section): Update.
173 * ld.h (ld_config_type): Add sane_expr.
174 * ldgram.y (ifile_p1): Add LD_FEATURE.
175 * ldlex.l (LD_FEATYRE): New.
176 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
177 * ldexp.h (struct ldexp_control): Delete uses_defined.
178 * ldexp.c: Remove all uses of uses_defined.
179 (fold_name): Test config.sane_expr rather than ld_compatibility.
180 (exp_fold_tree_1): Likewise. Adjust handling of assignments
182 * ldlang.h (ld_compatibility): Delete.
183 (lang_ld_feature): Declare.
184 * ldlang.c (ld_compatibility): Delete.
185 (open_input_bfds): Only handle assignments for --defsym.
186 (lang_ld_feature): New function.
189 * ldexp.h (exp_assop): Delete.
190 (exp_assign, exp_defsym): Declare.
191 * ldexp.c (exp_assop): Make static, handle all assignment variations.
192 (exp_assign, exp_defsym): New functions.
193 (exp_provide): Use exp_assop.
194 * ldgram.y (defsym_expr): Use exp_defsym.
195 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
196 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
197 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
199 2011-01-12 Alan Modra <amodra@gmail.com>
202 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
203 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
204 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
205 to detect when we've finished sizing sections.
206 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
207 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
208 that we are not inside an output section statement.
209 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
210 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
211 lang_final_phase_enum here.
212 (lang_process): Set lang_final_phase_enum here.
214 2011-01-10 Nick Clifton <nickc@redhat.com>
216 * po/da.po: Updated Danish translation.
218 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
220 * ldlang.c (startup_file): Removed.
221 (lang_startup): Updated.
223 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
226 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
227 before accessing its flags field.
229 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
231 * ldver.c (ldversion): Update copyright to 2011.
233 For older changes see ChangeLog-2010
239 version-control: never