OSDN Git Service

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