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