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