* configure.in: Check for windows.h, not Windows.h.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
f31d24a0
JM
12011-03-28 Joseph Myers <joseph@codesourcery.com>
2
3 * configure.in: Check for windows.h, not Windows.h.
4 * configure: Regenerate.
5 * plugin.c: Include windows.h, not Windows.h.
6
d0289b45
EW
72011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
8
9 * Makefile.in: Regenerate.
10
d436a15e
JM
112011-03-23 Joseph Myers <joseph@codesourcery.com>
12
13 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
14 are enabled. Mark level as possibly unused.
15
8cc66334
EW
162011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
17
18 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
19 (eavrxmega?.c): Likewise.
20 * configure.tgt (targ_extra_emuls): Likewise.
21 * emulparams/avrxmega1.sh: New file.
22 * emulparams/avrxmega2.sh: Likewise.
23 * emulparams/avrxmega3.sh: Likewise.
24 * emulparams/avrxmega4.sh: Likewise.
25 * emulparams/avrxmega5.sh: Likewise.
26 * emulparams/avrxmega6.sh: Likewise.
27 * emulparams/avrxmega7.sh: Likewise.
28 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
29 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
30
ef844a53
EW
312011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
32
33 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
34
35fc36a8
RS
352011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
36
37 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
38 eh->target_internal.
39
cbc704f3
RS
402011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
41
42 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
43 instead of dynamic_sections_created.
44
10be1b6a
DK
452011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
46
47 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
48
422b6f14
DK
492011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
50
51 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
52
8543fde5
DK
532011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
54
55 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
56 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
57 * ldmain.c (add_archive_element): Set it if the member is claimed.
58 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
59 (find_replacements_insert_point): New helper function.
60 (lang_process): After adding and opening replacement files passed
61 from plugin, splice them into correct place in statement list and
62 file chains to preserve critical link order.
63 (lang_list_insert_after): New helper function.
64 (lang_list_remove_tail): Likewise.
65
cf4dc96f
DK
662011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
67
68 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
69 (IRONLY_SUFFIX_LEN): Delete.
70 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
71 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
72 enclosing lang input statement instead.
73
4bf0cafb
DK
742011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
75
76 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
77 alignment of input sections when creating orphan output sections
78 during relocatable link.
79 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
80
1715a13c
L
812011-03-04 H.J. Lu <hongjiu.lu@intel.com>
82
83 * ld.texinfo: Document --verbose[=NUMBER].
84
85 * lexsup.c (ld_options): Update --verbose.
86 (parse_args): Set report_plugin_symbols.
87
88 * plugin.c (report_plugin_symbols): New.
89 (get_symbols): Report plugin symbols if report_plugin_symbols
90 is TRUE.
91
92 * plugin.h (report_plugin_symbols): New.
93
f4c37f56
L
942011-03-01 H.J. Lu <hongjiu.lu@intel.com>
95
96 PR ld/12529
97 * testplug.c: Don't include "filenames.h".
98 (onclaim_file): Don't use filename_cmp.
99
42627821
KT
1002011-02-28 Kai Tietz <kai.tietz@onevision.com>
101
102 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
103 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
104 Likewise.
105 (gld${EMULATION_NAME}_stat_needed): Likewise.
106 (gld${EMULATION_NAME}_check_needed): Likewise.
107 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
108 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
109 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
110 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
111 * ldfile.c (ldfile_open_file): Likewise.
112 * ldlang.c (wild_sort): Likewise.
113 (lookup_name): Likewise.
114 (check_excluded_libs): Likewise.
115 * ldmisc.c (vfinfo): Likewise.
116 * pe-dll.c (libnamencmp): Likewise.
117 (auto_export): Likewise.
118 (pe_dll_generate_implib): Likewise.
119 * testplug.c (onclaim_file): Likewise.
120
174b85fc
L
1212011-02-24 H.J. Lu <hongjiu.lu@intel.com>
122
123 PR ld/12507
124 * plugin.c (get_symbols): Don't check entry symbol here.
125 (init_non_ironly_hash): Add entry_symbol chain into
126 non_ironly_hash.
127
8ff09c12
L
1282011-02-24 H.J. Lu <hongjiu.lu@intel.com>
129
130 PR ld/12507
131 * plugin.c (get_symbols): Don't mark entry symbol IR only.
132
ae97b922
DA
1332011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
134
135 PR ld/12376
136 emulparams/hppalinux.sh (DATA_ADDR): Define.
137 (SHLIB_DATA_ADDR): Likewise.
138
73f2a3d2
L
1392011-02-16 H.J. Lu <hongjiu.lu@intel.com>
140
141 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
142 x32 for x32.
143
fd11958c
KT
1442011-02-15 Kai Tietz <kai.tietz@onevision.com>
145
146 * pe-dll.c (process_def_file_and_drectve): Don't strip
147 leading underscore from symbol by calling bfd_find_version_for_sym.
148
93252b1c
MF
1492011-02-14 Mike Frysinger <vapier@gentoo.org>
150
151 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
152 the bfd_demangle of sym, change users of sym to c_sym when not
153 already demangling, and free when done. Change callers of
154 cplus_demangle to bfd_demangle.
155
498cd2a0
AM
1562011-02-14 Alan Modra <amodra@gmail.com>
157
158 * ldmain.c (remove_output): Rename to..
159 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
160 (main): Adjust.
161 * plugin.c (plugin_call_cleanup): Make global.
162 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
163 * plugin.h (plugin_call_cleanup): Declare.
164
822ce8ee
RW
1652011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
166
167 * configure: Regenerate.
168
09b910c6
AM
1692011-02-10 Alan Modra <amodra@gmail.com>
170
171 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
172 * scripttempl/avr.sc: Likewise.
173 * scripttempl/elf32cr16.sc: Likewise.
174 * scripttempl/elf32crx.sc: Likewise.
175 * scripttempl/elf32msp430.sc: Likewise.
176 * scripttempl/elf32msp430_3.sc: Likewise.
177 * scripttempl/elf32sh-symbian.sc: Likewise.
178 * scripttempl/elf64hppa.sc: Likewise.
179 * scripttempl/elf_chaos.sc: Likewise.
180 * scripttempl/elfd10v.sc: Likewise.
181 * scripttempl/elfd30v.sc: Likewise.
182 * scripttempl/elfi370.sc: Likewise.
183 * scripttempl/elfm68hc11.sc: Likewise.
184 * scripttempl/elfm68hc12.sc: Likewise.
185 * scripttempl/elfxtensa.sc: Likewise.
186 * scripttempl/ip2k.sc: Likewise.
187 * scripttempl/iq2000.sc: Likewise.
188 * scripttempl/mep.sc: Likewise.
189 * scripttempl/mmo.sc: Likewise.
190 * scripttempl/v850.sc: Likewise.
191 * scripttempl/xstormy16.sc: Likewise.
192 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
193
3cb62297
L
1942011-01-22 H.J. Lu <hongjiu.lu@intel.com>
195
196 * Makefile.am (CXX): Removed.
197
198 * configure.in: Add AC_PROG_CXX.
199
200 * Makefile.in: Regenerated.
201 * configure: Likewise.
202
ed88c97e
RS
2032011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
204
205 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
206 private data and GP size.
207
9bc8bb33
AM
2082011-01-21 Alan Modra <amodra@gmail.com>
209
210 * ldexp.c (fold_binary): Set result section for arithmetic and
211 logical operations to NULL when both operands are in same section.
212 * ld.texinfo (Expression Section): Describe this.
213
175b7cd4
AM
2142011-01-14 Alan Modra <amodra@gmail.com>
215
216 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
217 attempt to put non-alloc orphans before debug sections, just place
218 them after .comment.
219
a05e447f
AM
2202011-01-14 J. Park <grassman@gmail.com>
221
222 PR ld/12339
223 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
224
3ed41d59
AM
2252011-01-14 Alan Modra <amodra@gmail.com>
226
227 * Makefile.am: Sort emulation rules.
228 (eelf32am33lin.c): Delete.
229 (ALL_EMULATION_SOURCES): Sort, add missing entries.
230 (ALL_64_EMULATION_SOURCES): Likewise.
231 * Makefile.in: Regenerate.
232
2e57b2af
AM
2332011-01-13 Alan Modra <amodra@gmail.com>
234
01554a74
AM
235 PR ld/12356
236 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
237 (Expression Section): Update.
238 * ld.h (ld_config_type): Add sane_expr.
239 * ldgram.y (ifile_p1): Add LD_FEATURE.
240 * ldlex.l (LD_FEATYRE): New.
241 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
242 * ldexp.h (struct ldexp_control): Delete uses_defined.
243 * ldexp.c: Remove all uses of uses_defined.
244 (fold_name): Test config.sane_expr rather than ld_compatibility.
245 (exp_fold_tree_1): Likewise. Adjust handling of assignments
246 during first phase.
247 * ldlang.h (ld_compatibility): Delete.
248 (lang_ld_feature): Declare.
249 * ldlang.c (ld_compatibility): Delete.
250 (open_input_bfds): Only handle assignments for --defsym.
251 (lang_ld_feature): New function.
252
2e57b2af
AM
253 PR ld/12356
254 * ldexp.h (exp_assop): Delete.
255 (exp_assign, exp_defsym): Declare.
256 * ldexp.c (exp_assop): Make static, handle all assignment variations.
257 (exp_assign, exp_defsym): New functions.
258 (exp_provide): Use exp_assop.
259 * ldgram.y (defsym_expr): Use exp_defsym.
260 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
261 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
262 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
263
ea7c2e6c
AM
2642011-01-12 Alan Modra <amodra@gmail.com>
265
266 PR ld/12380
267 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
268 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
269 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
270 to detect when we've finished sizing sections.
271 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
272 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
273 that we are not inside an output section statement.
274 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
275 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
276 lang_final_phase_enum here.
277 (lang_process): Set lang_final_phase_enum here.
278
f7465604
NC
2792011-01-10 Nick Clifton <nickc@redhat.com>
280
281 * po/da.po: Updated Danish translation.
282
1e915804
L
2832011-01-10 H.J. Lu <hongjiu.lu@intel.com>
284
285 * ldlang.c (startup_file): Removed.
286 (lang_startup): Updated.
287
cc322803
L
2882011-01-05 H.J. Lu <hongjiu.lu@intel.com>
289
290 PR ld/12364
291 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
292 before accessing its flags field.
293
0db46eb4
L
2942011-01-01 H.J. Lu <hongjiu.lu@intel.com>
295
296 * ldver.c (ldversion): Update copyright to 2011.
297
9e9e0820 298For older changes see ChangeLog-2010
252b5132
RH
299\f
300Local Variables:
301mode: change-log
302left-margin: 8
303fill-column: 74
304version-control: never
305End:
This page took 0.540728 seconds and 4 git commands to generate.