bfd/ld: handle ABI prefixes in version scripts
[binutils.git] / ld / ChangeLog
blob1a0dd35cbd4bdcd3a511b72aa9adffa748ce712c
1 2011-02-14  Mike Frysinger  <vapier@gentoo.org>
3         * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
4         the bfd_demangle of sym, change users of sym to c_sym when not
5         already demangling, and free when done.  Change callers of
6         cplus_demangle to bfd_demangle.
8 2011-02-14  Alan Modra  <amodra@gmail.com>
10         * ldmain.c (remove_output): Rename to..
11         (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
12         (main): Adjust.
13         * plugin.c (plugin_call_cleanup): Make global.
14         (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
15         * plugin.h (plugin_call_cleanup): Declare.
17 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
19         * configure: Regenerate.
21 2011-02-10  Alan Modra  <amodra@gmail.com>
23         * scripttempl/armbpabi.sc: Revert 2010-11-02  H.J. Lu.
24         * scripttempl/avr.sc: Likewise.
25         * scripttempl/elf32cr16.sc: Likewise.
26         * scripttempl/elf32crx.sc: Likewise.
27         * scripttempl/elf32msp430.sc: Likewise.
28         * scripttempl/elf32msp430_3.sc: Likewise.
29         * scripttempl/elf32sh-symbian.sc: Likewise.
30         * scripttempl/elf64hppa.sc: Likewise.
31         * scripttempl/elf_chaos.sc: Likewise.
32         * scripttempl/elfd10v.sc: Likewise.
33         * scripttempl/elfd30v.sc: Likewise.
34         * scripttempl/elfi370.sc: Likewise.
35         * scripttempl/elfm68hc11.sc: Likewise.
36         * scripttempl/elfm68hc12.sc: Likewise.
37         * scripttempl/elfxtensa.sc: Likewise.
38         * scripttempl/ip2k.sc: Likewise.
39         * scripttempl/iq2000.sc: Likewise.
40         * scripttempl/mep.sc: Likewise.
41         * scripttempl/mmo.sc: Likewise.
42         * scripttempl/v850.sc: Likewise.
43         * scripttempl/xstormy16.sc: Likewise.
44         * scripttempl/elf.sc: Revert 2010-10-29  H.J. Lu.
46 2011-01-22  H.J. Lu  <hongjiu.lu@intel.com>
48         * Makefile.am (CXX): Removed.
50         * configure.in: Add AC_PROG_CXX.
52         * Makefile.in: Regenerated.
53         * configure: Likewise.
55 2011-01-22  Richard Sandiford  <rdsandiford@googlemail.com>
57         * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
58         private data and GP size.
60 2011-01-21  Alan Modra  <amodra@gmail.com>
62         * ldexp.c (fold_binary): Set result section for arithmetic and
63         logical operations to NULL when both operands are in same section.
64         * ld.texinfo (Expression Section): Describe this.
66 2011-01-14  Alan Modra  <amodra@gmail.com>
68         * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
69         attempt to put non-alloc orphans before debug sections, just place
70         them after .comment.
72 2011-01-14  J. Park  <grassman@gmail.com>
74         PR ld/12339
75         * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
77 2011-01-14  Alan Modra  <amodra@gmail.com>
79         * Makefile.am: Sort emulation rules.
80         (eelf32am33lin.c): Delete.
81         (ALL_EMULATION_SOURCES): Sort, add missing entries.
82         (ALL_64_EMULATION_SOURCES): Likewise.
83         * Makefile.in: Regenerate.
85 2011-01-13  Alan Modra  <amodra@gmail.com>
87         PR ld/12356
88         * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
89         (Expression Section): Update.
90         * ld.h (ld_config_type): Add sane_expr.
91         * ldgram.y (ifile_p1): Add LD_FEATURE.
92         * ldlex.l (LD_FEATYRE): New.
93         * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
94         * ldexp.h (struct ldexp_control): Delete uses_defined.
95         * ldexp.c: Remove all uses of uses_defined.
96         (fold_name): Test config.sane_expr rather than ld_compatibility.
97         (exp_fold_tree_1): Likewise.  Adjust handling of assignments
98         during first phase.
99         * ldlang.h (ld_compatibility): Delete.
100         (lang_ld_feature): Declare.
101         * ldlang.c (ld_compatibility): Delete.
102         (open_input_bfds): Only handle assignments for --defsym.
103         (lang_ld_feature): New function.
105         PR ld/12356
106         * ldexp.h (exp_assop): Delete.
107         (exp_assign, exp_defsym): Declare.
108         * ldexp.c (exp_assop): Make static, handle all assignment variations.
109         (exp_assign, exp_defsym): New functions.
110         (exp_provide): Use exp_assop.
111         * ldgram.y (defsym_expr): Use exp_defsym.
112         * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
113         * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
114         * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
116 2011-01-12  Alan Modra  <amodra@gmail.com>
118         PR ld/12380
119         * ldexp.h (enum phase_enum): Comment.  Add exp_dataseg_done.
120         * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code.  Test
121         for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
122         to detect when we've finished sizing sections.
123         (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
124         (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise.  Also test
125         that we are not inside an output section statement.
126         * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
127         not exp_dataseg_relro_adjust or exp_dataseg_adjust.  Don't set
128         lang_final_phase_enum here.
129         (lang_process): Set lang_final_phase_enum here.
131 2011-01-10  Nick Clifton  <nickc@redhat.com>
133         * po/da.po: Updated Danish translation.
135 2011-01-10  H.J. Lu  <hongjiu.lu@intel.com>
137         * ldlang.c (startup_file): Removed.
138         (lang_startup): Updated.
140 2011-01-05  H.J. Lu  <hongjiu.lu@intel.com>
142         PR ld/12364
143         * plugin.c (get_symbols): Check if owner_sec->owner is NULL
144         before accessing its flags field.
146 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
148         * ldver.c (ldversion): Update copyright to 2011.
150 For older changes see ChangeLog-2010
152 Local Variables:
153 mode: change-log
154 left-margin: 8
155 fill-column: 74
156 version-control: never
157 End: