Add AC_PROG_CXX.
[binutils.git] / ld / ChangeLog
blob3dcf6c279927db2b5f0bcd4415db26991b85b009
1 2011-01-22  H.J. Lu  <hongjiu.lu@intel.com>
3         * Makefile.am (CXX): Removed.
5         * configure.in: Add AC_PROG_CXX.
7         * Makefile.in: Regenerated.
8         * configure: Likewise.
10 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
12         * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
13         private data and GP size.
15 2011-01-21  Alan Modra  <amodra@gmail.com>
17         * ldexp.c (fold_binary): Set result section for arithmetic and
18         logical operations to NULL when both operands are in same section.
19         * ld.texinfo (Expression Section): Describe this.
21 2011-01-14  Alan Modra  <amodra@gmail.com>
23         * ldmain.c (main): Flush stdout before and stderr after printing
24         message.
25         * ldmisc.c (einfo): Similarly.
26         * plugin.c (message): Likewise.
27         * emultempl/ppc64elf.em: Likewise.
28         * emultempl/xtensaelf.em: Likewise.
29         * emulparams/elf32mcore.sh: Use einfo rather than printf.
30         * emultempl/beos.em: Likewise.
31         * emultempl/pe.em: Likewise.
32         * emultempl/pep.em: Likewise.
34 2011-01-14  Alan Modra  <amodra@gmail.com>
36         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
37         attempt to put non-alloc orphans before debug sections, just place
38         them after .comment.
40 2011-01-14  J. Park  <grassman@gmail.com>
42         PR ld/12339
43         * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
45 2011-01-14  Alan Modra  <amodra@gmail.com>
47         * Makefile.am: Sort emulation rules.
48         (eelf32am33lin.c): Delete.
49         (ALL_EMULATION_SOURCES): Sort, add missing entries.
50         (ALL_64_EMULATION_SOURCES): Likewise.
51         * Makefile.in: Regenerate.
53 2011-01-13  Alan Modra  <amodra@gmail.com>
55         PR ld/12356
56         * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
57         (Expression Section): Update.
58         * ld.h (ld_config_type): Add sane_expr.
59         * ldgram.y (ifile_p1): Add LD_FEATURE.
60         * ldlex.l (LD_FEATYRE): New.
61         * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
62         * ldexp.h (struct ldexp_control): Delete uses_defined.
63         * ldexp.c: Remove all uses of uses_defined.
64         (fold_name): Test config.sane_expr rather than ld_compatibility.
65         (exp_fold_tree_1): Likewise.  Adjust handling of assignments
66         during first phase.
67         * ldlang.h (ld_compatibility): Delete.
68         (lang_ld_feature): Declare.
69         * ldlang.c (ld_compatibility): Delete.
70         (open_input_bfds): Only handle assignments for --defsym.
71         (lang_ld_feature): New function.
73         PR ld/12356
74         * ldexp.h (exp_assop): Delete.
75         (exp_assign, exp_defsym): Declare.
76         * ldexp.c (exp_assop): Make static, handle all assignment variations.
77         (exp_assign, exp_defsym): New functions.
78         (exp_provide): Use exp_assop.
79         * ldgram.y (defsym_expr): Use exp_defsym.
80         * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
81         * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
82         * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
84 2011-01-12  Alan Modra  <amodra@gmail.com>
86         PR ld/12380
87         * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
88         * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
89         for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
90         to detect when we've finished sizing sections.
91         (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
92         (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
93         that we are not inside an output section statement.
94         * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
95         not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
96         lang_final_phase_enum here.
97         (lang_process): Set lang_final_phase_enum here.
99 2011-01-10  Nick Clifton  <nickc@redhat.com>
101         * po/da.po: Updated Danish translation.
103 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
105         * ldlang.c (startup_file): Removed.
106         (lang_startup): Updated.
108 2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
110         PR ld/12364
111         * plugin.c (get_symbols): Check if owner_sec->owner is NULL
112         before accessing its flags field.
114 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
116         * ldver.c (ldversion): Update copyright to 2011.
118 For older changes see ChangeLog-2010
120 Local Variables:
121 mode: change-log
122 left-margin: 8
123 fill-column: 74
124 version-control: never
125 End: