Commit | Line | Data |
---|---|---|
fbd9ad90 PB |
1 | 2011-05-09 Paul Brook <paul@codesourcery.com> |
2 | ||
3 | * emultempl/tic6xdsbt.em (merge_exidx_entries): New. | |
4 | (compare_output_sec_vma): New function. | |
5 | (gld${EMULATION_NAME}_after_allocation): New function. | |
6 | (OPTION_NO_MERGE_EXIDX_ENTRIES): Define. | |
7 | (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries. | |
8 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES. | |
9 | (LDEMUL_AFTER_ALLOCATION): Set. | |
10 | * ld.texinfo: Document c6x --no-merge-exidx-entries. | |
11 | ||
730035f7 DK |
12 | 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com> |
13 | ||
14 | PR ld/12365 | |
15 | * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition. | |
16 | (__rt_psrelocs_end): Likewise. | |
17 | (__rt_psrelocs_size): Likewise difference between the above. | |
18 | (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section | |
19 | immediately after end of pseudo-reloc data. | |
20 | (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise. | |
21 | (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and | |
22 | calculate backward from list end. | |
23 | (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise. | |
24 | * scripttempl/pep.sc: Likewise. | |
25 | ||
55221e4b TG |
26 | 2011-05-06 Tristan Gingold <gingold@adacore.com> |
27 | ||
28 | * scripttempl/alphavms.sc (CODE): Add *$CODE*. | |
29 | ||
45cfb56c TG |
30 | 2011-05-04 Tristan Gingold <gingold@adacore.com> |
31 | ||
32 | * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add | |
33 | LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION. | |
34 | * emultempl/vms.em (OPTION_IDENTIFICATION): New macro. | |
35 | (gld${EMULATION_NAME}_add_options): New function. | |
36 | (gld${EMULATION_NAME}_list_options): Ditto. | |
37 | (gld${EMULATION_NAME}_handle_option): Ditto. | |
38 | (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION) | |
39 | (LDEMUL_LIST_OPTIONS): Define. | |
40 | ||
2f65ac72 AM |
41 | 2011-05-04 Alan Modra <amodra@gmail.com> |
42 | ||
43 | PR ld/12726 | |
44 | * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum. | |
45 | * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't | |
46 | assign to dot when lang_assigning_phase_enum. | |
47 | * ldlang.h (lang_do_assignments): Update prototype. | |
48 | * ldlang.c (lang_do_assignments): Add phase parameter. Update all | |
49 | callers. | |
50 | * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update | |
51 | lang_do_assignments calls. | |
52 | ||
e0605dbe AM |
53 | 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de> |
54 | ||
55 | PR ld/12614 | |
56 | * emultempl/pe.em (_after_open): Correctly check whether symbol is | |
57 | in undef list. | |
58 | ||
72b016b4 NC |
59 | 2011-04-26 Kai Tietz <ktietz@redhat.com> |
60 | ||
61 | * scripttempl/pe.sc: Handle .eh_frame($|.)* sections. | |
62 | * scripttempl/pep.sc: Likewise. | |
63 | ||
35ed3f94 AM |
64 | 2011-04-24 Alan Modra <amodra@gmail.com> |
65 | ||
66 | PR ld/12365 | |
67 | PR ld/12696 | |
68 | * ldmain.c (notice): Delete "name" param, add "h". | |
69 | * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle | |
70 | redefinitions of IR symbols in real BFDs. | |
71 | (plugin_multiple_definition, plugin_multiple_common): Delete. | |
72 | (non_ironly_hash, init_non_ironly_hash): Delete. | |
73 | (is_visible_from_outside): Traverse entry_symbol chain. | |
74 | (get_symbols): Use non_ir_ref flag rather than hash lookup. | |
75 | ||
9165b2bf TG |
76 | 2011-04-21 Tristan Gingold <gingold@adacore.com> |
77 | ||
78 | * scripttempl/alphavms.sc: Add dwarf2 embedding marks. | |
79 | ||
ced323bd TG |
80 | 2011-04-20 Tristan Gingold <gingold@adacore.com> |
81 | ||
82 | * emultempl/aix.em (_add_options): Ignore -bbigtoc switch. | |
83 | ||
8ad17b3a AM |
84 | 2011-04-20 Alan Modra <amodra@gmail.com> |
85 | ||
86 | * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long. | |
87 | ||
02d00247 AM |
88 | 2011-04-20 Alan Modra <amodra@gmail.com> |
89 | ||
90 | PR ld/12365 | |
91 | * ldfile.c (ldfile_try_open_bfd): Move code creating and switching | |
92 | to plugin IR BFD.. | |
93 | * ldmain.c (add_archive_element): ..and similar code here.. | |
94 | * plugin.c (plugin_maybe_claim): ..to here. New function. | |
95 | (plugin_call_claim_file): Make static. | |
96 | (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms. | |
97 | (plugin_multiple_common): New function. | |
98 | (plugin_call_all_symbols_read): Hook in plugin_multiple_common. | |
99 | * plugin.h (plugin_call_claim_file): Don't declare. | |
100 | (plugin_maybe_claim): Declare. | |
101 | ||
24f58f47 AM |
102 | 2011-04-20 Alan Modra <amodra@gmail.com> |
103 | ||
104 | PR ld/12365 | |
105 | * ldmain.c (multiple_definition): Take a bfd_link_hash_entry | |
106 | pointer arg rather than "name", "obfd", "osec", "oval". Add code | |
107 | removed from linker.c. Hack around xcofflink.c oddity in | |
108 | passing NULL nbfd. | |
109 | (multiple_common): Similarly. | |
110 | * plugin.c (orig_allow_multiple_defs): Delete. | |
111 | (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition. | |
112 | (plugin_multiple_definition): Update. | |
113 | ||
bdca0ea1 KT |
114 | 2011-04-18 Kai Tietz <ktietz@redhat.com> |
115 | ||
dc204beb KT |
116 | * deffilep.y (def_aligncomm): Avoid duplets. |
117 | ||
bdca0ea1 KT |
118 | * deffilep.y (def_pool_str): New type. |
119 | (pool_strs): Local static. | |
120 | (def_pool_alloc): Local function. | |
121 | (def_pool_strdup): Likewise. | |
122 | (def_pool_free): Likewise. | |
123 | (opt_name): Replace xmalloc/xstrdup by | |
124 | def_pool_alloc/def_pool_strdup. | |
125 | (dot_name): Likewise. | |
126 | (anylang_id): Likewise. | |
127 | (def_lex): Likewise. | |
128 | (def_file_parse): Call def_pool_free on | |
129 | exit and cleanup directives elements. | |
130 | (def_file_add_directive): Call def_pool_free. | |
131 | ||
6970a028 PB |
132 | 2011-04-18 Paul Brook <paul@codesourcery.com> |
133 | ||
134 | * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS | |
135 | for unwinding tables. | |
136 | ||
901f1d17 AM |
137 | 2011-04-18 Alan Modra <amodra@gmail.com> |
138 | ||
139 | PR ld/12365 | |
140 | PR ld/12672 | |
141 | * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action | |
142 | when no_more_claiming. | |
143 | * ldmain.c (add_archive_element): Likewise. | |
144 | (multiple_definition): Remove plugin_multiple_definition call. | |
145 | (notice): Remove plugin_notice call. | |
146 | * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move. | |
147 | Delete prototype. | |
148 | (plugin_insert): New static var. | |
149 | (open_input_bfds): Only rescan libs after plugin insert point. | |
150 | (lang_gc_sections): Omit plugin claimed files. | |
151 | (lang_process): Set plugin_insert. Only rescan when plugin adds | |
152 | objects. | |
153 | * plugin.h (no_more_claiming): Declare. | |
154 | (plugin_notice, plugin_multiple_definition): Don't declare. | |
155 | * plugin.c: Formatting. | |
156 | (orig_notice_all, orig_allow_multiple_defs, orig_callbacks, | |
157 | plugin_callbacks): New static vars. | |
158 | (no_more_claiming): Make global. | |
159 | (plugin_cached_allow_multiple_defs): Delete. | |
160 | (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section, | |
161 | use newer bfd_make_section variant. Make COMMON section too. | |
162 | Error handling. Correct setting of gp size. | |
163 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
164 | (message): Likewise for ACONCAT. | |
165 | (asymbol_from_plugin_symbol): Use our COMMON section. | |
166 | (get_symbols): When report_plugin_symbols, show visibility too. | |
167 | (init_non_ironly_hash): Move. Don't test non_ironly_hash. | |
168 | (plugin_load_plugins): Save state of linker callbacks, set up to | |
169 | call plugin_notice instead. Call init_non_ironly_hash here. | |
170 | (plugin_call_all_symbols_read): Set plugin_multiple_definition in | |
171 | plugin callbacks. | |
172 | (plugin_notice): Rewrite. | |
173 | (plugin_multiple_definition): Make static, call original callback. | |
174 | ||
486329aa AM |
175 | 2011-04-15 Alan Modra <amodra@gmail.com> |
176 | ||
177 | PR ld/12672 | |
178 | * ldlang.c (enum open_bfd_mode): New. | |
179 | (open_input_bfds): Replace "force" param with "mode". Reload | |
180 | archives for rescan. Update all callers. | |
181 | (lang_process): Make another open_input_bfds pass for plugins. | |
182 | ||
db17156e KT |
183 | 2011-04-13 Kai Tietz <ktietz@redhat.com> |
184 | ||
185 | PR binutils/12658 | |
186 | * deffile.h (def_file_add_export): Add is_dup argument. | |
187 | (def_file_add_import): Likewise. | |
188 | * deffilep.y (are_names_equal): New helper. | |
189 | (cmp_export_elem): New helper. | |
190 | (find_export_in_list): Add search routine for exports. | |
191 | (def_file_add_export): Check for duplicates. | |
192 | (cmp_import_elem): New helper. | |
193 | (find_import_in_list): Add search routine for imports. | |
194 | (def_file_add_import): Check for duplicates. | |
195 | (def_exports): Handle duplicates. | |
196 | (def_imports): Likewise. | |
197 | * pe-dll.c (process_def_file_and_drectve): Likewise. | |
198 | (pe_implied_import_dll): Likewise. | |
199 | ||
ed0d9c71 NC |
200 | 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com> |
201 | ||
202 | * scripttempl/elf.sc (.exception_ranges): Add new section. | |
203 | ||
0e9dfb46 NC |
204 | 2011-04-08 Hector Oron <hector.oron@gmail.com> |
205 | ||
206 | PR ld/12643 | |
207 | * configure.tgt: Add support for arm-*-gnueabihf targets. | |
208 | ||
80518809 EW |
209 | 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com> |
210 | ||
211 | * Makefile.in: Regenerate. Remove stray eavrtiny10 rules. | |
212 | ||
91db4c57 JM |
213 | 2011-04-07 Joseph Myers <joseph@codesourcery.com> |
214 | ||
215 | * configure.tgt: Remove stray ;;. | |
216 | ||
8c5fc800 JM |
217 | 2011-04-06 Joseph Myers <joseph@codesourcery.com> |
218 | ||
219 | * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, | |
220 | strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, | |
221 | thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, | |
222 | xscale-*-coff, xscale-*-elf): Remove targets. | |
223 | ||
d02c4aae L |
224 | 2011-03-31 H.J. Lu <hongjiu.lu@intel.com> |
225 | ||
226 | * configure.tgt: Add elf_l1om to targ_extra_libpath for | |
227 | x86_64-*-linux-*. | |
228 | ||
229 | * emulparams/elf_l1om.sh: Remove duplicates. | |
230 | ||
ac145307 BS |
231 | 2011-03-31 Bernd Schmidt <bernds@codesourcery.com> |
232 | ||
233 | * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE, | |
234 | GENERATE_SHLIB_SCRIPT): New defines. | |
235 | (TEXT_START_ADDR): Define differently depending on target. | |
236 | (.got): Redefine to include "*(.dsbt)". | |
237 | (SDATA_START_SYMBOLS): Remove, replace with | |
238 | (OTHER_GOT_SYMBOLS): New. | |
239 | (OTHER_BSS_SECTIONS): Define only for ELF targets. | |
240 | * emultempl/tic6xdsbt.em: New file. | |
241 | * gen-doc.texi: Set C6X. | |
242 | * ld.texinfo: Likewise. | |
243 | (Options specific to C6X uClinux targets): New section. | |
244 | ||
c3a7b120 AM |
245 | 2011-03-29 Alan Modra <amodra@gmail.com> |
246 | ||
247 | PR ld/12613 | |
248 | * ldlex.l (lex_warn_invalid): Don't assume char is unsigned. | |
249 | ||
5b806d27 NC |
250 | 2011-03-26 John Marino <binutils@marino.st> |
251 | ||
252 | * configure.host: Update *-*-dragonfly* host entry. | |
253 | * configure.tgt: Update *-*-dragonfly* target entry. | |
254 | * ldlex.l: Prevent redefinition of YY_NO_UNPUT. | |
255 | ||
f31d24a0 JM |
256 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
257 | ||
258 | * configure.in: Check for windows.h, not Windows.h. | |
259 | * configure: Regenerate. | |
260 | * plugin.c: Include windows.h, not Windows.h. | |
261 | ||
d0289b45 EW |
262 | 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com> |
263 | ||
264 | * Makefile.in: Regenerate. | |
265 | ||
d436a15e JM |
266 | 2011-03-23 Joseph Myers <joseph@codesourcery.com> |
267 | ||
268 | * lexsup.c (parse_args): Only set report_plugin_symbols if plugins | |
269 | are enabled. Mark level as possibly unused. | |
270 | ||
8cc66334 EW |
271 | 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com> |
272 | ||
273 | * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures. | |
274 | (eavrxmega?.c): Likewise. | |
275 | * configure.tgt (targ_extra_emuls): Likewise. | |
276 | * emulparams/avrxmega1.sh: New file. | |
277 | * emulparams/avrxmega2.sh: Likewise. | |
278 | * emulparams/avrxmega3.sh: Likewise. | |
279 | * emulparams/avrxmega4.sh: Likewise. | |
280 | * emulparams/avrxmega5.sh: Likewise. | |
281 | * emulparams/avrxmega6.sh: Likewise. | |
282 | * emulparams/avrxmega7.sh: Likewise. | |
283 | * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation): | |
284 | Add avrxmega6, avrxmega7 to list of architectures for no stubs. | |
285 | ||
ef844a53 EW |
286 | 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com> |
287 | ||
288 | * scripttempl/avr.sc: Add fuse, lock, and signature memory regions. | |
289 | ||
35fc36a8 RS |
290 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
291 | ||
292 | * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check | |
293 | eh->target_internal. | |
294 | ||
cbc704f3 RS |
295 | 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org> |
296 | ||
297 | * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj | |
298 | instead of dynamic_sections_created. | |
299 | ||
10be1b6a DK |
300 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
301 | ||
302 | * plugin.c (get_symbols): Use wrapped lookup for undefined symbols. | |
303 | ||
422b6f14 DK |
304 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
305 | ||
306 | * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. | |
307 | ||
8543fde5 DK |
308 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
309 | ||
310 | * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag, | |
311 | wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS. | |
312 | * ldmain.c (add_archive_element): Set it if the member is claimed. | |
313 | * ldlang.c (new_afile): Initialise claim_archive and claimed members. | |
314 | (find_replacements_insert_point): New helper function. | |
315 | (lang_process): After adding and opening replacement files passed | |
316 | from plugin, splice them into correct place in statement list and | |
317 | file chains to preserve critical link order. | |
318 | (lang_list_insert_after): New helper function. | |
319 | (lang_list_remove_tail): Likewise. | |
320 | ||
cf4dc96f DK |
321 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
322 | ||
323 | * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form. | |
324 | (IRONLY_SUFFIX_LEN): Delete. | |
325 | (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX. | |
326 | (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of | |
327 | enclosing lang input statement instead. | |
328 | ||
4bf0cafb DK |
329 | 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com> |
330 | ||
331 | * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve | |
332 | alignment of input sections when creating orphan output sections | |
333 | during relocatable link. | |
334 | * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise. | |
335 | ||
1715a13c L |
336 | 2011-03-04 H.J. Lu <hongjiu.lu@intel.com> |
337 | ||
338 | * ld.texinfo: Document --verbose[=NUMBER]. | |
339 | ||
340 | * lexsup.c (ld_options): Update --verbose. | |
341 | (parse_args): Set report_plugin_symbols. | |
342 | ||
343 | * plugin.c (report_plugin_symbols): New. | |
344 | (get_symbols): Report plugin symbols if report_plugin_symbols | |
345 | is TRUE. | |
346 | ||
347 | * plugin.h (report_plugin_symbols): New. | |
348 | ||
f4c37f56 L |
349 | 2011-03-01 H.J. Lu <hongjiu.lu@intel.com> |
350 | ||
351 | PR ld/12529 | |
352 | * testplug.c: Don't include "filenames.h". | |
353 | (onclaim_file): Don't use filename_cmp. | |
354 | ||
42627821 KT |
355 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
356 | ||
357 | * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp. | |
358 | * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck): | |
359 | Likewise. | |
360 | (gld${EMULATION_NAME}_stat_needed): Likewise. | |
361 | (gld${EMULATION_NAME}_check_needed): Likewise. | |
362 | * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
363 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
364 | * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise. | |
365 | (gld_${EMULATION_NAME}_unrecognized_file): Likewise. | |
366 | * ldfile.c (ldfile_open_file): Likewise. | |
367 | * ldlang.c (wild_sort): Likewise. | |
368 | (lookup_name): Likewise. | |
369 | (check_excluded_libs): Likewise. | |
370 | * ldmisc.c (vfinfo): Likewise. | |
371 | * pe-dll.c (libnamencmp): Likewise. | |
372 | (auto_export): Likewise. | |
373 | (pe_dll_generate_implib): Likewise. | |
374 | * testplug.c (onclaim_file): Likewise. | |
375 | ||
174b85fc L |
376 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
377 | ||
378 | PR ld/12507 | |
379 | * plugin.c (get_symbols): Don't check entry symbol here. | |
380 | (init_non_ironly_hash): Add entry_symbol chain into | |
381 | non_ironly_hash. | |
382 | ||
8ff09c12 L |
383 | 2011-02-24 H.J. Lu <hongjiu.lu@intel.com> |
384 | ||
385 | PR ld/12507 | |
386 | * plugin.c (get_symbols): Don't mark entry symbol IR only. | |
387 | ||
ae97b922 DA |
388 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca> |
389 | ||
390 | PR ld/12376 | |
391 | emulparams/hppalinux.sh (DATA_ADDR): Define. | |
392 | (SHLIB_DATA_ADDR): Likewise. | |
393 | ||
73f2a3d2 L |
394 | 2011-02-16 H.J. Lu <hongjiu.lu@intel.com> |
395 | ||
396 | * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to | |
397 | x32 for x32. | |
398 | ||
fd11958c KT |
399 | 2011-02-15 Kai Tietz <kai.tietz@onevision.com> |
400 | ||
401 | * pe-dll.c (process_def_file_and_drectve): Don't strip | |
402 | leading underscore from symbol by calling bfd_find_version_for_sym. | |
403 | ||
93252b1c MF |
404 | 2011-02-14 Mike Frysinger <vapier@gentoo.org> |
405 | ||
406 | * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to | |
407 | the bfd_demangle of sym, change users of sym to c_sym when not | |
408 | already demangling, and free when done. Change callers of | |
409 | cplus_demangle to bfd_demangle. | |
410 | ||
486329aa AM |
411 | 2011-02-14 Alan Modra <amodra@gmail.com> |
412 | ||
413 | * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy | |
414 | .text section, use newer bfd_make_section variant. Error handling. | |
415 | Correct setting of gp size. | |
416 | (asymbol_from_plugin_symbol): Properly cast last arg of concat. | |
417 | (message): Likewise for ACONCAT. | |
418 | (get_symbols): Formatting. | |
419 | ||
498cd2a0 AM |
420 | 2011-02-14 Alan Modra <amodra@gmail.com> |
421 | ||
422 | * ldmain.c (remove_output): Rename to.. | |
423 | (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup. | |
424 | (main): Adjust. | |
425 | * plugin.c (plugin_call_cleanup): Make global. | |
426 | (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit. | |
427 | * plugin.h (plugin_call_cleanup): Declare. | |
428 | ||
822ce8ee RW |
429 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
430 | ||
431 | * configure: Regenerate. | |
432 | ||
09b910c6 AM |
433 | 2011-02-10 Alan Modra <amodra@gmail.com> |
434 | ||
435 | * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu. | |
436 | * scripttempl/avr.sc: Likewise. | |
437 | * scripttempl/elf32cr16.sc: Likewise. | |
438 | * scripttempl/elf32crx.sc: Likewise. | |
439 | * scripttempl/elf32msp430.sc: Likewise. | |
440 | * scripttempl/elf32msp430_3.sc: Likewise. | |
441 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
442 | * scripttempl/elf64hppa.sc: Likewise. | |
443 | * scripttempl/elf_chaos.sc: Likewise. | |
444 | * scripttempl/elfd10v.sc: Likewise. | |
445 | * scripttempl/elfd30v.sc: Likewise. | |
446 | * scripttempl/elfi370.sc: Likewise. | |
447 | * scripttempl/elfm68hc11.sc: Likewise. | |
448 | * scripttempl/elfm68hc12.sc: Likewise. | |
449 | * scripttempl/elfxtensa.sc: Likewise. | |
450 | * scripttempl/ip2k.sc: Likewise. | |
451 | * scripttempl/iq2000.sc: Likewise. | |
452 | * scripttempl/mep.sc: Likewise. | |
453 | * scripttempl/mmo.sc: Likewise. | |
454 | * scripttempl/v850.sc: Likewise. | |
455 | * scripttempl/xstormy16.sc: Likewise. | |
456 | * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu. | |
457 | ||
3cb62297 L |
458 | 2011-01-22 H.J. Lu <hongjiu.lu@intel.com> |
459 | ||
460 | * Makefile.am (CXX): Removed. | |
461 | ||
462 | * configure.in: Add AC_PROG_CXX. | |
463 | ||
464 | * Makefile.in: Regenerated. | |
465 | * configure: Likewise. | |
466 | ||
ed88c97e RS |
467 | 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com> |
468 | ||
469 | * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's | |
470 | private data and GP size. | |
471 | ||
9bc8bb33 AM |
472 | 2011-01-21 Alan Modra <amodra@gmail.com> |
473 | ||
474 | * ldexp.c (fold_binary): Set result section for arithmetic and | |
475 | logical operations to NULL when both operands are in same section. | |
476 | * ld.texinfo (Expression Section): Describe this. | |
477 | ||
175b7cd4 AM |
478 | 2011-01-14 Alan Modra <amodra@gmail.com> |
479 | ||
480 | * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't | |
481 | attempt to put non-alloc orphans before debug sections, just place | |
482 | them after .comment. | |
483 | ||
a05e447f AM |
484 | 2011-01-14 J. Park <grassman@gmail.com> |
485 | ||
486 | PR ld/12339 | |
487 | * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols. | |
488 | ||
3ed41d59 AM |
489 | 2011-01-14 Alan Modra <amodra@gmail.com> |
490 | ||
491 | * Makefile.am: Sort emulation rules. | |
492 | (eelf32am33lin.c): Delete. | |
493 | (ALL_EMULATION_SOURCES): Sort, add missing entries. | |
494 | (ALL_64_EMULATION_SOURCES): Likewise. | |
495 | * Makefile.in: Regenerate. | |
496 | ||
2e57b2af AM |
497 | 2011-01-13 Alan Modra <amodra@gmail.com> |
498 | ||
01554a74 AM |
499 | PR ld/12356 |
500 | * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE. | |
501 | (Expression Section): Update. | |
502 | * ld.h (ld_config_type): Add sane_expr. | |
503 | * ldgram.y (ifile_p1): Add LD_FEATURE. | |
504 | * ldlex.l (LD_FEATYRE): New. | |
505 | * ldemul.c (after_parse_default): Delete code handling ld_compatibility. | |
506 | * ldexp.h (struct ldexp_control): Delete uses_defined. | |
507 | * ldexp.c: Remove all uses of uses_defined. | |
508 | (fold_name): Test config.sane_expr rather than ld_compatibility. | |
509 | (exp_fold_tree_1): Likewise. Adjust handling of assignments | |
510 | during first phase. | |
511 | * ldlang.h (ld_compatibility): Delete. | |
512 | (lang_ld_feature): Declare. | |
513 | * ldlang.c (ld_compatibility): Delete. | |
514 | (open_input_bfds): Only handle assignments for --defsym. | |
515 | (lang_ld_feature): New function. | |
516 | ||
2e57b2af AM |
517 | PR ld/12356 |
518 | * ldexp.h (exp_assop): Delete. | |
519 | (exp_assign, exp_defsym): Declare. | |
520 | * ldexp.c (exp_assop): Make static, handle all assignment variations. | |
521 | (exp_assign, exp_defsym): New functions. | |
522 | (exp_provide): Use exp_assop. | |
523 | * ldgram.y (defsym_expr): Use exp_defsym. | |
524 | * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, | |
525 | * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, | |
526 | * emultempl/xtensaelf.em: Update exp_assop -> exp_assign. | |
527 | ||
ea7c2e6c AM |
528 | 2011-01-12 Alan Modra <amodra@gmail.com> |
529 | ||
530 | PR ld/12380 | |
531 | * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done. | |
532 | * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test | |
533 | for exp_dataseg_done rather than expld.phase == lang_final_phase_enum | |
534 | to detect when we've finished sizing sections. | |
535 | (fold_binary <DATA_SEGMENT_ALIGN>): Likewise. | |
536 | (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test | |
537 | that we are not inside an output section statement. | |
538 | * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if | |
539 | not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set | |
540 | lang_final_phase_enum here. | |
541 | (lang_process): Set lang_final_phase_enum here. | |
542 | ||
f7465604 NC |
543 | 2011-01-10 Nick Clifton <nickc@redhat.com> |
544 | ||
545 | * po/da.po: Updated Danish translation. | |
546 | ||
1e915804 L |
547 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
548 | ||
549 | * ldlang.c (startup_file): Removed. | |
550 | (lang_startup): Updated. | |
551 | ||
cc322803 L |
552 | 2011-01-05 H.J. Lu <hongjiu.lu@intel.com> |
553 | ||
554 | PR ld/12364 | |
555 | * plugin.c (get_symbols): Check if owner_sec->owner is NULL | |
556 | before accessing its flags field. | |
557 | ||
0db46eb4 L |
558 | 2011-01-01 H.J. Lu <hongjiu.lu@intel.com> |
559 | ||
560 | * ldver.c (ldversion): Update copyright to 2011. | |
561 | ||
9e9e0820 | 562 | For older changes see ChangeLog-2010 |
252b5132 RH |
563 | \f |
564 | Local Variables: | |
565 | mode: change-log | |
566 | left-margin: 8 | |
567 | fill-column: 74 | |
568 | version-control: never | |
569 | End: |