e41fc137d8bef0c71565a548af9b24c3ef0aeafc
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2011-03-29 Alan Modra <amodra@gmail.com>
2
3 PR ld/12613
4 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
5
6 2011-03-26 John Marino <binutils@marino.st>
7
8 * configure.host: Update *-*-dragonfly* host entry.
9 * configure.tgt: Update *-*-dragonfly* target entry.
10 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
11
12 2011-03-28 Joseph Myers <joseph@codesourcery.com>
13
14 * configure.in: Check for windows.h, not Windows.h.
15 * configure: Regenerate.
16 * plugin.c: Include windows.h, not Windows.h.
17
18 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
19
20 * Makefile.in: Regenerate.
21
22 2011-03-23 Joseph Myers <joseph@codesourcery.com>
23
24 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
25 are enabled. Mark level as possibly unused.
26
27 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
28
29 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
30 (eavrxmega?.c): Likewise.
31 * configure.tgt (targ_extra_emuls): Likewise.
32 * emulparams/avrxmega1.sh: New file.
33 * emulparams/avrxmega2.sh: Likewise.
34 * emulparams/avrxmega3.sh: Likewise.
35 * emulparams/avrxmega4.sh: Likewise.
36 * emulparams/avrxmega5.sh: Likewise.
37 * emulparams/avrxmega6.sh: Likewise.
38 * emulparams/avrxmega7.sh: Likewise.
39 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
40 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
41
42 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
43
44 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
45
46 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
47
48 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
49 eh->target_internal.
50
51 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
52
53 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
54 instead of dynamic_sections_created.
55
56 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
57
58 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
59
60 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
61
62 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
63
64 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
65
66 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
67 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
68 * ldmain.c (add_archive_element): Set it if the member is claimed.
69 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
70 (find_replacements_insert_point): New helper function.
71 (lang_process): After adding and opening replacement files passed
72 from plugin, splice them into correct place in statement list and
73 file chains to preserve critical link order.
74 (lang_list_insert_after): New helper function.
75 (lang_list_remove_tail): Likewise.
76
77 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
78
79 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
80 (IRONLY_SUFFIX_LEN): Delete.
81 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
82 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
83 enclosing lang input statement instead.
84
85 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
86
87 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
88 alignment of input sections when creating orphan output sections
89 during relocatable link.
90 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
91
92 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
93
94 * ld.texinfo: Document --verbose[=NUMBER].
95
96 * lexsup.c (ld_options): Update --verbose.
97 (parse_args): Set report_plugin_symbols.
98
99 * plugin.c (report_plugin_symbols): New.
100 (get_symbols): Report plugin symbols if report_plugin_symbols
101 is TRUE.
102
103 * plugin.h (report_plugin_symbols): New.
104
105 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
106
107 PR ld/12529
108 * testplug.c: Don't include "filenames.h".
109 (onclaim_file): Don't use filename_cmp.
110
111 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
112
113 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
114 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
115 Likewise.
116 (gld${EMULATION_NAME}_stat_needed): Likewise.
117 (gld${EMULATION_NAME}_check_needed): Likewise.
118 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
119 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
120 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
121 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
122 * ldfile.c (ldfile_open_file): Likewise.
123 * ldlang.c (wild_sort): Likewise.
124 (lookup_name): Likewise.
125 (check_excluded_libs): Likewise.
126 * ldmisc.c (vfinfo): Likewise.
127 * pe-dll.c (libnamencmp): Likewise.
128 (auto_export): Likewise.
129 (pe_dll_generate_implib): Likewise.
130 * testplug.c (onclaim_file): Likewise.
131
132 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
133
134 PR ld/12507
135 * plugin.c (get_symbols): Don't check entry symbol here.
136 (init_non_ironly_hash): Add entry_symbol chain into
137 non_ironly_hash.
138
139 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
140
141 PR ld/12507
142 * plugin.c (get_symbols): Don't mark entry symbol IR only.
143
144 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
145
146 PR ld/12376
147 emulparams/hppalinux.sh (DATA_ADDR): Define.
148 (SHLIB_DATA_ADDR): Likewise.
149
150 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
151
152 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
153 x32 for x32.
154
155 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
156
157 * pe-dll.c (process_def_file_and_drectve): Don't strip
158 leading underscore from symbol by calling bfd_find_version_for_sym.
159
160 2011-02-14 Mike Frysinger <vapier@gentoo.org>
161
162 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
163 the bfd_demangle of sym, change users of sym to c_sym when not
164 already demangling, and free when done. Change callers of
165 cplus_demangle to bfd_demangle.
166
167 2011-02-14 Alan Modra <amodra@gmail.com>
168
169 * ldmain.c (remove_output): Rename to..
170 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
171 (main): Adjust.
172 * plugin.c (plugin_call_cleanup): Make global.
173 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
174 * plugin.h (plugin_call_cleanup): Declare.
175
176 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
177
178 * configure: Regenerate.
179
180 2011-02-10 Alan Modra <amodra@gmail.com>
181
182 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
183 * scripttempl/avr.sc: Likewise.
184 * scripttempl/elf32cr16.sc: Likewise.
185 * scripttempl/elf32crx.sc: Likewise.
186 * scripttempl/elf32msp430.sc: Likewise.
187 * scripttempl/elf32msp430_3.sc: Likewise.
188 * scripttempl/elf32sh-symbian.sc: Likewise.
189 * scripttempl/elf64hppa.sc: Likewise.
190 * scripttempl/elf_chaos.sc: Likewise.
191 * scripttempl/elfd10v.sc: Likewise.
192 * scripttempl/elfd30v.sc: Likewise.
193 * scripttempl/elfi370.sc: Likewise.
194 * scripttempl/elfm68hc11.sc: Likewise.
195 * scripttempl/elfm68hc12.sc: Likewise.
196 * scripttempl/elfxtensa.sc: Likewise.
197 * scripttempl/ip2k.sc: Likewise.
198 * scripttempl/iq2000.sc: Likewise.
199 * scripttempl/mep.sc: Likewise.
200 * scripttempl/mmo.sc: Likewise.
201 * scripttempl/v850.sc: Likewise.
202 * scripttempl/xstormy16.sc: Likewise.
203 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
204
205 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
206
207 * Makefile.am (CXX): Removed.
208
209 * configure.in: Add AC_PROG_CXX.
210
211 * Makefile.in: Regenerated.
212 * configure: Likewise.
213
214 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
215
216 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
217 private data and GP size.
218
219 2011-01-21 Alan Modra <amodra@gmail.com>
220
221 * ldexp.c (fold_binary): Set result section for arithmetic and
222 logical operations to NULL when both operands are in same section.
223 * ld.texinfo (Expression Section): Describe this.
224
225 2011-01-14 Alan Modra <amodra@gmail.com>
226
227 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
228 attempt to put non-alloc orphans before debug sections, just place
229 them after .comment.
230
231 2011-01-14 J. Park <grassman@gmail.com>
232
233 PR ld/12339
234 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
235
236 2011-01-14 Alan Modra <amodra@gmail.com>
237
238 * Makefile.am: Sort emulation rules.
239 (eelf32am33lin.c): Delete.
240 (ALL_EMULATION_SOURCES): Sort, add missing entries.
241 (ALL_64_EMULATION_SOURCES): Likewise.
242 * Makefile.in: Regenerate.
243
244 2011-01-13 Alan Modra <amodra@gmail.com>
245
246 PR ld/12356
247 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
248 (Expression Section): Update.
249 * ld.h (ld_config_type): Add sane_expr.
250 * ldgram.y (ifile_p1): Add LD_FEATURE.
251 * ldlex.l (LD_FEATYRE): New.
252 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
253 * ldexp.h (struct ldexp_control): Delete uses_defined.
254 * ldexp.c: Remove all uses of uses_defined.
255 (fold_name): Test config.sane_expr rather than ld_compatibility.
256 (exp_fold_tree_1): Likewise. Adjust handling of assignments
257 during first phase.
258 * ldlang.h (ld_compatibility): Delete.
259 (lang_ld_feature): Declare.
260 * ldlang.c (ld_compatibility): Delete.
261 (open_input_bfds): Only handle assignments for --defsym.
262 (lang_ld_feature): New function.
263
264 PR ld/12356
265 * ldexp.h (exp_assop): Delete.
266 (exp_assign, exp_defsym): Declare.
267 * ldexp.c (exp_assop): Make static, handle all assignment variations.
268 (exp_assign, exp_defsym): New functions.
269 (exp_provide): Use exp_assop.
270 * ldgram.y (defsym_expr): Use exp_defsym.
271 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
272 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
273 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
274
275 2011-01-12 Alan Modra <amodra@gmail.com>
276
277 PR ld/12380
278 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
279 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
280 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
281 to detect when we've finished sizing sections.
282 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
283 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
284 that we are not inside an output section statement.
285 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
286 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
287 lang_final_phase_enum here.
288 (lang_process): Set lang_final_phase_enum here.
289
290 2011-01-10 Nick Clifton <nickc@redhat.com>
291
292 * po/da.po: Updated Danish translation.
293
294 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
295
296 * ldlang.c (startup_file): Removed.
297 (lang_startup): Updated.
298
299 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
300
301 PR ld/12364
302 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
303 before accessing its flags field.
304
305 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
306
307 * ldver.c (ldversion): Update copyright to 2011.
308
309 For older changes see ChangeLog-2010
310 \f
311 Local Variables:
312 mode: change-log
313 left-margin: 8
314 fill-column: 74
315 version-control: never
316 End:
This page took 0.057304 seconds and 4 git commands to generate.