9ed4a2e6737cc6dbc57435d99791b62263135828
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2010-04-22 Nick Clifton <nickc@redhat.com>
2
3 * po/ld.pot: Updated by the Translation project.
4 * po/vi.po: Updated Vietnamese translation.
5 * po/bg.po: Updated Bulgarian translation.
6
7 2010-04-15 Andrew Haley <aph@redhat.com>
8
9 * emultempl/armelf.em (merge_exidx_entries): New variable.
10 (OPTION_NO_MERGE_EXIDX_ENTRIES): New definition.
11 ("no-merge-exidx-entries"): New option.
12 * ld.texinfo (merge-exidx-entries): Document this option.
13
14 2010-04-14 Tristan Gingold <gingold@adacore.com>
15
16 * emulparams/alphavms.sh: New file.
17 * emultempl/vms.em: New file.
18 * scripttempl/alphavms.sc: New file.
19 * configure.tgt (alpha*-*-*vms*): Added.
20 * Makefile.am (ALL_EMULATIONS): Add ealphavms.o
21 (ealphavms.c): New target.
22 * Makefile.in: Regenerate.
23
24 2010-04-09 Nick Clifton <nickc@redhat.com>
25
26 * ldlang.c (wild_sort): Remove unused variable section_name.
27
28 2010-04-07 Alan Modra <amodra@gmail.com>
29
30 * configure: Regenerate.
31
32 2010-04-06 H.J. Lu <hongjiu.lu@intel.com>
33
34 PR ld/11434
35 * ld/testsuite/ld-x86-64/unique1.d: New.
36 * ld/testsuite/ld-x86-64/unique1.s: Likewise.
37
38 * ld-x86-64/x86-64.exp: Run unique1.
39
40 2010-04-05 Kai Tietz <kai.tietz@onevision.com>
41
42 * emultempl/pep.em (U): Macro modified.
43 (U_SIZE): New helper macro.
44 (GET_INIT_SYMBOL_NAME): Likewise.
45 (enum options): Add OPTION_NO_LEADING_UNDERSCORE
46 and OPTION_LEADING_UNDERSCORE enumerator-values.
47 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
48 option.
49 (definfo): Add new member is_c_symbol.
50 (D): Add to macro underscore mode parameter.
51 (init): Add definition for is_c_symbol.
52 (gld_${EMULATION_NAME}_list_options): Display new options.
53 (set_pep_name): Adjust underscoring dependent fixed
54 symbol handling.
55 (gld_${EMULATION_NAME}_set_symbols): Likewise.
56 (saw_option): Likewise.
57 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
58 (set_entry_point): Initial initial_symbol_char dependent to
59 target's default and new option flag pep_leading_underscore.
60 * emultempl/pe.em (U): Macro modified.
61 (U_SIZE): New helper macro.
62 (GET_INIT_SYMBOL_NAME): Likewise.
63 (OPTION_LEADING_UNDERSCORE): Add new option define.
64 (OPTION_NO_LEADING_UNDERSCORE): Likewise.
65 (gld${EMULATION_NAME}_add_options): Add --(no-)leading-underscore
66 option.
67 (definfo): Add new member is_c_symbol.
68 (D): Add to macro underscore mode parameter.
69 (init): Add definition for is_c_symbol.
70 (gld_${EMULATION_NAME}_list_options): Display new options.
71 (set_pep_name): Adjust underscoring dependent fixed
72 symbol handling.
73 (gld_${EMULATION_NAME}_set_symbols): Likewise.
74 (saw_option): Likewise.
75 (gld_${EMULATION_NAME}_unrecognized_file): Likewise.
76 (set_entry_point): Initial initial_symbol_char dependent to
77 target's default and new option flag pep_leading_underscore.
78 * pe-dll.c (pe_leading_underscore): New flag variable.
79 (pe_detail_list): Remove const to allow modify of
80 member underscore.
81 (pe_dll_id_target): Initialize pe_details' underscore variable
82 dependent to target's default and flag pe_leading_underscore.
83 * pe-dll.h (pe_leading_underscore): Add extern declaration of
84 option flag.
85 * pep-dll.c (pe_leading_underscore): Add alias define for
86 pep_leading_underscore.
87 * pep-dll.h (pep_leading_underscore) Add extern declaration of
88 option flag.
89 * ld.texinfo: Add documentation for --(no-)leading-underscore
90 option.
91
92 2010-03-26 Alan Modra <amodra@gmail.com>
93
94 PR ld/11426
95 * configure.host (many linux targets <HOSTING_CRT0>): Remove edits.
96 (m68*-motorola-sysv <HOSTING_LIBS>): Use here doc, not echo.
97
98 2010-03-25 Joseph Myers <joseph@codesourcery.com>
99
100 * Makefile.am (ALL_EMULATIONS): Add eelf32_tic6x_be.o and
101 eelf32_tic6x_le.o.
102 (eelf32_tic6x_be.c, eelf32_tic6x_le.c): New.
103 * NEWS: Add news entry for TI C6X support.
104 * configure.tgt (tic6x-*-*): New.
105 * emulparams/elf32_tic6x_be.sh, emulparams/elf32_tic6x_le.sh: New.
106
107 2010-03-23 Joseph Myers <joseph@codesourcery.com>
108
109 * scripttempl/elf.sc (RODATA_NAME, SDATA_NAME, SBSS_NAME,
110 BSS_NAME): Define if not already defined. Use in place of some
111 hardcoded section names.
112
113 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
114
115 * scripttempl/elf.sc (INIT_ARRAY): Re-indent.
116
117 2010-03-18 Aymeric Vincent <vincent@labri.fr>
118
119 PR ld/11384
120 * emultempl/sh64elf.em: Add missing EOF.
121
122 2010-03-18 Doug Semler <dougsemler@gmail.com>
123
124 * pe-dll.c (make_one): Make text section readonly.
125 (make_one): Add *ABS* symbol @feat.00 with value 1 to tag
126 the jump stub on X86 as /SAFESEH compatible for
127 native toolchains.
128
129 2010-03-17 Alan Modra <amodra@gmail.com>
130
131 * ldlang.c (lang_size_sections_1): Remove "s" param. Set "s" from
132 *prev instead. Update all callers.
133
134 2010-03-15 Daniel Jacobowitz <dan@codesourcery.com>
135
136 * ldlang.c (lang_insert_orphan): Place loadable orphans in the same
137 region and phdrs as their placement section.
138
139 2010-03-15 Alan Modra <amodra@gmail.com>
140
141 * emultempl/ppc64elf.em (move_input_section, sort_toc_sections): New.
142 (ppc_before_allocation): Call sort_toc_sections.
143 (no_toc_sort, OPTION_NO_TOC_SORT): New.
144 (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS,
145 PARSE_AND_LIST_OPTIONS): Handle --no-toc-sort.
146
147 2010-03-14 Alan Modra <amodra@gmail.com>
148
149 PR ld/11378
150 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): Call
151 ppc64_elf_check_init_fini and warn if .init/.fini use different TOCs.
152
153 2010-03-11 George Gensure <werkt0@gmail.com>
154
155 PR ld/11367
156 * ldcref.c (handle_asneeded_cref): Correct copying of refs.
157
158 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
159
160 * Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_sol2.o,
161 eelf_i386_sol2.o.
162 (ALL_64_EMULATIONS): Add eelf_x86_64_sol2.o, eelf64_sparc_sol2.o.
163 (eelf32_sparc_sol2.c): New rule.
164 (eelf64_sparc_sol2.c): Likewise.
165 (eelf_x86_64_sol2.c): Likewise.
166 (eelf_i386_sol2.c): Likewise.
167 * Makefile.in: Regenerate.
168 * configure.tgt (i[3-7]86-*-solaris2*): Change targ_emul to
169 elf_i386_sol2.
170 Add elf_i386_ldso, elf_x86_64_sol2 to targ_extra_emuls.
171 (x86_64-*-solaris2*): Change targ_emul to elf_x86_64_sol2.
172 Add elf_x86_64, elf_i386_sol2, elf_i386 to targ_extra_emuls.
173 (sparc-*-solaris2.[0-6]*): Change targ_emul to elf32_sparc_sol2.
174 Add target_extra_emuls.
175 (sparc-*-solaris2*): Change targ_emul to elf32_sparc_sol2.
176 Add elf32_sparc, elf64_sparc_sol2 to targ_extra_emuls.
177 (sparcv9-*-solaris2*): Change targ_emul to elf64_sparc_sol2.
178 Add elf64_sparc, elf32_sparc_sol2 to target_extra_emuls.
179 * emulparams/elf32_sparc_sol2.sh: New file.
180 * emulparams/elf64_sparc_sol2.sh: New file.
181 * emulparams/elf_i386_sol2.sh: New file.
182 * emulparams/elf_x86_64_sol2.sh: New file.
183 * emultempl/solaris2.em: New file.
184
185 2010-02-27 H.J. Lu <hongjiu.lu@intel.com>
186
187 PR ld/11330
188 * ld.texinfo: Replace explicitely with explicitly.
189
190 2010-02-27 Jie Zhang <jie@codesourcery.com>
191
192 * scripttempl/armbpabi.sc: Don't combine .init_array.* or
193 .fini_array.* when do relocatable linking.
194 * scripttempl/elf.sc: Likewise.
195 * scripttempl/elf32sh-symbian.sc: Likewise.
196 * scripttempl/elf64hppa.sc: Likewise.
197 * scripttempl/elfxtensa.sc: Likewise.
198
199 2010-02-26 Alan Modra <amodra@gmail.com>
200
201 * scripttempl/elf.sc (.fini_array): Place input .fini_array after
202 .fini_array.*.
203 * scripttempl/armbpabi.sc: Likewise.
204 * scripttempl/elf32sh-symbian.sc: Likewise.
205 * scripttempl/elf64hppa.sc: Likewise.
206 * scripttempl/elfxtensa.sc: Likewise.
207
208 2010-02-25 Alan Modra <amodra@gmail.com>
209
210 PR ld/11304
211 * ldlang.c (init_os): Remove isec param. Don't check for
212 bfd_section already set or call bfd_init_private_section_data
213 here.
214 (exp_init_os): Update init_os call.
215 (lang_add_section): Tidy. Really don't set SEC_LINK_ONCE
216 flags. Call bfd_init_private_section_data here.
217 (map_input_to_output_sections): Tidy. Update init_os calls.
218 Use os->sectype to select sec flags for lang_data_statement.
219
220 2010-02-23 Alan Modra <amodra@gmail.com>
221
222 PR ld/11304
223 * ldlang.c: Revert last patch.
224
225 2010-02-23 Nick Clifton <nickc@redhat.com>
226
227 * po/bg.po: Updated Bulgarian translation.
228
229 2010-02-22 Alan Modra <amodra@gmail.com>
230
231 PR ld/11304
232 * ldlang.c (exp_init_os): Delete forward declaration.
233 (init_os): Don't check for bfd_section already created and don't
234 init addr_tree and load_base expressions here.
235 (map_input_to_output_sections): Only map input to output sections
236 and set constraints here, and as an exception, create output
237 sections which have their address set. Move all the other code to..
238 (create_other_output_sections): ..here. New function. Handle init
239 of addr_tree and load_base here too.
240 (lang_process): Call create_other_output_sections.
241
242 2010-02-19 Alan Modra <amodra@gmail.com>
243
244 * Makefile.am (eelf32_i960.c): Depend on ELF_GEN_DEPS, not ELF_DEPS.
245 * Makefile.in: Regenerate.
246
247 2010-02-19 Alan Modra <amodra@gmail.com>
248
249 * ldlang.c (unique_section_p): Add os param. Allow group
250 sections to match /DISCARD/. Update all callers.
251 * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New.
252 (LDEMUL_BEFORE_ALLOCATION): Define.
253
254 2010-02-15 Nick Clifton <nickc@redhat.com>
255
256 * po/vi.po: Updated Vietnamese translation.
257
258 2010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
259
260 * Makefile.am (CFILES): Add ldlex-wrapper.c.
261 (OFILES): Replace ldlex.c with ldlex-wrapper.c.
262 (ldlex.o): Replace with...
263 (ldlex-wrapper.o): ...this new rule.
264 (EXTRA_ld_new_SOURCES): Add ldlex.l.
265 (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
266 * Makefile.in: Regenerate.
267 * ldlex.l (sysdep.h): Don't include here.
268 * ldlex-wrapper.c: New file.
269
270 2010-02-09 Alan Modra <amodra@gmail.com>
271
272 * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed
273 function parameters.
274
275 2010-02-05 Nick Clifton <nickc@redhat.com>
276
277 * configure.in (ALL_LIBGUAS): Add bg.
278 * configure: Regenerate.
279 * po/bg.po: New Bulgarian translation.
280
281 2010-02-05 Ryan Mansfield <rmansfield@qnx.com>
282
283 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help for
284 --target1-abs and --target1-rel options.
285
286 2010-02-03 Nick Clifton <nickc@redhat.com>
287
288 * emultempl/alphaelf.em: Update value expected from elf_object_id.
289 * emultempl/hppaelf.em: Likewise.
290 * emultempl/mipself.em: Likewise.
291 * emultempl/ppc32elf.em: Likewise.
292 * emultempl/ppc64elf.em: Likewise.
293
294 2010-02-03 Alan Modra <amodra@gmail.com>
295
296 * emultempl/ppc64elf.em (build_toc_list): Report errors from
297 ppc64_elf_next_toc_section.
298 (after_allocation): Update for changed function names and params.
299 Run second pass of multitoc partitioning.
300
301 2010-01-21 Jon Grant <jg@jguk.org>
302 Nick Clifton <nickc@redhat.com>
303
304 PR 4437
305 * ldfile.c: (ldfile_open_file): Do not stop link upon encountering
306 a missing file or library. Instead mark the entry as missing and
307 set the global flag to indicate that missing files were
308 encountered.
309 * ldlang.c (missing_files): New exported variable.
310 (load_symbols): Skip loading if the file is missing.
311 (open_input_bfds): Terminate link if any input files were
312 missing.
313 * ldlang.h (struct lang_input_statement_struct): Add missing_file
314 field.
315 Add export of missing_file variable.
316
317 2010-01-13 DJ Delorie <dj@redhat.com>
318
319 * emultempl/elf32.em (_place_orphan): If an input section doesn't
320 match an existing output section, but an unused output section
321 statement does match, use it.
322 * emultempl/pe.em (_place_orphan): Likewise.
323 * emultempl/pep.em (_place_orphan): Likewise.
324
325 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
326
327 * configure: Regenerate.
328 * Makefile.in: Regenerate.
329
330 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
331
332 * ldver.c (ldversion): Change to "Copyright 2010".
333
334 2010-01-08 Alan Modra <amodra@gmail.com>
335
336 PR 11107
337 * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
338
339 For older changes see ChangeLog-2009
340 \f
341 Local Variables:
342 mode: change-log
343 left-margin: 8
344 fill-column: 74
345 version-control: never
346 End:
This page took 0.087989 seconds and 4 git commands to generate.