]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/ChangeLog
407cc2dd1ab72a78e0487734eb8d13e5317469bb
[thirdparty/binutils-gdb.git] / ld / ChangeLog
1 2011-06-20 H.J. Lu <hongjiu.lu@intel.com>
2
3 * configure.tgt: Revert x32 change.
4
5 2011-06-20 Jakub Jelinek <jakub@redhat.com>
6
7 PR ld/12570
8 * emultempl/elf32.em (OPTION_LD_GENERATED_UNWIND_INFO,
9 OPTION_NO_LD_GENERATED_UNWIND_INFO): Define.
10 (gld${EMULATION_NAME}_handle_option): Handle
11 --ld-generated-unwind-info and --no-ld-generated-unwind-info.
12 * ld.texinfo (--ld-generated-unwind-info,
13 --no-ld-generated-unwind-info): Document.
14
15 2011-06-19 H.J. Lu <hongjiu.lu@intel.com>
16
17 * configure.tgt: Support x32.
18
19 2011-06-15 Nick Clifton <nickc@redhat.com>
20
21 * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
22
23 2011-06-13 Walter Lee <walt@tilera.com>
24
25 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32tilegx.c and
26 eelf32tilepro.c.
27 (ALL_64_EMULATION_SOURCES): Add eelf64tilegx.c.
28 (eelf32tilegx.c): New target.
29 (eelf32tilepro.c): Likewise.
30 (eelf64tilegx.c): Likewise.
31 * Makefile.in: Regenerate.
32 * configure.tgt: Handle tilegx-*-* and tilepro-*-*.
33 * emulparams/elf32tilegx.sh: New file.
34 * emulparams/elf64tilegx.sh: New file.
35 * emulparams/elf32tilepro.sh: New file.
36
37 2011-06-13 Alan Modra <amodra@gmail.com>
38
39 * ldlang.c (sort_def_symbol, lang_one_common): Don't handle
40 warning symbols here.
41 * emultempl/pe.em (pr_sym): Remove redundant test.
42 * emultempl/pep.em (pr_sym): Likewise.
43
44 2011-06-09 Nick Clifton <nickc@redhat.com>
45
46 PR ld/12845
47 * emultempl/mipself.em (mips_add_stub_section): Do not add stubs
48 for sections that have been removed by garbage collection.
49
50 2011-06-08 Alan Modra <amodra@gmail.com>
51
52 * ldlang.c (lang_one_common): Handle warning symbols.
53
54 2011-06-07 Nick Clifton <nickc@redhat.com>
55
56 * configure.tgt: Accept any V850 architecture.
57
58 2011-06-03 Nick Clifton <nickc@redhat.com>
59
60 * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32am33lin.c
61 Add rule to build eelf32am33lin.c
62 * Makefile.in: Regenerate.
63
64 2011-06-02 Nick Clifton <nickc@redhat.com>
65
66 * lexsup.c: Fix spelling mistake in comment.
67 * scripttempl/epocpe.sc: Likewise.
68 * scripttempl/i386beos.sc: Likewise.
69 * scripttempl/mcorepe.sc: Likewise.
70 * scripttempl/pe.sc: Likewise.
71 * scripttempl/pep.sc: Likewise.
72 * po/ld.pot: Regenerate.
73
74 2011-05-27 Nick Clifton <nickc@redhat.com>
75
76 * scripttempl/v850.sc (_heap_start): Provide.
77
78 2011-05-23 Alan Modra <amodra@gmail.com>
79
80 * ldmisc.c (vfinfo): Add %H.
81 * ldmain.c (reloc_overflow): Use %H rather than %C.
82 (reloc_dangerous, unattached_reloc): Likewise.
83
84 2011-05-23 Alan Modra <amodra@gmail.com>
85
86 PR 12763
87 * ldlang.c (lang_output_section_find_by_flags): Match orphan .sdata2
88 like sections to existing .sdata2, and similarly for orphan TLS
89 sections.
90 * emultempl/elf32.em (place_orphan): Exclude .tbss from orphan_bss.
91
92 2011-05-17 Tomohiro Kashiwada <kikairoya@gmail.com>
93
94 PR ld/12759
95 * emultempl/rxelf.em (ignore_lma): New variable.
96 (rx_elf_create_output_section_statements): Pass the setiing of
97 ignore_lma to bfd_elf32_rx_set_target_flags.
98 (OPTION_IGNORE_LMA): Define.
99 (OPTION_NO_IGNORE_LMA): Define.
100 (PARSE_AND_LIST_LONGOPTS): Add ignore lma.
101 (PARSE_AND_LIST_OPTIONS): Add ignore lma.
102 (PARSE_AND_LIST_ARGS_CASES): Add ignore lma.
103
104 2011-05-17 Alan Modra <amodra@gmail.com>
105
106 PR ld/12760
107 * ldmain.c (notice): Add "flags" and "string" param.
108 * plugin.c (plugin_notice): Likewise. Handle indirect, warning
109 and constructor syms.
110
111 2010-05-16 Daniel Jacobowitz <dan@codesourcery.com>
112
113 * ldlang.c (print_assignment): Use the symbol's section if we
114 use its value.
115 * ldexp.c (exp_fold_tree_1): Skip self-assignment. Expand
116 comment on copying symbol type.
117
118 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
119
120 PR ld/12760
121 * plugin.c (plugin_notice): Set u.undef.abfd for symbols made
122 undefweak.
123
124 2011-05-16 Alan Modra <amodra@gmail.com>
125
126 * ldlang.c (lang_leave_output_section_statement): Don't copy
127 previous lma_region if given address.
128
129 2011-05-13 Bernd Schmidt <bernds@codesourcery.com>
130
131 (eelf32_tic6x_linux_be.c, eelf32_tic6x_linux_le.c,
132 eelf32_tic6x_elf_be.c, eelf32_tic6x_elf_le.c): New rules.
133 * Makefile.am (ALL_EMULATIONS): Add these files.
134 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): Depend on tic6xdsbt.em.
135 * Makefile.in: Regenerated.
136 * emultempl/tic6xdsbt.em (is_tic6x_target): Allow more tic6x target
137 vectors.
138 * emulparams/elf32_tic6x_elf_be.sh: New file.
139 * emulparams/elf32_tic6x_elf_le.sh: New file.
140 * emulparams/elf32_tic6x_linux_be.sh: New file.
141 * emulparams/elf32_tic6x_linux_le.sh: New file.
142 * configure.tgt (tic6x-*-elf, tic6x-*-uclinux): New.
143 (tic6x-*-*): Replaced by these.
144
145 2011-05-13 Jan Beulich <jbeulich@novell.com>
146
147 * configure.tgt: Add targets x86_64-*-pe and x86_64-*-pep.
148
149 2011-05-09 Paul Brook <paul@codesourcery.com>
150
151 * emultempl/tic6xdsbt.em (merge_exidx_entries): New.
152 (compare_output_sec_vma): New function.
153 (gld${EMULATION_NAME}_after_allocation): New function.
154 (OPTION_NO_MERGE_EXIDX_ENTRIES): Define.
155 (PARSE_AND_LIST_OPTIONS): Add --no-merge-exidx-entries.
156 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_MERGE_EXIDX_ENTRIES.
157 (LDEMUL_AFTER_ALLOCATION): Set.
158 * ld.texinfo: Document c6x --no-merge-exidx-entries.
159
160 2011-05-07 Dave Korn <dave.korn.cygwin@gmail.com>
161
162 PR ld/12365
163 * scripttempl/pe.sc (__rt_psrelocs_start): New symbol definition.
164 (__rt_psrelocs_end): Likewise.
165 (__rt_psrelocs_size): Likewise difference between the above.
166 (__RUNTIME_PSEUDO_RELOC_LIST_END__): Move outside .rdata section
167 immediately after end of pseudo-reloc data.
168 (___RUNTIME_PSEUDO_RELOC_LIST_END___): Likewise.
169 (__RUNTIME_PSEUDO_RELOC_LIST__): Move outside .rdata section and
170 calculate backward from list end.
171 (___RUNTIME_PSEUDO_RELOC_LIST___): Likewise.
172 * scripttempl/pep.sc: Likewise.
173
174 2011-05-06 Tristan Gingold <gingold@adacore.com>
175
176 * scripttempl/alphavms.sc (CODE): Add *$CODE*.
177
178 2011-05-04 Tristan Gingold <gingold@adacore.com>
179
180 * emultempl/generic.em (ld_${EMULATION_NAME}_emulation): Add
181 LDEMUL_ADD_OPTIONS and LDEMUL_HANDLE_OPTION.
182 * emultempl/vms.em (OPTION_IDENTIFICATION): New macro.
183 (gld${EMULATION_NAME}_add_options): New function.
184 (gld${EMULATION_NAME}_list_options): Ditto.
185 (gld${EMULATION_NAME}_handle_option): Ditto.
186 (LDEMUL_ADD_OPTIONS, LDEMUL_HANDLE_OPTION)
187 (LDEMUL_LIST_OPTIONS): Define.
188
189 2011-05-04 Alan Modra <amodra@gmail.com>
190
191 PR ld/12726
192 * ldexp.h (lang_phase_type): Add lang_assigning_phase_enum.
193 * ldexp.c (exp_fold_tree_1): Correct assign to dot comment. Don't
194 assign to dot when lang_assigning_phase_enum.
195 * ldlang.h (lang_do_assignments): Update prototype.
196 * ldlang.c (lang_do_assignments): Add phase parameter. Update all
197 callers.
198 * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
199 lang_do_assignments calls.
200
201 2011-04-28 Daniel C. Klauer <daniel.c.klauer@web.de>
202
203 PR ld/12614
204 * emultempl/pe.em (_after_open): Correctly check whether symbol is
205 in undef list.
206
207 2011-04-26 Kai Tietz <ktietz@redhat.com>
208
209 * scripttempl/pe.sc: Handle .eh_frame($|.)* sections.
210 * scripttempl/pep.sc: Likewise.
211
212 2011-04-24 Alan Modra <amodra@gmail.com>
213
214 PR ld/12365
215 PR ld/12696
216 * ldmain.c (notice): Delete "name" param, add "h".
217 * plugin.c (plugin_notice): Likewise. Set non_ir_ref. Handle
218 redefinitions of IR symbols in real BFDs.
219 (plugin_multiple_definition, plugin_multiple_common): Delete.
220 (non_ironly_hash, init_non_ironly_hash): Delete.
221 (is_visible_from_outside): Traverse entry_symbol chain.
222 (get_symbols): Use non_ir_ref flag rather than hash lookup.
223
224 2011-04-21 Tristan Gingold <gingold@adacore.com>
225
226 * scripttempl/alphavms.sc: Add dwarf2 embedding marks.
227
228 2011-04-20 Tristan Gingold <gingold@adacore.com>
229
230 * emultempl/aix.em (_add_options): Ignore -bbigtoc switch.
231
232 2011-04-20 Alan Modra <amodra@gmail.com>
233
234 * ld.h (ld_config_type <hash_table_size>): Make it an unsigned long.
235
236 2011-04-20 Alan Modra <amodra@gmail.com>
237
238 PR ld/12365
239 * ldfile.c (ldfile_try_open_bfd): Move code creating and switching
240 to plugin IR BFD..
241 * ldmain.c (add_archive_element): ..and similar code here..
242 * plugin.c (plugin_maybe_claim): ..to here. New function.
243 (plugin_call_claim_file): Make static.
244 (asymbol_from_plugin_symbol): Set ELF st_shndx for common syms.
245 (plugin_multiple_common): New function.
246 (plugin_call_all_symbols_read): Hook in plugin_multiple_common.
247 * plugin.h (plugin_call_claim_file): Don't declare.
248 (plugin_maybe_claim): Declare.
249
250 2011-04-20 Alan Modra <amodra@gmail.com>
251
252 PR ld/12365
253 * ldmain.c (multiple_definition): Take a bfd_link_hash_entry
254 pointer arg rather than "name", "obfd", "osec", "oval". Add code
255 removed from linker.c. Hack around xcofflink.c oddity in
256 passing NULL nbfd.
257 (multiple_common): Similarly.
258 * plugin.c (orig_allow_multiple_defs): Delete.
259 (plugin_call_all_symbols_read): Don't twiddle allow_multiple_definition.
260 (plugin_multiple_definition): Update.
261
262 2011-04-18 Kai Tietz <ktietz@redhat.com>
263
264 * deffilep.y (def_aligncomm): Avoid duplets.
265
266 * deffilep.y (def_pool_str): New type.
267 (pool_strs): Local static.
268 (def_pool_alloc): Local function.
269 (def_pool_strdup): Likewise.
270 (def_pool_free): Likewise.
271 (opt_name): Replace xmalloc/xstrdup by
272 def_pool_alloc/def_pool_strdup.
273 (dot_name): Likewise.
274 (anylang_id): Likewise.
275 (def_lex): Likewise.
276 (def_file_parse): Call def_pool_free on
277 exit and cleanup directives elements.
278 (def_file_add_directive): Call def_pool_free.
279
280 2011-04-18 Paul Brook <paul@codesourcery.com>
281
282 * emulparams/elf32_tic6x_le.sh: Define OTHER_READONLY_SECTIONS
283 for unwinding tables.
284
285 2011-04-18 Alan Modra <amodra@gmail.com>
286
287 PR ld/12365
288 PR ld/12672
289 * ldfile.c (ldfile_try_open_bfd): Don't attempt any plugin action
290 when no_more_claiming.
291 * ldmain.c (add_archive_element): Likewise.
292 (multiple_definition): Remove plugin_multiple_definition call.
293 (notice): Remove plugin_notice call.
294 * ldlang.c (lang_list_insert_after, void lang_list_remove_tail): Move.
295 Delete prototype.
296 (plugin_insert): New static var.
297 (open_input_bfds): Only rescan libs after plugin insert point.
298 (lang_gc_sections): Omit plugin claimed files.
299 (lang_process): Set plugin_insert. Only rescan when plugin adds
300 objects.
301 * plugin.h (no_more_claiming): Declare.
302 (plugin_notice, plugin_multiple_definition): Don't declare.
303 * plugin.c: Formatting.
304 (orig_notice_all, orig_allow_multiple_defs, orig_callbacks,
305 plugin_callbacks): New static vars.
306 (no_more_claiming): Make global.
307 (plugin_cached_allow_multiple_defs): Delete.
308 (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy .text section,
309 use newer bfd_make_section variant. Make COMMON section too.
310 Error handling. Correct setting of gp size.
311 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
312 (message): Likewise for ACONCAT.
313 (asymbol_from_plugin_symbol): Use our COMMON section.
314 (get_symbols): When report_plugin_symbols, show visibility too.
315 (init_non_ironly_hash): Move. Don't test non_ironly_hash.
316 (plugin_load_plugins): Save state of linker callbacks, set up to
317 call plugin_notice instead. Call init_non_ironly_hash here.
318 (plugin_call_all_symbols_read): Set plugin_multiple_definition in
319 plugin callbacks.
320 (plugin_notice): Rewrite.
321 (plugin_multiple_definition): Make static, call original callback.
322
323 2011-04-15 Alan Modra <amodra@gmail.com>
324
325 PR ld/12672
326 * ldlang.c (enum open_bfd_mode): New.
327 (open_input_bfds): Replace "force" param with "mode". Reload
328 archives for rescan. Update all callers.
329 (lang_process): Make another open_input_bfds pass for plugins.
330
331 2011-04-13 Kai Tietz <ktietz@redhat.com>
332
333 PR binutils/12658
334 * deffile.h (def_file_add_export): Add is_dup argument.
335 (def_file_add_import): Likewise.
336 * deffilep.y (are_names_equal): New helper.
337 (cmp_export_elem): New helper.
338 (find_export_in_list): Add search routine for exports.
339 (def_file_add_export): Check for duplicates.
340 (cmp_import_elem): New helper.
341 (find_import_in_list): Add search routine for imports.
342 (def_file_add_import): Check for duplicates.
343 (def_exports): Handle duplicates.
344 (def_imports): Likewise.
345 * pe-dll.c (process_def_file_and_drectve): Likewise.
346 (pe_implied_import_dll): Likewise.
347
348 2011-04-11 Chris Quenelle <chris.quenelle@oracle.com>
349
350 * scripttempl/elf.sc (.exception_ranges): Add new section.
351
352 2011-04-08 Hector Oron <hector.oron@gmail.com>
353
354 PR ld/12643
355 * configure.tgt: Add support for arm-*-gnueabihf targets.
356
357 2011-04-07 Eric B. Weddington <eric.weddington@atmel.com>
358
359 * Makefile.in: Regenerate. Remove stray eavrtiny10 rules.
360
361 2011-04-07 Joseph Myers <joseph@codesourcery.com>
362
363 * configure.tgt: Remove stray ;;.
364
365 2011-04-06 Joseph Myers <joseph@codesourcery.com>
366
367 * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
368 strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
369 thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
370 xscale-*-coff, xscale-*-elf): Remove targets.
371
372 2011-03-31 H.J. Lu <hongjiu.lu@intel.com>
373
374 * configure.tgt: Add elf_l1om to targ_extra_libpath for
375 x86_64-*-linux-*.
376
377 * emulparams/elf_l1om.sh: Remove duplicates.
378
379 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
380
381 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
382 GENERATE_SHLIB_SCRIPT): New defines.
383 (TEXT_START_ADDR): Define differently depending on target.
384 (.got): Redefine to include "*(.dsbt)".
385 (SDATA_START_SYMBOLS): Remove, replace with
386 (OTHER_GOT_SYMBOLS): New.
387 (OTHER_BSS_SECTIONS): Define only for ELF targets.
388 * emultempl/tic6xdsbt.em: New file.
389 * gen-doc.texi: Set C6X.
390 * ld.texinfo: Likewise.
391 (Options specific to C6X uClinux targets): New section.
392
393 2011-03-29 Alan Modra <amodra@gmail.com>
394
395 PR ld/12613
396 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
397
398 2011-03-26 John Marino <binutils@marino.st>
399
400 * configure.host: Update *-*-dragonfly* host entry.
401 * configure.tgt: Update *-*-dragonfly* target entry.
402 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
403
404 2011-03-28 Joseph Myers <joseph@codesourcery.com>
405
406 * configure.in: Check for windows.h, not Windows.h.
407 * configure: Regenerate.
408 * plugin.c: Include windows.h, not Windows.h.
409
410 2011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
411
412 * Makefile.in: Regenerate.
413
414 2011-03-23 Joseph Myers <joseph@codesourcery.com>
415
416 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
417 are enabled. Mark level as possibly unused.
418
419 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
420
421 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
422 (eavrxmega?.c): Likewise.
423 * configure.tgt (targ_extra_emuls): Likewise.
424 * emulparams/avrxmega1.sh: New file.
425 * emulparams/avrxmega2.sh: Likewise.
426 * emulparams/avrxmega3.sh: Likewise.
427 * emulparams/avrxmega4.sh: Likewise.
428 * emulparams/avrxmega5.sh: Likewise.
429 * emulparams/avrxmega6.sh: Likewise.
430 * emulparams/avrxmega7.sh: Likewise.
431 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
432 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
433
434 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
435
436 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
437
438 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
439
440 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
441 eh->target_internal.
442
443 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
444
445 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
446 instead of dynamic_sections_created.
447
448 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
449
450 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
451
452 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
453
454 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
455
456 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
457
458 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
459 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
460 * ldmain.c (add_archive_element): Set it if the member is claimed.
461 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
462 (find_replacements_insert_point): New helper function.
463 (lang_process): After adding and opening replacement files passed
464 from plugin, splice them into correct place in statement list and
465 file chains to preserve critical link order.
466 (lang_list_insert_after): New helper function.
467 (lang_list_remove_tail): Likewise.
468
469 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
470
471 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
472 (IRONLY_SUFFIX_LEN): Delete.
473 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
474 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
475 enclosing lang input statement instead.
476
477 2011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
478
479 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
480 alignment of input sections when creating orphan output sections
481 during relocatable link.
482 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
483
484 2011-03-04 H.J. Lu <hongjiu.lu@intel.com>
485
486 * ld.texinfo: Document --verbose[=NUMBER].
487
488 * lexsup.c (ld_options): Update --verbose.
489 (parse_args): Set report_plugin_symbols.
490
491 * plugin.c (report_plugin_symbols): New.
492 (get_symbols): Report plugin symbols if report_plugin_symbols
493 is TRUE.
494
495 * plugin.h (report_plugin_symbols): New.
496
497 2011-03-01 H.J. Lu <hongjiu.lu@intel.com>
498
499 PR ld/12529
500 * testplug.c: Don't include "filenames.h".
501 (onclaim_file): Don't use filename_cmp.
502
503 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
504
505 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
506 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
507 Likewise.
508 (gld${EMULATION_NAME}_stat_needed): Likewise.
509 (gld${EMULATION_NAME}_check_needed): Likewise.
510 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
511 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
512 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
513 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
514 * ldfile.c (ldfile_open_file): Likewise.
515 * ldlang.c (wild_sort): Likewise.
516 (lookup_name): Likewise.
517 (check_excluded_libs): Likewise.
518 * ldmisc.c (vfinfo): Likewise.
519 * pe-dll.c (libnamencmp): Likewise.
520 (auto_export): Likewise.
521 (pe_dll_generate_implib): Likewise.
522 * testplug.c (onclaim_file): Likewise.
523
524 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
525
526 PR ld/12507
527 * plugin.c (get_symbols): Don't check entry symbol here.
528 (init_non_ironly_hash): Add entry_symbol chain into
529 non_ironly_hash.
530
531 2011-02-24 H.J. Lu <hongjiu.lu@intel.com>
532
533 PR ld/12507
534 * plugin.c (get_symbols): Don't mark entry symbol IR only.
535
536 2011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
537
538 PR ld/12376
539 emulparams/hppalinux.sh (DATA_ADDR): Define.
540 (SHLIB_DATA_ADDR): Likewise.
541
542 2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
543
544 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
545 x32 for x32.
546
547 2011-02-15 Kai Tietz <kai.tietz@onevision.com>
548
549 * pe-dll.c (process_def_file_and_drectve): Don't strip
550 leading underscore from symbol by calling bfd_find_version_for_sym.
551
552 2011-02-14 Mike Frysinger <vapier@gentoo.org>
553
554 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
555 the bfd_demangle of sym, change users of sym to c_sym when not
556 already demangling, and free when done. Change callers of
557 cplus_demangle to bfd_demangle.
558
559 2011-02-14 Alan Modra <amodra@gmail.com>
560
561 * plugin.c (plugin_get_ir_dummy_bfd): Set SEC_EXCLUDE on dummy
562 .text section, use newer bfd_make_section variant. Error handling.
563 Correct setting of gp size.
564 (asymbol_from_plugin_symbol): Properly cast last arg of concat.
565 (message): Likewise for ACONCAT.
566 (get_symbols): Formatting.
567
568 2011-02-14 Alan Modra <amodra@gmail.com>
569
570 * ldmain.c (remove_output): Rename to..
571 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
572 (main): Adjust.
573 * plugin.c (plugin_call_cleanup): Make global.
574 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
575 * plugin.h (plugin_call_cleanup): Declare.
576
577 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
578
579 * configure: Regenerate.
580
581 2011-02-10 Alan Modra <amodra@gmail.com>
582
583 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
584 * scripttempl/avr.sc: Likewise.
585 * scripttempl/elf32cr16.sc: Likewise.
586 * scripttempl/elf32crx.sc: Likewise.
587 * scripttempl/elf32msp430.sc: Likewise.
588 * scripttempl/elf32msp430_3.sc: Likewise.
589 * scripttempl/elf32sh-symbian.sc: Likewise.
590 * scripttempl/elf64hppa.sc: Likewise.
591 * scripttempl/elf_chaos.sc: Likewise.
592 * scripttempl/elfd10v.sc: Likewise.
593 * scripttempl/elfd30v.sc: Likewise.
594 * scripttempl/elfi370.sc: Likewise.
595 * scripttempl/elfm68hc11.sc: Likewise.
596 * scripttempl/elfm68hc12.sc: Likewise.
597 * scripttempl/elfxtensa.sc: Likewise.
598 * scripttempl/ip2k.sc: Likewise.
599 * scripttempl/iq2000.sc: Likewise.
600 * scripttempl/mep.sc: Likewise.
601 * scripttempl/mmo.sc: Likewise.
602 * scripttempl/v850.sc: Likewise.
603 * scripttempl/xstormy16.sc: Likewise.
604 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
605
606 2011-01-22 H.J. Lu <hongjiu.lu@intel.com>
607
608 * Makefile.am (CXX): Removed.
609
610 * configure.in: Add AC_PROG_CXX.
611
612 * Makefile.in: Regenerated.
613 * configure: Likewise.
614
615 2011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
616
617 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
618 private data and GP size.
619
620 2011-01-21 Alan Modra <amodra@gmail.com>
621
622 * ldexp.c (fold_binary): Set result section for arithmetic and
623 logical operations to NULL when both operands are in same section.
624 * ld.texinfo (Expression Section): Describe this.
625
626 2011-01-14 Alan Modra <amodra@gmail.com>
627
628 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
629 attempt to put non-alloc orphans before debug sections, just place
630 them after .comment.
631
632 2011-01-14 J. Park <grassman@gmail.com>
633
634 PR ld/12339
635 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
636
637 2011-01-14 Alan Modra <amodra@gmail.com>
638
639 * Makefile.am: Sort emulation rules.
640 (eelf32am33lin.c): Delete.
641 (ALL_EMULATION_SOURCES): Sort, add missing entries.
642 (ALL_64_EMULATION_SOURCES): Likewise.
643 * Makefile.in: Regenerate.
644
645 2011-01-13 Alan Modra <amodra@gmail.com>
646
647 PR ld/12356
648 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
649 (Expression Section): Update.
650 * ld.h (ld_config_type): Add sane_expr.
651 * ldgram.y (ifile_p1): Add LD_FEATURE.
652 * ldlex.l (LD_FEATYRE): New.
653 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
654 * ldexp.h (struct ldexp_control): Delete uses_defined.
655 * ldexp.c: Remove all uses of uses_defined.
656 (fold_name): Test config.sane_expr rather than ld_compatibility.
657 (exp_fold_tree_1): Likewise. Adjust handling of assignments
658 during first phase.
659 * ldlang.h (ld_compatibility): Delete.
660 (lang_ld_feature): Declare.
661 * ldlang.c (ld_compatibility): Delete.
662 (open_input_bfds): Only handle assignments for --defsym.
663 (lang_ld_feature): New function.
664
665 PR ld/12356
666 * ldexp.h (exp_assop): Delete.
667 (exp_assign, exp_defsym): Declare.
668 * ldexp.c (exp_assop): Make static, handle all assignment variations.
669 (exp_assign, exp_defsym): New functions.
670 (exp_provide): Use exp_assop.
671 * ldgram.y (defsym_expr): Use exp_defsym.
672 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
673 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
674 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
675
676 2011-01-12 Alan Modra <amodra@gmail.com>
677
678 PR ld/12380
679 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
680 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
681 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
682 to detect when we've finished sizing sections.
683 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
684 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
685 that we are not inside an output section statement.
686 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
687 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
688 lang_final_phase_enum here.
689 (lang_process): Set lang_final_phase_enum here.
690
691 2011-01-10 Nick Clifton <nickc@redhat.com>
692
693 * po/da.po: Updated Danish translation.
694
695 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
696
697 * ldlang.c (startup_file): Removed.
698 (lang_startup): Updated.
699
700 2011-01-05 H.J. Lu <hongjiu.lu@intel.com>
701
702 PR ld/12364
703 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
704 before accessing its flags field.
705
706 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
707
708 * ldver.c (ldversion): Update copyright to 2011.
709
710 For older changes see ChangeLog-2010
711 \f
712 Local Variables:
713 mode: change-log
714 left-margin: 8
715 fill-column: 74
716 version-control: never
717 End: