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