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