Re-indent INIT_ARRAY.
[binutils.git] / ld / ChangeLog
blob2849c5a456143f012256fbd4206d01c5a58ee97b
1 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
3         * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
5 2010-03-18  Aymeric Vincent  <vincent@labri.fr>
7         PR ld/11384
8         * emultempl/sh64elf.em: Add missing EOF.
10 2010-03-18  Doug Semler  <dougsemler@gmail.com>
12         * pe-dll.c (make_one): Make text section readonly.
13         (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
14         the jump stub on X86 as /SAFESEH compatible for
15         native toolchains.
17 2010-03-17  Alan Modra  <amodra@gmail.com>
19         * ldlang.c (lang_size_sections_1): Remove "s" param.  Set "s" from
20         *prev instead.  Update all callers.
22 2010-03-15  Daniel Jacobowitz  <dan@codesourcery.com>
24         * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
25         region and phdrs as their placement section.
27 2010-03-15  Alan Modra  <amodra@gmail.com>
29         * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
30         (ppc_before_allocation): Call sort_toc_sections.
31         (no_toc_sort, OPTION_NO_TOC_SORT): New.
32         (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
33          PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
35 2010-03-14  Alan Modra  <amodra@gmail.com>
37         PR ld/11378
38         * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
39         ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
41 2010-03-11  George Gensure  <werkt0@gmail.com>
43         PR ld/11367
44         * ldcref.c (handle_asneeded_cref): Correct copying of refs.
46 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
48         * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
49         eelf_i386_sol2.o.
50         (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
51         (eelf32_sparc_sol2.c): New rule.
52         (eelf64_sparc_sol2.c): Likewise.
53         (eelf_x86_64_sol2.c): Likewise.
54         (eelf_i386_sol2.c): Likewise.
55         * Makefile.in: Regenerate.
56         * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
57         elf_i386_sol2.
58         Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
59         (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
60         Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
61         (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
62         Add target_extra_emuls.
63         (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
64         Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
65         (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
66         Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
67         * emulparams/elf32_sparc_sol2.sh: New file.
68         * emulparams/elf64_sparc_sol2.sh: New file.
69         * emulparams/elf_i386_sol2.sh: New file.
70         * emulparams/elf_x86_64_sol2.sh: New file.
71         * emultempl/solaris2.em: New file.
73 2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>
75         PR ld/11330
76         * ld.texinfo: Replace explicitely with explicitly.
78 2010-02-27  Jie Zhang  <jie@codesourcery.com>
80         * scripttempl/armbpabi.sc: Don't combine .init_array.* or
81         .fini_array.* when do relocatable linking.
82         * scripttempl/elf.sc: Likewise.
83         * scripttempl/elf32sh-symbian.sc: Likewise.
84         * scripttempl/elf64hppa.sc: Likewise.
85         * scripttempl/elfxtensa.sc: Likewise.
87 2010-02-26  Alan Modra  <amodra@gmail.com>
89         * scripttempl/elf.sc (.fini_array): Place input .fini_array after
90         .fini_array.*.
91         * scripttempl/armbpabi.sc: Likewise.
92         * scripttempl/elf32sh-symbian.sc: Likewise.
93         * scripttempl/elf64hppa.sc: Likewise.
94         * scripttempl/elfxtensa.sc: Likewise.
96 2010-02-25  Alan Modra  <amodra@gmail.com>
98         PR ld/11304
99         * ldlang.c (init_os): Remove isec param.  Don't check for
100         bfd_section already set or call bfd_init_private_section_data
101         here.
102         (exp_init_os): Update init_os call.
103         (lang_add_section): Tidy.  Really don't set SEC_LINK_ONCE
104         flags.  Call bfd_init_private_section_data here.
105         (map_input_to_output_sections): Tidy.  Update init_os calls.
106         Use os->sectype to select sec flags for lang_data_statement.
108 2010-02-23  Alan Modra  <amodra@gmail.com>
110         PR ld/11304
111         * ldlang.c: Revert last patch.
113 2010-02-23  Nick Clifton  <nickc@redhat.com>
115         * po/bg.po: Updated Bulgarian translation.
117 2010-02-22  Alan Modra  <amodra@gmail.com>
119         PR ld/11304
120         * ldlang.c (exp_init_os): Delete forward declaration.
121         (init_os): Don't check for bfd_section already created and don't
122         init addr_tree and load_base expressions here.
123         (map_input_to_output_sections): Only map input to output sections
124         and set constraints here, and as an exception, create output
125         sections which have their address set.  Move all the other code to..
126         (create_other_output_sections): ..here.  New function.  Handle init
127         of addr_tree and load_base here too.
128         (lang_process): Call create_other_output_sections.
130 2010-02-19  Alan Modra  <amodra@gmail.com>
132         * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
133         * Makefile.in: Regenerate.
135 2010-02-19  Alan Modra  <amodra@gmail.com>
137         * ldlang.c (unique_section_p): Add os param.  Allow group
138         sections to match /DISCARD/.  Update all callers.
139         * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
140         (LDEMUL_BEFORE_ALLOCATION): Define.
142 2010-02-15  Nick Clifton  <nickc@redhat.com>
144         * po/vi.po: Updated Vietnamese translation.
146 2010-02-10  Richard Sandiford  <r.sandiford@uk.ibm.com>
148         * Makefile.am (CFILES): Add ldlex-wrapper.c.
149         (OFILES): Replace ldlex.c with ldlex-wrapper.c.
150         (ldlex.o): Replace with...
151         (ldlex-wrapper.o): ...this new rule.
152         (EXTRA_ld_new_SOURCES): Add ldlex.l.
153         (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
154         * Makefile.in: Regenerate.
155         * ldlex.l (sysdep.h): Don't include here.
156         * ldlex-wrapper.c: New file.
158 2010-02-09  Alan Modra  <amodra@gmail.com>
160         * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
161         function parameters.
163 2010-02-05  Nick Clifton  <nickc@redhat.com>
165         * configure.in (ALL_LIBGUAS): Add bg.
166         * configure: Regenerate.
167         * po/bg.po: New Bulgarian translation.
169 2010-02-05  Ryan Mansfield  <rmansfield@qnx.com>
171         * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
172         --target1-abs and --target1-rel options.
174 2010-02-03  Nick Clifton  <nickc@redhat.com>
176         * emultempl/alphaelf.em: Update value expected from elf_object_id.
177         * emultempl/hppaelf.em: Likewise.
178         * emultempl/mipself.em: Likewise.
179         * emultempl/ppc32elf.em: Likewise.
180         * emultempl/ppc64elf.em: Likewise.
182 2010-02-03  Alan Modra  <amodra@gmail.com>
184         * emultempl/ppc64elf.em (build_toc_list): Report errors from
185         ppc64_elf_next_toc_section.
186         (after_allocation): Update for changed function names and params.
187         Run second pass of multitoc partitioning.
189 2010-01-21  Jon Grant  <jg@jguk.org>
190             Nick Clifton  <nickc@redhat.com>
192         PR 4437
193         * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
194         a missing file or library.  Instead mark the entry as missing and
195         set the global flag to indicate that missing files were
196         encountered.
197         * ldlang.c (missing_files): New exported variable.
198         (load_symbols): Skip loading if the file is missing.
199         (open_input_bfds): Terminate link if any input files were
200         missing.
201         * ldlang.h (struct lang_input_statement_struct): Add missing_file
202         field.
203         Add export of missing_file variable.
205 2010-01-13  DJ Delorie  <dj@redhat.com>
207         * emultempl/elf32.em (_place_orphan): If an input section doesn't
208         match an existing output section, but an unused output section
209         statement does match, use it.
210         * emultempl/pe.em (_place_orphan): Likewise.
211         * emultempl/pep.em (_place_orphan): Likewise.
213 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
215         * configure: Regenerate.
216         * Makefile.in: Regenerate.
218 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
220         * ldver.c (ldversion): Change to "Copyright 2010".
222 2010-01-08  Alan Modra  <amodra@gmail.com>
224         PR 11107
225         * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
227 For older changes see ChangeLog-2009
229 Local Variables:
230 mode: change-log
231 left-margin: 8
232 fill-column: 74
233 version-control: never
234 End: