Fix typo
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2010-05-25 Nick Clifton <nickc@redhat.com>
2
3 * Makefile.am: Fix typo.
4 * Makefile.in: Regenerate.
5
6 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
7 Joseph Myers <joseph@codesourcery.com>
8 Andrew Stubbs <ams@codesourcery.com>
9
10 * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
11 (eshelf_fd.c, eshlelf_fd.c): New rules.
12 * Makefile.in: Regenerate.
13 * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
14 emulations.
15 * emulparams/shelf_fd.sh: New file.
16 * emulparams/shlelf_fd.sh: New file.
17 * emulparams/shlelf_linux.sh: Update comment.
18
19 2010-05-25 Jay Krell <jay.krell@cornell.edu>
20
21 PR ld/11621
22 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
23 * Makefile.in: Regenerate.
24
25 2010-05-25 Kai Tietz <kai.tietz@onevision.com>
26
27 * deffilep.y (opt_name): Allow leading dot.
28 (dot_name): Likewise.
29 (anylang_id): Likewise.
30 * emultempl/pep.em (gld_${EMULATION_NAME}_before_parse): Enable by
31 default auto_import.
32 (gld${EMULATION_NAME}_handle_option): Warn about v1.
33 (pep_find_data_imports): Remove superflous warnings about
34 auto-import.
35 (gld_${EMULATION_NAME}_get_script): Don't merge for auto-import
36 and active pseudo-relocation-v2 rdata into data section.
37 * emultempl/pe.em (default_merge_rdata): New shell variable.
38 (MERGE_RDATA_V2): New macro.
39 (gld_${EMULATION_NAME}_get_script): Adjust rule for auto-import
40 selected script.
41
42 2010-05-15 Kai Tietz <kai.tietz@onevision.com>
43
44 * emultempl/pe.em (is_underscoring): New helper function.
45 (gld_${EMULATION_NAME}_before_parse): Replace code
46 for pe(p)_leading_underscore detection by is_underscoring.
47 (U): Likewise.
48 (GET_INIT_SYMBOL_NAME): Likewise.
49 (U_SIZE): Likewise.
50 (set_pe_name):
51 (set_entry_point):
52 (gld_${EMULATION_NAME}_set_symbols):
53 * emultempl/pep.em: Likewise.
54 * pe-dll.c (pe_detail_list): Set default
55 underscoring for x64 target.
56 (pe_dll_id_target): Add initialization of
57 pe(p)_leading_underscore.
58
59 2010-05-15 Dave Korn <dave.korn.cygwin@gmail.com>
60
61 * pe-dll.c: Removed trailing whitespaces.
62
63 2010-05-14 Alan Modra <amodra@gmail.com>
64
65 PR ld/11583
66 * ldexp.c (exp_fold_tree_1): If assignment source expression is
67 invalid, make the destination symbol undefined.
68
69 2010-05-11 Kai Tietz <kai.tietz@onevision.com>
70
71 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):
72 Initialize pe(p)_leading_underscore variable.
73 (set_pe_name): Likewise.
74 * emultempl/pep.em: Likewise.
75 Additional change default to non-underscore for
76 pep_leading_underscore equal to -1.
77
78 2010-05-07 Tristan Gingold <gingold@adacore.com>
79
80 * Makefile.in: Regenerate with automake 1.11.1.
81 * aclocal.m4: Ditto.
82
83 2010-05-05 Nick Clifton <nickc@redhat.com>
84
85 * po/es.po: Updated Spanish translation.
86
87 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
88
89 * pe-dll.c (_nm_-symbols): Use always underscored variant
90 for symbols.
91 (__imp_-symbols): Likewise.
92 (___imp_-symbols): Likewise.
93 * NEWS: Mention ABI change for x64 PE-COFF.
94
95 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
96
97 * Makefile.am (install-exec-local): Properly install ld as
98 default cross linker.
99 * Makefile.in: Regenerated.
100
101 2010-04-27 H.J. Lu <hongjiu.lu@intel.com>
102 Nick Clifton <nickc@redhat.com>
103
104 * configure.in (install_as_default): Define and set to true
105 unless --enable-gold=both/gold has been specified.
106 * configure: Regenerate.
107
108 * Makefile.am (transform): Use ld.bfd as the default name of
109 the linker.
110 (install-exec-local): Also install the executable as a binary
111 named 'ld' if install_as_default is true.
112 * Makefile.in: Regenerate.
113
114 2010-04-22 Nick Clifton <nickc@redhat.com>
115
116 * po/ld.pot: Updated by the Translation project.
117 * po/vi.po: Updated Vietnamese translation.
118 * po/bg.po: Updated Bulgarian translation.
119
120 2010-04-15 Andrew Haley <aph@redhat.com>
121
122 * emultempl/armelf.em (merge_exidx_entries): New variable.
123 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
124 ("no-merge-exidx-entries"): New option.
125 * ld.texinfo (merge-exidx-entries): Document this option.
126
127 2010-04-14 Tristan Gingold <gingold@adacore.com>
128
129 * emulparams/alphavms.sh: New file.
130 * emultempl/vms.em: New file.
131 * scripttempl/alphavms.sc: New file.
132 * configure.tgt (alpha*-*-*vms*): Added.
133 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
134 (ealphavms.c): New target.
135 * Makefile.in: Regenerate.
136
137 2010-04-09 Nick Clifton <nickc@redhat.com>
138
139 * ldlang.c (wild_sort): Remove unused variable section_name.
140
141 2010-04-07 Alan Modra <amodra@gmail.com>
142
143 * configure: Regenerate.
144
145 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
146
147 PR ld/11434
148 * ld/testsuite/ld-x86-64/unique1.d: New.
149 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
150
151 * ld-x86-64/x86-64.exp: Run unique1.
152
153 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
154
155 * emultempl/pep.em (U): Macro modified.
156 (U_SIZE): New helper macro.
157 (GET_INIT_SYMBOL_NAME): Likewise.
158 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
159 and OPTION_LEADING_UNDERSCORE enumerator-values.
160 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
161 option.
162 (definfo): Add new member is_c_symbol.
163 (D): Add to macro underscore mode parameter.
164 (init): Add definition for is_c_symbol.
165 (gld_${EMULATION_NAME}_list_options): Display new options.
166 (set_pep_name): Adjust underscoring dependent fixed
167 symbol handling.
168 (gld_${EMULATION_NAME}_set_symbols): Likewise.
169 (saw_option): Likewise.
170 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
171 (set_entry_point): Initial initial_symbol_char dependent to
172 target's default and new option flag pep_leading_underscore.
173 * emultempl/pe.em (U): Macro modified.
174 (U_SIZE): New helper macro.
175 (GET_INIT_SYMBOL_NAME): Likewise.
176 (OPTION_LEADING_UNDERSCORE): Add new option define.
177 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
178 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
179 option.
180 (definfo): Add new member is_c_symbol.
181 (D): Add to macro underscore mode parameter.
182 (init): Add definition for is_c_symbol.
183 (gld_${EMULATION_NAME}_list_options): Display new options.
184 (set_pep_name): Adjust underscoring dependent fixed
185 symbol handling.
186 (gld_${EMULATION_NAME}_set_symbols): Likewise.
187 (saw_option): Likewise.
188 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
189 (set_entry_point): Initial initial_symbol_char dependent to
190 target's default and new option flag pep_leading_underscore.
191 * pe-dll.c (pe_leading_underscore): New flag variable.
192 (pe_detail_list): Remove const to allow modify of
193 member underscore.
194 (pe_dll_id_target): Initialize pe_details' underscore variable
195 dependent to target's default and flag pe_leading_underscore.
196 * pe-dll.h (pe_leading_underscore): Add extern declaration of
197 option flag.
198 * pep-dll.c (pe_leading_underscore): Add alias define for
199 pep_leading_underscore.
200 * pep-dll.h (pep_leading_underscore) Add extern declaration of
201 option flag.
202 * ld.texinfo: Add documentation for --(no-)leading-underscore
203 option.
204
205 2010-03-26 Alan Modra <amodra@gmail.com>
206
207 PR ld/11426
208 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
209 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
210
211 2010-03-25 Joseph Myers <joseph@codesourcery.com>
212
213 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
214 eelf32_tic6x_le.o.
215 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
216 * NEWS: Add news entry for TI C6X support.
217 * configure.tgt (tic6x-*-*): New.
218 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
219
220 2010-03-23 Joseph Myers <joseph@codesourcery.com>
221
222 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
223 BSS_NAME): Define if not already defined. Use in place of some
224 hardcoded section names.
225
226 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
227
228 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
229
230 2010-03-18 Aymeric Vincent <vincent@labri.fr>
231
232 PR ld/11384
233 * emultempl/sh64elf.em: Add missing EOF.
234
235 2010-03-18 Doug Semler <dougsemler@gmail.com>
236
237 * pe-dll.c (make_one): Make text section readonly.
238 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
239 the jump stub on X86 as /SAFESEH compatible for
240 native toolchains.
241
242 2010-03-17 Alan Modra <amodra@gmail.com>
243
244 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
245 *prev instead. Update all callers.
246
247 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
248
249 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
250 region and phdrs as their placement section.
251
252 2010-03-15 Alan Modra <amodra@gmail.com>
253
254 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
255 (ppc_before_allocation): Call sort_toc_sections.
256 (no_toc_sort, OPTION_NO_TOC_SORT): New.
257 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
258 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
259
260 2010-03-14 Alan Modra <amodra@gmail.com>
261
262 PR ld/11378
263 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
264 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
265
266 2010-03-11 George Gensure <werkt0@gmail.com>
267
268 PR ld/11367
269 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
270
271 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
272
273 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
274 eelf_i386_sol2.o.
275 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
276 (eelf32_sparc_sol2.c): New rule.
277 (eelf64_sparc_sol2.c): Likewise.
278 (eelf_x86_64_sol2.c): Likewise.
279 (eelf_i386_sol2.c): Likewise.
280 * Makefile.in: Regenerate.
281 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
282 elf_i386_sol2.
283 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
284 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
285 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
286 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
287 Add target_extra_emuls.
288 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
289 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
290 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
291 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
292 * emulparams/elf32_sparc_sol2.sh: New file.
293 * emulparams/elf64_sparc_sol2.sh: New file.
294 * emulparams/elf_i386_sol2.sh: New file.
295 * emulparams/elf_x86_64_sol2.sh: New file.
296 * emultempl/solaris2.em: New file.
297
298 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
299
300 PR ld/11330
301 * ld.texinfo: Replace explicitely with explicitly.
302
303 2010-02-27 Jie Zhang <jie@codesourcery.com>
304
305 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
306 .fini_array.* when do relocatable linking.
307 * scripttempl/elf.sc: Likewise.
308 * scripttempl/elf32sh-symbian.sc: Likewise.
309 * scripttempl/elf64hppa.sc: Likewise.
310 * scripttempl/elfxtensa.sc: Likewise.
311
312 2010-02-26 Alan Modra <amodra@gmail.com>
313
314 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
315 .fini_array.*.
316 * scripttempl/armbpabi.sc: Likewise.
317 * scripttempl/elf32sh-symbian.sc: Likewise.
318 * scripttempl/elf64hppa.sc: Likewise.
319 * scripttempl/elfxtensa.sc: Likewise.
320
321 2010-02-25 Alan Modra <amodra@gmail.com>
322
323 PR ld/11304
324 * ldlang.c (init_os): Remove isec param. Don't check for
325 bfd_section already set or call bfd_init_private_section_data
326 here.
327 (exp_init_os): Update init_os call.
328 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
329 flags. Call bfd_init_private_section_data here.
330 (map_input_to_output_sections): Tidy. Update init_os calls.
331 Use os->sectype to select sec flags for lang_data_statement.
332
333 2010-02-23 Alan Modra <amodra@gmail.com>
334
335 PR ld/11304
336 * ldlang.c: Revert last patch.
337
338 2010-02-23 Nick Clifton <nickc@redhat.com>
339
340 * po/bg.po: Updated Bulgarian translation.
341
342 2010-02-22 Alan Modra <amodra@gmail.com>
343
344 PR ld/11304
345 * ldlang.c (exp_init_os): Delete forward declaration.
346 (init_os): Don't check for bfd_section already created and don't
347 init addr_tree and load_base expressions here.
348 (map_input_to_output_sections): Only map input to output sections
349 and set constraints here, and as an exception, create output
350 sections which have their address set. Move all the other code to..
351 (create_other_output_sections): ..here. New function. Handle init
352 of addr_tree and load_base here too.
353 (lang_process): Call create_other_output_sections.
354
355 2010-02-19 Alan Modra <amodra@gmail.com>
356
357 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
358 * Makefile.in: Regenerate.
359
360 2010-02-19 Alan Modra <amodra@gmail.com>
361
362 * ldlang.c (unique_section_p): Add os param. Allow group
363 sections to match /DISCARD/. Update all callers.
364 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
365 (LDEMUL_BEFORE_ALLOCATION): Define.
366
367 2010-02-15 Nick Clifton <nickc@redhat.com>
368
369 * po/vi.po: Updated Vietnamese translation.
370
371 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
372
373 * Makefile.am (CFILES): Add ldlex-wrapper.c.
374 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
375 (ldlex.o): Replace with...
376 (ldlex-wrapper.o): ...this new rule.
377 (EXTRA_ld_new_SOURCES): Add ldlex.l.
378 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
379 * Makefile.in: Regenerate.
380 * ldlex.l (sysdep.h): Don't include here.
381 * ldlex-wrapper.c: New file.
382
383 2010-02-09 Alan Modra <amodra@gmail.com>
384
385 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
386 function parameters.
387
388 2010-02-05 Nick Clifton <nickc@redhat.com>
389
390 * configure.in (ALL_LIBGUAS): Add bg.
391 * configure: Regenerate.
392 * po/bg.po: New Bulgarian translation.
393
394 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
395
396 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
397 --target1-abs and --target1-rel options.
398
399 2010-02-03 Nick Clifton <nickc@redhat.com>
400
401 * emultempl/alphaelf.em: Update value expected from elf_object_id.
402 * emultempl/hppaelf.em: Likewise.
403 * emultempl/mipself.em: Likewise.
404 * emultempl/ppc32elf.em: Likewise.
405 * emultempl/ppc64elf.em: Likewise.
406
407 2010-02-03 Alan Modra <amodra@gmail.com>
408
409 * emultempl/ppc64elf.em (build_toc_list): Report errors from
410 ppc64_elf_next_toc_section.
411 (after_allocation): Update for changed function names and params.
412 Run second pass of multitoc partitioning.
413
414 2010-01-21 Jon Grant <jg@jguk.org>
415 Nick Clifton <nickc@redhat.com>
416
417 PR 4437
418 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
419 a missing file or library. Instead mark the entry as missing and
420 set the global flag to indicate that missing files were
421 encountered.
422 * ldlang.c (missing_files): New exported variable.
423 (load_symbols): Skip loading if the file is missing.
424 (open_input_bfds): Terminate link if any input files were
425 missing.
426 * ldlang.h (struct lang_input_statement_struct): Add missing_file
427 field.
428 Add export of missing_file variable.
429
430 2010-01-13 DJ Delorie <dj@redhat.com>
431
432 * emultempl/elf32.em (_place_orphan): If an input section doesn't
433 match an existing output section, but an unused output section
434 statement does match, use it.
435 * emultempl/pe.em (_place_orphan): Likewise.
436 * emultempl/pep.em (_place_orphan): Likewise.
437
438 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
439
440 * configure: Regenerate.
441 * Makefile.in: Regenerate.
442
443 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
444
445 * ldver.c (ldversion): Change to "Copyright 2010".
446
447 2010-01-08 Alan Modra <amodra@gmail.com>
448
449 PR 11107
450 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
451
452 For older changes see ChangeLog-2009
453 \f
454 Local Variables:
455 mode: change-log
456 left-margin: 8
457 fill-column: 74
458 version-control: never
459 End:
This page took 0.042094 seconds and 5 git commands to generate.