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