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