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