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