Add entry_symbol chain into non_ironly_hash.
[binutils.git] / ld / ChangeLog
blobaa459a05bf656dd4bd5795af427f2ced59db5e51
1 2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
3         PR ld/12507
4         * plugin.c (get_symbols): Don't check entry symbol here.
5         (init_non_ironly_hash): Add entry_symbol chain into
6         non_ironly_hash.
8 2011-02-24  H.J. Lu  <hongjiu.lu@intel.com>
10         PR ld/12507
11         * plugin.c (get_symbols): Don't mark entry symbol IR only.
13 2011-02-18  John David Anglin  <dave.anglin@nrc-cnnrc.gc.ca>
15         PR ld/12376
16         emulparams/hppalinux.sh (DATA_ADDR): Define.
17         (SHLIB_DATA_ADDR): Likewise.
19 2011-02-16  H.J. Lu  <hongjiu.lu@intel.com>
21         * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
22         x32 for x32.
24 2011-02-15  Kai Tietz  <kai.tietz@onevision.com>
26         * pe-dll.c (process_def_file_and_drectve): Don't strip
27         leading underscore from symbol by calling bfd_find_version_for_sym.
29 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
31         * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
32         the bfd_demangle of sym, change users of sym to c_sym when not
33         already demangling, and free when done.  Change callers of
34         cplus_demangle to bfd_demangle.
36 2011-02-14  Alan Modra  <amodra@gmail.com>
38         * ldmain.c (remove_output): Rename to..
39         (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
40         (main): Adjust.
41         * plugin.c (plugin_call_cleanup): Make global.
42         (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
43         * plugin.h (plugin_call_cleanup): Declare.
45 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
47         * configure: Regenerate.
49 2011-02-10  Alan Modra  <amodra@gmail.com>
51         * scripttempl/armbpabi.sc: Revert 2010-11-02  H.J. Lu.
52         * scripttempl/avr.sc: Likewise.
53         * scripttempl/elf32cr16.sc: Likewise.
54         * scripttempl/elf32crx.sc: Likewise.
55         * scripttempl/elf32msp430.sc: Likewise.
56         * scripttempl/elf32msp430_3.sc: Likewise.
57         * scripttempl/elf32sh-symbian.sc: Likewise.
58         * scripttempl/elf64hppa.sc: Likewise.
59         * scripttempl/elf_chaos.sc: Likewise.
60         * scripttempl/elfd10v.sc: Likewise.
61         * scripttempl/elfd30v.sc: Likewise.
62         * scripttempl/elfi370.sc: Likewise.
63         * scripttempl/elfm68hc11.sc: Likewise.
64         * scripttempl/elfm68hc12.sc: Likewise.
65         * scripttempl/elfxtensa.sc: Likewise.
66         * scripttempl/ip2k.sc: Likewise.
67         * scripttempl/iq2000.sc: Likewise.
68         * scripttempl/mep.sc: Likewise.
69         * scripttempl/mmo.sc: Likewise.
70         * scripttempl/v850.sc: Likewise.
71         * scripttempl/xstormy16.sc: Likewise.
72         * scripttempl/elf.sc: Revert 2010-10-29  H.J. Lu.
74 2011-01-22  H.J. Lu  <hongjiu.lu@intel.com>
76         * Makefile.am (CXX): Removed.
78         * configure.in: Add AC_PROG_CXX.
80         * Makefile.in: Regenerated.
81         * configure: Likewise.
83 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
85         * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
86         private data and GP size.
88 2011-01-21  Alan Modra  <amodra@gmail.com>
90         * ldexp.c (fold_binary): Set result section for arithmetic and
91         logical operations to NULL when both operands are in same section.
92         * ld.texinfo (Expression Section): Describe this.
94 2011-01-14  Alan Modra  <amodra@gmail.com>
96         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
97         attempt to put non-alloc orphans before debug sections, just place
98         them after .comment.
100 2011-01-14  J. Park  <grassman@gmail.com>
102         PR ld/12339
103         * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
105 2011-01-14  Alan Modra  <amodra@gmail.com>
107         * Makefile.am: Sort emulation rules.
108         (eelf32am33lin.c): Delete.
109         (ALL_EMULATION_SOURCES): Sort, add missing entries.
110         (ALL_64_EMULATION_SOURCES): Likewise.
111         * Makefile.in: Regenerate.
113 2011-01-13  Alan Modra  <amodra@gmail.com>
115         PR ld/12356
116         * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
117         (Expression Section): Update.
118         * ld.h (ld_config_type): Add sane_expr.
119         * ldgram.y (ifile_p1): Add LD_FEATURE.
120         * ldlex.l (LD_FEATYRE): New.
121         * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
122         * ldexp.h (struct ldexp_control): Delete uses_defined.
123         * ldexp.c: Remove all uses of uses_defined.
124         (fold_name): Test config.sane_expr rather than ld_compatibility.
125         (exp_fold_tree_1): Likewise.  Adjust handling of assignments
126         during first phase.
127         * ldlang.h (ld_compatibility): Delete.
128         (lang_ld_feature): Declare.
129         * ldlang.c (ld_compatibility): Delete.
130         (open_input_bfds): Only handle assignments for --defsym.
131         (lang_ld_feature): New function.
133         PR ld/12356
134         * ldexp.h (exp_assop): Delete.
135         (exp_assign, exp_defsym): Declare.
136         * ldexp.c (exp_assop): Make static, handle all assignment variations.
137         (exp_assign, exp_defsym): New functions.
138         (exp_provide): Use exp_assop.
139         * ldgram.y (defsym_expr): Use exp_defsym.
140         * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
141         * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
142         * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
144 2011-01-12  Alan Modra  <amodra@gmail.com>
146         PR ld/12380
147         * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
148         * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
149         for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
150         to detect when we've finished sizing sections.
151         (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
152         (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
153         that we are not inside an output section statement.
154         * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
155         not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
156         lang_final_phase_enum here.
157         (lang_process): Set lang_final_phase_enum here.
159 2011-01-10  Nick Clifton  <nickc@redhat.com>
161         * po/da.po: Updated Danish translation.
163 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
165         * ldlang.c (startup_file): Removed.
166         (lang_startup): Updated.
168 2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
170         PR ld/12364
171         * plugin.c (get_symbols): Check if owner_sec->owner is NULL
172         before accessing its flags field.
174 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
176         * ldver.c (ldversion): Update copyright to 2011.
178 For older changes see ChangeLog-2010
180 Local Variables:
181 mode: change-log
182 left-margin: 8
183 fill-column: 74
184 version-control: never
185 End: