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