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