1 2011-04-07 Joseph Myers <joseph@codesourcery.com>
3 * configure.tgt: Remove stray ;;.
5 2011-04-06 Joseph Myers <joseph@codesourcery.com>
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.
12 2011-03-31 H.J. Lu <hongjiu.lu@intel.com>
14 * configure.tgt: Add elf_l1om to targ_extra_libpath for
17 * emulparams/elf_l1om.sh: Remove duplicates.
19 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
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.
33 2011-03-29 Alan Modra <amodra@gmail.com>
36 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
38 2011-03-26 John Marino <binutils@marino.st>
40 * configure.host: Update *-*-dragonfly* host entry.
41 * configure.tgt: Update *-*-dragonfly* target entry.
42 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
44 2011-03-28 Joseph Myers <joseph@codesourcery.com>
46 * configure.in: Check for windows.h, not Windows.h.
47 * configure: Regenerate.
48 * plugin.c: Include windows.h, not Windows.h.
50 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
52 * Makefile.in: Regenerate.
54 2011-03-23 Joseph Myers <joseph@codesourcery.com>
56 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
57 are enabled. Mark level as possibly unused.
59 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
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.
74 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
76 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
78 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
80 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
83 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
85 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
86 instead of dynamic_sections_created.
88 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
90 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
92 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
94 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
96 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
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.
109 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
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.
117 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
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.
124 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
126 * ld.texinfo: Document --verbose[=NUMBER].
128 * lexsup.c (ld_options): Update --verbose.
129 (parse_args): Set report_plugin_symbols.
131 * plugin.c (report_plugin_symbols): New.
132 (get_symbols): Report plugin symbols if report_plugin_symbols
135 * plugin.h (report_plugin_symbols): New.
137 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
140 * testplug.c: Don't include "filenames.h".
141 (onclaim_file): Don't use filename_cmp.
143 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
145 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
146 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
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.
164 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
167 * plugin.c (get_symbols): Don't check entry symbol here.
168 (init_non_ironly_hash): Add entry_symbol chain into
171 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
174 * plugin.c (get_symbols): Don't mark entry symbol IR only.
176 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
179 emulparams/hppalinux.sh (DATA_ADDR): Define.
180 (SHLIB_DATA_ADDR): Likewise.
182 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
184 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
187 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
189 * pe-dll.c (process_def_file_and_drectve): Don't strip
190 leading underscore from symbol by calling bfd_find_version_for_sym.
192 2011-02-14 Mike Frysinger <vapier@gentoo.org>
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.
199 2011-02-14 Alan Modra <amodra@gmail.com>
201 * ldmain.c (remove_output): Rename to..
202 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
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.
208 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210 * configure: Regenerate.
212 2011-02-10 Alan Modra <amodra@gmail.com>
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.
237 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
239 * Makefile.am (CXX): Removed.
241 * configure.in: Add AC_PROG_CXX.
243 * Makefile.in: Regenerated.
244 * configure: Likewise.
246 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
248 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
249 private data and GP size.
251 2011-01-21 Alan Modra <amodra@gmail.com>
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.
257 2011-01-14 Alan Modra <amodra@gmail.com>
259 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
260 attempt to put non-alloc orphans before debug sections, just place
263 2011-01-14 J. Park <grassman@gmail.com>
266 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
268 2011-01-14 Alan Modra <amodra@gmail.com>
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.
276 2011-01-13 Alan Modra <amodra@gmail.com>
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
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.
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.
307 2011-01-12 Alan Modra <amodra@gmail.com>
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.
322 2011-01-10 Nick Clifton <nickc@redhat.com>
324 * po/da.po: Updated Danish translation.
326 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
328 * ldlang.c (startup_file): Removed.
329 (lang_startup): Updated.
331 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
334 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
335 before accessing its flags field.
337 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
339 * ldver.c (ldversion): Update copyright to 2011.
341 For older changes see ChangeLog-2010
347 version-control: never