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