2011-04-07 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
91db4c57
JM
12011-04-07 Joseph Myers <joseph@codesourcery.com>
2
3 * configure.tgt: Remove stray ;;.
4
8c5fc800
JM
52011-04-06 Joseph Myers <joseph@codesourcery.com>
6
7 * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*,
8 strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*,
9 thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe,
10 xscale-*-coff, xscale-*-elf): Remove targets.
11
d02c4aae
L
122011-03-31 H.J. Lu <hongjiu.lu@intel.com>
13
14 * configure.tgt: Add elf_l1om to targ_extra_libpath for
15 x86_64-*-linux-*.
16
17 * emulparams/elf_l1om.sh: Remove duplicates.
18
ac145307
BS
192011-03-31 Bernd Schmidt <bernds@codesourcery.com>
20
21 * emulparams/elf32_tic6x_le.sh (BIG_OUTPUT_FORMAT, EXTRA_EM_FILE,
22 GENERATE_SHLIB_SCRIPT): New defines.
23 (TEXT_START_ADDR): Define differently depending on target.
24 (.got): Redefine to include "*(.dsbt)".
25 (SDATA_START_SYMBOLS): Remove, replace with
26 (OTHER_GOT_SYMBOLS): New.
27 (OTHER_BSS_SECTIONS): Define only for ELF targets.
28 * emultempl/tic6xdsbt.em: New file.
29 * gen-doc.texi: Set C6X.
30 * ld.texinfo: Likewise.
31 (Options specific to C6X uClinux targets): New section.
32
c3a7b120
AM
332011-03-29 Alan Modra <amodra@gmail.com>
34
35 PR ld/12613
36 * ldlex.l (lex_warn_invalid): Don't assume char is unsigned.
37
5b806d27
NC
382011-03-26 John Marino <binutils@marino.st>
39
40 * configure.host: Update *-*-dragonfly* host entry.
41 * configure.tgt: Update *-*-dragonfly* target entry.
42 * ldlex.l: Prevent redefinition of YY_NO_UNPUT.
43
f31d24a0
JM
442011-03-28 Joseph Myers <joseph@codesourcery.com>
45
46 * configure.in: Check for windows.h, not Windows.h.
47 * configure: Regenerate.
48 * plugin.c: Include windows.h, not Windows.h.
49
d0289b45
EW
502011-03-25 Eric B. Weddington <eric.weddington@atmel.com>
51
52 * Makefile.in: Regenerate.
53
d436a15e
JM
542011-03-23 Joseph Myers <joseph@codesourcery.com>
55
56 * lexsup.c (parse_args): Only set report_plugin_symbols if plugins
57 are enabled. Mark level as possibly unused.
58
8cc66334
EW
592011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
60
61 * Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
62 (eavrxmega?.c): Likewise.
63 * configure.tgt (targ_extra_emuls): Likewise.
64 * emulparams/avrxmega1.sh: New file.
65 * emulparams/avrxmega2.sh: Likewise.
66 * emulparams/avrxmega3.sh: Likewise.
67 * emulparams/avrxmega4.sh: Likewise.
68 * emulparams/avrxmega5.sh: Likewise.
69 * emulparams/avrxmega6.sh: Likewise.
70 * emulparams/avrxmega7.sh: Likewise.
71 * emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
72 Add avrxmega6, avrxmega7 to list of architectures for no stubs.
73
ef844a53
EW
742011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
75
76 * scripttempl/avr.sc: Add fuse, lock, and signature memory regions.
77
35fc36a8
RS
782011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
79
80 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
81 eh->target_internal.
82
cbc704f3
RS
832011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
84
85 * emultempl/armelf.em (arm_elf_before_allocation): Check dynobj
86 instead of dynamic_sections_created.
87
10be1b6a
DK
882011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
89
90 * plugin.c (get_symbols): Use wrapped lookup for undefined symbols.
91
422b6f14
DK
922011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
93
94 * ldlang.c (lang_check): Don't run checks on dummy IR BFDs.
95
8543fde5
DK
962011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
97
98 * ldlang.h (lang_input_statement_type): Add new 'claim_archive' flag,
99 wrapping both it and 'claim' flag in #ifdef ENABLE_PLUGINS.
100 * ldmain.c (add_archive_element): Set it if the member is claimed.
101 * ldlang.c (new_afile): Initialise claim_archive and claimed members.
102 (find_replacements_insert_point): New helper function.
103 (lang_process): After adding and opening replacement files passed
104 from plugin, splice them into correct place in statement list and
105 file chains to preserve critical link order.
106 (lang_list_insert_after): New helper function.
107 (lang_list_remove_tail): Likewise.
108
cf4dc96f
DK
1092011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
110
111 * plugin.c (IRONLY_SUFFIX): Revise to nicely human-readable form.
112 (IRONLY_SUFFIX_LEN): Delete.
113 (plugin_get_ir_dummy_bfd): Don't append IRONLY_SUFFIX.
114 (is_ir_dummy_bfd): Don't look for suffix; check claimed flag of
115 enclosing lang input statement instead.
116
4bf0cafb
DK
1172011-03-10 Dave Korn <dave.korn.cygwin@gmail.com>
118
119 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Preserve
120 alignment of input sections when creating orphan output sections
121 during relocatable link.
122 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
123
1715a13c
L
1242011-03-04 H.J. Lu <hongjiu.lu@intel.com>
125
126 * ld.texinfo: Document --verbose[=NUMBER].
127
128 * lexsup.c (ld_options): Update --verbose.
129 (parse_args): Set report_plugin_symbols.
130
131 * plugin.c (report_plugin_symbols): New.
132 (get_symbols): Report plugin symbols if report_plugin_symbols
133 is TRUE.
134
135 * plugin.h (report_plugin_symbols): New.
136
f4c37f56
L
1372011-03-01 H.J. Lu <hongjiu.lu@intel.com>
138
139 PR ld/12529
140 * testplug.c: Don't include "filenames.h".
141 (onclaim_file): Don't use filename_cmp.
142
42627821
KT
1432011-02-28 Kai Tietz <kai.tietz@onevision.com>
144
145 * emultempl/beos.em (sort_by_file_name): Use filename_(n)cmp.
146 * emultempl/elf32.em (gld${EMULATION_NAME}_vercheck):
147 Likewise.
148 (gld${EMULATION_NAME}_stat_needed): Likewise.
149 (gld${EMULATION_NAME}_check_needed): Likewise.
150 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Likewise.
151 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
152 * emultempl/pep.em (gld_${EMULATION_NAME}_after_open): Likewise.
153 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
154 * ldfile.c (ldfile_open_file): Likewise.
155 * ldlang.c (wild_sort): Likewise.
156 (lookup_name): Likewise.
157 (check_excluded_libs): Likewise.
158 * ldmisc.c (vfinfo): Likewise.
159 * pe-dll.c (libnamencmp): Likewise.
160 (auto_export): Likewise.
161 (pe_dll_generate_implib): Likewise.
162 * testplug.c (onclaim_file): Likewise.
163
174b85fc
L
1642011-02-24 H.J. Lu <hongjiu.lu@intel.com>
165
166 PR ld/12507
167 * plugin.c (get_symbols): Don't check entry symbol here.
168 (init_non_ironly_hash): Add entry_symbol chain into
169 non_ironly_hash.
170
8ff09c12
L
1712011-02-24 H.J. Lu <hongjiu.lu@intel.com>
172
173 PR ld/12507
174 * plugin.c (get_symbols): Don't mark entry symbol IR only.
175
ae97b922
DA
1762011-02-18 John David Anglin <dave.anglin@nrc-cnnrc.gc.ca>
177
178 PR ld/12376
179 emulparams/hppalinux.sh (DATA_ADDR): Define.
180 (SHLIB_DATA_ADDR): Likewise.
181
73f2a3d2
L
1822011-02-16 H.J. Lu <hongjiu.lu@intel.com>
183
184 * emulparams/elf32_x86_64.sh (LIBPATH_SUFFIX): Changed to
185 x32 for x32.
186
fd11958c
KT
1872011-02-15 Kai Tietz <kai.tietz@onevision.com>
188
189 * pe-dll.c (process_def_file_and_drectve): Don't strip
190 leading underscore from symbol by calling bfd_find_version_for_sym.
191
93252b1c
MF
1922011-02-14 Mike Frysinger <vapier@gentoo.org>
193
194 * ldlang.c (lang_vers_match): Declare a new c_sym, assign it to
195 the bfd_demangle of sym, change users of sym to c_sym when not
196 already demangling, and free when done. Change callers of
197 cplus_demangle to bfd_demangle.
198
498cd2a0
AM
1992011-02-14 Alan Modra <amodra@gmail.com>
200
201 * ldmain.c (remove_output): Rename to..
202 (ld_cleanup): ..this. Call bfd_cache_close_all and plugin_call_cleanup.
203 (main): Adjust.
204 * plugin.c (plugin_call_cleanup): Make global.
205 (plugin_load_plugins): Don't register plugin_call_cleanup with xatexit.
206 * plugin.h (plugin_call_cleanup): Declare.
207
822ce8ee
RW
2082011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
209
210 * configure: Regenerate.
211
09b910c6
AM
2122011-02-10 Alan Modra <amodra@gmail.com>
213
214 * scripttempl/armbpabi.sc: Revert 2010-11-02 H.J. Lu.
215 * scripttempl/avr.sc: Likewise.
216 * scripttempl/elf32cr16.sc: Likewise.
217 * scripttempl/elf32crx.sc: Likewise.
218 * scripttempl/elf32msp430.sc: Likewise.
219 * scripttempl/elf32msp430_3.sc: Likewise.
220 * scripttempl/elf32sh-symbian.sc: Likewise.
221 * scripttempl/elf64hppa.sc: Likewise.
222 * scripttempl/elf_chaos.sc: Likewise.
223 * scripttempl/elfd10v.sc: Likewise.
224 * scripttempl/elfd30v.sc: Likewise.
225 * scripttempl/elfi370.sc: Likewise.
226 * scripttempl/elfm68hc11.sc: Likewise.
227 * scripttempl/elfm68hc12.sc: Likewise.
228 * scripttempl/elfxtensa.sc: Likewise.
229 * scripttempl/ip2k.sc: Likewise.
230 * scripttempl/iq2000.sc: Likewise.
231 * scripttempl/mep.sc: Likewise.
232 * scripttempl/mmo.sc: Likewise.
233 * scripttempl/v850.sc: Likewise.
234 * scripttempl/xstormy16.sc: Likewise.
235 * scripttempl/elf.sc: Revert 2010-10-29 H.J. Lu.
236
3cb62297
L
2372011-01-22 H.J. Lu <hongjiu.lu@intel.com>
238
239 * Makefile.am (CXX): Removed.
240
241 * configure.in: Add AC_PROG_CXX.
242
243 * Makefile.in: Regenerated.
244 * configure: Likewise.
245
ed88c97e
RS
2462011-01-22 Richard Sandiford <rdsandiford@googlemail.com>
247
248 * plugin.c (plugin_get_ir_dummy_bfd): Copy across the bfd's
249 private data and GP size.
250
9bc8bb33
AM
2512011-01-21 Alan Modra <amodra@gmail.com>
252
253 * ldexp.c (fold_binary): Set result section for arithmetic and
254 logical operations to NULL when both operands are in same section.
255 * ld.texinfo (Expression Section): Describe this.
256
175b7cd4
AM
2572011-01-14 Alan Modra <amodra@gmail.com>
258
259 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
260 attempt to put non-alloc orphans before debug sections, just place
261 them after .comment.
262
a05e447f
AM
2632011-01-14 J. Park <grassman@gmail.com>
264
265 PR ld/12339
266 * ldlang.c (sort_def_symbol): Handle bfd_link_hash_warning symbols.
267
3ed41d59
AM
2682011-01-14 Alan Modra <amodra@gmail.com>
269
270 * Makefile.am: Sort emulation rules.
271 (eelf32am33lin.c): Delete.
272 (ALL_EMULATION_SOURCES): Sort, add missing entries.
273 (ALL_64_EMULATION_SOURCES): Likewise.
274 * Makefile.in: Regenerate.
275
2e57b2af
AM
2762011-01-13 Alan Modra <amodra@gmail.com>
277
01554a74
AM
278 PR ld/12356
279 * ld.texinfo (Miscellaneous Commands): Describe LD_FEATURE.
280 (Expression Section): Update.
281 * ld.h (ld_config_type): Add sane_expr.
282 * ldgram.y (ifile_p1): Add LD_FEATURE.
283 * ldlex.l (LD_FEATYRE): New.
284 * ldemul.c (after_parse_default): Delete code handling ld_compatibility.
285 * ldexp.h (struct ldexp_control): Delete uses_defined.
286 * ldexp.c: Remove all uses of uses_defined.
287 (fold_name): Test config.sane_expr rather than ld_compatibility.
288 (exp_fold_tree_1): Likewise. Adjust handling of assignments
289 during first phase.
290 * ldlang.h (ld_compatibility): Delete.
291 (lang_ld_feature): Declare.
292 * ldlang.c (ld_compatibility): Delete.
293 (open_input_bfds): Only handle assignments for --defsym.
294 (lang_ld_feature): New function.
295
2e57b2af
AM
296 PR ld/12356
297 * ldexp.h (exp_assop): Delete.
298 (exp_assign, exp_defsym): Declare.
299 * ldexp.c (exp_assop): Make static, handle all assignment variations.
300 (exp_assign, exp_defsym): New functions.
301 (exp_provide): Use exp_assop.
302 * ldgram.y (defsym_expr): Use exp_defsym.
303 * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em,
304 * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em,
305 * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
306
ea7c2e6c
AM
3072011-01-12 Alan Modra <amodra@gmail.com>
308
309 PR ld/12380
310 * ldexp.h (enum phase_enum): Comment. Add exp_dataseg_done.
311 * ldexp.c (fold_unary <DATA_SEGMENT_END>): Rearrange code. Test
312 for exp_dataseg_done rather than expld.phase == lang_final_phase_enum
313 to detect when we've finished sizing sections.
314 (fold_binary <DATA_SEGMENT_ALIGN>): Likewise.
315 (fold_binary <DATA_SEGMENT_RELRO_END>): Likewise. Also test
316 that we are not inside an output section statement.
317 * ldlang.c (lang_size_sections): Set exp_dataseg_done on exit if
318 not exp_dataseg_relro_adjust or exp_dataseg_adjust. Don't set
319 lang_final_phase_enum here.
320 (lang_process): Set lang_final_phase_enum here.
321
f7465604
NC
3222011-01-10 Nick Clifton <nickc@redhat.com>
323
324 * po/da.po: Updated Danish translation.
325
1e915804
L
3262011-01-10 H.J. Lu <hongjiu.lu@intel.com>
327
328 * ldlang.c (startup_file): Removed.
329 (lang_startup): Updated.
330
cc322803
L
3312011-01-05 H.J. Lu <hongjiu.lu@intel.com>
332
333 PR ld/12364
334 * plugin.c (get_symbols): Check if owner_sec->owner is NULL
335 before accessing its flags field.
336
0db46eb4
L
3372011-01-01 H.J. Lu <hongjiu.lu@intel.com>
338
339 * ldver.c (ldversion): Update copyright to 2011.
340
9e9e0820 341For older changes see ChangeLog-2010
252b5132
RH
342\f
343Local Variables:
344mode: change-log
345left-margin: 8
346fill-column: 74
347version-control: never
348End:
This page took 0.628896 seconds and 4 git commands to generate.