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