PR ld/12339
[binutils.git] / ld / ChangeLog
blob1dc63c1f876cbc6f95c70dd45d65c7dfed216add
1 2011-01-14  J. Park  <grassman@gmail.com>
3         PR ld/12339
4         * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
6 2011-01-14  Alan Modra  <amodra@gmail.com>
8         * Makefile.am: Sort emulation rules.
9         (eelf32am33lin.c): Delete.
10         (ALL_EMULATION_SOURCES): Sort, add missing entries.
11         (ALL_64_EMULATION_SOURCES): Likewise.
12         * Makefile.in: Regenerate.
14 2011-01-13  Alan Modra  <amodra@gmail.com>
16         PR ld/12356
17         * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
18         (Expression Section): Update.
19         * ld.h (ld_config_type): Add sane_expr.
20         * ldgram.y (ifile_p1): Add LD_FEATURE.
21         * ldlex.l (LD_FEATYRE): New.
22         * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
23         * ldexp.h (struct ldexp_control): Delete uses_defined.
24         * ldexp.c: Remove all uses of uses_defined.
25         (fold_name): Test config.sane_expr rather than ld_compatibility.
26         (exp_fold_tree_1): Likewise.  Adjust handling of assignments
27         during first phase.
28         * ldlang.h (ld_compatibility): Delete.
29         (lang_ld_feature): Declare.
30         * ldlang.c (ld_compatibility): Delete.
31         (open_input_bfds): Only handle assignments for --defsym.
32         (lang_ld_feature): New function.
34         PR ld/12356
35         * ldexp.h (exp_assop): Delete.
36         (exp_assign, exp_defsym): Declare.
37         * ldexp.c (exp_assop): Make static, handle all assignment variations.
38         (exp_assign, exp_defsym): New functions.
39         (exp_provide): Use exp_assop.
40         * ldgram.y (defsym_expr): Use exp_defsym.
41         * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
42         * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
43         * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
45 2011-01-12  Alan Modra  <amodra@gmail.com>
47         PR ld/12380
48         * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
49         * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
50         for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
51         to detect when we've finished sizing sections.
52         (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
53         (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
54         that we are not inside an output section statement.
55         * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
56         not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
57         lang_final_phase_enum here.
58         (lang_process): Set lang_final_phase_enum here.
60 2011-01-10  Nick Clifton  <nickc@redhat.com>
62         * po/da.po: Updated Danish translation.
64 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66         * ldlang.c (startup_file): Removed.
67         (lang_startup): Updated.
69 2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
71         PR ld/12364
72         * plugin.c (get_symbols): Check if owner_sec->owner is NULL
73         before accessing its flags field.
75 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
77         * ldver.c (ldversion): Update copyright to 2011.
79 For older changes see ChangeLog-2010
81 Local Variables:
82 mode: change-log
83 left-margin: 8
84 fill-column: 74
85 version-control: never
86 End: